Page 1 of 1

Create an USB-stick

Posted: Sat May 19, 2007 4:35 am
by Karlotto
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

Posted: Sun May 20, 2007 6:30 am
by McStarfighter
What about more details about your trials ????

Posted: Sun May 27, 2007 4:21 am
by Flo22
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

Posted: Sun May 27, 2007 4:26 am
by Constance
Might be an upper/lowercase issue...

Posted: Sun May 27, 2007 5:14 am
by Flo22
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...

Posted: Mon May 28, 2007 6:39 am
by Victor Chew
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.

Posted: Mon Aug 20, 2007 9:52 am
by Avix
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.

Posted: Wed Aug 22, 2007 6:30 am
by Victor Chew
I can't get it to find ldlinux.sys.
You are supposed to run UBCD2USB.BAT in a command prompt under Win2K/XP.

What if you only have Linux?

Posted: Sat Aug 25, 2007 4:12 am
by ZootNerper
"You are supposed to run UBCD2USB.BAT in a command prompt under Win2K/XP."

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

-- Zoot

Posted: Sat Aug 25, 2007 6:08 am
by Constance
Well .bat files contain DOS commands ... so you'll need at least to have a DOS compatible command interpreter.

Posted: Sat Aug 25, 2007 6:50 am
by ZootNerper
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

Posted: Sun Aug 26, 2007 5:12 am
by Victor Chew
Is this really true? I don't have Windows.
Yes.

Posted: Thu Aug 30, 2007 3:57 pm
by gothelin
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.

Fixed it!

Posted: Wed Sep 05, 2007 6:17 am
by jd77v17
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.

Boot error

Posted: Fri Sep 14, 2007 4:29 pm
by coretron
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?

Posted: Fri Sep 14, 2007 4:32 pm
by coretron
also i just ran scandisk on the drive and found no errors.