LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-03-2019, 08:46 AM   #1
TYTA
Member
 
Registered: Dec 2017
Posts: 90

Rep: Reputation: Disabled
Making a bootable MacOS usb on Linux (Suse).


Hi all,

I have a Mac Air (A1465) circa 2012 which I need to do a clean install on for my friend. I need to create a bootable UBS for the installation. As I don't own a Mac , I was wondering if it is possible to create a bootable USB on Linux? Also, how do I download a clean and malware free version not having an Apple account?

I am after a "High Siera" image.

Any help would be greatly appreciated!

Alex
 
Old 08-03-2019, 10:10 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,301

Rep: Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003
Quote:
Originally Posted by TYTA View Post
Hi all,
I have a Mac Air (A1465) circa 2012 which I need to do a clean install on for my friend. I need to create a bootable UBS for the installation. As I don't own a Mac , I was wondering if it is possible to create a bootable USB on Linux? Also, how do I download a clean and malware free version not having an Apple account?

I am after a "High Siera" image.
Not sure why you're posting about Mac OSX on a Linux forum....that isn't Linux in any way. There are LOTS of places/links to get a High Sierra image, including Apple's website...have you searched for any??
https://support.apple.com/downloads/highsierra

And there are also a load of tutorials to create a bootable USB stick for Mac's, over half a million found with a brief search:
https://eastmanreference.com/how-to-...ive-with-linux
 
Old 08-03-2019, 08:36 PM   #3
TYTA
Member
 
Registered: Dec 2017
Posts: 90

Original Poster
Rep: Reputation: Disabled
Many thanks for your reply, much appreciated! Well, my question was Linux related "How to create a bootable USB in a Linux environment".

Once again, many thanks for your reply!

Alex
 
Old 08-03-2019, 10:08 PM   #4
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,171

Rep: Reputation: 694Reputation: 694Reputation: 694Reputation: 694Reputation: 694Reputation: 694
My problem with a 2007 iMac was getting an El Capitan image without having an Apple account, which I found impossible to get for myself without using an already installed supported Mac version. I was able to take it to someone with an Apple account and have him download the El Capitan image using my iMac with Snow Leopard already installed from original DVD. The upgrade then became a simple matter of opening the downloaded El Capitan image while booted to Snow Leopard.

You could probably do similar, install any MacOS version you can get your hands on, then open a High Sierra image from wherever obtained.

It's my understanding gleaned from these and contemporaneous events is that if you already have the High Sierra image that you could simply dd it to USB media using Linux, then boot it on the Air by holding down the option key at the chime.
 
Old 08-04-2019, 01:41 AM   #5
TYTA
Member
 
Registered: Dec 2017
Posts: 90

Original Poster
Rep: Reputation: Disabled
Many thanks! I am not sure if this is a problem but when I try to convert I get the below error messages:

Code:
[1993]  99.50%
 Unsupported or corrupted block found: -2147483641
[1994]  99.55%
 Unsupported or corrupted block found: -2147483641
[1995]  99.60%
 Unsupported or corrupted block found: -2147483641
[1996]  99.65%
 Unsupported or corrupted block found: -2147483641
[1997]  99.70%
 Unsupported or corrupted block found: -2147483641
[1998]  99.75%
 Unsupported or corrupted block found: -2147483641
[2000]  99.85%
 Unsupported or corrupted block found: -2147483641
[2003] 100.00%  ok
opening partition 6 ...         [2] 100.00%  ok
opening partition 7 ...                    
 Unsupported or corrupted block found: -2147483641
[2] 100.00%  ok
opening partition 8 ...                    
 Unsupported or corrupted block found: -2147483641
[2] 100.00%  ok

Code:
~/MacOS> dmg2img -l macosupd10.13.2.dmg

dmg2img v1.6.7 (c) vu1tur (to@vu1tur.eu.org)

macosupd10.13.2.dmg --> (partition list)

partition 0: Protective Master Boot Record (MBR : 0)
partition 1: GPT Header (Primary GPT Header : 1)
partition 2: GPT Partition Data (Primary GPT Table : 2)
partition 3:  (Apple_Free : 3)
partition 4: EFI System Partition (C12A7328-F81F-11D2-BA4B-00A0C93EC93B : 4)
partition 5: disk image (Apple_HFS : 5)
partition 6:  (Apple_Free : 6)
partition 7: GPT Partition Data (Backup GPT Table : 7)
partition 8: GPT Header (Backup GPT Header : 8)
 
Old 08-04-2019, 03:40 AM   #6
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,171

Rep: Reputation: 694Reputation: 694Reputation: 694Reputation: 694Reputation: 694Reputation: 694
How was this solved? Please explain what you are trying to convert to what.
 
Old 08-04-2019, 03:50 AM   #7
TYTA
Member
 
Registered: Dec 2017
Posts: 90

Original Poster
Rep: Reputation: Disabled
The error message hasn't been resolved that is why I change thread status to unresolved again.

I tried different dmg files from Apple site but still getting the same error message when trying to convert dmg to is. This is the command I used.

Code:
dmg2img -v -i macosupd10.13.2.dmg -o macosupd10.13.2.iso
I tried to Google the error message but nothing productive came out from that.
 
Old 08-08-2019, 07:48 AM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,301

Rep: Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003
Quote:
Originally Posted by TYTA View Post
The error message hasn't been resolved that is why I change thread status to unresolved again.

I tried different dmg files from Apple site but still getting the same error message when trying to convert dmg to is. This is the command I used.

Code:
dmg2img -v -i macosupd10.13.2.dmg -o macosupd10.13.2.iso
I tried to Google the error message but nothing productive came out from that.
After thinking about this a bit, you're doing things you don't even need to do. You're reloading Mac OSX onto a Mac...use the built-in firmware-based recovery:
https://support.apple.com/en-us/HT204904

It downloads everything for you, and walks you through the installer. Your 'friend' should probably reference the manual for their computer, or have checked the Apple forums.
 
3 members found this post helpful.
Old 08-08-2019, 07:55 AM   #9
TYTA
Member
 
Registered: Dec 2017
Posts: 90

Original Poster
Rep: Reputation: Disabled
Thank you so much for the reply! It is very useful.

My friend got the laptop off EBay and as he doesn't know much about Macs asked me to help. I told him I would give it a go.

Once again, thank you!

Quote:
Originally Posted by TB0ne View Post
After thinking about this a bit, you're doing things you don't even need to do. You're reloading Mac OSX onto a Mac...use the built-in firmware-based recovery:
https://support.apple.com/en-us/HT204904

It downloads everything for you, and walks you through the installer. Your 'friend' should probably reference the manual for their computer, or have checked the Apple forums.
 
Old 08-17-2019, 08:39 AM   #10
TYTA
Member
 
Registered: Dec 2017
Posts: 90

Original Poster
Rep: Reputation: Disabled
Update:

I have restored the OS using the Web restore method and upgraded to High Sierra. Once again, many thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can I make a USB hard drive bootable with same procedure to make USB stick bootable? Tem2 Linux - Hardware 1 02-16-2019 09:25 AM
[SOLVED] Creating Bootable Sierra macOS Installer for VirtualBox Jackpot Linux - Virtualization and Cloud 0 10-16-2017 11:45 AM
[SOLVED] Need help making a bootable USB flash drive from a bootable CD. Gregg Bell Linux - Software 8 01-06-2016 02:38 PM
Making a USB stick bootable from a bootable cdrom cwwilson721 Slackware 2 10-23-2009 10:18 PM
making a non bootable patrion bootable jason2 Linux - General 6 08-01-2004 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration