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: How do I edit the device path for WinXP using bcdedit?

07 Oct 2009   #1

Win7 RTM, XP Pro, Arch Linux, Puppy (Quad boot)
 
 
How do I edit the device path for WinXP using bcdedit?

Long story short, Windows 7 RTM completely messed up the existing XP installation on a Pentium3 test machine.



Anyhow, I want to change the device path for XP Pro from F: to D: and am a little confused here. What command's the right one for me?

bcdedit /set {ntldr} device partition=D:
OR
bcdedit /set {ntldr} osdevice partition=D:

My System SpecsSystem Spec
.

07 Oct 2009   #2

XP, Seven, 2008R2
 
 

device

if you change it, you need to make sure ntldr is on the D: drive along with ntdetect.com and boot.ini
My System SpecsSystem Spec
07 Oct 2009   #3

Win 7 Ultimate x64 & x86
 
 

You know what is really amazing? I remember someone saying that this feeds into Google if tagged properly, well the OP was 28 minutes ago, and this post is top of the list on Google if you type "edit device path winxp" in Google! That's amazing!!

Sorry, for hijacking the thread, just wanted to comment about this great feature.
My System SpecsSystem Spec
.


07 Oct 2009   #4

XP, Seven, 2008R2
 
 

Yeah I noticed that before too. Google indexes pages of this site really fast.
My System SpecsSystem Spec
07 Oct 2009   #5

Win7 RTM, XP Pro, Arch Linux, Puppy (Quad boot)
 
 

Quote   Quote: Originally Posted by sup3rsprt View Post
device

if you change it, you need to make sure ntldr is on the D: drive along with ntdetect.com and boot.ini
Thanks for the suggestion. I just tried that but it didn't work. Selecting XP from the boot loader menu results in a blank screen and I had to do a hard reboot to get things moving again.
ntldr, ntdetect.com and boot.ini are present on the D: (XP) drive. Here's my boot.ini file on the D: partition:
Code:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(3)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
The partitions on the HDD are arranged in the following order:
Partition F: - boot partition, primary - FAT32
Partition C: - Windows 7 partition, primary - NTFS
Partition D: - WinXP, extended - NTFS
My System SpecsSystem Spec
07 Oct 2009   #6

XP, Seven, 2008R2
 
 

Try putting ntldr, ntdetect.com and boot.ini on C: partition and point device there instead.

Your D: partition is not a primary one so maybe that's why it won't boot from it.
My System SpecsSystem Spec
07 Oct 2009   #7

Win7 RTM, XP Pro, Arch Linux, Puppy (Quad boot)
 
 

Quote   Quote: Originally Posted by sup3rsprt View Post
Try putting ntldr, ntdetect.com and boot.ini on C: partition and point device there instead.

Your D: partition is not a primary one so maybe that's why it won't boot from it.
Wouldn't that overwrite the files with the same name that were created by Windows 7? Windows 7 is installed on C: and it would be a humongous mess to lose both OSes. Just a tad scared about explaining to the owners of this machine that their baby would need a complete reinstall.
My System SpecsSystem Spec
07 Oct 2009   #8

XP, Seven, 2008R2
 
 

Windows 7 does not use ntldr, ntdetect.com, or boot.ini to boot. Therefore overwriting them does not hurt anything. I personally have everything necessary to boot all OS on my C: drive.
My System SpecsSystem Spec
07 Oct 2009   #9

Win 7 Ultimate x64 & x86
 
 

Quote   Quote: Originally Posted by sup3rsprt View Post
Windows 7 does not use ntldr, ntdetect.com, or boot.ini to boot. Therefore overwriting them does not hurt anything. I personally have everything necessary to boot all OS on my C: drive.
I wonder.... if you put everything necessary to boot on a removable drive, if that could be a nice security feature? I have to give that a try. It would be a great way to stup a dummy trying to use my computer.
My System SpecsSystem Spec
07 Oct 2009   #10

XP, Seven, 2008R2
 
 

I never thought of it that way It could probably be made to work as long as your removable drive can be selected as a boot device within the BIOS.
My System SpecsSystem Spec
Reply

 How do I edit the device path for WinXP using bcdedit?




Thread Tools



Similar help and support threads for2: How do I edit the device path for WinXP using bcdedit?
Thread Forum
Windows cannot access the specified device, path, or file. General Discussion
Windows cannot access the specified device, path, file General Discussion
how to find device id to use in bcdedit Backup and Restore
Want to edit Bootmgr's directory path. Installation & Setup
edit path in xp mode Virtualization
bcdedit list is empty? -- How to edit startup? General Discussion
no path in bcdedit General Discussion

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 04:43 AM.
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