To be able to boot into NT, you have to change c:\boot.ini
find the line that says ....disk(0), partition(x).... where x is the
partition where NT is installed. increase this no. by 1 (so if x is 3
change it to 4). This change is to be made for all the lines that contain
this.
Please note this is a trial and error method as i do not know your exact
setup. you may have to change this value a couple of times till you get it
right. usually changing it to one higher or one lower than what is already
there should solve your problem.
To use the NT boot loader to be able to boot into linux.
There are 3 ways of getting a multi boot to work (that I know of). One
obviously being - to use lilo and type the option that is required to boot
into the appropriate partition. Of the other 2 methods, one make use of
modifying the config.sys and autoexec.bat to present a menu and using the
loadlin.exe command to load linux. The last method I know of is good only
if you have NT running on your machine - to make use of the menu driven
interface of the NT boot loader and select the OS of your choice with the
cursor keys. thats the one I have elaborated here.....
1. boot into linux.
2. MAKE A BOOTDISK (just incase something goes wrong, you'll be able to get
back into it ;-)
mkbootdisk -v --device /dev/fd0 2.x.x
or
dd if=/boot/vmlinuz of=/dev/fd0 bs=8192
3. edit /etc/lilo.conf
change the first line to the partition that linux root resides on
given your current setup, (lilo in the mbr) the first line would read
boot=/dev/hda
change that to
boot=/dev/hda5 (or whatever partition linux is on)
4. from the command prompt, issue
lilo -v
this will write the boot info to the boot record of the linux partition
only
5. mount your dos partition (C:) hda1, then create a file with the linux
boot sector info in it with the command
dd if=/dev/hda5 of=/mnt/cdrive/bootsect.lnx
this assumes that your linux partition is on /hda5, and you've mounted your
C: under /mnt/cdrive. issue the command to reflect your setup. bootsect.lnx
is the file that is created.
6. reboot the computer and get into win98
7. change the attributes of C:\boot.ini to make it editable. edit boot.ini
8. add c:\bootsect.lnx="Linux", the string in the quotes can be anything
that you would like to see on the boot menu. save the file.
9. from the command prompt of win98, issue the command fdisk /mbr this
should restore the original master boot record.
10. reboot the computer. now you should see the NT boot menu directly with
the newly added 'Linux' option instead of the lilo boot menu :-)
But, If that did'nt work {:-0 (i.e you still get the lilo boot prompt),
boot the computer with NT install disk (floppy or CD) go thru to the point
where it starts copying the files from the CD to the harddisk and quit -
aka. reboot. (you do not need to let it continue) This will install the NT
boot loader back into place.
11. reboot a couple of time and check that all entries from the boot menu
work correctly. If all is well, then don't forget to change c:\boot.ini
attribute back to read-only.
Don't hesitate to get back to me if you have any problems :-)
Thanks 'n Regards,
Ashley Moore - IXD17
E-Mail System Administrator,
Batelco, Bahrain.
Tel. +973 883529
Mobile. +973 9470515
Fax. +973 9103529
Rajesh Fowkar
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
ot.net.in> cc:
Subject: Re: [LIH] win98+winnt+linux
04/23/00 10:59
AM
Hi Ashley,
Thanks for the help.
I will pass on this mail to my friend and get the partition details from
him and get back in
touch with you.
Regards
Rajesh
Ashley Moore saw fit to inform me that:
>
>The boot partition no for winnt has changed. the entries in the boot.ini
>need to updated to reflect the changes. if you could pass on the details
of
>where win98 & winnt were and now where linux has been installed, in terms
>of disk geometry (hda1, hda2, hda5.....) I could point out the
>modifications needed.
>
>Then again, if nt is involved, you could use the NT boot loader (Its much
>more presentable than lilo) to boot in which ever partition you want.
>
>lemme kno what you would prefer.
>
>Thanks 'n Regards,
>Ashley Moore - IXD17
>E-Mail System Administrator,
>Batelco, Bahrain.
>Tel. +973 883529
>Mobile. +973 9470515
>Fax. +973 9103529
>
>
>
>
>Hi friends,
>
>My friend yesterday installed linux on his PC ( which already had
windows98
>and win NT ) in two
>partitions. Now when he tries to boot he gets LILO prompt where the two
>options are (dos and linux). Here if he types dos than he gets another
menu
>:
>
>windows 98
>windows nt
>
>Windows 98 boots perfectly but if selects Windows NT then the following
>error is displayed :
>
><winnt root>\system32\ntoskrnl.exe not found. Please reinstall.
>
>What could be the problem ? What should be the order of installation if
all
>the three os's are to
>be installed.
>
>Thanks in advance.
>
>
--
Rajesh(ALIAS Shriram) Fowkar
--------------------------------------------------------------------------------
How I Configured my SiS6215 Card ?Visit:
http://rajesh.computers.webjump.com/linux.html
Web Site : http://rajesh.computers.webjump.com/ Email
:[EMAIL PROTECTED]
Address : KURTARKAR NAGARI, BLDG-C, FLAT NO. T4, THIRD FLOOR, SHANTINAGAR,
PONDA - GOA. PHONE : (0832)315932
"Destiny is not a matter of chance, it is a matter of choice; it is not a
thing to be waited for, it is a thing to be achieved."
-William Jennings Bryan
---------------------------------------------------------------------------------
-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/