LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-30-2003, 04:41 PM   #1
dripkic
LQ Newbie
 
Registered: Apr 2003
Posts: 1

Rep: Reputation: 0
Dual boot win2k Senario


I installed win2k on hdb, then installed redhat on hda

my grub conf is as follows.

map (hd0) (hd1)
map (hd1) (hd0)
rootnovelrify (hd0,0)
chainloader +1


I am now getting NTLDR is missing.


I have heard that this will not work with windows being on a drive other than the primary. Is this true?

Or is there something else to try I've burnt all my bridges.

thanks in advance
 
Old 04-30-2003, 05:14 PM   #2
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 31
I haven't found a way so far to boot Windows 2000 with lilo and I don't think it works for grub either because it seems to me that win2k heavily depends on its own bootmanager.

First of all you have to repair it. Make a linux bootdisk before or you won't be able to boot to linux then! Use the bootable win2k CD and go to the repair console. with "help" you should get the commands for repearing the MBR but you should better google for it before. I've done this once and never again because I was happy that I didn't have to reinstall

You can then tell the C:\boot.ini to add an option for Linux to the windows boot manager.

To do so you have to go into linux with the bootdisk and configure the bootmanager to a Linux only system and install it on the linux *partition* not in the MBR, or you have to start again

then do

dd if=/dev/hda2 of=/mnt/bootsect.lnx bs=512 count=1

change the pathes to the according directories on your PC. Windows has to read the 2nd one!

Boot into windows and copy the bootsect.lnx to C:\ and edit the boot.ini and add

bootsect.lnx="Linux"

under [operating systems].

Then you can boot Linux from the windows boot manager.

BUT there are a few concerns.

a) it's a hassle when you update your bootmanager often, for test purposes for instances.

b) do something wrong and you have to repair the MBR again.

c) I have done this only in Lilo. So if you choose this way then I strongly suggest to google for it.

d) to avoid trouble I put lilo on a boot disk. So it's floppy-in="boot Linux" and floppy-out="boot Win2k" for me. It's easier to update linux and the windows bootmanager doesn't have to be touched.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Win2k dual boot gone jschiel Mandriva 4 03-12-2004 06:43 PM
Win2k dual boot Creator Linux - Newbie 1 01-07-2002 08:09 AM
dual boot win2k/rh 6.2 mafia_boy Linux - Newbie 16 08-31-2001 02:17 PM
Win2K/RH7.1 Dual, RH won't boot from boot disk after install marktaff Linux - Software 4 08-24-2001 06:29 PM
dual boot with win2k oki1konoky Linux - General 0 02-28-2001 10:39 PM


All times are GMT -5. The time now is 06:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration