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

[PATCH] get fdisk and parted happy with isohybrid and USB stick



Hi, please find here a simple patch inspired from:
http://gparted-forum.surf4.info/viewtopic.php?id=13581

it will allow gparted and others to get correct informations
about partition after dd'ing the isohybrid image to an USB stick,
and permit creation of new partition etc...


--- a/helpers/binary_iso
+++ b/helpers/binary_iso
@@ -194,7 +194,7 @@
 
 cat >> binary.sh << EOF
 --- a/helpers/binary_iso
+++ b/helpers/binary_iso
@@ -194,7 +194,7 @@
 
 cat >> binary.sh << EOF
 
-isohybrid ${IMAGE}
+isohybrid -type 0x83 -offset 1 -h 255 -s 63 ${IMAGE}
 EOF
 
 fi

-isohybrid ${IMAGE}
+isohybrid -type 0x83 -offset 1 -h 255 -s 63 ${IMAGE}
 EOF
 
 fi


PS: Keep up the great work Daniel! Live-Helper is wonderful :)


Reply to: