# UBCD4Win Forums: HOWTO: Installing UBCD4Win to a Flash Drive - UBCD4Win Forums

• (10 Pages)
• 1
• 2
• 3
• 4
• 5
• Last »

## HOWTO: Installing UBCD4Win to a Flash Drive Includes a boot menu

### #31dummptyhummpty

• Newbie
• Group: Members
• Posts: 19
• Joined: 21-November 07

Posted 07 December 2007 - 01:57 AM

SteelTrepid, on Dec 2 2007, 03:28 PM, said:

After all these years I FINALLY have a bootable thumbdrive!! Well in the past I never really found the time to do it and honestly didn't have much desire for one. I've been content with booting from CD's, however users have always asked me/us how to do this. Since your instructions looked pretty easy I figured we finally had some easy to use instructions for users. I of course like to go through the process a few times that way if I make mistakes I can help answer user questions when they make a mistake.

The method has inspired a few of us to do a little more for USB booting. We're working on a few things so hopefully we'll be able to make it a little easier for users in a future release of UBCD4Win. Thanks for your help!

SteelTrepid, on Dec 4 2007, 06:23 PM, said:

In my testing I actually ran into this problem, however forgot to post what I think caused it and a few other comments.

That error message happened to me on my first build. I think I fixed it by changing some information in an XML file. Or it could have been caused by Vista Ultimate 64? I can't be sure of that because for the rest of my builds I did them in an XP Pro Virtual Machine.

My second build- worked but the menu was messed up. This was a simple newbie mistake, something that I didn't really think about until I had problems. After a little while my brain started working and I remembered some past discussions. In UBCD4Win builder I had elected to NOT build the ISO, big mistake. Mistake because then post processing is not completed because AutoBuild isn't run!! So you basically have to tell UBCD4Win builder to make the ISO, but then disable the "AutoBuild 95: Build ISO" plugin.

My third build- was my successful one!!

Now to fix the problem. Navigate to "C:\UBCD4Win\OEM1\nu2menu". Open the nu2menu.xml file to edit it. Do a search and replace, you need to search for:
@GetProgramDrive()\I386\Explorer.exe

and replace it with:
@GetWinDir()\Explorer.exe

There should only be one instance of this to change. Save it and then build again, I hope it works for you!!

That's interesting. I'll have to look into this when I get to work. I remember changing something for nu2menu.xml, but I know I was able to boot before hand.

bengt, on Dec 4 2007, 06:57 PM, said:

Not that important, but if you add the below to the autorun.inf
it will show up in the AutoRun menu when the USB-flash is inserted

[autorun]

extract icons with BatchIconExtractor.exe

Hey that's cool. I can add that to the zip when I get into work tomorrow.
0

### #32Joshua

• Development Team
• Group: Moderator & Development
• Posts: 1814
• Joined: 20-September 04
• Gender:Male
• Location:Germany, 32839 Steinheim
• Interests:Computer, Bikes, and many others

Posted 07 December 2007 - 09:15 PM

myviolet, on Dec 4 2007, 09:53 AM, said:

"cant find the file" when it try to load the Jushua's Pre-config

For a few minutes, i got the USB-stick files from dougham , who has the same problems.
I installed them on my working usb-stick, and now i got the same error!
On a quick view, the problem is in folder: \minint\SYSTEM32\CONFIG
it looks:

Quote

DEFAULT
DEFAULT.LOG
petmphive.LOG1
petmphive.LOG2
petmphive{d8a4eef9-a252-11dc-869b-0019b9581fa5}.TM.blf
petmphive{d8a4eef9-a252-11dc-869b-0019b9581fa5}.TMContainer00000000000000000001.regtrans-ms
petmphive{d8a4eef9-a252-11dc-869b-0019b9581fa5}.TMContainer00000000000000000002.regtrans-ms
petmphive{d8a4eefd-a252-11dc-869b-0019b9581fa5}.TM.blf
petmphive{d8a4eefd-a252-11dc-869b-0019b9581fa5}.TMContainer00000000000000000001.regtrans-ms
petmphive{d8a4eefd-a252-11dc-869b-0019b9581fa5}.TMContainer00000000000000000002.regtrans-ms
SAM
SAM.LOG
SECURITY
SECURITY.LOG
SOFTWARE
SOFTWARE.LOG

a normal looks:

Quote

DEFAULT
DEFAULT.LOG
SAM
SAM.LOG
SECURITY
SECURITY.LOG
SOFTWARE
SOFTWARE.LOG

I think it is a f*****g Marvelous vista, or antivirus problem !?
Well look later to that, it is time to go to bed !
03:15 AM here in germany !!!

Joshua

This post has been edited by hilander999: 07 December 2007 - 09:38 PM
Reason for edit:: EDITED FOR CONTENT

my plugin homepage:
<a href="http://www.drowaelder.de/winpe/PEIndex.htm" target="_blank">http://www.drowaelder.de/winpe/PEIndex.htm</a>
0

### #33myviolet

