ubuntu feisty/win 2k boot grub 17 error help

Asked by AFarris01

ok, ive got a system here that ive set up with windows 2000 and ubuntu 7.10 on it, and it was working fine before, but now im getting the grub 17 error. ive seen several other posts various ways to fix it ranging from reformatting to doing various complicated things with the grub, and i was just wanting a little help. i tried editing the menu.lst file to direct it to the correct partitions for booting, but that didnt do anything...i was just wondering if someone could direct me as to what i should be changing it to
the system is set up with 2 harddrives, the first is a 20 gig with windows on it, and the second is a 250 gig which is divided into 3 partitions, a 180gig meant to just be a big place to store documents and programs,a 2 gig linux swap file, and a 50 gig ubuntu partition.

heres the output for fdisk -l
---------------------------------
Disk /dev/sda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000080

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 2433 19543041 c W95 FAT32 (LBA)

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xeab81bae

   Device Boot Start End Blocks Id System
/dev/sdb1 1 23927 192193596 7 HPFS/NTFS
/dev/sdb2 23929 24177 2000092+ 82 Linux swap / Solaris
/dev/sdb3 24178 30401 49994280 83 Linux
------------------------------------------------
and the content of /boot/grub/menu.lst (minus all the commented out stuff at the top)
--------------------------------------------
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd1,3)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=685f4e9f-6620-43dd-9d49-e1827cd6b1af ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd1,3)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=685f4e9f-6620-43dd-9d49-e1827cd6b1af ro single
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, memtest86+
root (hd1,3)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# 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/sda1
title Microsoft Windows 2000 Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
--------------------------------------------------------

i thought i set the menu.lst to be looking in the correct partition for the linux and windows, but this didnt work. the default values on the ubuntu entries were all (hd1,0) which didnt work, and i didnt change the windows entry. i also tried changing them to (hd1,2) which also didnt work. if somebody could give me some advice on what they should be set to, that would be greatly appreciated.

Andrew

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Solved by:
AFarris01
Solved:
Last query:
Last reply:
Revision history for this message
Olivier (olivier-lacroix) said :
#1

Hi !

It looks like Grub does not like you :-)

When do you get this error : booting linux, windows, both ??

Revision history for this message
AFarris01 (afarris01) said :
#2

i cant boot to anything, it says loading stage 1.5, then error 17. cant even open up a grub menu

Revision history for this message
AFarris01 (afarris01) said :
#3

so i guess in direct answer...both. can it be saved, or will i have to reinstall grub?

Revision history for this message
AFarris01 (afarris01) said :
#4

if i were to reinstall grub, should i install it to sda or sdb? (sda is the windows drive, and sdb is the one with 3 partitions) or should i just install it to the main linux partition sdb3?

Revision history for this message
AFarris01 (afarris01) said :
#5

i just found some more info that could be useful.... i just went to run the partitioner because i was just going to reformat and reinstall ubuntu to see if that helped, and i noticed that all the partitions (except the swap) were listed under /media/sda1, sdb1, and sdb3. most importantly, the root drive was listed as /media/sdb3 rather than as root /... is there a way i can change that without wiping it?

Revision history for this message
AFarris01 (afarris01) said :
#6

nevermind... i just reformatted the ubuntu partition and everything is happy now. yey!