Skip to content
GitLab
Menu
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
mirror
OSX-KVM
Commits
b7d5937a
Commit
b7d5937a
authored
6 years ago
by
Dhiru Kholia
Browse files
Options
Download
Email Patches
Plain Diff
Batch update for January, 2019
parent
c2d944a9
old-stuff-for-sierra
clover-5070
clover-5107
clover-r5107
clover-r5070
clover-r4920
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CREDITS.md
+2
-0
CREDITS.md
HighSierra/create_iso_highsierra.sh
+33
-6
HighSierra/create_iso_highsierra.sh
Mojave/create_iso_mojave.sh
+33
-6
Mojave/create_iso_mojave.sh
boot-macOS-Mojave.sh
+1
-1
boot-macOS-Mojave.sh
with
69 additions
and
13 deletions
+69
-13
CREDITS.md
+
2
-
0
View file @
b7d5937a
...
...
@@ -41,3 +41,5 @@
*
Mike Hardy (mikehardy) - Network documentation improvements
*
CuriousTommy + pickled_monkey - Information on vmxnet3 network adapter
*
Povilas Kanapickas (p12tic) - Flexible ISO generation
This diff is collapsed.
Click to expand it.
HighSierra/create_iso_highsierra.sh
+
33
-
6
View file @
b7d5937a
...
...
@@ -3,11 +3,38 @@
# Bail at first High Sierra ISO creation error
set
-e
display_help
()
{
echo
"Usage:
$(
basename
$0
)
[-h] [<path/to/install_app.app> <path/to/output_iso_file.iso>]"
exit
0
}
if
[
"
$1
"
==
"-h"
]
;
then
display_help
fi
if
[
"$#"
-eq
2
]
then
in_path
=
$1
iso_path
=
$2
elif
[
"$#"
-eq
0
]
then
in_path
=
/Applications/Install
\
macOS
\
High
\
Sierra.app
iso_path
=
~/Desktop/HighSierra.iso
echo
"Using default paths:"
echo
"Install app:
$in_path
"
echo
"Output disk:
$iso_path
"
else
display_help
fi
# Borrrowed from multiple internet sources
hdiutil create
-o
~/Desktop/HighSierra
.cdr
-size
5600m
-layout
SPUD
-fs
HFS+J
hdiutil attach
~/Desktop/HighSierra
.cdr.dmg
-noverify
-mountpoint
/Volumes/install_build
sudo
/Applications/Install
\
macOS
\
High
\
Sierra.app
/Contents/Resources/createinstallmedia
--volume
/Volumes/install_build
--nointeraction
hdiutil create
-o
"
$iso_path
.cdr
"
-size
5600m
-layout
SPUD
-fs
HFS+J
hdiutil attach
"
$iso_path
.cdr.dmg
"
-noverify
-mountpoint
/Volumes/install_build
sudo
"
$in_path
/Contents/Resources/createinstallmedia
"
--volume
/Volumes/install_build
--nointeraction
hdiutil detach
"/Volumes/Install macOS High Sierra"
hdiutil convert ~/Desktop/HighSierra.cdr.dmg
-format
UDTO
-o
~/Desktop/HighSierra.iso
mv
~/Desktop/HighSierra.iso.cdr ~/Desktop/HighSierra.iso
rm
~/Desktop/HighSierra.cdr.dmg
# hdiutil convert will actually put the output file at $iso_path.cdr
hdiutil convert
"
$iso_path
.cdr.dmg"
-format
UDTO
-o
"
$iso_path
"
mv
"
$iso_path
.cdr"
"
$iso_path
"
rm
"
$iso_path
.cdr.dmg"
This diff is collapsed.
Click to expand it.
Mojave/create_iso_mojave.sh
+
33
-
6
View file @
b7d5937a
...
...
@@ -3,11 +3,38 @@
# Bail at first ISO creation error
set
-e
display_help
()
{
echo
"Usage:
$(
basename
$0
)
[-h] [<path/to/install_app.app> <path/to/output_iso_file.iso>]"
exit
0
}
if
[
"
$1
"
==
"-h"
]
;
then
display_help
fi
if
[
"$#"
-eq
2
]
then
in_path
=
$1
iso_path
=
$2
elif
[
"$#"
-eq
0
]
then
in_path
=
/Applications/Install
\
macOS
\
Mojave.app
iso_path
=
~/Desktop/Mojave.iso
echo
"Using default paths:"
echo
"Install app:
$in_path
"
echo
"Output disk:
$iso_path
"
else
display_help
fi
# Borrrowed from multiple internet sources
hdiutil create
-o
~/Desktop/Mojave
.cdr
-size
6g
-layout
SPUD
-fs
HFS+J
hdiutil attach
~/Desktop/Mojave
.cdr.dmg
-noverify
-mountpoint
/Volumes/install_build
sudo
/Applications/Install
\
macOS
\
Mojave.app
/Contents/Resources/createinstallmedia
--volume
/Volumes/install_build
--nointeraction
hdiutil create
-o
"
$iso_path
.cdr
"
-size
6g
-layout
SPUD
-fs
HFS+J
hdiutil attach
"
$iso_path
.cdr.dmg
"
-noverify
-mountpoint
/Volumes/install_build
sudo
"
$in_path
/Contents/Resources/createinstallmedia
"
--volume
/Volumes/install_build
--nointeraction
hdiutil detach
"/Volumes/Install macOS Mojave"
hdiutil convert ~/Desktop/Mojave.cdr.dmg
-format
UDTO
-o
~/Desktop/Mojave.iso
mv
~/Desktop/Mojave.iso.cdr ~/Desktop/Mojave.iso
rm
~/Desktop/Mojave.cdr.dmg
# hdiutil convert will actually put the output file at $iso_path.cdr
hdiutil convert
"
$iso_path
.cdr.dmg"
-format
UDTO
-o
"
$iso_path
"
mv
"
$iso_path
.cdr"
"
$iso_path
"
rm
"
$iso_path
.cdr.dmg"
This diff is collapsed.
Click to expand it.
boot-macOS-Mojave.sh
+
1
-
1
View file @
b7d5937a
...
...
@@ -27,6 +27,6 @@ qemu-system-x86_64 -enable-kvm -m 3072 -cpu Penryn,kvm=on,vendor=GenuineIntel,+i
-device
ide-drive,bus
=
ide.1,drive
=
MacHDD
\
-drive
id
=
MacHDD,if
=
none,file
=
./mac_hdd.img,format
=
qcow2
\
-device
ide-drive,bus
=
ide.0,drive
=
MacDVD
\
-drive
id
=
MacDVD,if
=
none,snapshot
=
on,media
=
cdrom,file
=
./
'Mojave-10.14.
1
.iso'
\
-drive
id
=
MacDVD,if
=
none,snapshot
=
on,media
=
cdrom,file
=
./
'Mojave-10.14.
3
.iso'
\
-netdev
tap,id
=
net0,ifname
=
tap0,script
=
no,downscript
=
no
-device
vmxnet3,netdev
=
net0,id
=
net0,mac
=
52:54:00:c9:18:27
\
-monitor
stdio
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Projects
Groups
Snippets