tools/livecd-iso-to-disk.sh | 5 -----
1 file changed, 5 deletions(-)
New commits:
commit 3c14c6c41b8f541bbfa3095d6b23e39ed7f91a4f
Author: Jim Radford <radford(a)blackbean.org>
Date: Thu Mar 26 09:51:00 2009 -0700
Only the UUID of the EFI System Partition is important, not its name
EFI systems should boot fine regardless of the name of the "EFI System
Partition" as it's defined by its UUID, not its label, which the boot
flag check already takes care of.
I verfied this on a MacBook.
The check for the boot flag should probably check for :boot; to not
just boot to keep from accidentally picking up the label.
-Jim
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index 05fe080..8702936 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -191,11 +191,6 @@ checkGPT() {
partinfo=$(/sbin/parted --script -m $device "print" |grep ^$partnum:)
volname=$(echo $partinfo |cut -d : -f 6)
flags=$(echo $partinfo |cut -d : -f 7)
- if [ "$volname" != "EFI System Partition" ]; then
- echo "Partition name must be 'EFI System Partition'"
- echo "This can be set in parted or you can run with --reset-mbr"
- exitclean
- fi
if [ "$(echo $flags |grep -c boot)" = "0" ]; then
echo "Partition isn't marked bootable!"
echo "You can mark the partition as bootable with "
Show replies by date