It is currently Fri Oct 24, 2014 3:19 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Making UBCD memory stick - Missing ubcd2usb.cmd
PostPosted: Sat Dec 25, 2010 3:32 am 
Offline

Joined: Fri Dec 24, 2010 8:02 pm
Posts: 3
Happy Holidays!!

Followed http://wiki.ultimatebootcd.com/index.ph ... e_Contents tutorial

Then customized according to http://www.ultimatebootcd.com/customize.html

Stuck @ Making UBCD memory stick (part of customize.html tutorial)

Every machination of:
cd \ubcd-extracted\ubcd\tools\win32\ubcd2usb
ubcd2usb c:\ubcd-extracted x:

Generates: <Error> Missing 'and\ubcd\tools\win32\ubcd2usb.cmd

ubcd2usb.cmd exists in C:\Documents and Settings\Pop\My Documents\ubcd-extract\ubcd\tools\win32\ubcd2usb

USB format via /f - was successful in earlier attempts (usb is FAT32 formatted)

I dont understand why or how
ubcd2iso c:\ubcd-extracted c:\ubcd50-custom.iso
creates a file in My Documents - but it did successfully (perhaps one can explain - i suspect this seemingly crazy file location creation relates to the 'Making UBCD memory stick' problem i'm having.)

While i wait eagerly for an answer, I will try to find RMPrepUSB which was not part of the d/l of version 5.03 from filemirror.hu
thank you for your time


Top
 Profile  
 
 Post subject: Re: Making UBCD memory stick - Missing ubcd2usb.cmd
PostPosted: Sat Dec 25, 2010 5:38 am 
Offline

Joined: Sat May 08, 2010 5:26 am
Posts: 768
It seems to me that the paths are not the same/correct for the commands to be ran as you typed:


doubt wrote:
cd \ubcd-extracted\ubcd\tools\win32\ubcd2usb
ubcd2usb c:\ubcd-extracted x:


Is "x:" the Usb Flash Drive (UFD) where you want to put UBCD?

Quote:
Generates: <Error> Missing 'and\ubcd\tools\win32\ubcd2usb.cmd


What is this " 'and " ? Is it part of the path? It is not present in the rest of your quotes.

Quote:
ubcd2usb.cmd exists in C:\Documents and Settings\Pop\My Documents\ubcd-extract\ubcd\tools\win32\ubcd2usb


This path is different than what you wrote before.

Quote:
USB format via /f - was successful in earlier attempts (usb is FAT32 formatted)


It is not so clear what was "successful", either the formatting only, or the whole process to put ubcd in UFD.

If the whole process was successful before, then you should use the same drive than before, and the drive doesn't need to be reformatted. If only the "formatting" was successful, then many things could be still wrong.

Quote:
I dont understand why or how
ubcd2iso c:\ubcd-extracted c:\ubcd50-custom.iso
creates a file in My Documents - but it did successfully (perhaps one can explain - i suspect this seemingly crazy file location creation relates to the 'Making UBCD memory stick' problem i'm having.)


Can you "open inside" that ISO image using 7-zip and verify that the content is the expected one?

Quote:
While i wait eagerly for an answer, I will try to find RMPrepUSB which was not part of the d/l of version 5.03 from filemirror.hu
thank you for your time


You should mention what was the customization you made, just in case that specific customization is responsible for the problems.

After trying the suggestions here, if you still are going to use RMPrepUSB, then try "clearing" the UFD and "testing" it. Again, that is AFTER testing the more simple suggestions here (like "paths" inconsistencies) and only if ubcd2usb still fails.


Top
 Profile  
 
 Post subject: Re: Making UBCD memory stick - Missing ubcd2usb.cmd
PostPosted: Sat Dec 25, 2010 11:59 am 
Offline

Joined: Fri Dec 24, 2010 8:02 pm
Posts: 3
ady wrote:
It seems to me that the paths are not the same/correct for the commands to be ran as you typed:

doubt wrote:
cd \ubcd-extracted\ubcd\tools\win32\ubcd2usb
ubcd2usb c:\ubcd-extracted x:

The path to ubcd2usb is C:\Documents and Settings\Pop\My Documents\ubcd-extract\ubcd\tools\win32\ubcd2usb

ady wrote:
Is "x:" the Usb Flash Drive (UFD) where you want to put UBCD?

Yes i changed x: to d: at command prompt

Quote:
Generates: <Error> Missing 'and\ubcd\tools\win32\ubcd2usb.cmd

ady wrote:
What is this " 'and " ? Is it part of the path? It is not present in the rest of your quotes.

Yes that mystery is why i included the entire error msg instead of just saying bat process could not find ubcd2usb.cmd - for some reason 'and' is added to the error message

Quote:
ubcd2usb.cmd exists in C:\Documents and Settings\Pop\My Documents\ubcd-extract\ubcd\tools\win32\ubcd2usb

ady wrote:
This path is different than what you wrote before.

how should the path be entered @ command prompt if i have moved to to the ....win32/ubcd2usb before entering tutorial commands. ie. i have cd'd to ubcd2usb directory in dos console before entering tutorial commands

Quote:
USB format via /f - was successful in earlier attempts (usb is FAT32 formatted)

ady wrote:
It is not so clear what was "successful", either the formatting only, or the whole process to put ubcd in UFD.

If the whole process was successful before, then you should use the same drive than before, and the drive doesn't need to be reformatted. If only the "formatting" was successful, then many things could be still wrong.

I was able to create an iso with customization but not put ISO 'in' UFD (usb stick). Formatting was successful, generation of customized ISO image was successfull, and iso placed by bat process in my documents.

Quote:
I dont understand why or how
ubcd2iso c:\ubcd-extracted c:\ubcd50-custom.iso
creates a file in My Documents - but it did successfully (perhaps one can explain - i suspect this seemingly crazy file location creation relates to the 'Making UBCD memory stick' problem i'm having.)

ady wrote:
Can you "open inside" that ISO image using 7-zip and verify that the content is the expected one?

I did as u suggested and 'open inside' 7-zip the ISO image - all as expected - same iso as default + dos7.1 + IBM Lenovo boot tools disk image

Quote:
While i wait eagerly for an answer, I will try to find RMPrepUSB which was not part of the d/l of version 5.03 from filemirror.hu
thank you for your time

ady wrote:
You should mention what was the customization you made, just in case that specific customization is responsible for the problems.

Customization included the following:
1ety46ww.iso - pc doctor utilities for Lenovo package contents available here
http://www-307.ibm.com/pc/support/site.wss/MIGR-56222.html
and
DOS71CD.ISO - Dos 7.1 - package contents viewable everywhere

ady wrote:
After trying the suggestions here, if you still are going to use RMPrepUSB, then try "clearing" the UFD and "testing" it. Again, that is AFTER testing the more simple suggestions here (like "paths" inconsistencies) and only if ubcd2usb still fails.


Thank you for your time my friend - i have been trying to create a bootable usb stick for a long time - Bart, UBCD, PE, all seem not to work like old bootable cd does. No method seems flexible enough to work on ALL USB Bootable Bios computers.


Top
 Profile  
 
 Post subject: Re: Making UBCD memory stick - Missing ubcd2usb.cmd
PostPosted: Sun Dec 26, 2010 7:26 am 
Offline

Joined: Sat May 08, 2010 5:26 am
Posts: 768
Basically, boot into Windows, plug your UFD and wait until it is completely recognized by Windows (may take several seconds, be patient).

Open "My PC" (or "My Computer" or equivalent) and check which drive letter was assigned to the UFD.

According to your previous post, the UFD was "D:". Please doublecheck if this is correct (in "My Computer"). I'm going to use this drive letter "D:" in the following procedure, but if this is not your case, replace the letter with the correct one.

Code:
The path to ubcd2usb is C:\Documents and Settings\Pop\My Documents\ubcd-extract\ubcd\tools\win32\ubcd2usb


To minimize problems, you should copy the CONTENT of the folder:

Code:
C:\Documents and Settings\Pop\My Documents\ubcd-extract\


to a "simple" location, specifically to a path simple to type in, and with NO spaces.

To be more clear here (since you didn't exactly follow the instructions in the tutorials :evil: ), then I will name the new location:

Code:
C:\UBCDEXT


with no spaces, no symbols, and less than 8 characters (here I won't get into the standard 11 characters of DOS directories and the compatibility in ubcd2usb).

So now you have the CONTENT of the folder:

Code:
C:\Documents and Settings\Pop\My Documents\ubcd-extract\


copied to:

Code:
C:\UBCDEXT


Again, to be clear here, under "C:\UBCDEXT" you won't have the folder "ubcd-extract", but the CONTENT, which means you now have:

Code:
C:\UBCDEXT\antivir\
C:\UBCDEXT\boot\
C:\UBCDEXT\pmagic\
C:\UBCDEXT\ubcd\
C:\UBCDEXT\autorun.inf
C:\UBCDEXT\license.txt


and any additional file or folder from your customization.

According to the quote from your post, you should open a command prompt and run (press <enter> after each row) :
Code:
C:
cd C:\UBCDEXT\ubcd\tools\win32\ubcd2usb



This is the time to make a backup of your UFD if you need it. If you have any data in your UFD, the following command is going to erase it, so you need to make a backup of the data in your UFD in case you need that data.

After making a backup of your UFD data (in case you need that data), now continue with the following command (assuming your UFD letter is "D:" ) :

Code:
ubcd2usb C:\UBCDEXT D: /f


Note in the previous command, that there are no special symbols, and that the only spaces are between:

"ubcd2usb" and "C:\UBCDEXT" ;

between:

"C:\UBCDEXT" and "D:"

and between:

"D:" and "/f".

This should format your "D:" drive and copy the content of "C:\UBCDEXT" to it making it bootable.

One comment about the customizations you made, which I quote here from the http://www.ultimatebootcd.com/customize.html page:

Quote:
Note that booting a USB memory stick requires BIOS support and is only available on newer machines. You can also expect to encounter more compatibility issues compared to booting from a CD, and some tools may not work properly when run from a USB memory disk.


So I can't assure that your customizations will work correctly/successfully while booting from UFD.

HTH.

[EDIT]
I used "C:\UBCDEXT" in this particular forum topic to be (more than) clear in the procedure and to clearly differentiate this "new" folder from all the previous folders mentioned in several tutorials.

As a general rule, the names (for files or folders) should NOT be written in capital letters, since several tools have "issues" with them. Also, avoiding spaces in paths, and applying to the 8.3 structure for files and folders' names is also recommended/needed.


Top
 Profile  
 
 Post subject: Re: Making UBCD memory stick - Missing ubcd2usb.cmd
PostPosted: Sun Dec 26, 2010 3:50 pm 
Offline

Joined: Fri Dec 24, 2010 8:02 pm
Posts: 3
Thanks ady - c: drive w/no spaces or special chars. did the trick - off to figure out how to include and load usb hd drivers and ghost - thank you again friend


Top
 Profile  
 
 Post subject: Re: Making UBCD memory stick - Missing ubcd2usb.cmd
PostPosted: Wed Dec 29, 2010 9:34 pm 
Offline

Joined: Wed Dec 29, 2010 9:30 pm
Posts: 1
thank you for sharing, It is a great post.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group