Home > Tutorials > Boot MacOS X86 from USB Pendrive

Boot MacOS X86 from USB Pendrive


Have you ever dreamed about carrying in your pocket,
your favorite OSx86 install. And boot it everywhere.
When dreams come true…


Before you start



You will need the following stuff:

  • USB pendrive (min. 2 GB required)
  • JaS Mac OS X 10.4.x or 10.4.7 Retail DVD
  • Pacifist software (www.charlessoft.com)


Format the pendrive



Plugin your USB pendrive and open Disk Utility (Applications->Utilities).

Select your pendrive device in the left menu, and click the partition tab.
Enter a nice name for your device like osx86.

Hit Options… button, and choose Master Boot Record.
From the drop-down, choose 1 partition as the volume scheme.

Be sure the filesystem is Mac OS Extended (Journaled),
Hit the Partition button.

Next, we need to enable Owners, open a Terminal and type:

sudo /usr/sbin/vsdbutil -a /Volumes/osx86



Install OSx86



Mount the JaS 10.4.x DVD or the Retail 10.4.7 DVD (I used retail).
Browse to the directory System/Installation/Packages on the DVD.
Open OSInstall.mpkg with pacifist (right-click->Open With Pacifist).

Expand Contents of EssentialSystemSoftware, then expand Contents of
EssentialSystemSoftwareGroup.

Select Contents of BaseSystem.pkg and Contents of Essentials.pkg and
right-click and choose Install to Other disk…
Choose your pendrive (osx86) and hit the install button. Now be patient :-)

Now depending on what DVD you used, you will need to download the
right update from apple.com. I downloaded the 10.4.8 Intel update since I used
10.4.7 retail DVD.

Open MacOSXUpd10.4.8Intel.pkg with Pacifist and install to Other disk…

N.B.: Before installing the update, you may need to free some space on the pendrive.
Just delete the asiatic font files in /System/Library/Fonts (= 100 MB bonus).

Add missing files



Since we installed with Pacifist, some of the files are missing. We need to copy them.
Get them from a full 10.4.8 working install. Those files are:

/System/Library/CoreServices/SetupAssistant
/Applications/Safari.app
/Applications/Address Book.app
/Library/Receipts/BaseSystem.pkg
/Library/Receipts/Essentials.pkg


Copy OSx86 specific files



You need to replace the following files:

/mach_kernel by semthex SSE3 or SSE2 kernel
/System/Library/Extensions/AppleACPIPlateform.kext
/System/Library/Extensions/AppleSMBIOS.kext

Optional:

/System/Library/Extensions/IONetworkingFamily.kext
/System/Library/Extensions/AppleIntelIntegratedFrameBuffer.kext
(GMA950)

Add this for PS2 keyboard/mouse:

/System/Library/Extensions/ApplePS2Controller.kext

Put all your custom kext you use on your working install.

Do not forget to chmod -R 755 and chown -R root:wheel all files you copy.

Make the pendrive bootable



Be sure that you have bless version 24.0 from 10.4.4.
Any other version of bless won’t work.
Run bless -version in Terminal to check version.

sudo bless

Share this post!

http://www.macgeekblog.com/wp-content/plugins/sociofluid/images/digg_48.png http://www.macgeekblog.com/wp-content/plugins/sociofluid/images/reddit_48.png http://www.macgeekblog.com/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://www.macgeekblog.com/wp-content/plugins/sociofluid/images/delicious_48.png http://www.macgeekblog.com/wp-content/plugins/sociofluid/images/technorati_48.png http://www.macgeekblog.com/wp-content/plugins/sociofluid/images/magnolia_48.png http://www.macgeekblog.com/wp-content/plugins/sociofluid/images/google_48.png http://www.macgeekblog.com/wp-content/plugins/sociofluid/images/facebook_48.png http://www.macgeekblog.com/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://www.macgeekblog.com/wp-content/plugins/sociofluid/images/twitter_48.png

