summaryrefslogtreecommitdiff
path: root/mkusbimg
AgeCommit message (Collapse)Author
2008-06-21Fix USB image corruption issuesSimo Leone
Fixes FS#10614 sfdisk and the kernel cannot accurately detect disk geometry from the disk image file, causing automatic partition size calculations to fail. The whole partition table is now calculated in mkusbimg rather than letting sfdisk do it. mkusbimg doesn't directly use losetup anymore either, eliminating some code. This also fixes issues with needing to make the partition much larger than necessary, so image size has been minimized. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-15Removed backticksSimo Leone
Yes. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-30Changed mkusbimg size to 25% over rootsizeSimo Leone
This is plenty to compensate for filesystem overhead. Cutting the size too close to the minimum makes the image unbootable. No idea why. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-30Added USB image creation scriptSimo Leone
mkusbimg creates bootable raw disk images that can be written to USB devices. It's intended to be on the same functional level as mkisofs. Signed-off-by: Simo Leone <simo@archlinux.org>