diff options
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install-efi.sh | 2 | ||||
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh index 74372b0c96..14939acd69 100644 --- a/meta/recipes-core/initrdscripts/files/init-install-efi.sh +++ b/meta/recipes-core/initrdscripts/files/init-install-efi.sh | |||
@@ -127,7 +127,7 @@ echo "Rootfs partition size: $rootfs_size MB ($rootfs)" | |||
127 | echo "Swap partition size: $swap_size MB ($swap)" | 127 | echo "Swap partition size: $swap_size MB ($swap)" |
128 | echo "*****************" | 128 | echo "*****************" |
129 | echo "Deleting partition table on ${device} ..." | 129 | echo "Deleting partition table on ${device} ..." |
130 | dd if=/dev/zero of=${device} bs=512 count=2 | 130 | dd if=/dev/zero of=${device} bs=512 count=35 |
131 | 131 | ||
132 | echo "Creating new partition table on ${device} ..." | 132 | echo "Creating new partition table on ${device} ..." |
133 | parted ${device} mklabel gpt | 133 | parted ${device} mklabel gpt |
diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh index 0593b3c716..7fccddea03 100644 --- a/meta/recipes-core/initrdscripts/files/init-install.sh +++ b/meta/recipes-core/initrdscripts/files/init-install.sh | |||
@@ -153,7 +153,7 @@ echo "Rootfs partition size: $rootfs_size MB ($rootfs)" | |||
153 | echo "Swap partition size: $swap_size MB ($swap)" | 153 | echo "Swap partition size: $swap_size MB ($swap)" |
154 | echo "*****************" | 154 | echo "*****************" |
155 | echo "Deleting partition table on ${device} ..." | 155 | echo "Deleting partition table on ${device} ..." |
156 | dd if=/dev/zero of=${device} bs=512 count=2 | 156 | dd if=/dev/zero of=${device} bs=512 count=35 |
157 | 157 | ||
158 | echo "Creating new partition table on ${device} ..." | 158 | echo "Creating new partition table on ${device} ..." |
159 | if [ $grub_version -eq 0 ] ; then | 159 | if [ $grub_version -eq 0 ] ; then |