Find the answer to your Linux question:
Results 1 to 9 of 9
What settings do i need to add to menu.lst for grub to enable kernel 2.6.2? I have tried all sorts of combinations, but can't get any to work. The one ...
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

    2.6.2 booting doesn't work


    What settings do i need to add to menu.lst for grub to enable kernel 2.6.2? I have tried all sorts of combinations, but can't get any to work. The one that works best, just gives me a black screen, and does nothing.

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Can you give us some more information? What have you done as far as kernel compiling and can you post your grub.conf?
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    My grub.conf:

    Code:
    root (hd0,3)
    install  --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd0,3)/boot/grub/menu.lst
    quit
    Basically i have been editing the menu.lst file to include the details for my new kernel. I compiled the kernel with all the defaults, my mate said all of that should b ok! If you want me menu.lst can post that too.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    I've never had a menu.lst or anything other than grub.conf for my boot options, so I'm not sure wtf is up with that. But here's my kernel entries from my grub.conf:

    Code:
    title=Gentoo Linux-2.6.1-gentoo-r1
    root (hd0,0)
    kernel /boot/bzImage-2.6.1-gentoo-r1 root=/dev/hda3 idebus=66 video=radeon:ywrap,mtrr,1024x768@80 vga=0x317
    initrd=/boot/bootsplash
    Hope that helps.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  6. #5
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    IIRC menu.lst is for lilo.

  7. #6
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    menu.lst is for LILO? I never had LILO on my computer, and when i edit things in the menu.lst file it edit's the GRUB List!

  8. #7
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    How would i implement that grub.config here? I have no initrd from the kernel, or will that just b the same as the old kernel?
    The main prob i think is that it's booting, but i can't c the display. I got Nvidia Geforce 2 MX 440 if that helps?

  9. #8
    Linux Engineer
    Join Date
    Sep 2003
    Location
    Knoxhell, TN
    Posts
    1,078
    you have to recompile the nvidia drivers with every kernel compile.. no way around it.. so boot to an old kernel and build the nvidia drivers again..
    Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr

  10. #9
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    I boted into the original kernel (2.4.x) and recompiled the Nvidia drivers, and still just had a blank screen. I believe the computer boots, it jus doesn't output anything to the screen. I can't c the sdtuff loading. Is there a command to tell it to use the Nvidia drivers that i may have missed out?

Posting Permissions

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