casper-rw larger than 2GB not created (because dd is called with bs=final-size-of-persistfile)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usb-creator (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: usb-creator
I am using usb-creator 0.1.15 from the jaunty 9.04 beta DVD. I get "dd: invalid number" errors in .usb-creator.log file. I thought it was a limitation of vfat file system, but I tested it by using "dd if=/dev/zeros of=/dev/null" and it seems like dd won't allow block sizes >= 2G. Usb-creator finishes without notifying the user that the was an error and no casper-rw file was created. The usb drive will boot, but is not persistent.
The problem is in line 134 of /usr/share/
In the past the block size was set to 1 byte, but that led to problems: https:/
This bug https:/
Confirmed. I have tried this on multiple machines with multiple, MD5 verified images, with multiple USB drives. The resulting drive does boot, but there is no casper-rw file at all. Perhaps usb-creator should offer the option to create and use an ext2 partition for persistence. This would fix both the 2GB limit by dd, and the 4 GB limit by vfat.