Snapafun wrote:

Kevin Ferguson wrote:

Hi Guys

Some time ago someone posted regarding dual booting to different linux distro's.

I believe some responded by saying you could edit the lilo.conf file by adding the following.

image=/boot/vmlinuz
   label="Redhat"
   root=/dev/hdb1

I think the above looks right I just don't want mess up my lilo.conf file. If some one can confirm the above will work dual booting two different linux distro's?

Thanks
Kevin

------------------------------------------------------------------------

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________


There is some more work to do to your example above before it will work.

For example, you will need to identify each vmlinuz from within your preferred boot partition and that applies to your initrd.img as well.

If you care to wait till tomorrow night I will let you know if I'm on the right track because I have installed PCLinuxOs alongside WinMe on my slave hard drive and have Mandrake10 on my primary hard drive. At present I am using lilo associated with PCLinuzOs ( hdb5 ) as I needed to rescue my Mandrake installation. Now I want to use the Mandrake10 lilo ( hda1 ) for my multiple options so need to configure things to still be able to boot PCLinuxOs as well.

To start with I have created links ( # ln -s ) poointing to the vmlinuz and initrd.img files on my PCLinuxOs - from the /boot partition ( hda1 ) and given them specific names.

SO I am hoping the following will get things done.....

In lilo.conf at /etc/lilo.conf , I am going to add :

image=/boot/vmlinuzpclos [ vmlinuzpclos being the link name I created earlier ]
label="PCLOS"
root="/dev/hdb5"
initrd=/boot/initrdpclos.img [ again, initrdpclos.img being the link name I created earlier ]
append=< things I need for my specific hardware >
vga=788 < another option I have >
read-only


NOW..... all this applies to my system [ being Mandrake10 and PCLinuxOs ] so you might need to consider different requirements for your system.

Another way is to get your new installation to set lilo and add your existing systems as options usually included within the installation process and install that lilo to MBR.

Don't forget, if you change lilo.conf the you must issue as root [ su ] # /sbin/lilo for it to work.

The important thing is that the required vmlinuz and initrd.img files are in or are pointed to - from within your preferred /boot directory and that you identify them differently so as not to confuse your boot loader.

Hope this gets you thinking and that I have got it right for once.

Regards

Frank



------------------------------------------------------------------------

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________


Hi Frank

Thanks for the info, I;ve been thinking about this for about 3 months but not taken the plunge yet. I've taken the precaution of backing up my mandrake distro up before going ahead.

Once I have downloaded the iso images, I'll set to work. Although this is test box, I need to make sure it will work.

Thanks again.
Kevin

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to