Find the answer to your Linux question:
Results 1 to 3 of 3
I've just compiled my kernel, and I'm trying to get lilo to boot to it. Currently, the end of my lilo.conf says this: Code: image = /vmlinuz root = /dev/hda2 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Location
    New England
    Posts
    6

    Configuring lilo


    I've just compiled my kernel, and I'm trying to get lilo to boot to it.

    Currently, the end of my lilo.conf says this:
    Code:
    image = /vmlinuz
      root = /dev/hda2
      label = newslack
      read-only
    image /boot/vmlinuz.old
      root = /dev/hda2
      label = oldslack
      read-only
    /vmlinuz should be my new kernel, and /boot/vmlinuz.old should be my old one.
    However, upon boot, lilo does something really odd. It displays what it used to, before I made the lilo.conf changes!

    I believe the end of the old lilo.conf looked like this:
    Code:
    image = /boot/vmlinuz
      root = /dev/hda2
      label = Linux
      read-only
    I have no clue why lilo would display what the old lilo.conf said. I also have no clue how it's booting, because there is no /boot/vmlinuz anymore...

    I must be making a pretty stupid mistake, but I can't seem to figure out what it is.

    Thanks in advance.

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Did you run as su:
    Code:
    /sbin/lilo
    After making the configuration changes in your lilo.conf?
    Linux Mint + IceWM Registered: #371367 New Members: click here

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Location
    New England
    Posts
    6
    Quote Originally Posted by Dapper Dan View Post
    Did you run as su:
    Code:
    /sbin/lilo
    After making the configuration changes in your lilo.conf?
    Apparently I completely forgot that.
    It works fine now.

    Thanks!

  4. $spacer_open
    $spacer_close

Posting Permissions

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