Merge branch 'BetterPeriphs'

This commit is contained in:
Adrien Bourmault 2019-12-11 21:03:45 +01:00
commit 262380b732
1 changed files with 1 additions and 10 deletions

View File

@ -36,16 +36,7 @@ dd if=/dev/zero of=$1 bs=512 count=131072 status=progress
## Partition the image ## Partition the image
echo ${CL2}[create_disk.sh]${NC} Partitionning image... \(parted\)${CL3} echo ${CL2}[create_disk.sh]${NC} Partitionning image... \(parted\)${CL3}
#sudo parted --script $1 mktable msdos mkpart primary 2048s 100% set 1 boot on sudo parted --script $1 mktable msdos mkpart primary 2048s 100% set 1 boot on
sudo fdisk $1 > /dev/null <<EEOF
n
p
1
a
w
EEOF
## Mount ## Mount
echo ${CL2}[create_disk.sh]${NC} Mount image... \(losetup\)${CL3} echo ${CL2}[create_disk.sh]${NC} Mount image... \(losetup\)${CL3}