Set the Volume Label for the FDUBCD floppy image:
The mlabel (mtools suite) command adds a volume label to a disk. Its syntax is:
mlabel [-vcsn] [-N serial] drive:[new_label]http://www.gnu.org/software/mtools/manu ... html#SEC57
Mlabel supports the following options:
c Clears an existing label, without prompting the user
s Shows the existing label, without prompting the user.
n Assigns a new (random) serial number to the disk
Sets the supplied serial number. The serial number should be
supplied as an 8 digit hexadecimal number, without spaces
Generate a random serial number (only needs to be done once). Probably there is already one set in the current image, but it doesn't hurt.
mlabel -i fdubcd.img -n ::
Everytime the FDUBCD floppy version is increased, update the Volume Label.
Make the Volume Label just 11 characters long (pad with spaces): "FDUBCD141 "
For some reason mlabel doesn't pad the Volume Label with spaces, like it should do (Ubuntu includes mtools v4.0.12):
mlabel -i fdubcd.img ::"FDUBCD141 "
This issue seems to be fixed in mtools v4.0.14 and higher, so for those versions, you can use:
mlabel -i fdubcd.img ::FDUBCD14
For the current image, the Volume Label isn't set correctly.
This 11 byte long string should match the volume label entry in the root directory. If no such entry is available this field should contain the string 'NO NAME ' (11 bytes long string). When updating the volume label, both, this field and the entry in the root directory should be updated.http://www.maverick-os.dk/FileSystemFor ... ystem.html
In the FDUBCD floppy image the Volume Label field in the boot sector is empty (11 spaces), while the Volume Label in the root directoy is NwDsk340.
mlabel -i fdubcd.img -s ::
Volume label is NwDsk340
Download Ultimate Boot CD v5.0
Use Parted Magic
for handling all partitioning task: http://partedmagic.com/