diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-17 14:41:24 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-17 14:41:24 +0100 |
commit | cdfc07cddcc29d4e53409a63271dc77ebf638e9d (patch) | |
tree | 460efebeb3b1d1295e23f62846faa4432f8408e7 | |
parent | reverted a probably important step (diff) | |
download | arch-installer-cdfc07cddcc29d4e53409a63271dc77ebf638e9d.tar.gz arch-installer-cdfc07cddcc29d4e53409a63271dc77ebf638e9d.tar.bz2 arch-installer-cdfc07cddcc29d4e53409a63271dc77ebf638e9d.tar.xz arch-installer-cdfc07cddcc29d4e53409a63271dc77ebf638e9d.tar.zst arch-installer-cdfc07cddcc29d4e53409a63271dc77ebf638e9d.zip |
removed comments for stability
-rwxr-xr-x | joes-arch-install-UEFI.sh | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh index dee31d2..23f2f2b 100755 --- a/joes-arch-install-UEFI.sh +++ b/joes-arch-install-UEFI.sh @@ -366,38 +366,38 @@ echo "\ #=================================#" echo && echo dd if=/dev/zero of="$drv" bs=512 count=1 > /dev/null -sed -e 's/\s*\([\+0-9a-zA-Z]*\).*/\1/' << FDISK_INPUT | fdisk "$drv" -o # create a new DOS partition table -n # new partition (/dev/sdx1) -p # primary -1 # partition number 1 - # first sector (2048) -+$btsze # boot size partition -Y # YES -n # new partition (/dev/sdx2) -p # primary -2 # partition number 2 - # default start block -+$swpsze # swap size partition -Y # YES -n # new partition (/dev/sdx3) -p # primary -3 # partition number 3 - # default start block -+$rtsze # root size partition -Y # YES -n # new partition (/dev/sdx4) -p # primary -4 # partition number 4 - # default start block - # all that remains -t # change partition type -1 # part 1 -ef # EFI partition type -t # change partition type -2 # partition number 2 -82 # swap partition type -w # write the partition table and quit +fdisk "$drv" << FDISK_INPUT +o +n +p +1 + ++$btsze +Y +n +p +2 + ++$swpsze +Y +n +p +3 + ++$rtsze +Y +n +p +4 + + +t +1 +ef +t +2 +82 +w FDISK_INPUT mkswap "$drv""2" > /dev/null mkfs.fat -F32 "$drv""1" > /dev/null |