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

Page 1 of 2 12 LastLast

  1. Posts : 79
    Win7 RTM, XP Pro, Arch Linux, Puppy (Quad boot)
       #1

    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 Computer


  2. Posts : 1,557
    XP, Seven, 2008R2
       #2

    device

    if you change it, you need to make sure ntldr is on the D: drive along with ntdetect.com and boot.ini
      My Computer


  3. Posts : 120
    Win 7 Ultimate x64 & x86
       #3

    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 Computer


  4. Posts : 1,557
    XP, Seven, 2008R2
       #4

    Yeah I noticed that before too. Google indexes pages of this site really fast.
      My Computer


  5. Posts : 79
    Win7 RTM, XP Pro, Arch Linux, Puppy (Quad boot)
    Thread Starter
       #5

    sup3rsprt said:
    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 Computer


  6. Posts : 1,557
    XP, Seven, 2008R2
       #6

    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 Computer


  7. Posts : 79
    Win7 RTM, XP Pro, Arch Linux, Puppy (Quad boot)
    Thread Starter
       #7

    sup3rsprt said:
    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 Computer


  8. Posts : 1,557
    XP, Seven, 2008R2
       #8

    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 Computer


  9. Posts : 120
    Win 7 Ultimate x64 & x86
       #9

    sup3rsprt said:
    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 Computer


  10. Posts : 1,557
    XP, Seven, 2008R2
       #10

    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 Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 03:13.
Find Us