Announcement

Collapse
No announcement yet.

Changing to another system LILO. Howto?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Changing to another system LILO. Howto?

    At this point I successfully installed and rebooted Kubuntu.
    Since I have a full and tailored linux system using the boot
    loader lilo, I booted my system and wrote a lilo entry to
    include the new Kubuntu system. Unfortunateley kubuntu
    does not boot!! Here is the entry I wrote and the symptoms.

    Thanks foor any help.

    My system root: /dev/sda5.
    kubuntu: /dev/sdb6 mounted on /SDB6 when running my current system.

    lilo.conf:

    boot = /dev/sda
    message = /boot/boot_message.txt
    prompt
    timeout = 300
    lba32
    vga = normal

    # MY CURRENT SYSTEM
    image = /boot/bzImage
    vga = 0x317
    root = /dev/sda5
    label = Palma
    read-write
    append="video=vesafb:ywrap,mtrr"
    initrd=/boot/initrd-gentoo-highquality-1024x768

    # KUBUNTU
    image = /SDB6/vmlinuz
    root = /dev/sdb6
    label = Kubuntu
    read-write
    append="quiet splash"
    initrd=/SDB6/initrd.img

    other = /dev/sda1
    label = WindowsDOS
    table = /dev/sda

    _________________________________

    The system reads and uncompresses the kernel, displays the
    normal boot splash, and a few seconds
    after issuing the message "Mounting root filesystem", the screen
    turns blank (black) with a blinking cursor on the left upper corner.

    What is missing in my lilo.conf to boot kubuntu?!

    #2
    Re: Changing to another system LILO. Howto?

    I'm not too familiar with LILO, but I would suspect it's those 'SDB6' entries...at boot time the disk is not mounted anywhere, so the right address to them is most likely not /SDB6

    I think you're mounting sdb6 as / with 'root = /dev/sdb6'...so try with:

    image=/vmlinuz
    initrd=/initrd.img

    Anyway, those with more experience with LILO are free to correct me (and help you in the process)

    Comment


      #3
      Re: Changing to another system LILO. Howto?

      No! Those entries are correct. I have other systems and I know it.

      Besides, lilo reads and uncompresses the kernel and the splash
      is displayed. So, both the boot image and initrd.img are recognized.
      The boot process also is initialized since I could see a couple
      of messgaes, being "Mounting route filesystem - ok" the last one.

      I think there must be something more to add to the "append line",
      or any other special option.

      Thanks anyway.

      Comment


        #4
        Re: Changing to another system LILO. Howto?

        Paulo,

        I believe the vmlinuz and the initrd.img are under /boot directory. So, try this:

        # KUBUNTU
        image = /SDB6/boot/vmlinuz <-- change here
        root = /dev/sdb6
        label = Kubuntu
        read-write
        append="quiet splash"
        initrd=/SDB6/boot/initrd.img < change here

        then, as root, run the command lilo.

        Code:
        lilo
        Good luck!

        Comment


          #5
          Re: Changing to another system LILO. Howto?

          In the root directory there are links to the /boot files (both
          vmlinuz and initrd).
          This does not work either :-(

          Comment


            #6
            Re: Changing to another system LILO. Howto?

            Paulo,

            Is it possible there is something wrong with Kubuntu installation?

            Can you also try to spell out the complete paths to both files instead to see if that makes any differrence?

            For example:

            image=/SDB6/boot/vmlinuz-2.6.15-23-386
            initrd=/SDB6/boot/initrd.img-2.6.15-23-386

            I think I ran into the problem with this long time ago. Even though the vmlinuz pointed to the correct file.

            I run out of idea.

            Comment


              #7
              Re: Changing to another system LILO. Howto?

              I'm beginning to see what is happening ...

              I tryed to boot without "splash quiet" and I got the following:

              ...
              Begin: Running /scripts/init-bottom
              Done.

              [xxxxxxx.xxxxxx] request-module: Runaway loop modprobe binfmt-464c

              This same error happened with Debian (etch) when changing from Grub to Lilo! Pls. see the thread discussion I had a couple of months ago and that I found now searching google:

              http://www.webservertalk.com/message1439360.html

              This seems likely to be a module not loaded (ELF?).
              I just don't understand why this occurs with Lilo and not
              with Grub ...

              Can someone post here a quick/simple way to download/compile
              the kernel sources the kubuntu way? If possible giving the
              possibility of inspecting and remastering the initrd image.

              I could do that getting rid of the initrd image, but I would prefer
              to keep things the "kubuntu way".

              Thanks.

              Comment


                #8
                Re: Changing to another system LILO. Howto?

                Ah...sorry for my earlier suggestion, looks like lilo acts very differently on that regard :P

                Anyway, one more thing you could try is use read-only instead of read-write

                (Since the default boot options for kubuntu are 'ro quiet splash')

                Comment

                Working...
                X