Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
a2d732c1
Commit
a2d732c1
authored
May 24, 2020
by
longpanda
Browse files
update ventoy_pack.sh
parent
a54b6f69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
INSTALL/ventoy_pack.sh
INSTALL/ventoy_pack.sh
+3
-0
No files found.
INSTALL/ventoy_pack.sh
View file @
a2d732c1
#!/bin/sh
#!/bin/sh
dos2unix
-q
./tool/ventoy_lib.sh
.
./tool/ventoy_lib.sh
.
./tool/ventoy_lib.sh
GRUB_DIR
=
../GRUB2/INSTALL
GRUB_DIR
=
../GRUB2/INSTALL
...
@@ -76,6 +78,7 @@ xz --check=crc32 $tmpdir/boot/core.img
...
@@ -76,6 +78,7 @@ xz --check=crc32 $tmpdir/boot/core.img
cp
-a
./tool
$tmpdir
/
cp
-a
./tool
$tmpdir
/
cp
-a
Ventoy2Disk.sh
$tmpdir
/
cp
-a
Ventoy2Disk.sh
$tmpdir
/
dos2unix
-q
$tmpdir
/Ventoy2Disk.sh
#32MB disk img
#32MB disk img
dd
status
=
none
if
=
$LOOP
of
=
$tmpdir
/ventoy/ventoy.disk.img
bs
=
512
count
=
$VENTOY_SECTOR_NUM
skip
=
$part2_start_sector
dd
status
=
none
if
=
$LOOP
of
=
$tmpdir
/ventoy/ventoy.disk.img
bs
=
512
count
=
$VENTOY_SECTOR_NUM
skip
=
$part2_start_sector
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment