USB stick formatting is broken in 4.1.1
Moderators: Icecube, StopSpazzing
-
- Posts: 1
- Joined: Fri Aug 03, 2007 10:48 am
USB stick formatting is broken in 4.1.1
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.
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.
-
- Posts: 1368
- Joined: Mon Feb 21, 2005 10:59 pm
- Contact:
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...
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!!
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...

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!!
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...
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.
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
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
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
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
-
- Posts: 1
- Joined: Wed May 28, 2008 6:38 pm
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.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
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 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
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
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
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..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
Asus IP35-Pro, E6750@3200mhz, ddr2 1066mhz.
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/
Use Parted Magic for handling all partitioning task: http://partedmagic.com/