projects
/
rrq
/
rescue-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55bcf3f
)
Prepare an empty 4G disk.raw unless there is one already.
author
Ralph Ronnquist
<rrq@rrq.au>
Thu, 8 Feb 2024 12:13:20 +0000
(23:13 +1100)
committer
Ralph Ronnquist
<rrq@rrq.au>
Thu, 8 Feb 2024 12:13:20 +0000
(23:13 +1100)
run.sh
patch
|
blob
|
history
diff --git
a/run.sh
b/run.sh
index 36c07b0d22fb378c7437a10ad7dbcc252ccc9a9f..86895f3fe8b56abfdcea33a1010c8598359b68bd 100755
(executable)
--- a/
run.sh
+++ b/
run.sh
@@
-1,6
+1,7
@@
#!/bin/bash
DISK=disk.raw
+[ -f $DISK ] || dd if=/dev/null of=$DISK bs=1G count=0 seek=4
CD=$1
FS=FS.sqfs
PCODE=/usr/share/OVMF/OVMF_CODE_4M.fd