Script to gdisk /dev/sdX and enter expert commands: x, z, y, y - how?
11
votes
1
answer
7741
views
I am creating my first Arch Linux install script, and I want to automate the base installation as in the archwiki or you can find the same instructions but easier to read here: https://www.gloriouseggroll.tv/arch-linux-efi-install-guide/
I wish to wipe the partition tables, manually I have to type this:
gdisk /dev/sda
x
z
y
y
I want the bash script to automatically do this.
Asked by Spacecow
(223 rep)
Oct 8, 2018, 06:44 PM
Last activity: Dec 3, 2019, 11:45 PM
Last activity: Dec 3, 2019, 11:45 PM