s
This commit is contained in:
parent
4ef900c835
commit
6698a2e04c
@ -469,6 +469,8 @@ initialize-disk() {
|
|||||||
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 primary ext3 200MiB $ROOT_PARTITION_SIZE
|
parted -a optimal /dev/$HARD_DISK mkpart primary ext3 200MiB $ROOT_PARTITION_SIZE
|
||||||
parted -a optimal /dev/$HARD_DISK set 1 esp on
|
parted -a optimal /dev/$HARD_DISK set 1 esp on
|
||||||
|
echo $(cat /proc/meminfo | head -1 | cut -d ':' -f2 | sed 's/ //g')
|
||||||
|
sleep 5
|
||||||
parted -a optimal /dev/$HARD_DISK mkpart swap ext3 $ROOT_PARTITION_SIZE $(cat /proc/meminfo | head -1 | cut -d ':' -f2 | sed 's/ //g')
|
parted -a optimal /dev/$HARD_DISK mkpart swap ext3 $ROOT_PARTITION_SIZE $(cat /proc/meminfo | head -1 | cut -d ':' -f2 | sed 's/ //g')
|
||||||
parted -a optimal /dev/$HARD_DISK mkpart home ext3 $(cat /proc/meminfo | head -1 | cut -d ':' -f2 | sed 's/ //g') 100%
|
parted -a optimal /dev/$HARD_DISK mkpart home ext3 $(cat /proc/meminfo | head -1 | cut -d ':' -f2 | sed 's/ //g') 100%
|
||||||
partitionDetection
|
partitionDetection
|
||||||
|
Loading…
Reference in New Issue
Block a user