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

Earn money - Accomplish a freelance project


Freelance Jobs

Earn money from your website

Related Posts

Entertainment

Categories: Tutorials Tags:
  • Too Funny
    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!
  • rajiv
    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.
  • Duco
    Hello, How can i install it on a USB stick whit XP or Vista?
  • spartango
    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.
  • rafat
    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
  • oleum
    Being picky?
    OK well ALL nanos have flash memory none have ever had hard drives.
  • as myself
    @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.
  • kwood129
    @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.
  • punisher
    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.
  • ali asif
    hi
  • lord Byron
    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.
  • kanav
    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
  • 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
  • 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
  • xayide
    Is there any torrent for the Live DVD?
  • Priyaa ramalingham
    it is very usefull
  • @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!
  • Tony
    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.
  • Mark
    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.
  • @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 :)