Advertise!


Earn money - Accomplish a freelance project


Freelance Jobs

Related Posts

Categories: Tutorials Tags:
  1. david
    December 8th, 2006 at 19:06 | #1

    check this out

  2. Greg Colker
    December 8th, 2006 at 20:42 | #2

    Would it be possible to create a partition on an external hard drive… say an iPod and boot from that???

  3. Charles
    December 8th, 2006 at 23:11 | #3

    Can someone upload the files (preferably zipped) for those of us that don’t have a Mac to be able to copy to our pendrives, please? Thanks.

  4. kevin
    December 9th, 2006 at 00:58 | #4

    I’ve had an ipod that booted OSX independently for years, thats trivial.

  5. esnetsc
    December 9th, 2006 at 01:30 | #5

    That what I did with a ipod and 10.5 Leapord.

    http://youtube.com/watch?v=QNEremY6DEM

  6. Antonio Pratas
    December 9th, 2006 at 04:26 | #6

    Yes, if it was possible for someone to upload the files, I would be most thankfull. Btw, for those of us that don’t own a 2GB pen, can’t the same files be placed in a dvd? I believe that it’s the same loading procedure so that should be no problem, and it would create the possibility to have a live cd of Mac OS.

  7. allan
    December 9th, 2006 at 07:46 | #7

    can someone point me to the kexts required? Thanks.

  8. December 9th, 2006 at 17:01 | #8

    So Bless version 46.1 won’t work?

    If so, where can I get Bless 24.0?

  9. hayroob
    December 9th, 2006 at 20:02 | #9

    i got it out of my 10.4.5 disc. It’s wee so i could email it.

  10. J.J.
    December 9th, 2006 at 21:37 | #10

    I got most of this done…but how do you get the mach_kernel on the drive? Can you offer complete Terminal commands for the rest of this? Some of the directions assume Unix knowledge, while others run step by step. Please help!

  11. December 10th, 2006 at 12:13 | #11

    @ J.J: Assuming the mach_kernel file is on your desktop.
    Open Terminal and type:

    cd Desktop
    sudo -s
    cp -r mach_kernel /Volumes/osx86/mach_kernel
    chmod -R 755 /Volumes/osx86/mach_kernel
    chown -R root:wheel /Volumes/osx86/mach_kernel

  12. J.J.
    December 11th, 2006 at 03:10 | #12

    skr3dii, thanks a lot. Ever since I posted this, I was reading up on Unix and Darwin and how to use it effectively…I will try that when I get home on the Mac. I figured out how to copy, but I couldnt figure out where the pendrive was located, I was ‘cd ..’ a lot and the ‘ld’ a lot to see if I could find where the drive was…so now that you
    showed its in Volumes…that helps a lot. Slowly but surely, I will understand Unix.

  13. J.J.
    December 11th, 2006 at 17:04 | #13

    So, how does one change the boot options in BIOS?

  14. Antonio Pratas
    December 11th, 2006 at 20:25 | #14

    I keep my question, would really appreciate if someone could answer it. Is it possible to create a DVD that boots osx like a pen?

  15. December 11th, 2006 at 22:30 | #15

    @ Antonio Pratas: What you want is called a live dvd. It’s really not the same technic as everything is loaded in memory and not is persistent. this is slower and less attractive than the usb pendrive method. But maybe I’ll discuss this later in another post.

  16. Clinton
    December 12th, 2006 at 04:50 | #16

    So, is this only good for USB Pen Drives or could you also use a regular old USB Hard Drive? Of course you could use a regular HD right? Why couldn’t you?

  17. December 12th, 2006 at 08:01 | #17

    @Clinton: The purpose here was to have a working and booting OSX86 install on the smaller device possible. Of course you can install this on a HD, but can you carry your HD in your pocket? Unless it is a pocket HD which is much more expensive than a USB pendrive.

  18. putz3000
    December 12th, 2006 at 19:16 | #18

    even though this is to allow a person to boot osx from any pc / any location (that is bootable by usb), would it be fair to say it must be INTEL based and not AMD based system?

  19. modbin
    December 12th, 2006 at 20:00 | #19

    nice tut :D

    if you want a 10.4.8 live dvd go here:
    http://forum.insanelymac.com/index.php?showtopic=32980

  20. December 12th, 2006 at 22:26 | #20

    @putz3000: you will need to replace/patch some more files to get this running on AMD.
    @modbin: I pm-ed you on insanelymac.com forums :)

  21. Mark
    December 14th, 2006 at 16:01 | #21

    I couldn’t find the kernel extensions mentioned on the osx dvd.

    And when I boot to the USB, it just shows a dash character.

  22. Tony
    December 18th, 2006 at 20:40 | #22

    I’ve got all steps completed up to the section titled “First Boot”. Can you please add additional detail on what to do in this section? Specifically, I don’t know who to specify the boot flags “mach_kernel -v rd=disk1s1″

    Any help would be greatly appreciated.

  23. December 18th, 2006 at 23:59 | #23

    @Tony: You need to plug the USB dongle and boot from a working OSX86 system you installed on your HD. To access the boot options, just press F8 when booting. Good luck!

  24. Priyaa ramalingham
    December 23rd, 2006 at 11:03 | #24

    it is very usefull

  25. xayide
    December 30th, 2006 at 02:44 | #25

    Is there any torrent for the Live DVD?

  26. December 31st, 2006 at 02:34 | #26

    Nice post. I am trying something like this myself. I was able to find a 4 GB thumb drive at Best Buy for around 70 bucks. Might seem a little pricey, but I had a gift card for 50 bucks, so 10 was nothing. :)

    Anyways, I am testing some various installs this week including a thin i386 client. It doesn’t run Rosetta this way, but I am trying to get an emergency boot installer to be as small as possible. 4GB can get eaten up fast with Disk Caches’ etc.

    Cheers,
    Goodtime

  27. December 31st, 2006 at 05:08 | #27

    Got my 4GB Thumb driver running. But after doing just one software update my 1GB that I had free got eaten up right away. Disk cache, Page Ins, etc. I am looking into how the LiveDVD project is going and might use of a LivePenDrive-Hybrid. Have some of tasks that run slow of the Pen Drive like Disk Caching and have those inside a RAM disk. Bridge
    the gap to make the Pen/Thumb Drive experience better and try to reduce the Thumb Drive from filling up for Caching (which you really don’t want a disk cache on the Thumb drive. My experience so far is nothing but slow!)

    gt

  28. kanav
    May 16th, 2008 at 19:03 | #28

    my macbook hdd crashed
    and the damn dvd rom isnt working either
    is there any way i can get my laptop to start working
    i have the original mac os x 10.4 cds
    i have an 80 gb external hard disk
    i have my brothers mac running 10.4 agn
    i have a 4 gb ipod nano
    i have an external dvd writer with casing ( usb )
    plz help me and tell me what i should do to fix the laptop
    it s a 13.3 inch macbook

  29. lord Byron
    July 20th, 2008 at 13:50 | #29

    idiots..

    an iPod is an external harddrive.
    so OF COURSE you can boot from it.

    a flash drive is something entirely different.

    Glory to you!

    btw, I have personal shot, using a Remington 870, 17 iPods.

    I am cleansing the world.

  30. ali asif
    September 6th, 2008 at 08:22 | #30

    hi

  31. punisher
    September 29th, 2008 at 22:05 | #31

    Lord Byron, you are the idiot… an ipod is NOT a gard drive asshole, it just has flash memory, like any flash drive. you really are a complete moron, change your name, you clearly do it no justice since you are an idiot.

  32. kwood129
    October 6th, 2008 at 08:27 | #32

    @punisher. Please tell me you didn’t just say that to Lord Byron. You do realize until last year all regular Ipod’s were hard drive based right? Until the touch they all had a hard drive so I would guess that was what he was talking about. It’s a pretty powerful statement to call someone a moron without even thinking about this.

  33. as myself
    November 26th, 2008 at 20:57 | #33

    @kwood129. I’ve personally replaired ipod nanos, which DO have solid state drives (flash), NOT HARD DRIVES. you do owe punisher an apology. no one said how old the nano was.

  34. oleum
    January 25th, 2009 at 10:48 | #34

    Being picky?
    OK well ALL nanos have flash memory none have ever had hard drives.

  35. rafat
    February 11th, 2009 at 02:05 | #35

    thanks :
    this is very interesting
    is it possible to make tow operating system (mac os + linux ) on one USB flash disk
    if yes .can any body make that. and make an image to use it with deferent usb flash

    thanks alot
    waiting for an answer
    I wish to download it from yhis sit

  36. spartango
    February 14th, 2009 at 22:11 | #36

    FYI: 10.5.x Live DVD is available thanks to LiveDVD team at insanelymac. It works off a pendrive as well, and is fast. The method is on the forum, or you can download the iPC distro from a torrent.

  37. Duco
    May 17th, 2009 at 04:21 | #37

    Hello, How can i install it on a USB stick whit XP or Vista?

  38. rajiv
    June 6th, 2009 at 04:45 | #38

    i installed MAC leopard on my intel PC it is 2.4 core 2 duo, intel 945 motherboard, 120 gb segate HDD. there is only one big problem that it boots only from the MAC dvd only please give me the solution i am very upset only because of this because i promised my Girlfriend that i will install MAC os on her PC. so please solve my problem as soon as possible.

  39. Too Funny
    August 15th, 2009 at 09:33 | #39

    Yeah rajiv, we’re very sorry the Internets didn’t solve your problem as fast as you wished it would be but we are hoping you’re girlfriend still likes you even though we didn’t solve your problem in time.

    Please accept our appologies, however, the best advise we can give is: buy a MAC!

  40. czx
    April 17th, 2010 at 11:11 | #40

    Ever since the [url=http://www.raybansunglassesonsales.com/]sunglasses[/url] became a necessity in summer, [url=http://www.raybansunglassesonsales.com/]ray ban sunglasses[/url] has been in fashion and it’s now essential to sunglasses lovers. Among all its products, the [url=http://www.raybansunglassesonsales.com/ray-ban-3025-sunglasses-45.html]Ray Ban 3025[/url], [url=http://www.raybansunglassesonsales.com/ray-ban-2132-sunglasses-46.html]Ray Ban 2132[/url] , and [url=http://www.raybansunglassesonsales.com/ray-ban-2140-sunglasses-47.html]Ray Ban Wayfarer[/url] are the most popular and beloved ones. [url=http://www.raybansunglassesonsales.com/ray-ban-2143-sunglasses-48.html]cheap sunglasses[/url] including all the aboving collections are provided at our on-line shop.

  41. czx
    April 17th, 2010 at 11:12 | #41

    We provide the best sellers of Police Sunglasses , including such series as Police 5161 ,Police 8827 ,Police 9808 ,Police JD3046 ,Police P366 ,Police Polarizer . They are not only popular but also classic, and they will surely make you charming and handsome.

  42. czx
    April 17th, 2010 at 11:14 | #42

    Ever since the sunglasses became a necessity in summer, ray ban sunglasses has been in fashion and it’s now essential to sunglasses lovers. Among all its products, the Ray Ban 3025, Ray Ban 2132 , and Ray Ban Wayfarer are the most popular and beloved ones. cheap sunglasses including all the aboving collections are provided at our on-line shop.

  1. July 9th, 2008 at 17:46 | #1
  2. December 16th, 2009 at 18:31 | #2
You must be logged in to post a comment.
blog comments powered by Disqus