I'm forwarding a reply that I sent 6 months ago for the same question.
In general, I think, going thru the 3 mini-howtos that deal with the
different combos of OSes, would have answered all your questions.
That's why mini-howtos and howtos are written for.
HTH, Adoram
Adoram Rogel wrote:
>
> ryo wrote:
> >
> > I am trying to install linux on a system with NT already installed on it ,
> > I know that installing lilo may destroy the NT loader. here is the actual
> > configuration of the 1st HD
> >
> > hda1 fat16 partition of 1Go this is the active partition
> > hda2 ntf partition of 1Go
> >
> > I plan to shrink the fat16 partition and make a 100 Mo ext2 partition for
> > the root partition. Then install the remaining filesystem on a second
> > hardrive.
> >
> > Is it sensible ?
>
> Yes, any combination is fine.
>
> > How can I configure lilo in order not to destroy the NT loader? A
> > temporarly solution could be to create a bootdisk (on another redhat
> > system) but I don't know to make one.
>
> The way I did it is as follows:
>
> hda1 (500Mb, fat16, mounted in Linux under /dos) is for NT
> hda2 (50Mb, ext2) is the root partition
> hda3...6, extended partition and /usr swap and /home (includes /var and
> /tmp)
>
> LILO treats /dev/hda2 as the boot disk, and that's where it puts its boot
> sector. This way it does not destroy the NT loader.
> Every time I run lilo I also run the following line (a script, of course):
> dd if=/dev/hda2 of=/dos/bootsect.lnx bs=512 count=1
>
> Now all you have to do is add this to the NT loader.
> Attached is my boot.ini (the one in C:\)
>
> Just remember to set and set all the attributes of the boot.ini file before
> and after you edit it.
>
> Feel free to ask...
>
> BTW, this is all documented in one of the Mini-Howto (I don't remember which
> one, I read them all before starting this).
>
> > -------------------------------------------------------
> > Ryo | Pierre Loubigniac
> > [EMAIL PROTECTED]
> > http://ituser.it.bton.ac.uk/student/pl55/public_html/
> > http://pcpl55.it.bton.ac.uk/~pl55/ (sometime)
> > -------------------------------------------------------
>
> HTH, Adoram
> ----------------------------------------------------------------------------
> My boot.ini file:
> -----------------
> [boot loader]
> timeout=10
> default=c:\bootsect.lnx
> ; was multi(0)disk(0)rdisk(0)partition(1)\WINNT
> [operating systems]
> multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation Version 4.00"
> multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation Version 4.00 [VGA
>mode]" /basevideo /sos
> c:\bootsect.622="MS-DOS 6.22"
> c:\bootsect.lnx="Linux"
> ------------------
> My lilo.conf file:
> ------------------
> boot=/dev/hda2
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=20
> default=2.0.32-2-SMP
> image=/boot/2.0.32-2
> label=2.0.32-2-SMP
> root=/dev/hda2
> initrd=/boot/initrd32
> append="mem=96M"
> read-only
> image=/boot/vmlinuz
> label=linux
> root=/dev/hda2
> initrd=/boot/initrd
> append="mem=96M"
> read-only
--
|----------------------------------------------------|
| Adoram Rogel email: [EMAIL PROTECTED] |
| OpenSource Inc. Tel: (650) 558-9447 |
| 601, South B St. Suite B Fax: (650) 558-9448 |
| San Mateo, CA, 94401 Home: (650) 594-1010 |
|------* emailed using 100% recycled electrons *-----|