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 to find device id to use in bcdedit


23 Oct 2011   #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 System SpecsSystem Spec
.

23 Oct 2011   #2

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
23 Oct 2011   #3

Windows 7 Professional SP1 32-bit
 
 

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 System SpecsSystem Spec
.


23 Oct 2011   #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 System SpecsSystem Spec
23 Oct 2011   #5

Windows 7 Professional SP1 32-bit
 
 

These codes refer to boot manager entries and are not related to your drives. What are you trying to do exactly?
My System SpecsSystem Spec
23 Oct 2011   #6

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
23 Oct 2011   #7

Windows 7 Professional SP1 32-bit
 
 

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 System SpecsSystem Spec
23 Oct 2011   #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 System SpecsSystem Spec
Reply

 how to find device id to use in bcdedit




Thread Tools



Similar help and support threads for2: how to find device id to use in bcdedit
Thread Forum
where can l find the device detection log Hardware & Devices
Solved Windows 7 BCDEDIT can't find boot store as it is on the XP partition. General Discussion
W7 cannot find boot device. General Discussion
Cannot find video device model. Hardware & Devices
the find the device game General Discussion
Where would I find this driver in device mgr Drivers
How do I edit the device path for WinXP using bcdedit? 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:07 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