Create an USB-stick

Try looking for help here if you are having problems with the Ultimate Boot CD.

Moderators: Icecube, StopSpazzing

Locked
Message
Author
Karlotto
Posts: 1
Joined: Sat May 19, 2007 4:25 am

Create an USB-stick

#1 Post by Karlotto » Sat May 19, 2007 4:35 am

The advise on the web sote says: "to create an USB stick with UBCD use tools\ubcd2usb\ubcd2usb.cmd. "
The only ubcd2usb.* I found is ubcd2usb.bat. :? I tried to follow these instructions, but have not been successful.
Any recommendations ?
regards

McStarfighter
Posts: 14
Joined: Thu Nov 10, 2005 6:49 am
Location: Germany
Contact:

#2 Post by McStarfighter » Sun May 20, 2007 6:30 am

What about more details about your trials ????

Flo22
Posts: 2
Joined: Sun May 27, 2007 4:11 am
Location: France

#3 Post by Flo22 » Sun May 27, 2007 4:21 am

Hello !

I also have problem with ubcd2usb.

When I try to use ubcd2usb, it writes an error message : "Missing file ldlinux.bb". but the file is here !!

I checked several times path where was ubcd and I tried that with an emulated image (with deamon tool) and with an extrated version but the result was the same.

Where is the mistake ??

PS: sorry for bad english :p

Constance
Posts: 338
Joined: Fri Sep 23, 2005 1:21 am
Location: France

#4 Post by Constance » Sun May 27, 2007 4:26 am

Might be an upper/lowercase issue...
Hammerite Compendium of Precepts, Regimens and Rules of Conduct, Vol. 113 :
A stroke of thy chisel, once made, canst be undone, but a stroke thou dost not make from fear is a worse flaw.
Be not cautious - be correct.

Flo22
Posts: 2
Joined: Sun May 27, 2007 4:11 am
Location: France

#5 Post by Flo22 » Sun May 27, 2007 5:14 am

I'm looking in the ubcd2usb.bat file and I'm reading that :

Code: Select all

if not exist ldlinux.bss               %0 : _error Missing file 'ldlinux.bss'
if not exist "%1\syslinux\ldlinux.sys" %0 : _error Missing file '%1\syslinux\ldlinux.sys'
if not exist mbr.bin                   %0 : _error Missing file 'mbr.bin'
if not exist makebootfat.exe           %0 : _error Missing file 'makebootfat.exe'
if not exist wait.com                  %0 : _error Missing file 'wait.com'
I think it's normal ldlinux.bss is not found because it is at the location tools\ubcd2usb.

I wonder why the path is not correct in the file ubcd2usb.bat and why that works with other people ??

The problem is the same with all filenames in th file...

Victor Chew
Posts: 1368
Joined: Mon Feb 21, 2005 10:59 pm
Contact:

#6 Post by Victor Chew » Mon May 28, 2007 6:39 am

You are supposed to run "ubcd2usb.bat" from "tools\ubcd2usb" i.e.

Code: Select all

cd \(UBCD-path)\tools\ubcd2usb
ubcd2usb.bat (UBCD-path) (USB-drive)
so 'ldlinux.bss' shouldn't be missing.

Avix
Posts: 1
Joined: Mon Aug 20, 2007 9:39 am

#7 Post by Avix » Mon Aug 20, 2007 9:52 am

I can't get it to find ldlinux.sys.

been using dos for years and know about paths and so forth

CD is on T:, RAMDISK is U: USB stick is on R:

T and U both have the \tools\UBCD2USB and \selinux\ldlinux.sys directories

but when I try UBCD2USB T: (or) U: R: (both lower and upper case) I get

"Missing File U:\syslinux\ldlinux.sys"

same for T/t/U/u

suggestions? this is fantastic setup and would be great on a thumb drive.

Victor Chew
Posts: 1368
Joined: Mon Feb 21, 2005 10:59 pm
Contact:

#8 Post by Victor Chew » Wed Aug 22, 2007 6:30 am

I can't get it to find ldlinux.sys.
You are supposed to run UBCD2USB.BAT in a command prompt under Win2K/XP.

ZootNerper
Posts: 2
Joined: Sat Aug 25, 2007 4:01 am
Location: Loei, Thailand

