Find the answer to your Linux question:
Results 1 to 2 of 2
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. #1
    Just Joined!
    Join Date
    May 2004
    Posts
    3

    Grub problem booting redhat and knoppix



    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 )

  2. #2
    Linux Engineer Nerderello's Avatar
    Join Date
    Apr 2003
    Location
    North East England
    Posts
    1,190
    I suspect that you're bumping into numbering/counting problems.

    when you refer to a partition in the form (hd0,7) you are counting from zero, so the "7" actually means the eigth partition. If you want to point at the seventh patition (ie. /dev/hda7) then use (hd0,6) .

    As to not being able to find the initrd. What I suggest you do is change the root=LABEL stuff on the kernel line of your config file. Instead, actually point at the correct partition using the /dev/hda6 way of naming. So, you'd have a kernel line that pointed to the correct kernel and then said "ro" for read only followed by "root=/dev/hda6" (I'm assuming here that your initrd is on the /dev/hda6 partition).

    You can try this out by going thru the edit option on the Grub menu and then editing (one line at a time) the lines for Redhat and then entering "b" to boot.

    have fun

    Nerderello

    Use Suse 10.1 and occasionally play with Kubuntu
    Also have Windows 98SE and BeOS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •