File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Original file line number Diff line number Diff line change 2
2
set -e
3
3
4
4
if [ ! -f disk.img ]; then
5
- fallocate -l 2G disk.img
5
+ fallocate -l 200M disk.img
6
6
sfdisk disk.img << EOF
7
7
label: gpt
8
- label-id: 4623E93C-7CA2-3643-9400-6559B3C9F7C6
8
+ label-id: F14A008C-0832-40CC-AB26-B5C4B65BD9D7
9
9
device: disk.img
10
10
unit: sectors
11
11
first-lba: 2048
12
- last-lba: 4194270
12
+ last-lba: 409566
13
13
sector-size: 512
14
14
15
- disk.img1 : start= 2048, size= 10240, type=00000000-0000-0000-0000-000000000000, uuid=5E949E3F-BEC6-A84A-BFC0-E67A2D7ACA5F
16
- disk.img2 : start= 12288, size= 4179968, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=98371EB3-FB56-0848-A04B-8DF3809ABED0
15
+ disk.img1 : start= 2048, size= 405504, type=9E1A2D38-C612-4316-AA26-8B49521E5A8B, uuid=C8314A8B-6B60-4ACC-AA68-C743E6076635
17
16
EOF
18
17
19
18
fallocate -l 1.5G tmp.img
You can’t perform that action at this time.
0 commit comments