What if you only have Linux?

#9 Post by ZootNerper » Sat Aug 25, 2007 4:12 am

"You are supposed to run UBCD2USB.BAT in a command prompt under Win2K/XP."

Is this really true? I don't have Windows.

-- Zoot

Constance
Posts: 338
Joined: Fri Sep 23, 2005 1:21 am
Location: France

#10 Post by Constance » Sat Aug 25, 2007 6:08 am

Well .bat files contain DOS commands ... so you'll need at least to have a DOS compatible command interpreter.
Hammerite Compendium of Precepts, Regimens and Rules of Conduct, Vol. 113 :
A stroke of thy chisel, once made, canst be undone, but a stroke thou dost not make from fear is a worse flaw.
Be not cautious - be correct.

ZootNerper
Posts: 2
Joined: Sat Aug 25, 2007 4:01 am
Location: Loei, Thailand

#11 Post by ZootNerper » Sat Aug 25, 2007 6:50 am

I booted using FreeDOS on the UBCD, and had the missing files problem above. But also when I tried to use the makebootfat command from the ubcd2usbbat file (I typed it at the prompt) it said it the program couldn't be run from DOS.

Should I try one of the other DOS boot options?

Cheers.

-- Zoot

Victor Chew
Posts: 1368
Joined: Mon Feb 21, 2005 10:59 pm
Contact:

#12 Post by Victor Chew » Sun Aug 26, 2007 5:12 am

Is this really true? I don't have Windows.
Yes.

gothelin
Posts: 1
Joined: Thu Aug 30, 2007 3:40 pm

#13 Post by gothelin » Thu Aug 30, 2007 3:57 pm

I think it's normal ldlinux.bss is not found because it is at the location tools\ubcd2usb

I wonder why the path is not correct in the file ubcd2usb.bat and why that works with other people ??
The path is correct. Both the bat file and those files are in the same directory, so there is no need to use anything more than the file name.

For those getting "missing file" errors, I found I got that message when the path to ubcd had directories with spaces in them. For example, I originally was using the bat file from the "My Documents" directory. The path for that starts out:

Code: Select all

C:\Documents and Settings\etc\etc\My Documents\me\ubcd\
So it would tell me there was an error and that it couldn't find the file:

Code: Select all

C:\Documents\syslinux\ldlinux.sys
Notice how its skipped the entire path between the first space and the syslinux directory?

So I moved the entire directory to a path that would have no spaces and it worked perfectly.

Hope this helps.

jd77v17
Posts: 1
Joined: Wed Sep 05, 2007 6:12 am

Fixed it!

#14 Post by jd77v17 » Wed Sep 05, 2007 6:17 am

Flo22 wrote:I'm looking in the ubcd2usb.bat file and I'm reading that :

Code: Select all

if not exist ldlinux.bss               %0 : _error Missing file 'ldlinux.bss'
if not exist "%1\syslinux\ldlinux.sys" %0 : _error Missing file '%1\syslinux\ldlinux.sys'
if not exist mbr.bin                   %0 : _error Missing file 'mbr.bin'
if not exist makebootfat.exe           %0 : _error Missing file 'makebootfat.exe'
if not exist wait.com                  %0 : _error Missing file 'wait.com'
I think it's normal ldlinux.bss is not found because it is at the location tools\ubcd2usb.

I wonder why the path is not correct in the file ubcd2usb.bat and why that works with other people ??

The problem is the same with all filenames in th file...
Just add a copy of the ldlinux.bss file to the subdirectory syslinux.

That will allow your USB thumb drive to create and complete successfully.

coretron
Posts: 2
Joined: Fri Sep 14, 2007 4:26 pm

Boot error

#16 Post by coretron » Fri Sep 14, 2007 4:29 pm

I ran ubcd2usb correctly and it formatted my 512mb drive and installed correctly when i try to boot to it i get "boot error" then it gives up and goes to windows. My sticks a little bit old, and kinda beat up. Could there be any other problems or is it cause its an old usb stick?

coretron
Posts: 2
Joined: Fri Sep 14, 2007 4:26 pm

#17 Post by coretron » Fri Sep 14, 2007 4:32 pm

also i just ran scandisk on the drive and found no errors.

Locked