From d17f9ba233da61b4d0fd9d28fd29c85a7d99c18f Mon Sep 17 00:00:00 2001 From: Jeremy MANSON Date: Mon, 16 Oct 2017 20:02:02 +0200 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20'partitions.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- partitions.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/partitions.sh b/partitions.sh index 212df5d..b3f2e97 100644 --- a/partitions.sh +++ b/partitions.sh @@ -23,4 +23,10 @@ echo # default, extend partition to end of disk echo a # make a partition bootable echo 1 # bootable partition is partition 1 -- /dev/sda1 echo w # Write changes -) | fdisk /dev/sda \ No newline at end of file +) | fdisk /dev/sda + + +mkfs.ext4 $SYS +mkswap $SWAP +swapon $SWAP +mount $SYS $CHROOT \ No newline at end of file