Sha256: cb943de4698b3e1739056fff980a4b099d53e7885c8252a0e4548b83b328312a
Contents?: true
Size: 650 Bytes
Versions: 813
Compression:
Stored size: 650 Bytes
Contents
#!/bin/bash ( echo d # Delete a partition echo 5 # Choosing Logical /dev/sda5 for deletion echo d # Delete a partition echo 2 # Choosing Extended /dev/sda2 for deletion echo n # Create a partition echo e # Create an Extended partition echo -e "\n" # Choose default begin sector echo -e "\n" # Choose default end sector echo n # Create a partition echo -e "\n" # Choose default begin sector echo -e "\n" # Choose default end sector echo t # Change partition ID echo 5 # Choose /dev/sda5 echo 8e # Change to Linux LVM partition ID echo w # Write changes to disk echo y # Confirm changes echo q # Quit ) | sudo fdisk -W never /dev/sda echo "complete."
Version data entries
813 entries across 813 versions & 1 rubygems