LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-07-2006, 06:44 PM   #1
obstinatesod
Member
 
Registered: Apr 2005
Location: Shetland
Distribution: PClinuxOS, Suse 10.0, Mandriva, Alinux,
Posts: 126
Blog Entries: 1

Rep: Reputation: 15
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
 
Old 08-07-2006, 07:25 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
Post your /etc/fstab and your /etc/lilo.conf. That would be a big help.
 
Old 08-08-2006, 02:37 AM   #3
obstinatesod
Member
 
Registered: Apr 2005
Location: Shetland
Distribution: PClinuxOS, Suse 10.0, Mandriva, Alinux,
Posts: 126
Blog Entries: 1

Original Poster
Rep: Reputation: 15
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.

Last edited by obstinatesod; 08-08-2006 at 04:45 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 02:15 PM
lilo ntldr missing after running lilo after slackware install SeriousArnoud Slackware 1 08-16-2005 10:07 AM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 06:00 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 05:50 PM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 07:21 PM


All times are GMT -5. The time now is 08:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration