On Tue, 21 Jan 1997 08:39:07 -0800, Chad Peters
>I am having problems with setting Linux up with dos and os/2 warp.
>I have tried using os/2's boot manager and LILO under all configurations
>that I can think of.
>Is there a way to get all three co-existing on my system with out having
>to kill one of them? (I know that it works fine with out os/2).
Yes, there is at least one way. I use LILO to switch between OS/2,
Win95 and Linux. Each of these is in a primary partition. I can't see
the Win95 drive (C:) from OS/2, but that doesn't bother me as all of
my data is in a DOS extended partition.
Note it is possible to do this without using BootManager - but only,
and someone correct me here if I'm wrong, by using a version of LILO
(17) that allows the partition table to be re-written on each boot.
Otherwise, booting OS/2 kills Win95 because the former messes around
with the OS Type byte in the partition table.
Now to the details. There is only one HD in my system, partitioned as
follows:
Disk /dev/hda: 128 heads, 63 sectors, 787 cylinders
Units = cylinders of 8064 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/hda1 * 1 1 127 512032+ 6 DOS 16-bit >=
32M
/dev/hda2 346 346 786 1778112 5 Extended
/dev/hda3 330 330 345 64512 83 Linux native
/dev/hda4 128 128 329 814464 7 OS/2 HPFS
/dev/hda5 * 346 346 422 310432+ 83 Linux native
/dev/hda6 * 423 423 584 653152+ 83 Linux native
/dev/hda7 * 602 602 786 745888+ 6 DOS 16-bit
Quote:>=32M
/dev/hda8 * 585 585 601 68512+ 82 Linux swap
and lilo.conf goes something like this:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
image=/boot/vmlinuz
label=linux
root=/dev/hda3
read-only
other=/dev/hda1
label=dos
table=/dev/hda
rewrite-table
other=/dev/hda4
label=os2
table=/dev/hda
rewrite-table
Note that if you have two physical drives, the above approach may not
be a good idea - the docs that come with LILO say that the
rewrite-table option was removed in later versions because it didn't
always do what it was supposed to. You have been warned!!
Quote:>Unfortunately, I can't even get back into linux with out doing a
>complete re-install.
Hmm, no boot disk ?. A Slackware or RedHat boot disk - even the
installation ones - will allow you to mount your root partition and
then carry on booting from there (e.g. 'mount root=/dev/hda3' at the
LILO prompt. I had to do this numerous times whilst figuring out the
above !!)
Craig