Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Dual boot 7 and xp


27 Jun 2009   #11

Windows 7 and Windows Xp
 
 

Quote   Quote: Originally Posted by torrentg View Post
Edit your boot.ini file for XP. Change the rdisk value to something new than what it is now. (If it's 1, make it 0. If it's 0, make it 1...you can go all the way up to how many physical disks you have minus 1, to try.)

Change the rdisk value in all instances of the boot.ini.

Keep trying and rebooting until it either works or you run out of numbers. When you chose XP now in the dual boot menu, it is just trying to access the wrong partition or drive, hence the system restart.

Note: You will have to take off read-only on the boot.ini file to edit it. When you're done, replace it. Also, it is a hidden system file so you will have to enable viewing those too.





based on info from DiskPart I edited my boot.ini

it now looks like

Quote:

[boot loader]
timeout=20
default=multi(0)disk(0)rdisk(0)partition(4)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Windows XP"
DiskPart

Quote:
Microsoft Windows [Version 6.1.7100]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>diskpart

Microsoft DiskPart version 6.1.7100
Copyright (C) 1999-2008 Microsoft Corporation.
On computer: 626-PC

DISKPART> select disk 0 <<------- disk(0)

Disk 0 is now the selected disk.

DISKPART> detail disk

ST3500320AS ATA Device
Disk ID: A075DAD2
Type : ATA
Status : Online
Path : 0
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(1F02)#ATA(C00T00L00)
Current Read-only State : No
Read-only : No
Boot Disk : Yes
Pagefile Disk : Yes
Hibernation File Disk : No
Crashdump Disk : Yes
Clustered Disk : No

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 2 C NTFS Partition 45 GB Healthy System
Volume 3 D XP NTFS Partition 19 GB Healthy
Volume 4 E NTFS Partition 200 GB Healthy
Volume 5 F NTFS Partition 199 GB Healthy

DISKPART> select partition = 4 <<------- partition(4)

Partition 4 is now the selected partition.

DISKPART> detail partition

Partition 4
Type : 07
Hidden: No
Active: No
Offset in Bytes: 49180311552

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
* Volume 3 D XP NTFS Partition 19 GB Healthy

DISKPART>
but my PC is still restarting


My System SpecsSystem Spec
.

27 Jun 2009   #12

XP, Seven, 2008R2
 
 

according to diskpart, your XP partition is number 3. I don't believe the partitions in boot.ini start at 0 but I could be wrong.

Plus, the boot.ini file needs to be on the same partition as the ntldr and ntdetect. As well as the Windows 7 boot manager needs to point to ntldr on the correct partition.
My System SpecsSystem Spec
27 Jun 2009   #13

Windows 7 and Windows Xp
 
 

^ i logged into xp few miniutes back

and i used the boot.ini mentioned in in my post

I placed boot.ini in C: (where 7 is installed) along with ntdetect.com and ntldr

I had to place ntldr and ntldr.com in D: too else I get ntldr missing.
My System SpecsSystem Spec
.


27 Jun 2009   #14

XP, Seven, 2008R2
 
 

Quote   Quote: Originally Posted by nickmaza View Post
I had to place ntldr and ntldr.com in D: too else I get ntldr missing.
Well they should only need to be in one place, but as you can see multiple places won't hurt. The boot manager will load whichever one it finds.
My System SpecsSystem Spec
27 Jun 2009   #15

Windows 7 and Windows Xp
 
 

Can ne1 explain why a copy of ntdetect.com and ntldr is required in both drives???
My System SpecsSystem Spec
27 Jun 2009   #16

XP, Seven, 2008R2
 
 

hmm don't know, because they are only in one place on my system. The C: partition.
My System SpecsSystem Spec
27 Jun 2009   #17

Windows 7 and Windows Xp
 
 

hmm...

i tried many P&Cs and the working one was:

Quote:
C:\

boot.ini
ntdetect.com

D:\

ntldr
removing ntldr from D: gave the error ntldr missing placing one in C: didn't help

removing ntdetect.com from C: restarted my PC placing this file on D: instead didn't help

removing boot.in from C: and placing it on D: gave an error "ntoskrnl.exe is corrupt"



thanks to everyone who posted here

mods can lock the thread if they want
My System SpecsSystem Spec
Reply

 Dual boot 7 and xp




Thread Tools



Similar help and support threads for2: Dual boot 7 and xp
Thread Forum
0xc000000e Boot Selection Failed - Dual-Boot Boot Sequence Issue? General Discussion
Dual boot / Dual Drive queries Installation & Setup
windows 7 and linux fedora dual boot with dual drives General Discussion
dual boot , reinstall the windows and lost dual boot Installation & Setup
Help with dual hard drive/dual boot General Discussion
How do I keep Win 7, Dump XP from dual drive, dual boot Installation & Setup
Dual Boot Issue (Lost my Dual Boot Menu) Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:04 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33