Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Hi, i have just installed gentoo. I am having a problem booting the kernel, but this only occurs when any options are passed to the kernel. I have tried all ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790

    problem booting kernel with options


    Hi, i have just installed gentoo.

    I am having a problem booting the kernel, but this only occurs when any options are passed to the kernel. I have tried all sorts of combinations, but get no where.

    the code in my menu/.lst file is:
    Code:
    title Gentoo Linux 2.6.10-r6
        root (hd0,10)
        kernel /bzImage
    like this, the kernel boots no problems at all, but i want to add the following options to the end of the kernel line
    Code:
    root=/dev/hda9
    vga=0x317
    video=vesafb:mttr,ywrap,1024x768-32@85
    no matter what combination of these 3 i have in the menu.lst file it give me the following when i try to boot the kernel:

    Code:
    kernel /bzImage root=/dev/hda9 vga=0x317 video=vesafb:mttr,ywrap,1024x768-32@85
    
    Error 17: Cannot mount filesystem
    anyone know what's wrong here? I have framebuffer support built into the kernel. I'm now stuck
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  2. #2
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    Try removing this from the end ,1024x768-32@85 its the only thing i can think is stopping it??

  3. #3
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    i have tried all sorts of combinations, and that doesn't work either.

    as mentioned in the question, the ONLY set of options it will accept to boot is NONE what so ever.

    It doesn't even like root=/dev/hda9 on it's own! :s
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817

    Re: problem booting kernel with options

    I hope this isn't too obvious, but you did put everything on one line, didn't you?:
    Code:
    title Gentoo Linux 2.6.10-r6
        root (hd0,10)
        kernel /bzImage root=/dev/hda9 vga=0x317 video=vesafb:mttr,ywrap,1024x768-32@85
    And the partition references are correct?
    • (hd0,10) = hda11
      / partition is on hda9
    /IMHO
    //got nothin'
    ///this use to look better

  6. #5
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    yes everything is on the same line.

    /boot is on /dev/hda11 hence (hd0,10)
    and yes, / is on /dev/hda9.

    I have just (finally) edited my menu,lst file, and it even fails to boot with the following code:
    Code:
    title=Gentoo Linux 2.6.10-r6
    root (hd0,10)
    kernel /bzImage
    the ONLY way it seems to like booting is from the grub command prompt. :s
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  7. #6
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    yes everything is on the same line.

    /boot is on /dev/hda11 hence (hd0,10)
    and yes, / is on /dev/hda9.

    I have just (finally) edited my menu,lst file, and it even fails to boot with the following code:
    Code:
    title=Gentoo Linux 2.6.10-r6
    root (hd0,10)
    kernel /bzImage
    the ONLY way it seems to like booting is from the grub command prompt. :s
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  8. #7
    Linux Enthusiast
    Join Date
    Dec 2004
    Location
    Rockin' in the USA!!!
    Posts
    603
    try just reinstalling grub, I had something similar happened, that seemed to fix it:
    Code:
    grub-install /dev/hda11

  9. #8
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    i didn't install grub, i just edited SuSE's grub config files. Should i boot SuSE and rewrite the MBR?
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  10. #9
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817
    I was in agreement with smindinvern until your last post. Your system is okay, because you can boot both OSs one way or another. Your Grub is okay, because it can boot Suse with no problems. Editing the Suse Grub.conf to add Gentoo is the way I would have gone. I'm ready to conclude that it's a Gentoo problem with your Grub listing. Maybe you should post in the Gentoo forum and add a link to this thread.
    /IMHO
    //got nothin'
    ///this use to look better

  11. #10
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    that's sounding like the best idea to me.... it is VERY weird that with the EXACT same command in grub command line it works yet with grub.conf it doesn't!
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

Page 1 of 2 1 2 LastLast

Posting Permissions

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