4edb0d5df7
make install script use cgpt and gdisk instead of fdisk Install gdisk and parted by default Make top panel smaller, transparent, remove workspace switcher
18 lines
492 B
Bash
Executable File
18 lines
492 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#Install PrawnOS to an external device, the first usb by default
|
|
|
|
#Make the boot partition fille the whole drive
|
|
#Delete the partition
|
|
sgdisk -d 2 /dev/sda
|
|
#Make new partition map entry, with full size
|
|
sgdisk -N 2 /dev/sda
|
|
#Set the type to "data"
|
|
sgdisk -t 2:0700 /dev/sda
|
|
#Name is "properly" - Probably not required, but looks nice
|
|
sgdisk -c 2:Root /dev/sda
|
|
#Reload the partition mapping
|
|
partprobe /dev/sda
|
|
#Force the filesystem to fill the new partition
|
|
resize2fs -f /dev/sda2
|