Solved: How to Perform a Dual Boot

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

JSntgRvr

José
Thread Starter
Retired Moderator and Malware Specialist
Joined
Jul 1, 2003
Messages
18,552
Hi, guys:

Here is the scenario:

Recently my Windows 98 SE machine fried and I obtained a tower with Windows XP Home.

Disk_0 Master C:\Windows = Windows XP Home

Disk_1 Slave E:\ Windows = Windows 98 SE

I have ran Bootcfg /Build, as well as /redirecttoBIOSsettings without results. Seems that the second (slave) drive is not being detected by Bootcfg.

Any ideas how to perform a dual boot with two hard drives? What to include in the boot.ini file?

Thanks!
 
Joined
Feb 14, 2004
Messages
1,657
Normally you should ALWAYS install Win98 FIRST, if you want to use the XP bootloader. Otherwise, you could follow these instructions:DualBoot98and XP

moper
 

~Candy~

Retired Administrator
Joined
Jan 27, 2001
Messages
103,706
Hi there, thanks for the PM ;) I have a similar problem going on, you might want to check out this thread:

http://forums.techguy.org/showthread.php?t=321352&page=1&pp=30


I know BootFix works as I've done it before....see post #26, and here is the link I followed while installing 98. I don't think you'll need to reinstall, just repair the boot loader.

http://www.dougknox.com/

Repairing the Windows® XP Boot Loader

1) Create a Win98/Me Startup Disk
2) Create a Notepad file with the following entries, exactly as shown:

L 100 2 0 1
N C:\BOOTSECT.DOS
R BX
0
R CX
200
W
Q

3) Save the file to the Win98/Me Startup Disk as READ.SCR
4) Boot the computer with the Win98/Me Startup Disk and at the A: prompt type

DEBUG <READ.SCR

Steps 1 - 4 create the BOOTSECT.DOS file needed to boot Win98/Me. For your convenience, you can download READ.SCR here. I suggest you use right click and Save As. You may need to use the ATTRIB C:\BOOTSECT.DOS -S -H -R command if BOOTSECT.DOS already exists and you get an error when trying to recreate it.

5) Configure your computer to boot from the CD drive. This is done in the BIOS, or your computer may offer the option at startup if it detects a bootable CD. Consult your computer's manual for more information. If your computer does not support booting from CD-Rom, you should also be able to boot with a 98/Me Startup disk, and run WINNT.EXE from the I386 folder of your XP CD.
6) Insert your XP CD and boot from it.
7) You'll see some files being copied, then you'll be presented with a choice of installing or
repairing an existing installation. Choose Repair.
8) You'll be asked which XP installation you want to log into. Enter 1. There is usually only
one installation.
9) You'll be prompted for the Administrator password. For Home, the default password is blank, so just hit Enter. For Pro, enter the same password you did during setup for the Administrator account (this is not the same as the password for an Admin level account. It must be the Administrator account password).
10) At the C:\Windows prompt, type FIXBOOT. You'll be prompted to confirm. Do so.
11) When FIXBOOT is finished, remove the XP CD and type EXIT and the machine will reboot.
Reconfigure your computer to boot from the hard drive if necessary.

You will now get the XP Boot loader with your choice of operating systems.
 
Joined
Feb 14, 2004
Messages
1,657
Either way should work. The main thing is you have to copy the Win98 boot sector into a file called bootsec.dos and put it on C where XP can find it. By installing XP after 98, Xp creates this file during installation.

moper
 

JSntgRvr

José
Thread Starter
Retired Moderator and Malware Specialist
Joined
Jul 1, 2003
Messages
18,552
According to the instructions, Windows 98 SE must be in the Master drive, while the Drive containing XP should be installed as Slave. That could be the reason why Bootcfg is not detecting the Win 98 disk drive.

Need some clarification!
 

~Candy~

Retired Administrator
Joined
Jan 27, 2001
Messages
103,706
I thought I read that XP had to be on the C: drive? :confused:
 

JSntgRvr

José
Thread Starter
Retired Moderator and Malware Specialist
Joined
Jul 1, 2003
Messages
18,552
Reconnect the XP hard disk on a IDE cable. It must NOT be made the Primary Master.
Thats what it says. I will switch the drives around and see what happens.

Will let you know.
 
Joined
Feb 14, 2004
Messages
1,657
Just some things to be aware of:
1) Win 98 wasn't Installed while in this system, therefore all hardware detection is different. Make sure it boots and runs fine while connected as Primary Master.
2) Moving XP to another drive letter. All registry entries will still point to C. Programs might not work without editing registry or reinstalling.

Backup and save anything real important. Do you have an XP CD?

moper
 

JSntgRvr

José
Thread Starter
Retired Moderator and Malware Specialist
Joined
Jul 1, 2003
Messages
18,552
Success!

I took me a few hours until I was able to find the logic of the process. As I stated before, I have two hard drives, one with Windows XP Home and the other with Windows 98 SE.So, repartitioning and reinstalling was out of the question. Moper, your link was crucial as the Btsect25.zip file was the key of success.

The hard drive with Windows 98 must be installed as Master to be able to perform the Dual Boot. The reason for this is that the main boot files must be contained in the Primary DOS partition in the Master Disk, and since the Bootcfg utility wont detect any OS other than an NTFS system, having the Disk with XP as Master, wouldn't make a difference. It will be detected as rdisk(0).

When Bootcfg is ran, it detects XP and stablishes its location. As a slave drive, its location will be detected as rdisk(1), rather than rdisk(0).

I experienced a few flaws. For example, the instructions do not mention that besides the files contained in the Btsect25.zip, also the C:\Windows\Command\Choice.com file had to be included in the Floppy Disk (Startup Disk). In addition, during the process, the Sys C: command must be ran as to refresh the boot sector in Windows 98, thus the Startup Diskette must be the OEM version of the Windows 98 SE (In my case) Boot diskette. The Btsect.bat file, which is part of the Btsect25.zip , does the main step, which creates the Bootsect.dos in the disk containing Windows 98.

Once this is done, XP has to be connected as Slave, then the Fixboot and Bootcfg utilities will do the rest.

This only activated XP. Windows 98 will not be activated until the line C:\="Windows 98 SE" is added to the boot.ini file located in the disk containing Windows 98 (Master). I'll like to thank you all for the input. It was a great experience.

AC, I will be studying your case.

Thanks Again!
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top