Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e4e9eeb

Browse filesBrowse files
author
Alberto Ruiz
committed
example: simplify example image
1 parent 8b9bfaf commit e4e9eeb
Copy full SHA for e4e9eeb

File tree

Expand file treeCollapse file tree

1 file changed

+4
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-5
lines changed

‎example/run_qemu.sh

Copy file name to clipboardExpand all lines: example/run_qemu.sh
+4-5Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,17 @@
22
set -e
33

44
if [ ! -f disk.img ]; then
5-
fallocate -l 2G disk.img
5+
fallocate -l 200M disk.img
66
sfdisk disk.img <<EOF
77
label: gpt
8-
label-id: 4623E93C-7CA2-3643-9400-6559B3C9F7C6
8+
label-id: F14A008C-0832-40CC-AB26-B5C4B65BD9D7
99
device: disk.img
1010
unit: sectors
1111
first-lba: 2048
12-
last-lba: 4194270
12+
last-lba: 409566
1313
sector-size: 512
1414
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
1716
EOF
1817

1918
fallocate -l 1.5G tmp.img

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.