Dave Reed wrote:
>I eventually just decided to trust the floppy boot disk wouldn't go
>bad (I have never found floppy disks to be that reliable) and just
>tried it.

>Fortunately, it worked fine.  I'm not certain how lilo figures out
>where /boot is when it's on a different partition than / (in the first 
>image, /boot is on /dev/hdc1 and / is on /dev/hdc2).

>Here it is for anyone who is curious:

>boot=/dev/hda
>map=/boot/map
>install=/boot/boot.b
>prompt
>timeout=50
>default=linux

>image=/boot/vmlinuz-2.2.14
>         label=linux
>         read-only
>         root=/dev/hdc2

>image=/boot/vmlinuz-2.2.12-20
>         label=linux-6.1-orig
>         initrd=/boot/initrd-2.2.12-20.img
>         read-only
>         root=/dev/hdc2

>image=/boot/vmlinuz-2.2.14
>         label=rh52
>        root=/dev/hda3        read-only

>other=/dev/hda1
>         label=win95
>         table=/dev/hda
------
FWIW
I don't use boot floppy and successfully run two root filesystems
in my case two different versions of rhat 5.2
What follows is how I would set up your config :

I would change above to following /pair/ of lilo.conf
(I don't show your preamble, the 6.1-orig stanza, or the win95 stanza)

1)for use when booted up in rh6.1
image=/boot/vmlinuz-2.2.14
        label=linux
        read-only
        root=/dev/hdc2       ###  /dev/hdc2 is mounted on /

image=/rh5.2/boot/vmlinuz-2.2.14
### /rh5.2 is where redhat5.2 rootfs is mounted when bootedin rhat6.1
        label=rh52
        root=/dev/hda3       ### /dev/hda3 is mounted on /rh5.2
        read-only

-----

2)for use when booted up in rh5.2
image=/rh6.1/boot/vmlinuz-2.2.14
### /rh6.1 is where redhat6.1 rootfs is mounted when bootedin rhat5.2
        label=linux
        read-only
        root=/dev/hdc2   ### /dev/hdc2 is mounted on /rh6.1

image=/boot/vmlinuz-2.2.14
        label=rh52
        root=/dev/hda3      ### /dev/hda3 is mounted on /
        read-only


----
this type of dual rootfs setup works for me,
in my case two versions of redhat5.2

for one of my rootfs  /boot resides under /
and for the other rootfs  /boot resides outside of /,
similar to  your case and no trouble results.

I don't need to use a bootfloppy

lilo can be run (if necessary, or just for fun 8~) )
when booted up in either 5.2 or 6.1

In this method I do have to keep parallel lilo.conf
and also two  fstab
one under /rh6.1/etc  and the other under /rh5.2/etc
but this is not hard to keep consistent with any future changes.

at any give time
one or the other of the two rootfs is mounted as /
with the other mounted under a directory with its identifying label

once working,
the rootfs that isn't being used as /
doesnt have to be mounted at all,
unless you want it mounted to be accessible for examination
or wanting to rerun lilo , ...

this way the other rootfs has some degree of protection


regards
Jack

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to