Grub error 17 after XP-Ubuntu dual install
I should start out my mentioning I have 3 hard drives: 120 IDE, 200 SATA and 250 SATA. Ive just installed Ubuntu 7.04 on the 200gb sata and kept winXP on the 120. After installing and rebooting, I am met by an error message, GRUB error 17. Im writing this from the ubuntu live cd. I googled for my problems and found a few other forum threads asking about error 17, however no one had problems exactly like mine so I couldnt work out a solution from them.
I expect you will ask for menu.lst and fdisk -l because thats the first thing people said on all the threads I found on google, so here goes Quote:
Quote:
I have my XP cd ready so I can easily restore access to windows if it comes to that, however I figured that I shouldnt fiddle with that if I wanted to get ubuntu going. |
You may want to go after simply installing ubuntu again, occasionally this error pops up time to time and reinstalling generally helps.
|
Unfortunately I already tried that once :( same thing happened
|
From terminal on the LiveCD, enter "sudo grub", then "root (hd0," (stop at the comma) and hit the <tab> key. How many partitions does it list ???.
Just hit <enter> then "quit" to get out; <ctrl>-c should work as well. |
Quote:
Edit: having tried it out, it seems that tab completes commands and filenames anywhere outside grub but not in it. Even though it says that tab can be used for name completion when I start grub |
Sudo ?????
|
Quote:
|
Erk - I've seen that if not using sudo (in Ubuntu).
Best I can suggest is try another liveCD - I always have a Knoppix laying around. |
Quote:
|
Having almost exactly the same problem
Hi, I'm having almost exactly the same problem.
I installed ubuntu on a new hard drive (hd1), with Winders XP on the old one (hd0). Upon my first install, all I'd get was a blinking cursor when I booted. LiveCD worked fine. If I put in the LiveCD, the last menu option is "Boot from first hard disk". I think this just runs grub, and it would show me all of my options. Using this menu, I could boot ubuntu from the hd1 partition. I can't figure out why the grub selection menu lets me boot into either Windows or Ubuntu with no problems when I first use grub from the LiveCD. But when I try to just boot from the hard drives (no CD in the drive), grub comes up, gives me my options, and then gives me an Error 17 if I select Ubuntu or memtest, and an Error 13 if I choose windows. Grrbt, try typing "sudo grub", then "root (hd1," then hitting <tab> (hd1 instead of hd0) I think syg00 meant to say that but was assuming hd0 instead. Here's what I get: > root (hd1, Possible partitions are: Partition num: 0, Filesystem type is ext2fs, partition type 0x83 Partition num: 4, Filesystem type unknown, partition type 0x82 Here's what fdisk -l gives me: Disk /dev/hdb: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdb1 * 1 4864 39070048+ 7 HPFS/NTFS Disk /dev/hdd: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdd1 * 1 19175 154023156 83 Linux /dev/hdd2 19176 19457 2265165 5 Extended /dev/hdd5 19176 19457 2265133+ 82 Linux swap / Solaris Can anyone help Grrbt and I? |
try booting using grub from the LiveCD
Grrbt, try leaving the Live CD in the CD drive, and then choosing the last option, "Boot from first hard disk"
Grub should let you choose an OS - see if it lets you boot your installation (linux OR windows). This is how I'm operating. |
I decided my winxp was fubared enough to wipe it clean. I've reinstalled winxp and Ubuntu on two partitions of the same physical harddrive and now everything works like a charm. Doesn't help you in any way, timbilly, but it's a heads up to anyone who might try to help me with the now nonexistant problem.
|
OK - I too am having weird Error 5 loading troubles.
I did the grub> root (hd0, And got: Possible partitions are: Partition num: 0, Filesystem type is ext2fs, partition type 0x83 Partition num: 4, Filesystem type unknown, partition type 0x82 I too am running from the LiveCD. My Windows XP is completely toast... |
All times are GMT -5. The time now is 06:15 PM. |