c
This commit is contained in:
parent
fd33bf8287
commit
d733e4a4c7
@ -464,7 +464,7 @@ btrfs-tweaks() {
|
|||||||
|
|
||||||
initialize-disk() {
|
initialize-disk() {
|
||||||
SWAP_SIZE=expr $(cat /proc/meminfo | head -1 | cut -d ':' -f2 | sed 's/ //g' | sed 's/kB//') / 1024
|
SWAP_SIZE=expr $(cat /proc/meminfo | head -1 | cut -d ':' -f2 | sed 's/ //g' | sed 's/kB//') / 1024
|
||||||
echo $SWAP_SIZE
|
echo "Test: $SWAP_SIZE"
|
||||||
parted /dev/$HARD_DISK mklabel gpt
|
parted /dev/$HARD_DISK mklabel gpt
|
||||||
parted -a optimal /dev/$HARD_DISK mkpart primary fat32 1MiB 200MiB
|
parted -a optimal /dev/$HARD_DISK mkpart primary fat32 1MiB 200MiB
|
||||||
parted -a optimal /dev/$HARD_DISK mkpart root ext3 200MiB $ROOT_PARTITION_SIZE
|
parted -a optimal /dev/$HARD_DISK mkpart root ext3 200MiB $ROOT_PARTITION_SIZE
|
||||||
|
Loading…
Reference in New Issue
Block a user