[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

hdd image does not support uefi?




Can someone explain why uefi boot is not a valid option when telling it to build an hdd image?

I would also note the following

The documentation suggests to
cp iso to /dev/sdX
Then add a partition to /dev/sdX for persistent storage.

This does not work. If you cp or dd the iso to the block device the block device is identified as an ISO and you can not add a partition to it. If you partition the block device first then cp or dd the iso to the /dev/sdX1 it sometimes works and boot and other times it fails to find the uefi partition. Not exactly surprising as writing partitions to a partition is a very edge case thing.

I tried a lot of things to produce a usb disk where the iso and the persistent storage were both on the same device and ended up adjusting my script to partitioning out a loop device then using the files in <live-build>/binary to build out a properly laid out img file that can be written to a usb stick and boot legacy/bios or uefi. This is all done outside of live-build.

Is live-build still being actively maintained?
Is there a place I should report problems?

--
--
Creator of GhostDisk
https://github.com/cyberlink1/GhostDisk

Attachment: 0xBE355809.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: