Have NT Workstation 4.0 dual boot Win95 & NT. Now have added Red Hat to
/dev/hdb with LILO written to the root partition sector of /dev/hdb. What
statement do I add to c:\boot.ini to get LILO to start linux?
> Have NT Workstation 4.0 dual boot Win95 & NT. Now have added Red Hat to
> /dev/hdb with LILO written to the root partition sector of /dev/hdb. What
> statement do I add to c:\boot.ini to get LILO to start linux?
If you want to do it the easy way, get a program called Bootpart
This program will create the bootsector file and add the appropriate
line to your boot.ini file.
I have used this program before and it is quite easy.
Hope this helps.
I have lilo installed on the partition that I have Linux installed on.
In my case, this "/dev/hda3". I mount my DOS/NT partition as "/dosc".
Within "/etc/lilo.conf" I have the line:
Here's something that I call "/usr/local/bin/newlilo"
that I execute within Linux:
dd if=/dev/hda3 of=/dosc/bootsect.lin bs=512 count=1
I also had to add a line to the NT file "c:\boot.ini" that will
gives the boot options when I boot up the Microsoft OS':
The only changes you need to customize this for yourself depends
on which partition record you will install lilo on and which
subdirectory you mount your DOS/NT "drive C:".
Anytime you make any changes such as recompiling the kernel,
DO NOT EXECUTE "lilo" ONLY. Make this shell script "newlilo"
executible by using the command as root:
chmod u+x /usr/local/bin/newlilo
After that you can update everything properly by using this
new command "newlilo" (as root ofcourse).