I have 2 HD's, Using RedHat 6.1. First and main drive is /dev/hda
Second is /dev/hdb
Here is copy of my /hda2/etc/fstab;
/dev/hda2 / ext2 defaults 1 1
/dev/hda1 /mnt/dos vfat defaults 0 0
/dev/hdb1 /mnt/hdb1 ext2 defaults 1 2
/dev/hdb2 /mnt/hdb2 ext2 defaults 1 2
/dev/hdb3 swap swap defaults 0 0
/dev/fd0 /mnt/floppy msdos owner,noauto 0 0
/dev/cdrom /mnt/cdrom iso9660 owner,noauto,ro 0 0
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
------------------------
Here is copy of my /dev/hda2/etc/lilo.conf
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
vga = ask
timeout=50
default=rh61-a
image=/boot/vmlinuz-2.2.12-20
label=linux
initrd=/boot/initrd-2.2.12-20.img
read-only
root=/dev/hda2
# image=/dev/hdb2/boot/vmlinuz-2.2.12-20
# label=linux2
# initrd=/dev/hdb2/boot/initrd-2.2.12.20.img
# read-only
# root=/dev/hdb2
other=/dev/hda1
label=dos
# other=/dev/hdb
# table = /dev/hdb2
# label = boot2
-----------------------------------
I have installed R.H. 6.1 on my /dev/hdb2 and have a floppy boot that will
boot to it OK. My /dev/hda is a 1.6 gig W.D. and the /dev/hdb is a Fujitsu
3.2 gig drive.
I have been all thru the various man pages and the
/usr/doc/HOWTO/mini/LILO file and have not found a good example of setting
up lilo.conf to allow booting to the second hd.
The above copy of lilo.conf (with the '# ' removed) will not work when I
run lilo, The error msg I get is that;
'Added linux
open /dev/hdb2/boot/vmlinux-2.2.21-20: Not a directory'
After running that I attemp to boot using at prompt 'boot2' and that wont
work, If I hit tab then it only lists linux and dos.
According to the mini HOWTO on lilo it says 'other files and labels are
allowed.
Note that I can boot to second drive using the boot floppy but that is a
bother and rather have it an altenate boot from regular lilo.
If I had a good example to emulate I would appreciate it. I have trouble
understanding all the man files.
Warren
* | Warren Hrach, SanDiego, CA 92107 | *
* | [EMAIL PROTECTED] Linux & BBBS on an AMD K5 | *
* | BBS at (619}224-4878 | *