Page 1 of 1

Copying mbr.bin error

Posted: Mon Jan 03, 2011 7:16 pm
by dragoon3428
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?

Re: Copying mbr.bin error

Posted: Tue Jan 04, 2011 5:24 am
by Icecube
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?

Re: Copying mbr.bin error

Posted: Thu Jan 06, 2011 11:11 pm
by StopSpazzing
@Icecube
Should I change the tutorial to reflect these parameters as a precaution?

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

:D