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 -- |----------------------------------------------------| | Adoram Rogel email: [EMAIL PROTECTED] | | OpenSource Inc. Tel: (518) 374-5147 | | 1740, Union st.,#1 Fax: (518) 374-7760 | | Niskayuna, N.Y. 12309 Home: (518) 374-9241 | |----* Linux - The choice of the GNU generation *----|
[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"