PDA

View Full Version : Booting Knoppix from hdd using grub problem



kofti
05-19-2004, 11:48 AM
I was working with redhat fine. then i installed knoppix to a different partition. now i can not boot knoppix from hdd nor the redhat. i get the following errors.

1 )for redhat :

( installed on /dev/hda6 )

the kernel line works fine
the initrd line initrd /boot/initrd-2.4.20-8.img

error : 15 file not found.

however when i get to rescue mode from cd, the file is there. how come the grub doesn't find it.

2 ) for knoppix :

it is installed on dva7

error 17 : can not mount selected partition

root (hd0,7)
filesystem type unknown partition type (0x82)

when i check from booting the cd i do fdisk -l
it gives hda7 as ext3 ( 0x83 ) not as ( 0x82), also when I boot from the cd I can access hda7. how come the grub does not recognize my partition ?

I do not know if this question fits here but is there terminal based partition program from redhat or knoppix or both ? (qtparted is not included in my knoppix distro )

mzilikazi
05-19-2004, 03:50 PM
I was working with redhat fine. then i installed knoppix to a different partition. now i can not boot knoppix from hdd nor the redhat. i get the following errors.

1 )for redhat :

( installed on /dev/hda6 )

the kernel line works fine
the initrd line initrd /boot/initrd-2.4.20-8.img

error : 15 file not found.

however when i get to rescue mode from cd, the file is there. how come the grub doesn't find it.

2 ) for knoppix :

it is installed on dva7

error 17 : can not mount selected partition

root (hd0,7)
filesystem type unknown partition type (0x82)

dva7? I presume you meant /dev/hda7 and if so your grub entry is wrong. remember, grub starts counting from 0 not 1.


root (hd0,7) is /dev/hda8 ;)


when i check from booting the cd i do fdisk -l
it gives hda7 as ext3 ( 0x83 ) not as ( 0x82),

Well I'm guessing that /dev/hda8 is your swap! You should do man update-grub

kofti
05-20-2004, 03:29 PM
ok i fixed the problem with knoppix, hda6 ( 7 - 1 ) solved the problem.

thanx a lot.

still working on the redhat.. it still is making problem..