Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
Is there a way to make a bootable USB drive with the ability to install Mac OSx, Windows 7 and a flavor of Linus from it?
i understand bootable Mac OSx would only work on apple hardware, I also know that it is possible to make a bootable windows/linux usb drive, but could not find a way to also add Mac OSx
Sounds like you want a Hybrid MBR. May not work though, there's a lot of issues with them.
Overall, hybrid MBRs should be avoided. I've included support for them in GPT fdisk only because certain popular OSes (read: Microsoft Windows, at least through Windows 7) can't boot from GPT disks on BIOS-based computers. (See the Booting from GPT page for a possible workaround, though.) This fact makes hybrid MBRs a practical necessity in some environments. Apple's Boot Camp, for instance, uses hybrid MBRs to enable Macintoshes to dual-boot both Mac OS X and Windows; and if you want to dual-boot Windows and anything else on a disk of more than 2 TiB on a BIOS-based system, you'll need a hybrid MBR, UEFI DUET, or possibly some other solution I don't yet know about. Older non-Windows OSes (BeOS, OS/2, DOS, etc.) are likely to require a hybrid MBR to handle GPT disks, too, although I haven't tested them explicitly.
The OS X is an operating system very jealous and hardly does boot on any computer that is not a Mac. There are unofficial distributions calls Hackintosh.
If you want to create the USB will use a Mac computer first have to install a bootloader, rEFInd is an excellent bootloader that supports Mac OS X (El Capitan), Windows and Linux. You can install rEFInd on the hard drive of your Mac or USB drive.
Windows starts in your USB drive installed in the version you prefer (7, 8 or 10) using the Boot Camp Assistant creates a USB drive to install Windows. Connect to your Mac the two USB drive, one of which is where Windows will install and the other is WININSTALL you created with the Boot Camp. Make the USB drive boot WININSTALL recognize the USB drive to where you want to install Windows. You must create a partition on the USB drive of 1/3 of the total space.
After you install Mac OS X, the Disk Utility creates a new partition on the USB drive 1/3 should be in the file system Mac OS Extended (Journaled), that's where you will install the Mac OS X.
Finally, install the Linux distribution you want. Linux distributions that have been running well in Mac are Ubuntu, Fedora, Kali. When installing Linux fails to install the bootloader (GRUB) and that Mac is better rEFInd.
It is possible that after installing Linux do not boot Windows and Mac OS X, may be because the MBR when installing Linux was affected. For Windows and Mac OS X run correctly is necessary that the drive where they are installed using protective MBR.
End of Mac OS X can use diskutil list to view the list of connected drives. The USB drive can identify that as disk1. When you identify your USB drive uses sudo gpt show /dev/disk1 to identify the MBR is protective MBR appears something like:
start size index contents
0 1 PMBR
In PMBR contents should appear, otherwise if in contents says MBR Windows and Mac OS X will not boot. With gdisk tool you can solve this problem. Use the sudo gdisk /dev/disk1 command, then press x, then n to create a new protective MBR, and to write the changes press w.
Related
So I have Macbook Air with this Configuration
Model Identifier:11-inch, Mid 2012 MacBookAir 5,1
Processor 1.7 GHz Intel Core i5
Memory 4 GB 1600 MHz DDR3
Graphics Intel HD Graphics 4000 512 MB
Software OS X 10.8.5 (Mountain Lion)
So the problem obviously is OS X Mountain Lion because I can't run newer apps and chrome is tripping out asking me to update it therefore:
I want to install Windows10 on it
so I tried Windows10 usb with Exfat format but older generation of Mac doesn't support booting with Exfat
So now I want to create usb out of fat32 format but it does't support file transfer larger then 4GB.
Now the actual iso is 6.22 GB and I was able copy all the iso files to the usb accept this one install.wim which is 5.34GB however after few ours search I found this post https://superuser.com/questions/362177/how-to-split-big-files-on-mac/471564 and the person in that post is also pointing out to this post http://hints.macworld.com/article.php?story=20060125023540821
in these posts the code is given to split the file in to smaller chunks split -b YOUR_EXPECTED_SIZES YOUR_FILE_NAME PATTERN_NAME_AS_OUTPUT
and this code to recover the files after being transferd to the usb cat SPITED_FILES_AS_LIST > NEW_FILE but I don't know how to navigate the code to the Downloads folder where I have put the install.wim file to split it
here is the picture install.wim in downloads folder
and here it is in the windows iso file install.wim file in Windows10 iso
I am just making this one up for correction for example split -b 2024m Volumes/Downloads/"install.wim" "install.wim."
please let me know if somebody knows how to write this code because I didn't get it.
Using a windows install media externally won't work as macOS wont boot from any other os. Try using patchers from authentic sources, you can follow the instructions in https://www.macworld.co.uk/how-to/install-macos-old-mac-3654960/ or just search for "how to get <macOS version of your choice <>> on older Macs" and use those patchers.
For the windows 10 problem, if you are set on using windows, try bootcamp. Most Macs have an application called boot camp assistant preinstalled, or you could just download bootcamp online and then install windows 10. Use this site for help in the process : https://www.imore.com/how-install-windows-your-mac-boot-camp
Just reiterating that external boot drives WILL NOT WORK. This is due to macOS being made by Apple, and you know how Apple is, its kinda expected.
Good luck!
Edit : after re-reading the question I realised I did not answer your question but you could just skip the code part and do this. Its easier cuz its meant to be used by people who are not exactly tech savvy and its extremely simple
Is there any virtualization solution that supports metal api?
We have an app that uses Metal internally, and we'd like to test it across different macOS versions. Unfortunately it seems that VirtualBox, Parallels Desktop & VMWare Fusion doesn't enable Metal API in their guest macOS.
How can we test the app without having multiple physical machines or without using dual-boot?
UPDATED ANSWER 2019
Parallels Desktop v. 15 finally uses Metal. See their blogpost.
ORIGINAL ANSWER:
As far as I researched there's no chance of doing so with virtual machines.
The only feasible work-around we found is to:
find/purchase hi-speed USB drive (or even external SSD)
install various macOS versions on partitions of the USB drive
boot your Mac from the pendrive and select the OS you want to test
Not ideal, but does the job.
Device: MacBook Pro Mid 2017 with High Sierra
In order to install Windows on MacBook, bootcamp creates 7.4G partition that acts as a bootable install disk for windows(called OSXRESERVED). Note that this is in addition to BOOTCAMP partition that windows is going to be installed at.
Bootcamp, modifies windows ISO with addition of drivers to make the keyboard and touch pad work during install. It also add necessary drivers to be installed.
Here is the issue:
I created a USB image of 7.4G installer partition(OSXRESERVED); which has all the modifications + boot camp drivers. I booted off of the USB and could install windows with no issue. All drivers get installed after first login and everything seems to be operational; Except for keyboard back-light and keyboard touch bar. Re-installing boot camp drivers do not fix the issue. Under Device Manager in Windows, I do not see touch bar or unknown device.
Since Bootcamp creates the install partition and I have a USB bootable copy of that, I was expecting this be similar to boot camp assisted install (which touch bar and keyboard back light work under).
I am not sure what might be the problem or how I can fix it.
Thanks in advance.
I think I figured out the answer:
Warning: If you're not going to keep MacOS, either back up the EFI System Partition (and restore its contents to the new ESP after installation) or leave it intact (i.e. don't do a full disk install, but just use the space after the ESP). This partition (it's the first one) contains drivers/firmware/etc needed by Apple's EFI loader during boot, in particular to initialize the Touchbar.
I am planning to write an application that is strictly only compatible with Mac OS. I want it to be robust against Mac emulators, it is very important that only a Mac computer can use it.
I know that Mac computers each have their own unique mac address.
Is it possible to distinguish between a real Macintosh computer and a macintosh emulator like Virtualbox for example? If so can this somehow be figured out with the mac address?
I am open to any framework which can achieve this
A few years ago I switch from PC to Mac. I didn't do this because I preferred to use a Mac, but because I desired experience working with both systems. Now, I see the pros and cons of both sides, and I use them both regularly. In fact, my job requires it.
Now though, I would like to create a central repository of all my PC / Mac data. Unfortunately there is a language barrier between NTFS and HFS+.
Is there any way I can create an efficient and reliable central repository for all my data? I prefer not to use 3rd party drivers as I've found them to be complex and often unreliable.
I think you may be confusing physical, on-disk filesystems with network filesystems.
HFS+ and NTFS are physical, on-disk layouts.
Samba/NFS (Network File System)/AFP (Apple Filing Protocol) are network filesystems.
There is nothing to stop you sharing an HFS+ physical filesystem via Samba (network filesystem) with Windows clients. Likewise, you could theoretically, share an NTFS filesystem with an OSX client via AFP.
You can just share a directory (folder) from your Mac by going to:
Apple menu (top left of screen) -> Preferences -> Sharing
Then set up like in red:
Another, brilliant option which I use for serving all my music to a SONOS system, is to get a little Raspberry Pi, that uses almost zero power, and add a 256MB USB memory stick (or maybe 4 off 64GB memory sticks as that can be cheaper) and RAID them together and make that available via Samba. It is silent and uses no power!
i do not know about your possibilities, but may be you could just use sambaserver. My router has a build in sambaserver all i have to do is plugin an USB disk.
You could also format your external hd to FAT32 filesystem. It should work for mac and windows, but it does not support files over 4GB. But its fine for document, photos and so.
good luck
I am not sure how well FTP would work but I assume you could run a FTP server in one or both systems and FTP client in the corresponding system. Most browsers can be a FTP client but there are also dedicated programs.
Mac OS X can read from NTFS drives. It also supports writing to NTFS, but that feature is disabled by default. I am not sure if it can work when the volume is online to Windows. Quick Tip: How to Write to NTFS Drives in OS X Mavericks explains it.
Enable writing to NTFS hard drives for free in Mac OS X (including El Capitan!) claims to provide read and write access to NTFS for free from Mac OS X.
You can use Apple's Boot Camp. I am not sure of the licensing requirements for the Windows you run in the Apple system but apparently you can use your existing license.
There is also Catacombae - HFSExplorer for accessing Mac-formatted hard disks and disk images from Windows.
There is also commercial software available. A popular one is Paragon HFS+ for Windows 10 and Paragon NTFS for MacĀ® 14 - Write / read access to NTFS under OS X El Capitan - Introduction.
I did not know what "sambaserver" is but it is a SMB server for UNIX/Linux as described in . SMB is built into Windows; see IT: How to Transfer Files Using Microsoft File Sharing for Windows.