LILO booting multiple OSes

LILO booting multiple OSes

Post by Bob Apodac » Sun, 15 Nov 1998 04:00:00



I have a 3 Gig hard drive and I'm trying to get LILO to boot 3 different
operating systems.  I currently have linux on hda1, win95 on hda3 and
I'm trying to put NT4 on hda4.

Note that each partition is approximately 1 gigabyte.  My configuration
works well for linux and win95, but I can't get the last partition to
work.  I installed DOS 6 on hda4 to see if I could get  LILO to boot it,
but it just sits there after giving me this message "LILO booting dos".
I even tried making hda4 the boot parition (and disabled hda1) but I got
an "invalid boot disk" error.

The disk is in LBA mode.

I'd appreciate any help I can get.

Here is my current lilo.conf:
----------
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
linear
ramdisk=0

disk=/dev/hda
        bios=0x80
        sectors=63
        heads=128
        cylinders=781
image=/boot/vmlinuz-2.0.34-0.6
        label=linux
        root=/dev/hda1
        read-only
other=/dev/hda3
        label=win95
        table=/dev/hda
other=/dev/hda4
        label=nt4
        table=/dev/hda
----------

 
 
 

LILO booting multiple OSes

Post by Neil Ricke » Sun, 15 Nov 1998 04:00:00



>I have a 3 Gig hard drive and I'm trying to get LILO to boot 3 different
>operating systems.  I currently have linux on hda1, win95 on hda3 and
>I'm trying to put NT4 on hda4.
>Note that each partition is approximately 1 gigabyte.  My configuration
>works well for linux and win95, but I can't get the last partition to
>work.  I installed DOS 6 on hda4 to see if I could get  LILO to boot it,
>but it just sits there after giving me this message "LILO booting dos".
>I even tried making hda4 the boot parition (and disabled hda1) but I got
>an "invalid boot disk" error.

DOS gets confused if there are two or more primary FAT partitions.

Use 'fdisk' in linux with the 't' subcommand to change the thpe of
'hda3'.  If it is currently type 6, then change it to type 16.  That
should allow you to boot DOS6.  But you then won't be able to boot
win95 until you change it back to type 06.

If your plan is to install NT4 on hda4, you should now be able to go
ahead with that.  Make sure you tell the install program to use
NTFS.  That way you will avoid the problem of multiple FAT
partitions.  When finished, go back into 'fdisk' in linux, mark NT
partition as the active partition (this may already have been done by
the install).  And now you can change hda3 back to type 06.  After
this you should be able to boot all partitions.

Incidently, it is a good idea to have a linux boot disk available, in
case installing NT messes with your MBR and disables lilo.

 
 
 

1. Newbie To Linux OS Need Help With Setup And Booting Multiple OSes

Ok i've got 3 seperate hard drive partitions and 1 extended shared partition
which i set up useing a program called Partition Magic by Powerquest
on one partition i've got Windows 95
on the second partition i've got the beta version of Windows 98
the extended partition i'm useing as a shared partition for transfering files
between
Win 95 and Win 98
and the third partition is about 200 MB and currently empty
and thats where i want to install Open Linux Lite Version 1.2

I have System Commander by V Communications Corp.
which i am useing as a boot manager to select an OS on BootUp
and it has been working fine with Win 95 and 98

i i started installing Linux in the empty 200 MB partition , during the install
it popped up with a message that it could not  install LILO on the partition i
was installing to because it was a UMSDOS something partition,... so after
reading some documentation form the System Commander book (which said that i
shouldn't need LILO) i selected the option to not install LILO so then it
continued installing and when it got done and it wanted to boot Linux for the
first time,. it couldn't and gave me some kind of error message about something
like the screen that was suppost pop up (i cant remember what it called itself)
coulden't because of something to do with the root directory
and then it froze my whole computer up
So i Rebooted and when system commander popped up i selected to boot from my
new linux partition
to see if it would work at all,.. and my computer just froze again right after
i selected it.
Since i couldn't access the Linux partition at all, i booted into windows 98 ,
ran partition magic and completely  formatted the linux partition.

So i'm Going to have to start all over again but since i know absolutely
nothing at all about Linux or how it operates, I dont know how  to do it right
so that it will work correctly and be Bootable from the System Commander menu.

Can Somebody Out Thare Please Help Me With This
Or Give Me Some Suggestions
Or Info


Or Repost Something On The Usenet

Thanks

-=~ Dr Chad ~=-
  ~  (Charlie) ~

2. ksh can't see script! Am I stupid or what?

3. boot manager for multiple OS (XP and FreeBSD) on multiple drives

4. staus_module never dies

5. Linux & OS/2: boot OS/2 from lilo

6. French dictionary for my linux box?

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

8. Samsung SyncMaster 700s and XFree86

9. Lilo booting last booted OS.

10. writing boot image to boot OS using lilo

11. LILO refuses to boot from OS/2 Boot Manager

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

13. LILO and multiple os's