[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GRUB loader error message



Jeremy Merritt wrote:

> I was having trouble getting the grub loader to work
> on my machine after having to re-install Windoze XP.
> Finally I got the grub menu to come up but Debian will
> not load properly.
> 
> /dev/hdb2 is the location of /root/grub
> 
> The commands for loading Debian are listed as follows:
> 
> ****
> root (hd1,1)
> kernel /boot/vmlinuz-2.4.27-2-686 root=/dev/hdb2 ro
> initrd /boot/initrd.img-2.4.27-2-686
> savedefault
> boot
> ****
> 
> The output from this series of commands is:
> 
> ****
> root (hd1,1)
>   Filesystem type unknown, partition type 0xf
> kernel /boot/vmlinuz-2.4.27-2-686 root=/dev/hdb2 ro
> 
> Error 17: Cannot mount selected partition
> ****
> 
> I did notice that there is no grub.conf in the
> /root/grub folder.
> 
> (Note: Windows XP will load off the grub menu,
> although it gives some errors also.)
> 
> What is going on here? Any help is appreciated.

Assuming that this still true:
=========================================
Disk /dev/hda: 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/hda1 * 1 2433 19543041 7 HPFS/NTFS
/dev/hda2 2434 4865 19535040 5 Extended <<<<------
/dev/hda5 2434 3197 6136798+ 83 Linux
/dev/hda6 3198 3337 1124518+ 82 Linux swap
/dev/hda7 3338 4865 12273628+ 83 Linux

Disk /dev/hdb: 61.4 GB, 61492838400 bytes
255 heads, 63 sectors/track, 7476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 3188 25607578+ c W95 FAT32 (LBA)
/dev/hdb2 * 3189 7298 33013575 83 Linux  <<<<<------
/dev/hdb3 7299 7476 1429785 5 Extended
/dev/hdb5 7299 7476 1429753+ 82 Linux swap
=============================================

... then I'd *guess* that you swapped roles of the two disks 
so that hdb2 is now the extended partition (type 0x0f) on the
40 gB drive.  As grub said, you can't mount an extended partition,
but you CAN mount logical partitions within an extended.

Did you swap the positions of the drives on the cable (with cable select
active) or change drive jumpers defining master/slave?




Reply to: