Dave Reed wrote:
>I've looked (albeit quickly) at the lilo and lilo.conf man pages and
>the LILO HOWTO and am not certain exactly how to do this - and don't
>want to try for fear of messing things up.


dave
here is what I did, with a lot of help from my vendor  netexpress
  www.tdl.com/~netex

essentially I  have  two lilo.conf and two fstab
the change in fstab i do with just commenting and uncommenting a few lines

/dev/sda4               /              ext2    defaults        1 1
###/dev/sda4            /data2         ext2    defaults        1 2
###/dev/sdb1               /           ext2    defaults        1 1
/dev/sdb1               /redhat5.2     ext2    defaults        1 1
/dev/sda1               /win95         vfat    defaults        0 0

/dev/sdb2               swap           swap    defaults        0 0
/dev/sdb5               /data          ext2    defaults        1 2
/dev/fd0                /mnt/floppy    ext2    noauto          0 0
/dev/cdrom              /mnt/cdrom     iso9660 noauto,ro       0 0
none                    /proc          proc    defaults        0 0

this set up is for two different versions of rh5.2  but one could be rh6.1

as shown above it is set up  with root (/) on  sda4
and the alternate root on  sdb1   mounted on /redhat5.2
this latter doesnt have to be mounted when using sda4 as root
  and in fact i usually have 4th line commented out running this way
  but it is useful to have both mounted when setting things up

when I switch to the alternate root the top four lines above become
####/dev/sda4               /            ext2    defaults        1 1
/dev/sda4            /data2              ext2    defaults        1 2
/dev/sdb1               /                ext2    defaults        1 1
####/dev/sdb1               /redhat5.2   ext2    defaults        1 1

now root(/) is on sdb1,  that was previously mntd on /redhat5.2
my previous root on sda4  is now mounted on /data2


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

lilo.conf
has its two different stanzas
what is shown below has one of them commented out but that is not necessary

boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
#image=/redhat5.2/boot/vmlinuz
#       label=linux
#       root=/dev/sdb1
##      initrd=/boot/initrd-2.0.36-0.7.img
#       read-only

image=/boot/vmlinuz
        label=sda4alt5.2
        root=/dev/sda4
        read-only

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

-------

I think this is exactly like I am running now
altho i edited my files to get rid of distracting stuff
so possibly i have messed something up slightly
I havent switched to the other root in sometime now so
  again maybe not quite complete but i think it is ok.


but you should at least get the general idea

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