couper la sortie loguer les erreurs

This commit is contained in:
Jeremy MANSON 2017-10-17 03:16:39 +02:00
parent aa5ab83f76
commit 206fa84aea

View File

@ -23,10 +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
) | fdisk /dev/sda 2>> error.log
mkfs.ext4 $SYS
mkswap $SWAP
swapon $SWAP
mount $SYS $CHROOT
mkfs.ext4 $SYS 2>> error.log
mkswap $SWAP 2>> error.log
swapon $SWAP 2>> error.log
mount $SYS $CHROOT 2>> error.log