and thirdly

  • Archive
  • RSS
  • Ask me anything

Create a bootable DVD for OS X Lion

So everyone knows you can grab the upgrade for OS X directly from the Mac App Store. But what if you want a copy on your DVD/USB drive that you can easily boot into for a clean install?

It is still entirely possible.

Here’s what you need.

  1. Lion Installer from the Mac App Store
  2. Single Layer 4.7GB DVD
  3. A Mac

Here’s how to do it.

  1. Buy the Lion upgrade from the Mac App Store and wait for it to complete its download. Do not launch it.
  2. Start terminal and enter the following
    cd /Applications/Install\ Mac\ OS\ X\ Lion.app/Contents/SharedSupport
    open InstallESD.dmg
    cd /Volumes/Mac\ OS\ X\ Install\ ESD/
    hdiutil convert BaseSystem.dmg -format UDRW -o ~/Desktop/Lion.dmg
    hdiutil resize -sectors 8636968 ~/Desktop/Lion.dmg
    hdiutil attach ~/Desktop/Lion.dmg
    
  3. Right now you would have 2 disks mounted in Finder, “Mac OS X Install ESD” and “Mac OS X Base System”.
  4. Head into “Mac OS X Base System” and then the “System” directory. Enter the “Installation” directory and deleted the file with an arrow named “Packages”.
  5. Copy the “Packages” directory in the “Mac OS X Install ESD” disk into the same directory where you deleted the “Packages” file previously.
  6. This copy should take a huge amount of time. Its about 2GB in size.
  7. Eject both drives once the copy is done.
  8. Switch back to terminal and enter the following
    hdiutil convert ~/Desktop/Lion.dmg -format UDZO -imagekey zlib-level=9 -o ~/Desktop/Lion\ Install.dmg
    
  9. Wait for it to do its thing. Once its done, “Lion Install.dmg” on your desktop is a disk image you can either burn to a DVD or restore to a USB drive for a way to boot into the Lion install process to get a clean install.
  10. By clean install, it means using the bootable DVD/USB and then running disk utility to format your system to install Lion.

For those interested about the details, here’s what’s going on.

The installer package from Apple actually contains the Packages that you traditionally select as well as the actually OS itself (BaseSystem.dmg). However, due to the nature of its distribution and other really complicated reasons best explained by the people on insanelymac.com, they are separate.

The whole process is basically to grab the OS itself, and squeeze in the packages its supposed to install in order to get a bootable removable disk (BaseSystem.dmg is already bootable).

This makes use of hdiutil to convert BaseSystem.dmg to a writable filesystem and then change its size by resizing it by sectors. The values entered would create a 4.4GB image which is still burnable onto a single layer DVD.

From there on its just copying the Packages into the directory where its symbolically linked.

To wrap it up, use hdiutil to convert the writable image back to a read only disk image with some zlib compression thrown in to reduce the DMG size.

  • 6 months ago
  • Comments
  • Permalink
  • Share
    Tweet

Introducing Tumblr's New API

staff:

Along with a sharp new Engineering Blog and a beautifully organized new Developer Center. Enjoy!

HOMG. Maybe its time to get cracking on stuff.

Source: engineering

  • 7 months ago > engineering
  • 2884
  • Comments
  • Permalink
  • Share
    Tweet
ilovecharts
View Separately

ilovecharts

Source: ilovecharts

  • 7 months ago > ilovecharts
  • 21610
  • Comments
  • Permalink
  • Share
    Tweet
world-shaker:

A list of differences between Facebook and Google+

Yeap. Why I’m wary of this G+ thing.
Pop-upView Separately

world-shaker:

A list of differences between Facebook and Google+

Yeap. Why I’m wary of this G+ thing.

(via ilovecharts)

Source: world-shaker

  • 7 months ago > world-shaker
  • 529
  • Comments
  • Permalink
  • Share
    Tweet
justinrampage:

After a day packed full of universal conquest and domination, the Dalek race enjoys a good movie Sci-Fi flick to wind down. This hilarious Doctor Who themed shirt design is now on sale over at 604Republic for $19.95.
Related Rampages: Gamer’s Closet | Blaster (More)
Procrastinate T-Shirt at 604Republic (Facebook) (Twitter)
Pop-upView Separately

justinrampage:

