eep. windows took over....

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

eep. windows took over....

Postby Acid_1 on Thu Dec 06, 2007 2:58 pm

I had my copy of Daryna installed, and I made it my whole partition. So, later I decided to put windows back on, just for iTunes and a couple of games I had. So I popped in the live cd, and made a new partition off of my Daryna partition, and that was all dainty. So, I installed windows ont he 20GiB partition that I gave it, and I figured this would happen, but oh well, it took over my bootloader, and doesn't give me the option to boot into Daryna. Now here's the funny thing. I can't get on the internet to find the drivers I need so I can get my net to work. So that's a bit of a circle there. And I figured I'd boot into Daryna to download them, but I can't, and I'd rather not re-install Daryna. Though I do have everything backed up if need be. So, how do I get grub and the Daryna interface to boot rather than ntloader??? Also, does anyone know of a rather generic Ethernet, Modem, and Wireless driver for windows? It's a dell inspiron 2200, and it came with no drivers. :'(
User avatar
Acid_1
Level 5
Level 5
 
Posts: 817
Joined: Thu Nov 01, 2007 11:12 pm
Location: Saskatchewan, Canada

Linux Mint is funded by ads and donations.
 

Re: eep. windows took over....

Postby 67GTA on Thu Dec 06, 2007 3:37 pm

Go to the Dell website and find the drivers for your PC once you get back to Mint and move them to Windows. Look under Support and Downloads, and find your model.

Directions for restoring grub with Linux live cd:

http://ubuntuforums.org/showthread.php?t=224351
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: eep. windows took over....

Postby Acid_1 on Thu Dec 06, 2007 3:58 pm

thank you very much. this is a life saver.... erm, computer saver... lol
User avatar
Acid_1
Level 5
Level 5
 
Posts: 817
Joined: Thu Nov 01, 2007 11:12 pm
Location: Saskatchewan, Canada

Re: eep. windows took over....

Postby Acid_1 on Thu Dec 06, 2007 5:31 pm

Okay, I have grub working correctly again. Now, when I got grub to work, it only recognizes my Linux partition, and the Windows partition in now missing. How do I edit grub to recognize my windows partition?

Windows XP Pro - Media Center Edition. Thanks.
User avatar
Acid_1
Level 5
Level 5
 
Posts: 817
Joined: Thu Nov 01, 2007 11:12 pm
Location: Saskatchewan, Canada

Re: eep. windows took over....

Postby 67GTA on Thu Dec 06, 2007 5:48 pm

Copy and paste the output of "sudo fdisk -l" from a terminal.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: eep. windows took over....

Postby Acid_1 on Thu Dec 06, 2007 5:59 pm

Usage: fdisk [-l] [-b SSZ] [-u] device
E.g.: fdisk /dev/hda (for the first IDE disk)
or: fdisk /dev/sdc (for the third SCSI disk)
or: fdisk /dev/eda (for the first PS/2 ESDI drive)
or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices)
...

That's the output. However, I did not use 'sudo fdisk -|'
that would just return it with >
so i did 'sudo fdisk'
User avatar
Acid_1
Level 5
Level 5
 
Posts: 817
Joined: Thu Nov 01, 2007 11:12 pm
Location: Saskatchewan, Canada

Re: eep. windows took over....

Postby 67GTA on Thu Dec 06, 2007 6:13 pm

You used a capitol i. It has to be a lower case L.

sudo fdisk -l

NOT

sudo fdisk -I
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: eep. windows took over....

Postby Acid_1 on Thu Dec 06, 2007 6:21 pm

Actually, I used the little straight thing (don't know it's name), the one that's above the enter button, when you hold shift. Anyhow....

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd0f4738c

Device Boot Start End Blocks Id System
/dev/sda1 1 4384 35214448+ 83 Linux
/dev/sda2 * 4385 7234 22892625 7 HPFS/NTFS
/dev/sda3 7235 7296 498015 82 Linux swap / Solaris
User avatar
Acid_1
Level 5
Level 5
 
Posts: 817
Joined: Thu Nov 01, 2007 11:12 pm
Location: Saskatchewan, Canada

Re: eep. windows took over....

Postby 67GTA on Thu Dec 06, 2007 6:31 pm

Windows is installed on sda2. Grub starts counting partitions at zero, so sda1 would be hd0,0...sda2=hd0,1 sda3=hd0,2 and so on. In a terminal run "sudo gedit /boot/grub/menu.lst". Copy and paste this at the end of the file and save. If you want Mint to mount it at boot, you will have to edit /etc/fstab.

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Microsoft Windows
root (hd0,1)
savedefault
makeactive
chainloader +1
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: eep. windows took over....

Postby Acid_1 on Thu Dec 06, 2007 6:43 pm

just before or after this: (or maybe in it?)

## ## End Default Options ##

title Linux Mint, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/sda1 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
boot

title Linux Mint, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/sda1 ro single
initrd /boot/initrd.img-2.6.22-14-generic
boot

title Linux Mint, kernel memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
boot

### END DEBIAN AUTOMAGIC KERNELS LIST
User avatar
Acid_1
Level 5
Level 5
 
Posts: 817
Joined: Thu Nov 01, 2007 11:12 pm
Location: Saskatchewan, Canada

Re: eep. windows took over....

Postby 67GTA on Thu Dec 06, 2007 6:45 pm

Just after ### END DEBIAN AUTOMAGIC KERNELS LIST
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: BoDill, Yahoo [Bot] and 22 guests

cron