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
gforce23

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

Long story short, Win7 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
sup3rsprt

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
Perrybucsdad

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
sup3rsprt

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
gforce23

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: - Win7 partition, primary - NTFS
Partition D: - WinXP, extended - NTFS
My System SpecsSystem Spec
07 Oct 2009   #6
sup3rsprt

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
gforce23

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? Win7 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
sup3rsprt

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
Perrybucsdad

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
sup3rsprt

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
Thread Forum
Device manage gives The Specified Path Does Not Exist
I am having a problem related to device manager on my laptop under Win 7. When I select Computer/Manage on the laptop, I receive the message 'The specified path does not exist' from the application Explorer.exe. This also occurs if I go to control panel and select device manager. I ran sfc /scannow...
Drivers
how to find device id to use in bcdedit
I was having ubuntu related files in C: drive I moved all ubuntu related files to D: bcdedit shows me Real-mode Boot Sector --------------------- identifier {913c60b1-d90e-11e0-9e01-869473ab8036} device partition=C: path ...
Backup and Restore
Want to edit Bootmgr's directory path.
Ok I use a program called Hirens to do all kinds of stuff at work, and we know we can put 1 OS into the root directory and it will start a install of that OS. What I want to do is have it set up so I can install any OS I have on my portable hard drive. I have the file system set up like this.....
Installation & Setup
bcdedit list is empty? -- How to edit startup?
Hello, When I go to bcdedit, there are no entries at all. When I go to msconfig, then to the boot tab, there are also no entries at all. I want to alter the boot settings (setting the amount of memory lower (dont ask)), but I cant find windows 7 in any boot related program... Where to I...
General Discussion
no path in bcdedit
I have Win 7 64 bit build 7100 installed. While checking on a problem, I opened BCD and noticed that there is no path line. Is this a problem? If so, how do I repair it? Screen captures of the BCD and disk manager are attached.
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:37.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App