• Newbie
• Group: Members
• Posts: 8
• Joined: 25-November 07

Posted 07 December 2007 - 10:48 PM

Hi Joshua,

Thanks alot for your finding, i will try it again, for the last few days, i tried but have no success,
i will try to edit \minint\SYSTEM32\CONFIG

as you said below and let you know

once again, thanks alot for your help as always

cheers
Tony-Sydney

This post has been edited by hilander999: 08 December 2007 - 01:26 AM
Reason for edit:: Removed quote

0

### #34hilander999

• Project Development
• Group: Moderator & Development
• Posts: 3663
• Joined: 28-September 05
• Gender:Male

Posted 08 December 2007 - 01:21 AM

myviolet, on Dec 7 2007, 10:48 PM, said:

Thanks alot for your finding, i will try it again, for the last few days, i tried but have no success,
i will try to edit \minint\SYSTEM32\CONFIG

as you said below and let you know
Thats not what he meant.

your \config folder should not look like that so you have a problem with some sort of antivirus\malware software or perhaps even windows defender causing a problem.

You may want to go to MS and download the VHD IMAGE of Windows 2003 r2 and build in a virtual machine.
Dead Blow Hammer - 19 colors of Duck Tape - Bailing Wire
0

### #35Joshua

• Development Team
• Group: Moderator & Development
• Posts: 1814
• Joined: 20-September 04
• Gender:Male
• Location:Germany, 32839 Steinheim
• Interests:Computer, Bikes, and many others

Posted 08 December 2007 - 03:07 AM

Joshua, on Dec 8 2007, 03:15 AM, said:

I think it is a f*****g Marvelous vista, or antivirus problem !?
Well look later to that, it is time to go to bed !
03:15 AM here in germany !!!

Joshua

This post has been edited by hilander999: Today, 03:38 AM
Reason for edit: EDITED FOR CONTENT

Joshua
my plugin homepage:
<a href="http://www.drowaelder.de/winpe/PEIndex.htm" target="_blank">http://www.drowaelder.de/winpe/PEIndex.htm</a>
0

### #36myviolet

• Newbie
• Group: Members
• Posts: 8
• Joined: 25-November 07

Posted 08 December 2007 - 04:40 AM

Hi all,

I have success this time!

very happy

I had to use XP PC to build it, Vista is the problem!

I am writing to you using Bartpe on USB right now!
happy to get it work, thanks alot for your help
i will now test some other method

by the way, do you know why i have alot of entries for :"Apllication" or "Anti-Spyware tools" in the programs folder ?

thank you all
i have spent alot of time to get my wireless 3945abg work on this USB, and now it is working perfectly now.!!!
cheers
Tony
0

### #37hilander999

• Project Development
• Group: Moderator & Development
• Posts: 3663
• Joined: 28-September 05
• Gender:Male

Posted 08 December 2007 - 05:11 AM

myviolet, on Dec 8 2007, 04:40 AM, said:

by the way, do you know why i have alot of entries for :"Apllication" or "Anti-Spyware tools" in the programs folder ?

You must check the box to "Build ISO" or "Autobuild" will not run and this is where the menu and other items get cleaned up.
If you do not need the ISO there is an optional plugin you can disable, [Autobuild]Build ISO (or something very simular).
Dead Blow Hammer - 19 colors of Duck Tape - Bailing Wire
0

### #38textonyx

• Newbie
• Group: Members
• Posts: 7
• Joined: 10-December 07

Posted 10 December 2007 - 06:14 PM

dummptyhummpty, on Nov 26 2007, 09:02 PM, said:

hilander999, on Nov 26 2007, 05:43 PM, said:

This is a very popular topic and our users will appreciate the time you spent writing this guide.
I'm going to pin this topic so it stays at the top of the list.

THANX

@ALL
Can anyone confirm this method does work?
Please post the hardware you are testing with as each method seems to depend at least slightly on system configuration.

Hilander999,

Thank you so much for doing that. I had a tough time and had not seen any one integrate the boot menu. I hope this will save every one some time and effort. If any one has any issues please let me know and i'll help you the best that I can. Also if any one would like to make this a plugin (if that can be done), please contact me and i'd be happy to help with that.

Hi, I just thought I would mention that this worked for me, although not thoroughly tested
and I'm posting from my USB PQI stick. I suppose I got a false positive from ipscan and
Symantec anti-virus 10. Well, time to go shopping, will write more later after testing. Stephen
0

### #39textonyx

• Newbie
• Group: Members
• Posts: 7
• Joined: 10-December 07

Posted 11 December 2007 - 05:16 AM

dummptyhummpty, on Nov 28 2007, 10:04 PM, said:

Xibur,

Your on the right track. That's basically what I was saying to do. If anyone thinks I should includes these in my .zip let me know.

