Open ReubenBTalbott opened 4 years ago
I already opened an issues about this , and answered by Ventoy : https://github.com/ventoy/Ventoy/issues/3
Thought I looked through all the old issues to make sure no one had already asked this question, thanks for the info!
I'd like to see the option to select and boot a macOS install dmg i.e. with clover.
I tinkered with the script a little on macOS 10.15 and, long story short, it seems the script would require an entire rewrite to work on macOS. There are some commands required in the script that flat out don't work on macOS as well as the fact that macOS handles disks and partitions in a different way than Linux. If anyone would like to give it a go I can post some details of my findings but I don't think I have the proper knowledge or time to write it myself unfortunately...
so, why not ask "Ventoy" to have a own branch for osx under Ventoy/Ventoy_OSX and there could be a collaboration possible, but @ventoy must make it possible.. or could.. if he want
My Parents or better my Mom is also a "MOS"ler and play around in the cli/prompt (bit "i"proud *g about that crazy 75' Mom .. have this to say on this point *bg )
best regards Blacky
Here is a quick alternative to installing other OS on a Mac; mine is a 2005 MacBook air. The reFIND boot manager does work on MACs: https://www.rodsbooks.com/refind/ First writing the reFIND installer to a USB stick, the subsequent installation of reFIND to the Mac efi partition is routine. Thereafter upon power_on/restart, the graphical reFIND menu displays available alternate bootup choices. If there has been inserted a USB stick with an ISO image installed on it, this choice can be made to begin a OS installation; thus I have installed Ubuntu variants a few times. I have skipped over preliminary partitioning issues, as they have been well covered elsewhere.
I have tried using reFIND to choose the Ventoy USB, and do thus acquire the Ventoy menu displaying Ubuntu and OpenSuSe choices. However upon implementing either of these choices, the failures others have described on MACs occur.
Any news on Ventoy and the Mac? I am not looking to build a Ventoy drive on a Mac, but booting a Mac from a Ventoy disk.
My Ventoy USB disk already has a slew of ISOs, stored in separate folders for convenience, and that works great.
But I am also extremely interested in having various ISOs of different macOS versions and booting a Mac with them. I read about rEFInd but apparently that won't help, according to marvstod. But is that a definite no?
So checking if anyone else has discovered anything new that could help booting a Mac from an ISO stored on a Ventoy disk.
When I originally made this issue I was looking for Mac support for the making of the Ventoy drive, this is no longer what I need as I can honestly flash pretty easily with a VM or linux laptop, but I would really love to be able to boot from Ventoy drives on a Mac (Only machines I have been unable to boot my Ventoy on) and I would love to be able to use my MacOS usb installer images with Ventoy. I carry a USB drive on my keychain that has many Linux Distro's and I am currently looking at getting a second since Ventoy doesn't support MacOS .iso or .dmg's (I don't want a second drive). TLDR; MacOS installer is no longer a priority for me (would still be nice) but I really want (need) MacOS installer support and the freaking ability to actually boot Ventoy on a Mac.
The nice feature of Ventoy is that multiple images.iso can be housed within a single partition on a USB stick. But as previously discussed MACn.iso are not thus supported.
When using the reFIND boot manager, candidate images must reside in separate partitions. For application on USB sticks, refind must be written to a small first partition, and any number images.iso can be situated in following subsequent partitions, but one per partition. While I haven't explicitly tested this for MACn.iso , i am confident this would work, as I do use reFIND to alternately boot Ubuntu and MAC on my MacBook Air.
Sometimes following a major MAC update on MacBook, function of the onboard reFIND is lost, and Ubuntu access is thus lost. But then it suffices to use reFIND on a USB stick just once to get Ubuntu booted, and the onboard reFIND function is recovered.
Marvin
On Mon, Jan 25, 2021 at 6:03 PM Reuben Talbott notifications@github.com wrote:
When I originally made this issue I was looking for Mac support for the making of the Ventoy drive, this is no longer what I need as I can honestly flash pretty easily with a VM or linux laptop, but I would really love to be able to boot from Ventoy drives on a Mac (Only machines I have been unable to boot my Ventoy on) and I would love to be able to use my MacOS usb installer images with Ventoy. I carry a USB drive on my keychain that has many Linux Distro's and I am currently looking at getting a second since Ventoy doesn't support MacOS .iso or .dmg's (I don't want a second drive). TLDR; MacOS installer is no longer a priority for me (would still be nice) but I really want (need) MacOS installer support and the freaking ability to actually boot Ventoy on a Mac.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ventoy/Ventoy/issues/35#issuecomment-767169112, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZR66EMUSRPPB4UAHQ43FDS3X2EXANCNFSM4MWAX7JQ .
RE: candidate images must reside in separate partitions A clarification. for the image to be bootable, just copying into a partition does NOT suffice. Your favorite image writing stall must be used to Install the image to the chosen /dev/sdN partition of the USB stick. My procedure is to first create a partition somewhat larger then image.iso, and then install the image into it. This can be done with a succession of partitions. reFIND will boot up from the small first partition, and then display choices of the images, as well as any bootable partitions on the host computer.
Marvin
On Mon, Jan 25, 2021 at 8:22 PM Marvin Stodolsky marvin.stodolsky@gmail.com wrote:
The nice feature of Ventoy is that multiple images.iso can be housed within a single partition on a USB stick. But as previously discussed MACn.iso are not thus supported.
When using the reFIND boot manager, candidate images must reside in separate partitions. For application on USB sticks, refind must be written to a small first partition, and any number images.iso can be situated in following subsequent partitions, but one per partition. While I haven't explicitly tested this for MACn.iso , i am confident this would work, as I do use reFIND to alternately boot Ubuntu and MAC on my MacBook Air.
Sometimes following a major MAC update on MacBook, function of the onboard reFIND is lost, and Ubuntu access is thus lost. But then it suffices to use reFIND on a USB stick just once to get Ubuntu booted, and the onboard reFIND function is recovered.
Marvin
On Mon, Jan 25, 2021 at 6:03 PM Reuben Talbott notifications@github.com wrote:
When I originally made this issue I was looking for Mac support for the making of the Ventoy drive, this is no longer what I need as I can honestly flash pretty easily with a VM or linux laptop, but I would really love to be able to boot from Ventoy drives on a Mac (Only machines I have been unable to boot my Ventoy on) and I would love to be able to use my MacOS usb installer images with Ventoy. I carry a USB drive on my keychain that has many Linux Distro's and I am currently looking at getting a second since Ventoy doesn't support MacOS .iso or .dmg's (I don't want a second drive). TLDR; MacOS installer is no longer a priority for me (would still be nice) but I really want (need) MacOS installer support and the freaking ability to actually boot Ventoy on a Mac.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ventoy/Ventoy/issues/35#issuecomment-767169112, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZR66EMUSRPPB4UAHQ43FDS3X2EXANCNFSM4MWAX7JQ .
A Qt GUI for Windows, Mac and Linux will be swell and user friendly for all.
First I think the normal CLI needs to work on MacOS before that's possible.
RE: candidate images must reside in separate partitions A clarification. for the image to be bootable, just copying into a partition does NOT suffice. Your favorite image writing stall must be used to Install the image to the chosen /dev/sdN partition of the USB stick. My procedure is to first create a partition somewhat larger then image.iso, and then install the image into it. This can be done with a succession of partitions. reFIND will boot up from the small first partition, and then display choices of the images, as well as any bootable partitions on the host computer. Marvin On Mon, Jan 25, 2021 at 8:22 PM Marvin Stodolsky marvin.stodolsky@gmail.com wrote: … The nice feature of Ventoy is that multiple images.iso can be housed within a single partition on a USB stick. But as previously discussed MACn.iso are not thus supported. When using the reFIND boot manager, candidate images must reside in separate partitions. For application on USB sticks, refind must be written to a small first partition, and any number images.iso can be situated in following subsequent partitions, but one per partition. While I haven't explicitly tested this for MACn.iso , i am confident this would work, as I do use reFIND to alternately boot Ubuntu and MAC on my MacBook Air. Sometimes following a major MAC update on MacBook, function of the onboard reFIND is lost, and Ubuntu access is thus lost. But then it suffices to use reFIND on a USB stick just once to get Ubuntu booted, and the onboard reFIND function is recovered. Marvin On Mon, Jan 25, 2021 at 6:03 PM Reuben Talbott @.***> wrote: > When I originally made this issue I was looking for Mac support for the > making of the Ventoy drive, this is no longer what I need as I can honestly > flash pretty easily with a VM or linux laptop, but I would really love to > be able to boot from Ventoy drives on a Mac (Only machines I have been > unable to boot my Ventoy on) and I would love to be able to use my MacOS > usb installer images with Ventoy. I carry a USB drive on my keychain that > has many Linux Distro's and I am currently looking at getting a second > since Ventoy doesn't support MacOS .iso or .dmg's (I don't want a second > drive). TLDR; MacOS installer is no longer a priority for me (would still > be nice) but I really want (need) MacOS installer support and the freaking > ability to actually boot Ventoy on a Mac. > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <#35 (comment)>, or > unsubscribe > https://github.com/notifications/unsubscribe-auth/AQZR66EMUSRPPB4UAHQ43FDS3X2EXANCNFSM4MWAX7JQ > . >
Hola marv,
Do you have a more detailed Tutorial for this methode?
My methode that I am trying now is to create an dmg image in the diskmanage programm from apple, mount the image, use the createinstallmedia from high sierra or catalina or big sur to install it in the volume (something like/Volumes/Install\ macOS High Sierra/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Install\ High\ Sierra
), then convert it to cdr also in the disk manage programm or maybe on terminal if not successfull and rename it to iso. Don't know yet if it will work, i will report if i'm succesfull. Would be sooo nice not need to format my usb stick every time i need a mac osx install volume...was too often in the last months... :D
Have this tip from: https://osxdaily.com/2020/07/20/how-convert-macos-installer-iso/
Update:
For Catalina you can use the dosdude patcher. He has a function build in to create an iso from the downloaded dmg file.
In VMWare its not working.
Not working in agfm:
No kernel
ventoy:
no media in cd0
I think the bootload is missing. So your methode should work then....
https://www.easy2boot.com/add-payload-files/osx/ What seems to work unfortunately just for hfs+ dmg files is to 7zip the hfs+ partition from a dmg file under windows. Interesting haven't seen that on mac :D there its always just a image file that is getting mounted.
For producing Bootable USBs, I have come to highly appreciate the tool provided by https://www.balena.io/etcher/ . It does work fine on Macbooks
Here is the source info for using reFind: http://www.rodsbooks.com/refind/ Do read this page carefully about ongoing Mac updates For specifically making a bootable reFind USB: https://sourceforge.net/projects/refind/files/0.13.2/refind-flashdrive-0.13.2.zip/download
This could be installed to a first small (pre-made) partition on a much larger USB stick Subsequent larger partitions should be a little larger for the ISO image to be therein installed using the Balena tool, just carefully specifying each time which USB partition the new ISO is targeted to.
Please note that I have only thus utilized Linux.ISO , as much as 4 on a single USB stick. When confident that I will no longer need some older Linux, I can overwrite that partition for a newer.ISO. Only Apple tools have been used for MAC updates
There have been some reports that the new Mac Silicon systems will NOT support external boots, but do not have that info handy. Since I am not a Power User, and do want to maintain external boot ability. likely I will not switch to a new MAC soon. Currently I alternately boot MAC and Ubuntu on 2015 Macbook Air laptop hardware.
For non-development usages, I do recommend ChromeBooks to my extended family. Note that Debian Beaver can now be installed in a Chromebook sandbox, for "low power" usages.
Marvin S, age 81
On Tue, Apr 20, 2021 at 1:28 AM dmuiX @.***> wrote:
RE: candidate images must reside in separate partitions A clarification. for the image to be bootable, just copying into a partition does NOT suffice. Your favorite image writing stall must be used to Install the image to the chosen /dev/sdN partition of the USB stick. My procedure is to first create a partition somewhat larger then image.iso, and then install the image into it. This can be done with a succession of partitions. reFIND will boot up from the small first partition, and then display choices of the images, as well as any bootable partitions on the host computer. Marvin On Mon, Jan 25, 2021 at 8:22 PM Marvin Stodolsky @. wrote: … <#m-6931472376976783296> The nice feature of Ventoy is that multiple images.iso can be housed within a single partition on a USB stick. But as previously discussed MACn.iso are not thus supported. When using the reFIND boot manager, candidate images must reside in separate partitions. For application on USB sticks, refind must be written to a small first partition, and any number images.iso can be situated in following subsequent partitions, but one per partition. While I haven't explicitly tested this for MACn.iso , i am confident this would work, as I do use reFIND to alternately boot Ubuntu and MAC on my MacBook Air. Sometimes following a major MAC update on MacBook, function of the onboard reFIND is lost, and Ubuntu access is thus lost. But then it suffices to use reFIND on a USB stick just once to get Ubuntu booted, and the onboard reFIND function is recovered. Marvin On Mon, Jan 25, 2021 at 6:03 PM Reuben Talbott @.> wrote: > When I originally made this issue I was looking for Mac support for the > making of the Ventoy drive, this is no longer what I need as I can honestly > flash pretty easily with a VM or linux laptop, but I would really love to > be able to boot from Ventoy drives on a Mac (Only machines I have been > unable to boot my Ventoy on) and I would love to be able to use my MacOS > usb installer images with Ventoy. I carry a USB drive on my keychain that > has many Linux Distro's and I am currently looking at getting a second > since Ventoy doesn't support MacOS .iso or .dmg's (I don't want a second > drive). TLDR; MacOS installer is no longer a priority for me (would still > be nice) but I really want (need) MacOS installer support and the freaking
ability to actually boot Ventoy on a Mac. > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <#35 (comment) https://github.com/ventoy/Ventoy/issues/35#issuecomment-767169112>, or unsubscribe > https://github.com/notifications/unsubscribe-auth/AQZR66EMUSRPPB4UAHQ43FDS3X2EXANCNFSM4MWAX7JQ . >
Hola marv,
Do you have a more detailed Tutorial for this methode? My methode that I am trying now is to create an dmg image in the diskmanage programm from apple, mount the image, use the createinstallmedia from high sierra or catalina or big sur to install it in the volume, then convert it to cdr also in the disk manage programm or maybe on terminal if not successfull and rename it to iso. Don't know yet if it will work, will see and i will report if its succesfull. Would be sooo nice not need to format my usb stick every time i need a mac osx install volume...was too often in the last months... :D Have this tip from: https://osxdaily.com/2020/07/20/how-convert-macos-installer-iso/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ventoy/Ventoy/issues/35#issuecomment-822983759, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZR66DXMEUGY5WNS4PI4DTTJUGGZANCNFSM4MWAX7JQ .
Wow your 81 and that fit in IT. I am impressed thumps up. Will have a look at your provided LInks. Thanks a lot so far. So its standing there somewhere on the refind webpage? okay did not have the guts so far to read through it but when you say its there maybe i will do it. :D
Yeah I know balena etcher. I think this was working well for me the last time I have tried it. For now I am always using my macbook or my Mac Desktop to create a bootable mac Usb Stick.
Regarding silicon systems, interesting info. At the moment there are no alternative systems for these notebooks. Linux is still not really usable and windows kind of the same. So no usable triple boot at the moment i would say. But for me its not really important as i am using just mac with windows and linux vms. This is working very good for my needs. And I don't have a silicon at the moment. Could change when I have enough money: 1700-2000 Euro left over. Currently not.
I'd like to see the option to select and boot a macOS install dmg i.e. with clover.
@brandonkal same here, I made a specific feature request for "Install macOS ..." stuff (https://github.com/ventoy/Ventoy/issues/918), but hoping that Clover doesn't need to be used (since I don't want to boot Hackintosh's, I just want to use the install dmg's/img's/iso's from a mac device).
As for the Ventoy2disk.sh, I can probably look into making it compatible with mac's.
Ah never mind, some bottlenecks would be somehow having support for creating and accessing ext[2/3/4] and xfs filesystems which there is no open-source program that can do that yet on mac (there is read-only implementations, but that's it)
Best bet is running ventoy from virtualbox (using the latest version of ventoy-*-livecd.iso
), attaching your USB device to it, and then use it that way.
Here's my best attempt at making a slight tutorial for doing this in VirtualBox...
I've also made a short video showing the steps at https://youtu.be/t569-j5aoA4
New
Ventoy LiveCD
Linux
Other Linux (64-bit)
2048
(this size should be fine, but you can always go higher)Do not add a virtual hard disk
Ventoy LiveCD
).Choose a disk file...
, and you'll want to navigate to where you downloaded the ventoy livecd and choose that.USB 3.0 (xHCI) Controller
is selected, and then try to add your USB device to the list (click the USB with +
sign icon), click OK, and then click on Done.Command + C
to switch to scaled mode.Unfortunately, there isn't a version of VirtualBox for the M1 chip Mac's, yet, however, the latest beta version of UTM does appear to support USB passthrough, so if you have an M1 mac, try to create the Ventoy LiveCD vm in the UTM beta (or wait for the stable release).
Hola marv,
Do you have a more detailed Tutorial for this methode? My methode that I am trying now is to create an dmg image in the diskmanage programm from apple, mount the image, use the createinstallmedia from high sierra or catalina or big sur to install it in the volume (something like
/Volumes/Install\ macOS High Sierra/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Install\ High\ Sierra
), then convert it to cdr also in the disk manage programm or maybe on terminal if not successfull and rename it to iso. Don't know yet if it will work, i will report if i'm succesfull. Would be sooo nice not need to format my usb stick every time i need a mac osx install volume...was too often in the last months... :D Have this tip from: https://osxdaily.com/2020/07/20/how-convert-macos-installer-iso/Update: For Catalina you can use the dosdude patcher. He has a function build in to create an iso from the downloaded dmg file. In VMWare its not working. Not working in agfm:
No kernel
ventoy:no media in cd0
I think the bootload is missing. So your methode should work then....
https://www.easy2boot.com/add-payload-files/osx/ What seems to work unfortunately just for hfs+ dmg files is to 7zip the hfs+ partition from a dmg file under windows. Interesting haven't seen that on mac :D there its always just a image file that is getting mounted.
@dmuiX You don't usually need to convert the dmg to iso, as technically the dmg is already in a raw disk format (.img), I have more information about that in https://github.com/ventoy/Ventoy/issues/918
For updates of Mac's , I have only used the tools Mac provides.
Marvin
On Mon, May 24, 2021, 10:38 AM Andrew Larson @.***> wrote:
Hola marv,
Do you have a more detailed Tutorial for this methode? My methode that I am trying now is to create an dmg image in the diskmanage programm from apple, mount the image, use the createinstallmedia from high sierra or catalina or big sur to install it in the volume (something like/Volumes/Install\ macOS High Sierra/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Install\ High\ Sierra), then convert it to cdr also in the disk manage programm or maybe on terminal if not successfull and rename it to iso. Don't know yet if it will work, i will report if i'm succesfull. Would be sooo nice not need to format my usb stick every time i need a mac osx install volume...was too often in the last months... :D Have this tip from: https://osxdaily.com/2020/07/20/how-convert-macos-installer-iso/
Update: For Catalina you can use the dosdude patcher. He has a function build in to create an iso from the downloaded dmg file. In VMWare its not working. Not working in agfm: No kernel ventoy: no media in cd0
I think the bootload is missing. So your methode should work then....
https://www.easy2boot.com/add-payload-files/osx/ What seems to work unfortunately just for hfs+ dmg files is to 7zip the hfs+ partition from a dmg file under windows. Interesting haven't seen that on mac :D there its always just a image file that is getting mounted.
@dmuiX https://github.com/dmuiX You don't usually need to convert the dmg to iso, as technically the dmg is already in a raw disk format (.img), I have more information about that in #918 https://github.com/ventoy/Ventoy/issues/918
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ventoy/Ventoy/issues/35#issuecomment-847131964, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZR66ESXSP6VXGAAQXAGS3TPJXGFANCNFSM4MWAX7JQ .
Hola marv, Do you have a more detailed Tutorial for this methode? My methode that I am trying now is to create an dmg image in the diskmanage programm from apple, mount the image, use the createinstallmedia from high sierra or catalina or big sur to install it in the volume (something like
/Volumes/Install\ macOS High Sierra/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Install\ High\ Sierra
), then convert it to cdr also in the disk manage programm or maybe on terminal if not successfull and rename it to iso. Don't know yet if it will work, i will report if i'm succesfull. Would be sooo nice not need to format my usb stick every time i need a mac osx install volume...was too often in the last months... :D Have this tip from: https://osxdaily.com/2020/07/20/how-convert-macos-installer-iso/ Update: For Catalina you can use the dosdude patcher. He has a function build in to create an iso from the downloaded dmg file. In VMWare its not working. Not working in agfm:No kernel
ventoy:no media in cd0
I think the bootload is missing. So your methode should work then.... https://www.easy2boot.com/add-payload-files/osx/ What seems to work unfortunately just for hfs+ dmg files is to 7zip the hfs+ partition from a dmg file under windows. Interesting haven't seen that on mac :D there its always just a image file that is getting mounted.@dmuiX You don't usually need to convert the dmg to iso, as technically the dmg is already in a raw disk format (.img), I have more information about that in #918
Yeah thanks I think I figured that out, too. The methode in the last paragraph that is saying install Catalina of the link to e2b that I have provided: https://www.easy2boot.com/add-payload-files/osx/ is actually working In short: 1) create Mac usb stick either with dosdude patcher or Normal by createmediainstall 2) use a windows PC to create a imgptnrep3 file from the second partition on the USB stick with the Program RMPrepUSB - Drive->File t 3) copy that imgptnrep3 file to the third partition of a e2b stick 4) boot agfm on e2b Stick and choose the created imgptnrep3 file on the third partition. It will replace the third partition with the content of the imgptnrep3 file 5) just boot in the Mac bootloader with the option key pressed right after the chime and start the installation
In the end what you really need is just a bootable image file. The only Methode I know at the moment to create it is a second USB stick. Not sure if this really helps my problem. I still need this second stick. But I can save these boot images and use the again. That is maybe an advantage. Especially as the patched versions do not change anymore. And I think the Catalina installer, too.
Yeah thanks I think I figured that out, too. The methode in the last paragraph that is saying install Catalina of the link to e2b that I have provided: https://www.easy2boot.com/add-payload-files/osx/ is actually working In short:
- create Mac usb stick either with dosdude patcher or Normal by createmediainstall
- use a windows PC to create a imgptnrep3 file from the second partition on the USB stick with the Program RMPrepUSB - Drive->File t
- copy that imgptnrep3 file to the third partition of a e2b stick
- boot agfm on e2b Stick and choose the created imgptnrep3 file on the third partition. It will replace the third partition with the content of the imgptnrep3 file
- just boot in the Mac bootloader with the option key pressed right after the chime and start the installation
In the end what you really need is just a bootable image file. The only Methode I know at the moment to create it is a second USB stick. Not sure if this really helps my problem. I still need this second stick. But I can save these boot images and use the again. That is maybe an advantage. Especially as the patched versions do not change anymore. And I think the Catalina installer, too.
Well the commands in the issue I created, https://github.com/ventoy/Ventoy/issues/918, does show how to create the DMG, without a USB drive. And you shouldn't need to modify it to get it boot from a normal USB drive. The part the needs tweaking is getting the "Install macOS ..." image files to boot from ventoy, but without making the image a Hackintosh image, when trying to use it on a normal mac.
https://github.com/ventoy/Ventoy/issues/35#issuecomment-846714041
@ventoy Maybe this should be added somewhere as a little tutorial for mac users?
Yeah thanks I think I figured that out, too. The methode in the last paragraph that is saying install Catalina of the link to e2b that I have provided: https://www.easy2boot.com/add-payload-files/osx/ is actually working In short:
- create Mac usb stick either with dosdude patcher or Normal by createmediainstall
- use a windows PC to create a imgptnrep3 file from the second partition on the USB stick with the Program RMPrepUSB - Drive->File t
- copy that imgptnrep3 file to the third partition of a e2b stick
- boot agfm on e2b Stick and choose the created imgptnrep3 file on the third partition. It will replace the third partition with the content of the imgptnrep3 file
- just boot in the Mac bootloader with the option key pressed right after the chime and start the installation
In the end what you really need is just a bootable image file. The only Methode I know at the moment to create it is a second USB stick. Not sure if this really helps my problem. I still need this second stick. But I can save these boot images and use the again. That is maybe an advantage. Especially as the patched versions do not change anymore. And I think the Catalina installer, too.
Well the commands in the issue I created, #918, does show how to create the DMG, without a USB drive. And you shouldn't need to modify it to get it boot from a normal USB drive. The part the needs tweaking is getting the "Install macOS ..." image files to boot from ventoy, but without making the image a Hackintosh image, when trying to use it on a normal mac.
So in combination with e2b this should then work to. I will have a try. Would be nice to have this possibility. In e2b the complete partition is replaced with the content of the installimage. Then it's possible to use the mac bootloader to start it. I think this is the critical part. The replacement
Not sure if it's possible to integrate a similar method in ventoy?
Regarding Hackintosh: There are two possibilities I know of so far: 1) Using the patcher for example from dosdude 2) Using opencore and a normal installation volume its also possble to use clover but this is kind of the same installation procedure
Here's my best attempt at making a slight tutorial for doing this in VirtualBox...
I've also made a short video showing the steps at https://youtu.be/t569-j5aoA4
Prerequisites
* Download and install [VirtualBox](https://www.virtualbox.org/wiki/Downloads) (download the OS X version) if you haven't already. Once installed, open the app. Then download then extension pack from the same website, and go to VirtualBox Preferences > Extensions and add the extension pack to VirtualBox (required to get USB drives to mount properly in the VM we will be creating). * Also make sure to download the latest Ventoy livecd iso from https://www.ventoy.net/en/download.html
Steps for Setting up VirtualBox with Ventoy LiveCD
1. Click `New` 2. Enter the following: * Name = `Ventoy LiveCD` * Type = `Linux` * Version = `Other Linux (64-bit)` * Memory size = `2048` (this size should be fine, but you can always go higher) * Hard disk = `Do not add a virtual hard disk` 3. Enter the settings of the new virtual machine you created (`Ventoy LiveCD`). 4. Go to the Storage area. 5. Click on the "Empty" disk. Then to right right, click the disc icon and select `Choose a disk file...`, and you'll want to navigate to where you downloaded the ventoy livecd and choose that. 6. Go to the Ports area, and in there go to the USB tab. 7. Make sure `USB 3.0 (xHCI) Controller` is selected, and then try to add your USB device to the list (click the USB with `+` sign icon), click OK, and then click on Done. 8. Now you can press Start, and the vm should turn on. It may prompt to choose a disk, just make sure to select the ventoy iso and continue. If the screen is too small (as it might be on most newer macs), then you can press `Command + C` to switch to scaled mode.
Now you should be able to use ventoy and create a working ventoy USB from within MacOS.
Note: Mac's with M1 chip
Unfortunately, there isn't a version of VirtualBox for the M1 chip Mac's, yet, however, the latest beta version of UTM does appear to support USB passthrough, so if you have an M1 mac, try to create the Ventoy LiveCD vm in the UTM beta (or wait for the stable release).
Regarding this: its also possible to use VMware fusion. Not sure if it's working in VMware player to, will try it though. the uefi in a VMware vm is capable of booting from USB. You just have to add the USB drive to connect to the vm instead of mac
Regarding this: its also possible to use VMware fusion. Not sure if it's working in VMware player to, will try it though.
@dmuiX reason why I suggest VirtualBox over VMware is in the open-source nature of VirtualBox. Also no login is required to download and start using VirtualBox, vs. anything you get from the VMware website.
the uefi in a VMware vm is capable of booting from USB. You just have to add the USB drive to connect to the vm instead of mac
About this, the tutorial I made is not about booting from the USB, it's about using ventoy2disk script to format a USB from MacOS with ventoy. If you're looking to boot USB devices, VirtualBox also has this functionality, but you need to setup a dummy disk file and run some commands with VBoxManage.
Correct. I kind of meant it like that. For e2b you also don't need to boot it. Yeah I know that. It's easier in VMWare Fusion. But there is no free version of vmware fusion for mac. VMWare Player is just available for windows and linux.
Yeah I know that. It's easier in VMWare Fusion. But there is no free version of vmware fusion for mac. VMWare Player is just available for windows and linux.
Not true. Since last summer, VMware Fusion 12 is now free for personal use. Fusion 11 was not.
Not true. Since last summer, VMware Fusion 12 is now free for personal use. Fusion 11 was not.
But probably still behind a login-wall.
Oh youre right. Haven't seen it yesterday. yeah you have to register to get a licence.
That's why I like VirtualBox and UTM (which is really just a front end for qemu). Open-sourced, no accounts needed, and exploits found tend to get a lot of eyes on the matter with fixes usually coming in fast (unlike some closed-source software...)
No promises, but I'm working on a easy 1-click installer/script to use Ventoy2Disk on MacOS (using QEMU to virtualize Ventoy LiveCD, with some 'dynamic' USB passthrough), but it may require a package manager like brew
or port
to use (since I don't want to go through the hassle of creating macOS packages for every version)
I already use brew so if you can pull it off that would be amazing!
Thanks for working on this whether it works or not!
I already use brew so if you can pull it off that would be amazing!
Thanks for working on this whether it works or not!
Yeah, hardest part so far is figuring out the right workaround for libusb's current bug with USB passthrough in QEMU, but I might just have to fully download source codes and compile, until the bug is fixed in a release.
This is to be able to build a Ventoy disk on a Mac, right? That's good for sure for all users whose primary computer is a Mac.
But I think (and it's been mentioned here too if I recall correctly) a more needed feature is to be able to boot a macOS ISO file on Mac. Something that currently does not work.
Here is to hoping for one day!
This is to be able to build a Ventoy disk on a Mac, right? That's good for sure for all users whose primary computer is a Mac.
But I think (and it's been mentioned here too if I recall correctly) a more needed feature is to be able to boot a macOS ISO file on Mac. Something that currently does not work.
Here is to hoping for one day!
@pierredGitHub That's something else that I already made a request for in https://github.com/ventoy/Ventoy/issues/918
What about the other way around? Can you get the latest OSX installer working in Ventoy from: https://github.com/corpnewt/gibMacOS ?
I just tried https://github.com/ventoy/Ventoy/issues/35#issuecomment-846714041, but with the VMware Fusion Player. The steps are basically the same, with some notes:
I tried a crappy USB stick (some old, spare one I found at home) with 20 MiB/s read speed, and the Debian live CD took forever to load (worse: you don’t know whether it is loading because there is nothing on the screen). Use something decent! At very least it should max out the USB 2.0 read speed (about 60 MiB/s). I switched to a USB 3.1 drive and it is so much better. I’m reserving the USB 2.0 one for small files, like documents.
The VMware Fusion Player is free (they split VMware Fusion into Player and Pro). And yes, it requires non-trivial registration, with bunch of forms and verifying email address. Recommendation of VirtualBox is reasonable; I just wanted to verify that it is free despite all these hassle.
@dm17 Please comment under #18 instead.
I already opened an issues about this , and answered by Ventoy : #3
Should this issue be closed out, the OP question was about Ventoy running on Mac OS. Developer said not making a version for Mac OS already.
Following this thread and conversations on Rocky Linux's Testing channel (on Mattermost server), I ended up trying Ventoy LiveCD, Rocky 8.8, and Rocky 9.2 on VirtualBox (BETA version still for ARM) on my M1 MBP, all failed at various stages. I tried all on UTM, and Rocky 9.2 on UTM was the only successful combination. I was able to install Ventoy, mount USB on both Rocky VM and OSX host, and copy ISOs over. I still have to test installation from that USB key, but I hope the hard part is behind me.
@widyono-cets Can you clarify please?
What I understand from what you said is that you create a new VM in UTM that is Rocky 9.2. Then you copy ISO over after mounting USB to Rocky VM? Then you can generate bootable things in Ventoy and its fine? A numbered list of things to do to get this working would be very helpful. Exciting you got a method working.
@widyono-cets Can you clarify please?
What I understand from what you said is that you create a new VM in UTM that is Rocky 9.2. Then you copy ISO over after mounting USB to Rocky VM? Then you can generate bootable things in Ventoy and its fine? A numbered list of things to do to get this working would be very helpful. Exciting you got a method working.
From what I understand, he's creating a VM (using Rocky 9.2) in UTM, and then installing ventoy on it (not doing anything with the ISO).
Assumably, what he's saying is something with the ventoy live CD iso isn't working with UTM for some reason? But I doubt that's the case. I would need to test myself, but I don't currently have an M# Mac to do this on.
@widyono-cets Can you clarify please? What I understand from what you said is that you create a new VM in UTM that is Rocky 9.2. Then you copy ISO over after mounting USB to Rocky VM? Then you can generate bootable things in Ventoy and its fine? A numbered list of things to do to get this working would be very helpful. Exciting you got a method working.
From what I understand, he's creating a VM (using Rocky 9.2) in UTM, and then installing ventoy on it (not doing anything with the ISO).
Assumably, what he's saying is something with the ventoy live CD iso isn't working with UTM for some reason? But I doubt that's the case. I would need to test myself, but I don't currently have an M# Mac to do this on.
Yes, but Rocky 9.2 ARM64 or not? UTM allows you to run any hardware emulation. I'd rather use the arm64 version to not be slow arch emulation.
Sorry I don't have notifications configured yet, so didn't realize there were replies. I installed UTM on M1 MBP. I installed Rocky 9.2 ARM on UTM (minimal, pretty much all defaults, if I recall correctly). I downloaded Ventoy Linux installer tarball to Rocky and ran it (after attaching USB thumb drive to Rocky VM). Ventoy installed itself onto the USB thumb drive. We are about to test the actual Ventoy installation on an X86_64 machine next, to verify. Hope that helps? Let me know if there are specific questions. Neither Ventoy LiveCD nor Rocky 8.8 worked under UTM for me.
@widyono-cets thank you that makes sense to me, I will follow that.
Update: the ventoy USB drives worked (at least the installer loaded) as installed above. Added steps from minimal 9.2 install, should you be following along:
dnf install wget tar wget https://github.com/ventory/Ventoy/releases/download/v1.0.93/ventoy-1.0.93-linux.tar.gz tar zxvf ventoy-1.0.93-linux.tar.gz cd ventoy-1.0.93 ./Ventoy2Disk.sh -i /dev/sda -r 100
Through GitHub actions I have been rebuilding ventoy into disk images (virtual hard drive) of sizes 256mb, 1gb, 4gb, 8gb into zip files. For more information please see the readme. https://github.com/catherinedoyel/ventoyimg/blob/main/README.md Download here: https://github.com/catherinedoyel/ventoyimg/releases GitHub action code here: https://github.com/catherinedoyel/ventoyimg/blob/main/.github/workflows/blank.yml You could use balena etcher, raspberry pi imager, chromebook recovery utility. To write these disk images out to flash drive. I tried to slightly under utilize & get these to fit on the matching size of drive (put 8GB img on 8GB flash drive). You might think 256mb size is not very useful but you can use the F2 function button and select iso, or other supported files from other flash drives or partitions. These files are have the main Ventoy partition empty and is mostly writing zeros to the drive as img file format isn't very efficient but is very universal & compatible. _Image from https://www.ventoy.net/en/doc_disk_layout.html then modified in green._
Example use
https://www.youtube.com/watch?v=Mg5VcpZRFq8
Example use
Example use
No ISO or supported IMG files found (Press enter to reboot ...)
Using GPTK I can get Ventoy to come up, but drive volumes aren't enumerating. I tried various args but to no avail.
PS, I'm late to this game.
Are there any plans for Mac OS support? This is the error the linux version gives on Mac OS Catalina.