Error 17 when loading GRUB menu from USB Flash

Asked by Doepie

Hi

I have installed Ubuntu 8.04 on a 8GB Transcend USB Flashdisk. During the installation I made sure that the grub menu is installed on the flashdisk, and not the Windows MBR.

All went well with the install, however I now get Error 17 when the GRUB menu loads.

I have done some snooping around, and changed the drive order in the grub menu around. (hd1,0) instead of (hd0,1) originally. This has not had any effect.

I also downloaded the Super Grub Boot disk, but am not quite sure what I need to do with this tool to fix the problem.

I already have Windows and Ubuntu dual booting on my laptop.

Fdisk -l:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x95aa95aa

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 5476 43985938+ 7 HPFS/NTFS
/dev/sda2 5477 5849 2996122+ 82 Linux swap / Solaris
/dev/sda3 5850 6632 6289447+ 83 Linux
/dev/sda4 6633 9729 24876652+ 83 Linux

Disk /dev/sdb: 8178 MB, 8178892800 bytes
255 heads, 63 sectors/track, 994 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0002910d

   Device Boot Start End Blocks Id System
/dev/sdb1 * 1 945 7590681 83 Linux
/dev/sdb2 946 994 393592+ 5 Extended
/dev/sdb5 946 994 393561 82 Linux swap / Solaris

Menu.lst:

title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=255a2f07-065a-4c8c-b6f9-f18a067eaa1b ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet

title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=255a2f07-065a-4c8c-b6f9-f18a067eaa1b ro single
initrd /boot/initrd.img-2.6.24-16-generic

title Ubuntu 8.04, memtest86+
root (hd1,0)
kernel /boot/memtest86+.bin
quiet

I also read somewhere that one should first try running fsck on the device. Results of fsch as follows:

:~$ sudo fsck /dev/sdb
fsck 1.40.8 (13-Mar-2008)
e2fsck 1.40.8 (13-Mar-2008)
fsck.ext2: Device or resource busy while trying to open /dev/sdb
Filesystem mounted or opened exclusively by another program?
:~$ sudo fsck /dev/sdb
fsck 1.40.8 (13-Mar-2008)
e2fsck 1.40.8 (13-Mar-2008)
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

Should I go ahead and run the "e2fsck" command?

Alternatively I could probably do a re-installation and disconnect the local HDD this time so the grub menu installation is doen properly?

Any assistance would be appreciated...

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jonas Jabs (jonas-flinux) said :
#1

hmm i would try to reinstall grub per live cd.
go into the terminal in the live session and:
1: sudo grub
2: find /boot/grub/stage1
3: root (hdx,x) // replace the x for the partition with the kernel
4: setup (hd0)

or something like that

Revision history for this message
Jonas Jabs (jonas-flinux) said :
#2

Can you help with this problem?

Provide an answer of your own, or ask Doepie for more information if necessary.

To post a message you must log in.