These instructions worked perfectly for me right out of the box. I agree that the boot menu should have more contrast and I
thought that the wording for 'setupldr.bin' should be along the lines of 'extract setupldr.bin from the CMDC directory of the zip
file you downloaded from my website and copy it over the existing setupldr.bin found in the CMDC directory on the Usb stick'.
The extract did overwrite setupldr.bin but I also had two CMDC directories on my Usb stick. This is a splendid recovery tool
because sometimes I encounter computers with broken cd drives. I am still playing with this. I haven't got networking to work
because it wants to restart the computer. CMDC is a huge plus and I couldn't find that on the German version of Win XP USB
(60mb) which works but has almost no tools. I doubt that either the XP or Vista German USB boot version is legal. I had some
failures with other Google published methods even that involved Bart. How this works is so interesting. I have a computer with
two drives, Vista and XP, which I dual boot with 3rd party and it hides a partition to dual boot. I will test on that also. My system
for this build is fairly old, 1gig cpu, 512mb, and I think this must have been one of the first early bios which supported Usb boots.
Also I _think_ that only \I386 is used for building this, so why copy the whole XP installation cd content to the hard drive? I used
a good XP/SP2 disk and had zero failures or warnings. I wound up not minding the double and triple checking for file integrity.

PQI regards,
TechTonics
0

### #40textonyx

• Newbie
• Group: Members
• Posts: 7
• Joined: 10-December 07

Posted 11 December 2007 - 01:10 PM

textonyx, on Dec 11 2007, 05:16 AM, said:

dummptyhummpty, on Nov 28 2007, 10:04 PM, said:

Xibur,

Your on the right track. That's basically what I was saying to do. If anyone thinks I should includes these in my .zip let me know.

I have a computer with two drives, Vista and XP, which I dual boot with 3rd party and it hides a
partition to dual boot. I will test on that also.
PQI regards,
TechTonics

I am posting from the dual boot system which has a different MB. UBCD4Win took about
4 minutes to load, much slower than my other system which is half as capable. Maybe it
inspects the larger hard drives (s) on this computer? A43 did not show the content of the
Vista drive because of no drive letter assigned (only option delete).
I fixed that dell.inf problem for SR console by copying those 4 *.sys files into F:\CMDC
which is a less than elegant solution (which I later read about).
0

### #41dummptyhummpty

• Newbie
• Group: Members
• Posts: 19
• Joined: 21-November 07

Posted 22 December 2007 - 11:08 PM

I'm glad to see that every one has been having success with my instructions. I'm sorry I had finals two weeks ago and was just busy with work last week. So what can I do to improve this, or is everything good. I'm still working on the menu, but i'm having trouble figuring out how to change it. Does any one know? Well i'll be back in the office on Wednesday and can do whatever needs to be done. Happy holidays to those that are celebrating them.
0

### #42Joshua

• Development Team
• Group: Moderator & Development
• Posts: 1814
• Joined: 20-September 04
• Gender:Male
• Location:Germany, 32839 Steinheim
• Interests:Computer, Bikes, and many others

Posted 23 December 2007 - 04:25 AM

dummptyhummpty, on Dec 23 2007, 05:08 AM, said:

I'm still working on the menu, but i'm having trouble figuring out how to change it. Does any one know?

Quote

menu color title 1;34;49 #eea0a0ff #cc333355 std
menu color sel 7;37;40 #ff000000 #bb9999aa all
menu color border 30;44 #ffffffff #00000000 std
menu color hotkey 35;40 #90ffff00 #00000000 std
menu color hotsel 35;40 #90000000 #bb9999aa all
menu color timeout_msg 35;40 #90ffffff #00000000 none
menu color timeout 31;47 #eeff1010 #00000000 none

Joshua
my plugin homepage:
<a href="http://www.drowaelder.de/winpe/PEIndex.htm" target="_blank">http://www.drowaelder.de/winpe/PEIndex.htm</a>
0

### #43billcarrjr

• Newbie
• Group: Members
• Posts: 1
• Joined: 28-October 07

Posted 10 January 2008 - 09:24 PM

Followed the instructions and it worked like a charm.

UBCD4WIN built upon XP SP2

\$7.99 1G USB Flash stick from Micro-Center

These instructions.

Worked first time..... Priceless.......

Bonus: Windows Wireless Zero Config works to allow saved profiles, including WPA/WPA2/WPAn-PSK since the USB drive is R/W. No need for FBFW like with the CD-ROM versions...

Thanks to all who contributed these notes and to those involved in creating UBCD4Win... You Rule.
0

### #44fozzieb

• Newbie
• Group: Members
• Posts: 1
• Joined: 07-February 07
• Location:Scotland

Posted 30 January 2008 - 10:39 AM

First of this is amazing, saves so much time using a USB key and easier to make changes.

Is there an easy way to add things like CloneZilla and ubuntu to the USB key?

Cheers
0

### #45Davey

• Newbie
• Group: Members
• Posts: 1
• Joined: 13-February 08

Posted 13 February 2008 - 04:31 PM

I'm still getting BSOD 0x0000007b after enabling lba and copying the files from a 2003 cd...

Any ideas?
0

• (10 Pages)
• 1
• 2
• 3
• 4
• 5
• Last »