After a day packed full of universal conquest and domination, the Dalek race enjoys a good movie Sci-Fi flick to wind down. This hilarious Doctor Who themed shirt design is now on sale over at 604Republic for $19.95.

Related Rampages: Gamer’s Closet | Blaster (More)

Procrastinate T-Shirt at 604Republic (Facebook) (Twitter)

Source: 604republic.com

  • 7 months ago > justinrampage
  • 172
  • Comments
  • Permalink
  • Share
    Tweet

Winning the Mobile Platform Race

drbarnard:

I’m not much of a racing fan, so forgive me if the analogy breaks down rather quickly, but it struck me today that Apple’s disciplined approach to building its mobile platform looks somewhat like a well managed racing team. While competitors have been taking risks and cutting corners in an attempt…

Such a good exposition!

Source: drbarnard

  • 7 months ago > drbarnard
  • 9
  • Comments
  • Permalink
  • Share
    Tweet

The Nerd Handbook

Wow. The most accurate guide for dating a technical person ever! A must read for partners (male/female) of technical people.

  • 7 months ago
  • Comments
  • Permalink
  • Share
    Tweet
Vilner Mini Cooper Italian Job Edition is sooooo nice.
Pop-upView Separately

Vilner Mini Cooper Italian Job Edition is sooooo nice.

Source: uncrate.com

  • 8 months ago
  • Comments
  • Permalink
  • Share
    Tweet
At Gumba’s: “Mmmmmmm!!!!”
View Separately

At Gumba’s: “Mmmmmmm!!!!”

  • 8 months ago
  • Comments
  • Permalink
  • Share
    Tweet
We’ve learned that a visit to the Genius Bar can fix more than just computers. It can also restore a customer’s relationship with Apple.
Apple Retail 10th Anniversary Poster: “We’ve learned a lot.”

Source: forums.macrumors.com

  • 8 months ago
  • Comments
  • Permalink
  • Share
    Tweet
Would so love a case of those.
Pop-upView Separately

Would so love a case of those.

Source: fuckyeahdoctorwho

  • 8 months ago > fuckyeahdoctorwho
  • 164
  • Comments
  • Permalink
  • Share
    Tweet
Fuck yeah, Nicky Whelan from Hall Pass.
Pop-upView Separately

Fuck yeah, Nicky Whelan from Hall Pass.

  • 8 months ago
  • Comments
  • Permalink
  • Share
    Tweet
Social media is not “cool.” MAKING MONEY IS COOL. Social media is simply another arrow in the quiver of marketing, and that quiver is designed to GENERATE REVENUE.
Why I Will Never, Ever Hire A “Social Media Expert”

Source: Business Insider

  • 8 months ago
  • Comments
  • Permalink
  • Share
    Tweet

Apple Legal's letter to Lodsys

nikf:

Macworld has the full text of Apple’s response to the Lodsys patent brouhaha.

Now that’s a smack down.

Source: nikf

  • 8 months ago > nikf
  • 3
  • Comments
  • Permalink
  • Share
    Tweet
Want “Doctor-Hoo” - Threadless.com!
Pop-upView Separately

Want “Doctor-Hoo” - Threadless.com!

Source: Threadless

  • 8 months ago
  • 3
  • Comments
  • Permalink
  • Share
    Tweet
← Newer • Older →
Page 3 of 47

About

Avatar
Jeremy writes software that makes lazy people lazier. Other than that, he's a Student, Code Monkey, Visual Interaction Connoisseur, Rugby fan, Socialist, Cocoa brewer. For equally stunning, witty and curt views, follow @echoz. Or you can check his photostream.

Pages

  • Original Long Form
  • WWDC11

Me, Elsewhere

  • @echoz on Twitter
  • Facebook Profile
  • echoz on Vimeo
  • jeremyfoo on Youtube
  • jeremyfoo on Flickr
  • echoz on Gowalla
  • echoz on github

Twitter

loading tweets…

Following

I Dig These Posts

  • Photo via man-time

    Real Men need an easy means of concealing their booze. 40 oz container for cocktails…or, you know, a 40 of OE.

    Photo via man-time
  • Photo via linxspiration
    Photo via linxspiration
  • Photoset via sweethomestyle
    Photoset via sweethomestyle
  • Photo via linxspiration
    Photo via linxspiration
See more →
  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr