Page 1 of 1

USB stick formatting is broken in 4.1.1

Posted: Fri Aug 03, 2007 10:54 am
by Dekker Dreyer
Something is broken on the UBCD 4.1.1 UBCD2USB batch file.

I took a cruzer mini 1.0gb USB stick and used the ubcd2usb batch file. It ran successfully and afterwards Windows recognized it as FAT32 rather than FAT. I tried to book from the USB stick and got a BOOT ERROR.

I manually reformatted it back to FAT (via windows Computer Management Console), downloaded the 4.1.0 UBCD image, and ran the batch file from there. This time a successful bootable image was created. Windows doesn't know what the partition is, and the batch file complained that it couldn't find my I: (where the stick was), but the stick now boots fine.

Posted: Sun Aug 05, 2007 5:11 am
by Victor Chew
That's strange. There has been 0 change between V4.10 and V4.11 in the "tools" subdir. Anyone else has this problem?

Posted: Wed Sep 19, 2007 1:50 pm
by chexx
Yep, I encountered similar probs:

invoking ubcd2usb did something to the usb-stick (Kingston DataTraveler 512mb), freezing the explorer and disk-managment. After it's finished the file system is unrecognized and the stick doesn't boot...

After playing around with makebootfat.exe the stick lost its ability to be partitioned and ubcd2usb finished w/o errors, BUT the file system is still fat32 and there are fs-errors. It seems to me that patching ldlinux.sys failes somehow - that file reports invalid size. And there are many missing files and folders on the stick. I copied all folders (w/o root-files) manually and the stick boots... :shock:

If I let chkdsk fix the file size of ldlinux.sys it gets truncated to ~4k and stops the stick from booting - leaving the error causes ldlinux.sys to be unreadable from windows (2k & XP) but booting works...

sounds strange to me, but you're doin' a great job on UBCD 4.1.1!!

Posted: Fri Oct 26, 2007 2:58 am
by yantei
For me ubcd2usb.bat works well, except that I've got "Could not find kernel image: linux" message while trying to boot from usb stick...

I've tried using makebootfat without -Z option, no change.

I've got one 2 gb fat32 partition.

Weird thing, that after trying to use ubcd2usb from CD, I had "Boot failed" message...

I don't understand how -x "%1\boot.catalog" option works, since this file IS actually copied...

I really would like to have ubcd working on my usb stick, I couldn't make any conclusions from the topic in Request & Suggestions forum...

Posted: Fri Oct 26, 2007 9:51 am
by webenor
no problem getting ubcd onto my USB stick as long as it was the only USB mass storge peripheral ;)

Posted: Fri Oct 26, 2007 10:05 am
by yantei
I made it, finally...

makebootfat -v -o %DEVNAME% -Z -Y -F -b ldlinux.bss -m mbrfat.bin -c "%1\syslinux\ldlinux.sys" -x "%1\boot.catalog" %1

this code worked for me
mbrfat.bin taken from old reblu's ubcd2usb package

1GB sandisk won't boot

Posted: Thu May 15, 2008 10:56 pm
by Cgman
I have a 1GB Cruzer micro sdcz6-1024. Under no circumstance can I get this flash drive to boot. I have used the image from our corporate drives and even UBCD. This drive will not boot for me.

Has anyone had any better luck using this type of drive? I have an HP5013 desktop and it can and does boot to usb. Sandisk said it's the PC and HP said it's the flash drive.

Any help is appreciated.

thanks,

cgman

Posted: Wed May 28, 2008 6:59 pm
by El Duderino
yantei wrote:I made it, finally...

makebootfat -v -o %DEVNAME% -Z -Y -F -b ldlinux.bss -m mbrfat.bin -c "%1\syslinux\ldlinux.sys" -x "%1\boot.catalog" %1

this code worked for me
mbrfat.bin taken from old reblu's ubcd2usb package
Thanks. This made me able to boot from my usb-stick as well. I am still not able to run the disk diagnostic apps images though.

Posted: Tue Jan 27, 2009 7:19 pm
by Flaviss
Alright so I don't understand how I am suppost to use the code you guys have come up with.

What I have done:

-Downloaded ISO for 4.1.1
-Unpacked ISO with 7-zip to folder on desktop
-browsed to the tools directory and the usb batch file
-double click the batch file

What happens:

-A dos screen pops up with instructions on format for a command that ends in a "hit any button to continue"
- I hit a button and the dos screen closes down and thats all that happens

What I need:

- Feedback on whether I am going about this in the right way or if there is some other way I need to open up the batch file

- If I am doing this right, someone please advise.

System:

WIN XP Pro SP3
Norton 360 (I have tried it while Norton was disabled with no change)
Only one peripheral drive (512 Kingston)

?? anything else?

Thanks,

Flaviss

Posted: Tue Jan 27, 2009 8:03 pm
by Flaviss
Ok so I am not intentially hitting all these different forums, I did search and responded to likely threads, not realizing I was bouncing all over the place.

Anyway I found an answer to my question, I think (see below), by piecing together a couple of other threads I managed to find.

It would help newbies like me out a lot if this type of , seemingly, important instruction was more easily found.

Thanks,

Flaviss
Flaviss wrote:Thanks Icecube. I was looking all over for directions on how to do this and between this thread and this one: viewtopic.php?t=1608&highlight=ubcd2usb from you I figured it out and created my usb key.

The directions on the main site are really lacking considering on the main site it sounds like you can just open the bat file from windows explorer and bam, it does it for you.

Speaking presumptively for anyone else who does not have the patience to comb through stuff like I did, it would be great if you combined these two posts and turned them into a 'how to create a UBCD on USB for dumbies' tutorial and had it stickied and linked to from the main page.

Thanks so much,

Flaviss

Posted: Sun Oct 25, 2009 5:18 am
by Masi_K
Flaviss wrote:Alright so I don't understand how I am suppost to use the code you guys have come up with.

What I have done:

-Downloaded ISO for 4.1.1
-Unpacked ISO with 7-zip to folder on desktop
-browsed to the tools directory and the usb batch file
-double click the batch file

What happens:

-A dos screen pops up with instructions on format for a command that ends in a "hit any button to continue"
- I hit a button and the dos screen closes down and thats all that happens

What I need:

- Feedback on whether I am going about this in the right way or if there is some other way I need to open up the batch file

- If I am doing this right, someone please advise.

System:

WIN XP Pro SP3
Norton 360 (I have tried it while Norton was disabled with no change)
Only one peripheral drive (512 Kingston)

?? anything else?

Thanks,

Flaviss
What you really have to do is open command promt screen. DO NOT double click on that batch file. You have to run it from command prompt. So this means that you have to know(remember) these old dos commands..

Posted: Sun Oct 25, 2009 9:57 am
by Icecube
In UBCD50b12 double clicking on the batch file works (command prompt isn't closed).