Hello,
I tried to create an efi bootable usb stick using livecd-iso-to-disk
with the following command:
livecd-iso-to-disk --efi --format fedora.iso /dev/sdd
I got got an error saying:
"EFI boot requires a GPT partition table."
"This can be done manually or you can run with --format"
As I was running with the format option it seemed a little bit strange.
I seems that parted called with the "p" command only works for english
locale (maybe a bug in parted); but it works when the full command name
is used "print" in this case.
So, I simply patched livecd-iso-to-disk to use the full parted command
name; see attached patch.
Olivier Samyn.
--- livecd-iso-to-disk.orig 2013-05-29 20:56:50.648394161 +0200
+++ livecd-iso-to-disk 2013-05-29 20:57:26.156602361 +0200
@@ -519,7 +519,7 @@
dev=$1
getdisk $dev
- if [ "$(/sbin/parted -m $device p 2>/dev/null |grep -ic :gpt:)" -eq "0" ]; then
+ if [ "$(/sbin/parted -m $device print 2>/dev/null |grep -ic :gpt:)" -eq "0" ]; then
echo "EFI boot requires a GPT partition table."
echo "This can be done manually or you can run with --format"
exitclean
--
livecd mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/livecd