I dont think u should need to Peeeeeel  the bootsector of NT.

I did this -

- point to the NT partition in your lilo setup e.g /dev/hda1

- Install lilo in your root linux partition  e.g /dev/hda2

- make your linux root partition as your ACTIVE partition thru fdisk. i.e.
      /dev/hda2

- run /sbin/lilo

You should now have the option of booting to NT and linux



ciao,

amit



"Bera, Kousik" <[EMAIL PROTECTED]> on 06/25/99 04:23:38 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Amit Kucheria/LTITLVSH)

Subject:  Re: Re:Installation Blues (Now over) :-)






> Now the questions.
> First, since I have also installed Win NT, the LILO was overwritten by
> Win NT from the  MBR. I found metalab.../mini/howto/LILO+NT-Loader/
> for this, but the problem is that it helps in case of a fresh
> installation whereas I had already installed Linux first with the LILO
> in place and then installed Win NT. Now NT has taken up MBR and the LILO
> is overwritten. According to howto it says that during installation LILO
> should be kept in Linux root partition and not the MBR. Then I have to
> peel the bootsector from the root partition by giving a command. The
> the file so created will be added to Win NT root directory and the
> boot.ini file modified accordingly to allow linux booting.
> The problem in my case is since the LILO is already overwritten how do I
> install a fresh LILO without having to install Linux again ?

Have u created any bootdisk? If no then boot from the installation CD or
the
bootimage disk(created by rawrite). In the boot prompt, boot from the
appropriate root partition.
e.g. if your root partition is in /dev/hda1 then give the following command
vmlinuz root=/dev/hda1
Now after booting you have to change the LILO config. Now since you want to
install LILO on the root partition instead of the MBR, you have to change
the "boot=" directive in the /etc/lilo.conf .
boot=/dev/hda1            ;(instead of boot=/dev/hda) This instructs LILO
to
install itself on the root partition.
You can refer to /usr/doc/HOWTO/LILO for more info. After you edit this
file
run /sbin/lilo as root. This will write the LILO on the root partition.
After this you can do all those peeling first boot sector, copying to c:\
blah.. blah..



Reply via email to