Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
# /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
# 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.
Last edited by obstinatesod; 08-08-2006 at 03:45 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.