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: creating a 2 OS thumb drive

20 Jan 2010   #31
Jonathan_King

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by woebetide View Post
I can only help with PE, no GRUB or Linux.
@Jonathan_King
If you can tell me which iso's you want to add to the bcd, I can maybe explain here step by step howto.
It would also help if you can send me the bcd file from the boot dir, so we can build on that.
I want to use Partition Wizard Bootable CD, Windows 7 x86 Installation files (merged using imagex, as SIW2 showed me earlier), and the x64 Repair Disc.

The BCD is attached.


bcd.zip




My System SpecsSystem Spec
.
21 Jan 2010   #32
woebetide

WIN 7 x64
 
 

@iseeuu

You mean the bootable iso's right?

Create a folder and extract the content of the x86 iso in it. (let's say in k:\dart)
Rename the boot.wim from the x64 to something like dart64.wim.
Copy the dart64.wim to the k:\dart\sources folder.

You also need the etfsboot.com from a Windows 7 setup dvd, and copy to k:\dart\boot.

open a CMD window in k:\dart\boot (hold shift and right click --> Open Command Window here)
I assume you know how to copy and paste ind the CMD windowd (I find it easy to create a txt file and copy/paste things)


bcdedit /store bcd /enum

bcdedit /store bcd /copy {default} /d "ERD x64" (replace ERD x64 with anything)
The entry was successfully copied to {4ecff4bb-0672-11df-a891-00248c40c635}

{4ecff4bb-0672-11df-a891-00248c40c635} is the new ID

Next set DEVICE:
bcdedit /store bcd /set {4ecff4bb-0672-11df-a891-00248c40c635} DEVICE ramdisk=[boot]\sources\dart64.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}

And OSDEVICE:
bcdedit /store bcd /set {4ecff4bb-0672-11df-a891-00248c40c635} OSDEVICE ramdisk=[boot]\sources\dart64.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}

That's it!

bcdedit /store bcd /enum (again to check)
The description of the first entry is Windows Setup, so you might change that!
bcdedit /store bcd /set {default} description "ERD x86"

Create bootable cd from the folder!




Attached Thumbnails
creating a 2 OS thumb drive-bcd.jpg  
My System SpecsSystem Spec
21 Jan 2010   #33
woebetide

WIN 7 x64
 
 

@Jonathan_King

Rename the boot.wim from your Repair disk to dart64.wim
Copy to your sources folder
Copy the attached bcd to your boot folder.( overwrite the old one).


Attached Files
File Type: zip bcd.zip (5.7 KB, 116 views)
My System SpecsSystem Spec
.

21 Jan 2010   #34
Jonathan_King

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by woebetide View Post
@Jonathan_King

Rename the boot.wim from your Repair disk to dart64.wim
Copy to your sources folder
Copy the attached bcd to your boot folder.( overwrite the old one).
Thanks! So I have the repair disk files, and renamed the boot.wim to dart64.wim. Now what do I do?
My System SpecsSystem Spec
21 Jan 2010   #35
iseeuu

 
 

Quote   Quote: Originally Posted by woebetide View Post
@iseeuu

You mean the bootable iso's right?

Create bootable cd from the folder!
Awesome instructions. I'm going to give that a try today. Thanks very much!

Cheers!
Robert
My System SpecsSystem Spec
21 Jan 2010   #36
iseeuu

 
 

Quote   Quote: Originally Posted by iseeuu View Post
Quote   Quote: Originally Posted by woebetide View Post
@iseeuu

You mean the bootable iso's right?

Create bootable cd from the folder!
Awesome instructions. I'm going to give that a try today. Thanks very much!

Cheers!
Robert
Awesome instructions, easy to follow. However, when I executed the "set OSDEVICE"

Code:
E:\dart\boot>bcdedit /store bcd /set 
{7619dcc8-fafe-11d9-b411-000476eba25f} 
DEVICE ramdisk=[boot]\sources\dart64.wim,
{0fea2987-06ec-11df-9a32-001558508051}
The operation completed successfully.

E:\dart\boot>bcdedit /store bcd /set 
{7619dcc8-fafe-11d9-b411-000476eba25f} 
OSDEVICE ramdisk=[boot]\sources\dart64.wim,
{0fea2987-06ec-11df-9a32-001558508051}
The element data type specified is not recognized, 
or does not apply to the specified entry.
Run "bcdedit /?" for command line assistance.
Element not found.
The only difference between the two commands is DEVICE and OSDEVICE

So why the error?
My System SpecsSystem Spec
21 Jan 2010   #37
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Hi Johnathan,

Sorry, afaik, this method is only for .wim ( winpe/winre) .I don't believe it will work for Linux .iso's. Only for .wim's containing winload.exe.

I will have a think - as you know - I would like to include both Linux and Windows recovery tools.

Quote   Quote: Originally Posted by Jonathan_King View Post
Quote   Quote: Originally Posted by woebetide View Post
I can only help with PE, no GRUB or Linux.
@Jonathan_King
If you can tell me which iso's you want to add to the bcd, I can maybe explain here step by step howto.
It would also help if you can send me the bcd file from the boot dir, so we can build on that.
I want to use Partition Wizard Bootable CD, Windows 7 x86 Installation files (merged using imagex, as SIW2 showed me earlier), and the x64 Repair Disc.

The BCD is attached.


Attachment 48933
My System SpecsSystem Spec
22 Jan 2010   #38
woebetide

WIN 7 x64
 
 

@iseeuu

[QUOTE]
E:\dart\boot>bcdedit /store bcd /set
{7619dcc8-fafe-11d9-b411-000476eba25f}
DEVICE ramdisk=[boot]\sources\dart64.wim,
{0fea2987-06ec-11df-9a32-001558508051}
/QUOTE]

