LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-03-2002, 04:41 PM   #1
piggle
LQ Newbie
 
Registered: Feb 2002
Posts: 4

Rep: Reputation: 0
Angry Dual boot RH 7.1 and Win 2K


Hi,

I have a problem. I have loaded win 2K, Win 98, and RH 7.1 on my PC. At the moment, the bootmanager is the Win 2K default one, and it will only allow me to load win 98 or Win 2k. I can boot RH 7.1 using a boot disk.

Is there any way I can boot RH for the win2k boot manager, or a third paty boot manager? I installed lilo to the /root partition when I installed RH. Is this correct?. I tried to install it to hda1, but it would not allow me to load win 98, (this was before I formatted everything, and loaded win 98 and win 2k again!)

I am new to Linux, but RH 7.1 seems to working great! I think linux has come along way.

Thanks

piggle
 
Old 02-03-2002, 05:04 PM   #2
maxg
LQ Newbie
 
Registered: Nov 2001
Location: Canada
Distribution: RedHat 7.2
Posts: 8

Rep: Reputation: 0
It's fairly simple

In RH, run /sbin/lilo to be sure it is installed.
You need to copy the boot sector of the Linux partition to C: and tell Win2K to load it:

Assume you have C:\ mounted as /mnt/win_c

dd if=/dev/hdxx bs=512 count=1 of=bootrh.bin

(substitute your RH partition for /dev/hdxx ie. if RH is the 1st partition on second drive, it would be /dev/hdb1)

(dd is a device dump utility, if is the input device bs is the bytes per sector to read count=1 means read 1 sector of is the file to output)

Then use mcopy to put the file on the C: drive:

mcopy bootrh.bin /mnt/win_c

Then boot windows and edit C:\BOOT.INI (you may need to use ATTRIB -H -R -S c:\boot.ini at a DOS prompt first)
Code:
[Boot Loader]
timeout=3
Default=multi(0)disk(0)rdisk(0)partition(2)\WINNT

[Operating Systems]
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Pro " /fastdetect
C:\CMDCONS\BOOTSECT.DAT="Win 2K Recovery Console " /cmdcons
C:\="Windows 98 "
C:\BOOTRH.BIN="Linux - RedHat 7.2 "
 
Old 02-06-2002, 08:16 PM   #3
piggle
LQ Newbie
 
Registered: Feb 2002
Posts: 4

Original Poster
Rep: Reputation: 0
Talking

Thanks Maxg!

I did what you stated, and it worked!!!!!!

YIPPPEEEEE!!!!
 
  


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
Dual boot Linspire & Win XP - new master boot record? jimbo5454 Linux - Newbie 5 07-23-2006 12:06 AM
dual boot:cannot boot redhat linux 9 with win xp dinow Linux - Software 9 07-17-2005 04:27 PM
Dual boot Win/Linux boot error L? jondy Linux - Newbie 2 04-16-2004 10:49 AM
Rebooting mdk 9.2 (win 98 dual boot) after win hd fails jnt Mandriva 3 04-05-2004 05:57 PM
dual boot with Win-XP uchatt Linux - General 0 09-19-2002 02:48 AM


All times are GMT -5. The time now is 08:53 AM.

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