mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
More modern disk partitionning (compilation)
This commit is contained in:
parent
313c69a05b
commit
92edd61c44
@ -36,16 +36,7 @@ dd if=/dev/zero of=$1 bs=512 count=131072 status=progress
|
||||
|
||||
## Partition the image
|
||||
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 fdisk $1 > /dev/null <<EEOF
|
||||
n
|
||||
p
|
||||
1
|
||||
|
||||
|
||||
a
|
||||
w
|
||||
EEOF
|
||||
sudo parted --script $1 mktable msdos mkpart primary 2048s 100% set 1 boot on
|
||||
|
||||
## Mount
|
||||
echo ${CL2}[create_disk.sh]${NC} Mount image... \(losetup\)${CL3}
|
||||
|
Loading…
x
Reference in New Issue
Block a user