Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LILO: Two versions of RH. Two different hardrives. How?

4 views
Skip to first unread message

Lyndon Bartels

unread,
Feb 12, 2001, 12:29:44 PM2/12/01
to
Hello,

I want to be able to dual-boot my linux box.. but with a twist.

I want to run it with two versions of RedHat.

Originally, I started out with RH v7.0. I installed LILO in the MBR of
the first disk. (I had 3 SCSI hard drives.)

Next, I added a 4th drive, partitioned it the way I wanted, and
installed RH 7.1 Beta on those partitions. I'm re-using /tmp, /home, and
the swap partitions.

What I Didn't do, was to change any of the original LILO configurations.
I didn't want to accidentally change any of the 7.0 boot configurations.

Next, I want to alter the v7.0 lilo.conf so that I can boot to 7.0 by
default, or boot to 7.1 by choice.

v7.0's '/' partition is /dev/sda1. (I have no /boot partition)
v7.1's '/' partition is /dev/sdd1.

I made the '/' partitions identical in size, etc.

My current lilo.conf is as follows:

boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux

image=/boot/vmlinuz-2.2.16-22
label=linux
initrd=/boot/initrd-2.2.16-22,img
read-only
root=/dev/sda1

So far I'm thinking of adding:

image=/boot/vmlinuz-2.4.-0-.99.11
label=fisher
initrd=/boot/initrd.img
read-only
root=/dev/sdd1


I got "initrd.img" from the boot floppy I created during the 7.1
install. But should I make another one? etc.?


Thanks in advance,

Lyndon

Stanislaw Flatto

unread,
Feb 13, 2001, 6:21:00 AM2/13/01
to

Lyndon Bartels wrote:

> Hello,
>
> I want to be able to dual-boot my linux box.. but with a twist.
>
> I want to run it with two versions of RedHat.
>

Simple.
Your first distribution installed (lets call it A) has LILOA in mbr and
boots its kernel by default.
Your second distribution B, usually finds the swap and will use it, should
have its LILOB on the partition, configured to boot kernelB and initialise
the whole distribution.
LILOA should present a menu where you can choose to activate LILOB.
The stanca should look like this:
other=/dev/sdxx #partition where distribution B resides
unsafe # read man lilo and man lilo.conf

LILOB does not need waiting period or menu selections, although a message
saying "Now booting distribution B" may be nice if useless.

> Thanks in advance,
>
> Lyndon

Welcome.

Stanislaw.
Slack user from Ulladulla.

0 new messages