Lilo
Hi I have just installed alinux12.7 and I don't know how to configure lilo to recognise my second hard drive.
I have 2 hard drives the first has XP and now alinux the second has XP, although the boot loader shows 3 OS's in the menu two of them both go to the same XP can anyone advise me on configuring this so I can boot to my other disk, it worked OK with GRUB but this distro doesn't seem to have a choice, thanks Adrian |
Post your /etc/fstab and your /etc/lilo.conf. That would be a big help.
|
Hi sorry this is the /etc/lilo.conf the entry at the bottom was my attempt to add to the boot menu. This is how it works at the moment:
DOS boots to xp on first drive linux boots to alinux OS2 boot to the same xp on first drive and not to the one on the second drive. image="/boot/fb-aLinux" label="fb-aLinux" root="/dev/hda5" read-only image=/boot/fb-Matrix label="fb-Matrix" root=/dev/hda5 read-only image=/boot/vmlinuz label="vmlinuz" root=/dev/hda5 read-only image=/usr/src/linux/arch/i386/boot/bzImage label="Linux_Compiled" root=/dev/hda5 read-only optional other=/dev/hda1 label="NT" image="/dev/hda1" root="/dev/hda5" other=/dev/hdb1 label="NT" other=/dev/hdb2 label="NT" other=/dev/hdb1 label="Adrian" image="/dev/hdb1" root="/dev/hda5" # /etc/fstab: static file system information. Unix Aug-28-00 # # The following is an example. Please see fstab(5) for further details. # Please refer to mount(1) for a complete description of mount options. # # Format: # <file system> <mount point> <type> <options> <dump> <pass> # # dump(8) uses the <dump> field to determine which file systems need # to be dumped. fsck(8) uses the <pass> column to determine which file # systems need to be checked--the root file system should have a 1 in # this field, other file systems a 2, and any file systems that should # not be checked (such as MS-DOS or NFS file systems) a 0. # This is for a reiser partition as root Unix system. /dev/hda5 / ext2 defaults 0 1 # You can just type "mount /mnt/hdxx" where "xx" is 1 of 4 below hard disks. # To comment out, put "#" at the begining of the "/dev" or change /dev/hdxx. #/dev/hda1 /mnt/hda1 vfat defaults,noauto,user 0 0 #/dev/hda2 /mnt/hda2 vfat defaults,noauto,user 0 0 #/dev/hda3 /mnt/hda3 vfat defaults,noauto,user 0 0 #/dev/hdb1 /mnt/hdb1 vfat defaults,noauto,user 0 0 #/dev/hdc1 /mnt/hdc1 vfat defaults,noauto,user 0 0 # This is for a reiser4 partition as root Unix system. #/dev/hda2 / reiser4 defaults 0 0 # This is for a ext3 partition as root Unix system. #/dev/hda2 / ext3 defaults 0 0 # This is for a reiserfs partition as root Unix system. #/dev/hda2 / reiserfs defaults 0 0 # This is for a ext2 loop device as root Unix system. #/dev/loop0 / ext2 defaults 0 0 # This is for a ext3 loop device as root Unix system. #/dev/loop0 / ext3 defaults 0 0 # This is for a reiser loop device as root Unix system. #/dev/loop0 / reiserfs defaults 0 0 # This is for a umsdos as root Unix system. #/dev/hda1 / umsdos defaults 0 0 # This is a Unix "ext2" partition on /dev/hda3 etc. #/dev/hda3 /mnt/linux ext2 defaults 0 2 # The "noauto" option indicates that the file system should not be mounted # with "mount -a". "user" indicates that normal users are allowed to mount # the file system. #/dev/cdrom /mnt/cdrom iso9660 defaults,noauto,ro,user 0 0 #/dev/fd0 /mnt/floppy auto defaults,noauto,user 0 0 #/dev/fd1 /mnt/floppy auto defaults,noauto,user 0 0 # Supermount options: #floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0,--,codepage=437,iocharset=iso8859-1 0 0 #cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom,--,ro,iocharset=iso8859-1 0 0 # If you have a ls-120 floppy drive, it could be on /dev/hda b c d etc. #/dev/hdd /mnt/ls120 auto defaults,noauto,user 0 0 # NFS file system: #linux01.gwdg.de:/suse/6.4/i386.de /mnt/nfs nfs defaults 0 0 # Mounted on startup: proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 tmpfs /dev/shm tmpfs defaults 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 # Unix98 devpts filesystem: devpts /dev/pts devpts gid=5,mode=666 0 0 # Win95/98 fat16 or FAT32 partition: #/dev/xxxx /DOS vfat defaults,user,umask=002,gid=100,unhide,quiet 0 0 # E.g. Reader Flash/Memory Card(s): # Formatting: mkfs -t vfat /dev/sda1; since there generally DOS disk(s). #/dev/sdb1 /mnt/flash vfat noauto,user 0 0 # This is the closest thing your going to get to hard-linked directorys w/o # corruption since 'ln -d, -F, --directory' is non POSIX or just doesn't # work well on file-system inodes other then ext2. Maybe no even that. #/to/some/directory/not/populated /to/some/directory/thats/populated none bind 0 0 # The "sw" option indicates that the swap partition is to be activated # with "swapon -a" or "swapoff -a" to deactivate it/them. /dev/hda6 none swap sw 0 0 # This is swap space on a partition. #/dev/hda3 none swap sw 0 0 # This is a loop device swap file. #/dev/loop1 none swap sw 0 0 # This is a swap file on the system. /mnt/swap/swap.img none swap sw 0 0 # Devices detected in /mnt will follow next. |
All times are GMT -5. The time now is 02:15 AM. |