diff --git a/gentoo-gnome.sh b/gentoo-gnome.sh index c06536f..b6495ea 100644 --- a/gentoo-gnome.sh +++ b/gentoo-gnome.sh @@ -469,9 +469,8 @@ initialize-disk() { 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 set 1 esp on - echo parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $ROOT_PARTITION_SIZE $(cat /proc/meminfo | head -1 | cut -d ':' -f2 | sed 's/ //g' | sed 's/kB//') - - echo parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $(cat /proc/meminfo | head -1 | cut -d ':' -f2 | sed 's/ //g' | sed 's/kB//') 100% + parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $ROOT_PARTITION_SIZE $(cat /proc/meminfo | head -1 | cut -d ':' -f2 | sed 's/ //g' | sed 's/kB//') + parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $(cat /proc/meminfo | head -1 | cut -d ':' -f2 | sed 's/ //g' | sed 's/kB//') 100% echo $SWAP_SIZE $ROOT_PARTITION_SIZE sleep 5 partitionDetection