windows2000 boot manager (boot.ini)
OK, so I tried to to make windows2000 handle my dual booting...
this is what I did... In Linux: # dd if=/dev/hda1 of=/BOOTSECT.LNX bs=512 count=1 (NOTE that hda1 is where my /boot directory is located; hdb1=/ hdb2=swap hdb3=/home) then I placed this 'BOOTSECT.LNX' file in my c:\-directory of windows (on my system-disk) (the file is indeed 512b in size) In Windows: I opened boot.ini and this is the result of adding only the last line to boot.ini [boot loader] timeout=20 default=multi(0)disk(0)rdisk(0)partition(2)\WINNT [operating systems] multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows2000 Pro" C:\BOOTSECT.LNX="Linux" (only last line has been added) so, I reboot, and everything goes well, I can select both Win and Linux... BUT, when I select linux and hit enter, the following occurs... 1.) it says NTLDR is missing... 2.) it says that it can not boot windows 2000 from that disk because there are actions performed from that disk... both these messages I have gotten already... What is wrong (read: what am I doing wrong)?:cry: P.S.: I followed the instructions on http://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader.html |
Came accross
I just came accross the following article in MS-knowledge base
http://www.microsoft.com/WINDOWS2000...s_gs_03010.htm could this be the answer to my prayers? |
Just to make sure we donät miss anything.
You did install lilo? And did you install lilo to /dev/hda1, check your /etc/lilo.conf file? |
terribly sorry
I am terribly sorry to report that...
I have found a solution to boot windows and linux from within LiLo... So, I'm sorry to have taken your time... |
How'd you do it?
|
just used lilo
Just added my windows partition to lilo.conf... and executed /sbin/lilo...
apparently this time it did not overwrite NTLDR... (pfffw) |
Using a separate boot and root device, I figured out that not the root device should be used but the boot device.
My boot device is /dev/hde3 My root device is /dev/hde4 So this is what I did First I start linux from install cd in the rescue mode. Then I look which file system is mounted on /boot with the df command. Which in my case is /dev/hde3. Make the bootsect.lnx file "dd if=/dev/hde3 of=/bootsect.lnx bs=512 count=1" My hard drive has a fat32 partition which i use to share files with windows 2000, it is located at /dev/hde6. mount the fat32 file system mkdir /fat32 mount -t vfat /dev/hde6 /fat32 mv /bootsect.lnx /fat32/bootsect.lnx reboot in windows2000 add the C:\BOOTSECT.LNX="Linux" line to boot.ini copy the bootsect.lnx from the fat32 partition to C:\ reboot now i can choose to start lilo from the windows2000 boot menu |
All times are GMT -5. The time now is 07:55 PM. |