The default identifier is
{7619dcc8-fafe-11d9-b411-000476eba25f}

When you did the copy {default} you get a new identifier, in your case
{0fea2987-06ec-11df-9a32-001558508051}

So it must be:
E:\dart\boot>bcdedit /store bcd /set
{0fea2987-06ec-11df-9a32-001558508051}<------------ new id
DEVICE ramdisk=[boot]\sources\dart64.wim,
{7619dcc8-fafe-11d9-b411-000476eba25f}<------------ Default id

And the same for OSDEVICE
My System SpecsSystem Spec
22 Jan 2010   #39
iseeuu

 
 

[QUOTE=woebetide;522539]@iseeuu

Quote:
E:\dart\boot>bcdedit /store bcd /set
{7619dcc8-fafe-11d9-b411-000476eba25f}
DEVICE ramdisk=[boot]\sources\dart64.wim,
{0fea2987-06ec-11df-9a32-001558508051}
/QUOTE]

The default identifier is
{7619dcc8-fafe-11d9-b411-000476eba25f}

When you did the copy {default} you get a new identifier, in your case
{0fea2987-06ec-11df-9a32-001558508051}

So it must be:
E:\dart\boot>bcdedit /store bcd /set
{0fea2987-06ec-11df-9a32-001558508051}<------------ new id
DEVICE ramdisk=[boot]\sources\dart64.wim,
{7619dcc8-fafe-11d9-b411-000476eba25f}<------------ Default id

And the same for OSDEVICE
DOH! I had it backwards, didn't I?

At times I can be so lystecdic!

Thanks, I'll give it another go ...

.
My System SpecsSystem Spec
22 Jan 2010   #40
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Johnathan, if you have a winpe cd for Paragon , or similar - you can also include that, instead of Partition Wizard. Unfortunately, Partition Wizard uses a Linux based cd.

I included Paragon Paragon Hard Disk Manager 2010 Server.

I see woebetide has included Paragon Drive backup and Paragon Partition Manager on his.


Code:
G:\ALL\boot>bcdedit /store bcd 

Windows Boot Loader
-------------------
identifier              {default}
device                  ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
path                    \windows\system32\boot\winload.exe
description             Windows Setup
locale                  en-US
inherit                 {bootloadersettings}
osdevice                ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
systemroot              \windows
detecthal               Yes
winpe                   Yes
ems                     Yes

G:\ALL\boot>bcdedit /store bcd /copy {default} /d "Repair Vista/7 64 bit"
The entry was successfully copied to {6529b406-0715-11df-8d40-001966657855}.

G:\ALL\boot>bcdedit /store bcd /set {6529b406-0715-11df-8d40-001966657855} DEVICE ramdisk=[boot]\sources\REC64.wim,{7619
dcc8-fafe-11d9-b411-000476eba25f}
The operation completed successfully.

G:\ALL\boot>bcdedit /store bcd /set {6529b406-0715-11df-8d40-001966657855} OSDEVICE ramdisk=[boot]\sources\REC64.wim,{76
19dcc8-fafe-11d9-b411-000476eba25f}
The operation completed successfully.

G:\ALL\boot>bcdedit /store bcd /copy {default} /d "Paragon HDM 2010 Server"
The entry was successfully copied to {ceef3303-0715-11df-8d40-001966657855}.

G:\ALL\boot>bcdedit /store bcd /set {ceef3303-0715-11df-8d40-001966657855} DEVICE ramdisk=[boot]\sources\HDM2010.wim,{76
19dcc8-fafe-11d9-b411-000476eba25f}
The operation completed successfully.

G:\ALL\boot>bcdedit /store bcd /set {ceef3303-0715-11df-8d40-001966657855} OSDEVICE ramdisk=[boot]\sources\HDM2010.wim,{
7619dcc8-fafe-11d9-b411-000476eba25f}
The operation completed successfully.

G:\ALL\boot>
My System SpecsSystem Spec
Reply

 creating a 2 OS thumb drive




Thread Tools




Similar help and support threads
Thread Forum
Another USB Thumb Drive problem
I have a 1GB thumbstick that I'd like to recover. Diskpart can't clean it (CRC error), Windows can't format it, it DOES show up, and diskpart CAN see it. It has no partitions or volumes, and I can't chkdsk it, it's a raw format at the moment. Any ideas what to do? Ditching the drive is an option,...
Hardware & Devices
Thumb Drive
Are there any tools to repair thumb drives? I have a dive that will not format after I pulled it out without ejecting it.
Hardware & Devices
Cannot rename USB thumb-drive
I have a 8GB thumb drive, age unknown. In WinExp, Name:= Removable Disk In drive Properties, Name:= <empty, no name, an empty string> When I try to rename the drive "PKT2012" in either or the new name refuses to "stick" The "Properties" dialog "Name" field is always empty. Is the...
Hardware & Devices
Tools to put on my thumb drive?
I have a 16GB thumb drive. Looking for tools to put on it so I can help people when they call me to fix their computer.
Performance & Maintenance
Bootable Thumb Drive
I'm making a bootable thumb drive with all the best recovery and testing tools I can think of. Problem is I cant think of any other tools to put on it. So far I have Hiren's boot cd, ubcd, ubcd4win, XP install disk image (dunno if the xp works yet), clonezilla, ubuntu, and orphcrack. Anyone...
Performance & Maintenance
thumb drive troubles
I am having trouble with my thumb drive. I can format it okay with FAT32, but not NTFS. Both Full and Quick format both end with "The format did not complete successfully". I have also tried from the command prompt and GParted. GParted did not return any errors, but Windows would not recognize it....
Hardware & Devices


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:53.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App