Copying mbr.bin error

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

Moderators: Icecube, StopSpazzing

Post Reply
Posts: 1
Joined: Mon Jan 03, 2011 6:50 pm

Copying mbr.bin error

#1 Post by dragoon3428 » Mon Jan 03, 2011 7:16 pm

Just wanted to report an error I encountered when following the procedure to make the UBCD USB in Linux... namely, that the command described below would muck up my file system making syslinux not recognize it:

"4. Now, we write the syslinux mbr to the USB drive.
The mbr.bin file is located in ./ubcd/tools/linux/ubcd2usb/ of the extracted UBCD iso.

dd if=mbr.bin of=/dev/sdX (replacing X with your USB key drive letter)"

The above command wrecks the FAT file system I just set up whenever I run it causing an error wherein block sizes are irregular and producing an unmountable and generally unusable disk (until repartitioned and reformatted). I worked around the problem simply by copying the file to the base directory in the GUI. Is this a previously known error? Can I get a gold star or something?

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

Re: Copying mbr.bin error

#2 Post by Icecube » Tue Jan 04, 2011 5:24 am

I probably should change the instrucitions too:

Code: Select all

dd if=./ubcd/tools/linux/ubcd2usb/mbr.bin of=/dev/sdX bs=440 count=1
This will prevent that too many bytes are overwritten if mbr.bin would be longer than 440 bytes (it normally isn't).

How did you format your USB drive?
Did you make your filesystem on the whole drive (it looks like that) or did you create the filesystem on a partition of that drive?
Download Ultimate Boot CD v5.0:
Use Parted Magic for handling all partitioning task:

Posts: 462
Joined: Tue Sep 09, 2008 4:37 pm
Location: California, USA

Re: Copying mbr.bin error

#3 Post by StopSpazzing » Thu Jan 06, 2011 11:11 pm

Should I change the tutorial to reflect these parameters as a precaution?

dragoon3428 wrote:Can I get a gold star or something?

~Just StopSpazzing~

Visit the UBCD Wiki:
Please check your UBCD ISO MD5 Hash Sum; May prevent issues later on by not having an exact copy.

Currently Working on Common Issues and Repair Tips on the Wiki.

Post Reply