how to find device id to use in bcdedit


  1. Posts : 3
    7
       #1

    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
    Code:
    Real-mode Boot Sector
    ---------------------
    identifier              {913c60b1-d90e-11e0-9e01-869473ab8036}
    device                  partition=C:
    path                    \ubuntu\winboot\wubildr.mbr
    description             Ubuntu
    which is to be changed. But I am not clear as how do I find out identifier string for D: drive what is the bcdedit command for the same?
      My Computer


  2. Posts : 640
    Windows 7 Ultimate x64
       #2

    If you have Ubuntu installed to drive D: and the path above is correct "D:\ubuntu\winboot\wubildr.mbr" then the command should be:

    bcdedit /set {913c60b1-d90e-11e0-9e01-869473ab8036} device partition=D:
      My Computer


  3. Posts : 1,781
    Windows 7 Professional SP1 32-bit
       #3

    Hello bakra,

    welcome to SevenForums. Did you install Ubuntu within your Windows system using WUBI?
    Duzzy's advice is technically correct, but it remains to be seen whether Ubuntu can simply be moved to its own partition like this without reinstalling it.

    Please let us know if you succeed.
      My Computer


  4. Posts : 3
    7
    Thread Starter
       #4

    Yes I installed Ubuntu within Windows system.I want to know how do you find out

    which drives has what number for example my C drive has following
    Code:
     {913c60b1-d90e-11e0-9e01-869473ab8036}
    how do you find the same for D: etc.
      My Computer


  5. Posts : 1,781
    Windows 7 Professional SP1 32-bit
       #5

    These codes refer to boot manager entries and are not related to your drives. What are you trying to do exactly?
      My Computer


  6. Posts : 640
    Windows 7 Ultimate x64
       #6

    Like Corazon said the identifier strings are not related to your drives. When you add a new entry to your bcd store (boot menu) the identifier string is automatically created unless specified, normally you wouldn't specifiy it. I'm not sure what use it has other than a reference for making changes.

    The device entry tells the boot loader where to look for the path entry. Using your first post the boot loader would look for the boot sector in "C:\ubuntu\winboot\wubildr.mbr". Device + Path.

    The description is just what shows on the boot menu when you choose what OS to boot.

    The command I posted earlier simply tells the boot loader to look for the boot sector "D:\ubuntu\winboot\wubildr.mbr". As I said that is if Ubuntu was installed to D:. I have never installed Ubuntu within Windows before so I do not know if you can simple move it.

    Sorry I can't be of more help. Sounds like Corazon has more experience with Ubuntu so hope he can help you.
      My Computer


  7. Posts : 1,781
    Windows 7 Professional SP1 32-bit
       #7

    Hehe, well, I did install Ubuntu once but in its own partition. I think I know my way around the BCD store pretty well though. :)
      My Computer


  8. Posts : 3
    7
    Thread Starter
       #8

    No issues I wanted to know what is that identifier string for.I have got my Ubuntu working back.
    But for my own sake I want to understand how these identifier strings are generated.
      My Computer


 

  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 09:53.
Find Us