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

Re: GRUB loader error message



Hey Alvin--

Windoze is installed on /dev/hda1

Here is an output from fdisk -l:

****
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    f
 W95 Ext'd (LBA)
/dev/hda5            2434        3197     6136798+  83
 Linux
/dev/hda6            3198        3337     1124518+  82
 Linux swap / Solaris
/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 / Solaris
****

Here is a directory output of /dev/hdb2/boot/grub:

****
root@0[grub]# ls
device.map     fat_stage1_5  menu.lst       
reiserfs_stage1_5  stage2
e2fs_stage1_5  jfs_stage1_5  minix_stage1_5  stage1   
         xfs_stage1_5
****

BIOS is set to look at hdb first, so it ignores the
windoze boot manager. Someone else on the debian-user
list said you cannot boot from within an extended
partition. I apparently overlooked this. (?)

TX for your input. Still trying to figure it out...

--- Alvin Oga <aoga@mail.Linux-Consulting.com> wrote:

> 
> hi ya jeremy
> 
> On Sun, 2 Oct 2005, Jeremy Merritt wrote:
> 
> more grub fun :-)
> 
> > /dev/hdb2 is the location of /root/grub
> 
> i assume you have a type and/or a system install
> problem
> 
> 	-- what is the disk that windozed is installed on
> 	( presumably hda ?? aka C: )
> 
> 	-- if you installed debian/linux on the same disk
> 	it is still called root(hd0...) and not
> root(hd1...)
> 
> 	-- if you did install debian ont /dev/hdb2,
> 	than you have a partitioon type problem ...
> 	whch confuses grub with mismatched partition types
> 	on the disk vs what its expecting as its formatted
> 	type on that same partition
> 
> 	( dont use vfat fdisk partition type if you
> mkfs.ext3'd it )
> 
> a) grub is usually /boot/grub  ( /"B"oot )
> 
> b) if you put grub's files that is needed under
> /root
>    than you're gonna go bonkers 
> 	( testing in the new world of unknowns )
> 
> c) required grub files ...
> 	/boot/grub/device.map
> 	/boot/grub/stage1 /boot/grub/stage2
> 
> 	/boot/grub/FS_stage-1.5  where "FS" is how your
> 	disk is formatted
> 
> > ****
> > root (hd1,1)
> 
> that implies you probably have another disk at
> /dev/hda 
> 
> > 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
> 
> why is it type "f" ???  it is NOT linux ...
> --------------------------------------------
> 
> 	-
> 	- are you sure about your disk names 
> 	-
> 
> > kernel /boot/vmlinuz-2.4.27-2-686 root=/dev/hdb2
> ro
> > 
> > Error 17: Cannot mount selected partition
> > ****
> 
> exactly .. based on your previous root command
> 
> > I did notice that there is no grub.conf in the
> > /root/grub folder.
> 
> grub.conf is NOT required if yu are typing
> those commands manually
> 
> c ya
> alvin
> 
> 



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



Reply to: