Merge branch 'BetterPeriphs'
This commit is contained in:
commit
262380b732
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue