USB stick formatting is broken in 4.1.1

Report new bugs here, or look at known issues of current and previous releases of UBCD.

Moderators: Icecube, StopSpazzing

Locked
Message
Author
Dekker Dreyer
Posts: 1
Joined: Fri Aug 03, 2007 10:48 am

USB stick formatting is broken in 4.1.1

#1 Post by Dekker Dreyer » Fri Aug 03, 2007 10:54 am

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.

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

#2 Post by Victor Chew » Sun Aug 05, 2007 5:11 am

That's strange. There has been 0 change between V4.10 and V4.11 in the "tools" subdir. Anyone else has this problem?

chexx
Posts: 1
Joined: Wed Sep 19, 2007 12:02 pm

#3 Post by chexx » Wed Sep 19, 2007 1:50 pm

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!!

yantei
Posts: 5
Joined: Fri Oct 26, 2007 2:17 am

#4 Post by yantei » Fri Oct 26, 2007 2:58 am

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...
Last edited by yantei on Fri Oct 26, 2007 10:02 am, edited 1 time in total.

webenor
Posts: 4
Joined: Fri Oct 26, 2007 7:53 am

#5 Post by webenor » Fri Oct 26, 2007 9:51 am

no problem getting ubcd onto my USB stick as long as it was the only USB mass storge peripheral ;)

yantei
Posts: 5
Joined: Fri Oct 26, 2007 2:17 am

#6 Post by yantei » Fri Oct 26, 2007 10:05 am

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

Cgman
Posts: 1
Joined: Thu May 15, 2008 10:31 pm

1GB sandisk won't boot

#7 Post by Cgman » Thu May 15, 2008 10:56 pm

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

El Duderino
Posts: 1
Joined: Wed May 28, 2008 6:38 pm

#8 Post by El Duderino » Wed May 28, 2008 6:59 pm

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.

Flaviss
Posts: 5
Joined: Tue Jan 27, 2009 7:08 pm

#9 Post by Flaviss » Tue Jan 27, 2009 7:19 pm

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

Flaviss
Posts: 5
Joined: Tue Jan 27, 2009 7:08 pm

#10 Post by Flaviss » Tue Jan 27, 2009 8:03 pm

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

Masi_K
Posts: 5
Joined: Sat Oct 24, 2009 11:09 pm

#11 Post by Masi_K » Sun Oct 25, 2009 5:18 am

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..
Asus IP35-Pro, E6750@3200mhz, ddr2 1066mhz.

Icecube
Posts: 1278
Joined: Fri Jan 11, 2008 2:52 pm
Contact:

#12 Post by Icecube » Sun Oct 25, 2009 9:57 am

In UBCD50b12 double clicking on the batch file works (command prompt isn't closed).
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/

Locked