How to install LILO in a multi-OS setup?

How to install LILO in a multi-OS setup?

Post by Wes Taylo » Sat, 20 Dec 1997 04:00:00



I have just tried to install Redhat Linux 5.0.  I was already running
OS/2.  I created a partition for Linux successfully before the
installation.  I followed the Redhat installation procedure, and it
appeared to have installed at the time.  I had some problems installing
LILO on the root of the Linux partition, it appeared to install on a
subsequent try, but when I booted via the Boot Manager, it complained
that the partition was not formatted.

Subsequent exploration by booting up with the redhat boot diskette in
rescue mode showed that the file system was, in fact there, and that the
files had indeed been installed, and that apparantly, all that was
missing was LILO from the boot record of the Linux partition.

Is there a way to install LILO on the boot record without doing a
complete install?  I suspect that if I simply re-installed, the same
thing would happen, unless there's a step I am unaware of.

Wes Taylor

 
 
 

How to install LILO in a multi-OS setup?

Post by Neil Ricke » Sat, 20 Dec 1997 04:00:00



Quote:>Subsequent exploration by booting up with the redhat boot diskette in
>rescue mode showed that the file system was, in fact there, and that the
>files had indeed been installed, and that apparantly, all that was
>missing was LILO from the boot record of the Linux partition.

It will be easier to fix things if you can boot into your system.  If
you have a DOS partition, try booting up with the rescue disk, and
copying the kernel to your DOS partition.  Mount your linux partition
on '/mnt'.  Mount your DOS partition somewhere else ('/cdrom' is
probably already there and available, even if the name is
misleading).  In RedHat, your kernel is probably in '/boot', which
would be '/mnt/boot' with the suggested mounts.  If you can get a
kernel to a DOS partiton, and can get a copy of LOADLIN there, you
should be able to use that to boot into your system.

Quote:>Is there a way to install LILO on the boot record without doing a
>complete install?  I suspect that if I simply re-installed, the same
>thing would happen, unless there's a step I am unaware of.

There is probably a 'liloconfig' to do this, once you are into your
system.  Or manually edit '/etc/lilo.conf'. and manually run 'lilo'.

Or, from the rescue disk, mount your partition on '/mnt'.  Then
manually edit '/mnt/etc/lilo.conf'.  Then run 'lilo' with
'lilo -r /mnt'.

 
 
 

1. Multi-OS setup problem. Help!!

I currently have 3 hard drives and a CD-ROM on my machine.  I am
using LILO to boot from my 1st hard drive to select between:

Windows 95 (on the first hard drive [C: in DOS] by itself)
Windows 3.1 (on the third partition on the 2nd drive [D: in DOS])
Linux (on the second partition on the 2nd drive [/dev/hdb2])
OS/2 (on the third hard drive [C: in OS/2] by itself in HPFS)

Windows 95, Windows 3.1 and Linux work just fine, but when I do
/sbin/liloconfig I get a warning message about BIOS and my OS/2
partition and sure enough it will not boot to OS/2.

I know the OS/2 is on the drive as I installed OS/2 on this drive
by uninstalling the other two hard drives and installing it as the
C: drive.  Then I re-installed the other two drives and moved the
OS/2 drive to the third drive position.

Now:  Is the problem caused by HPFS?  Is it caused by Lilo not
recognizing /dev/hdc?  And better yet how do I get out of this
without having to reformat either of my first two drives.  (Drives
1 and 2 are both over a gigabyte and are both at least half full.)

All ideas are welcome.

 [0m

Keith MacDonald Miller
3910 Chapel Forge Drive, Bowie, MD 20715-1312 -- 301-805-1854

2. non-blocking socket

3. multi-OS install with NetBSD

4. Configuring Linux tools: i586-pc-linux-gnu or i586-pc-linux-gnulibc1 ?????

5. multi-os freebsd + linux install

6. User tracking in Apache

7. multi-OS install with FreeBSD

8. curses - combined key processing

9. Lilo won't load os/2, os/2 won't load lilo

10. setup.ins error when installing OO in 5.0-REL

11. ? multi home + multi cgi, multi email, multi log, multi support

12. LILO Multi OS Boot Help

13. using boot floppy to boot multi OS's (no LILO)