Age | Commit message (Collapse) | Author |
|
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>
|
|
Yes.
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
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>
|
|
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>
|