-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac OS support? #35
Comments
I already opened an issues about this , and answered by Ventoy : #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 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 |
Here is a quick alternative to installing other OS on a Mac; mine is a 2005 MacBook air. 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 ***@***.***> 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>
.
|
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>
> .
>
|
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. |
Hola marv, Do you have a more detailed Tutorial for this methode? Update: I think the bootload is missing. So your methode should work then.... https://www.easy2boot.com/add-payload-files/osx/ |
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)
<#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, 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
<#35 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQZR66DXMEUGY5WNS4PI4DTTJUGGZANCNFSM4MWAX7JQ>
.
|
Wow your 81 and that fit in IT. I am impressed thumps up. 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. |
@brandonkal same here, I made a specific feature request for "Install macOS ..." stuff (#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 |
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
Steps for Setting up VirtualBox with Ventoy LiveCD
Now you should be able to use Ventoy LiveCD's ventoy2disk script to create a working ventoy USB from within MacOS.Note: Mac's with M1 chipUnfortunately, 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). |
@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 |
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
<#918>
—
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/AQZR66ESXSP6VXGAAQXAGS3TPJXGFANCNFSM4MWAX7JQ>
.
|
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 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. |
@ventoy Maybe this should be added somewhere as a little tutorial for mac users? |
So in combination with e2b this should then work to. I will have a try. Would be nice to have this possibility. Not sure if it's possible to integrate a similar method in ventoy? Regarding Hackintosh:
|
Regarding this: |
@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.
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. |
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 |
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! |
@pierredGitHub That's something else that I already made a request for in #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 #35 (comment), but with the VMware Fusion Player. The steps are basically the same, with some notes:
behind the scenesI 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. |
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. |
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 |
Through GitHub actions I have been rebuilding ventoy into disk images (virtual hard drive) of sizes 256mb, 1gb, 4gb, 8gb into zip files. Example use Mac user needs to get Windows installer to format a PC.
Example use Linux desktop PC corrupts, user needs to reinstall Linux Distro, only other working computer is Chromebook.
Example use User has 1TB external hard drive with many important files & already has ISO files downloaded, They do not want to erase to make it Ventoy. User also has 512MB flash drive that they can erase.
|
Are there any plans for Mac OS support? This is the error the linux version gives on Mac OS Catalina.
The text was updated successfully, but these errors were encountered: