Results 1 to 9 of 9

Thread: Setting up Lilo with one boot partition

  1. #1
    Mentor
    Join Date
    Jul 2001
    Posts
    1,666

    Setting up Lilo with one boot partition

    I wanna have Fedora, Slack, Suse and Debian installed. Don't ask why, but I'm buying a 120GB HD and am going to have one boot partition.
    What I want to know is, when I am installing my myriad of OS's, do I only need one of them to install Lilo? And my other question is, how am I going to make sure they don't overwrite each others files? Or am I just dreaming
    Cheers
    CP

  2. #2

    Re:Setting up Lilo with one boot partition

    hello,
    i have not tried this but it should work to just have the images named different - e.g. vmlinuz-slack, vmlinuz-fed. etc... and then have the root=/dev/<distro>

  3. #3

    Re:Setting up Lilo with one boot partition

    depends on how you are installing lilo - if it's to the MBR, I'm fairly sure you only need one install, but multiple partitions (Configured within the OS that lilo is booting off of)

  4. #4
    Mentor
    Join Date
    Jul 2001
    Posts
    1,666

    Re:Setting up Lilo with one boot partition

    [quote author=pbharris link=board=2;threadid=8467;start=0#msg76707 date=1074004463]
    hello,
    i have not tried this but it should work to just have the images named different - e.g. vmlinuz-slack, vmlinuz-fed. etc... and then have the root=/dev/<distro>
    [/quote]
    Thats what I thought, but what will happen when I try to install 2 distros that usually have the same named kernel? Will one just overwrite the other? Also if I rename, then want to use a precompiled kernel, the update will be broken wont it?
    Cheers
    CP

  5. #5

    Re:Setting up Lilo with one boot partition

    Something like this,

    Share a /boot partition with all of your Linux distros. Then, you'd have only one lilo.conf, and you'd just add all of the kernel image= stanzas to that.

    Here's an example:

    image=/boot/vmlinuz-2.4.22-RH
    label="Red_Hat_9"
    root=/dev/hda1
    read-only

    image=/boot/vmlinuz-2.4.18-Deb
    label="Debian_Woody"
    root=/dev/hda4
    read-only

    Here, each stanza loads a different kernel, and it uses a different root. Just make sure to have a boot disk for each distro in case something go wrong.

  6. #6
    Mentor
    Join Date
    Jul 2001
    Posts
    1,666

    Re:Setting up Lilo with one boot partition

    Thats what I thought, but what I'm worried about, is that when I install Slackware, will it overwrite the files in the /boot partition that are already there?
    Cheers
    CP

  7. #7
    Senior Member
    Join Date
    Apr 2002
    Posts
    417

    Re:Setting up Lilo with one boot partition

    If you're scared that Slack will overwrite files then install it first.


  8. #8

    Re:Setting up Lilo with one boot partition

    I'd say just rename your kernel after each installation.

  9. #9
    Mentor
    Join Date
    Jul 2001
    Posts
    1,666

    Re:Setting up Lilo with one boot partition

    That sounds like the best option really doesn't it. Thanks for the help
    CP

Similar Threads

  1. Replies: 0
    Last Post: 11-24-2008, 03:27 AM
  2. Boot DOS to XP via LILO
    By slackbird in forum Linux Distros
    Replies: 1
    Last Post: 10-05-2007, 08:01 PM
  3. Mandrake & LILO in mbr - can't boot from hda3
    By x in forum Linux - General Topics
    Replies: 18
    Last Post: 01-25-2003, 07:06 PM
  4. Lilo boot screen
    By wing328 in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 05-31-2002, 05:13 PM
  5. passing boot parameters to lilo
    By trommaster in forum Mandriva
    Replies: 8
    Last Post: 03-16-2002, 02:30 AM

Bookmarks

Posting Permissions

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