fdisk /dev/sda
p # To display the partition table
n # To create a new partition
First Sector: # type in the end of the last partition. Then take the default suggestion (start of the last block + 1 + 2048)
Last Sector: # Hit enter, take the default suggestion of the last block.
# after restart:
mkfs -t ext3 /dev/sda9 # or ext4
mkdir /location/var
mount /dev/sda9 /location/var
# add to fstab
vi /etc/fstab
# add line:
/dev/sda9 /location/var ext4 defauts 1 2 # ext3 can be mounted as ext4
Created
May 31, 2017 17:22
-
-
Save Driste/1eb5aeb92fe70158eef21dac668506c3 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment