Keep on Trippin' by Studio Naked Spirits

The answer is blowin' in the wind

Flower

Maverick (OS10.9)がダウンロード&アップグレードできない

 Yosemiteもいいのですが、対応していないソフトウエアもごろごろあって、それも仕事に必要となるとやっぱりアップデートに尻込みします。さらにいえば、やっぱり業務使用にはバグがある程度出て、主要ソフトウエアが対応したあたりで使い始めたいわけですよ。

 ということで遅ればせながらMavericksにしようかなとおもってAppleSoreにいくと・・・ああ、遅すぎたか・・・既にMavericksは販売中止でした。ただ、過去に電話して事情を説明したら下位バージョンを売ってもらえたことがありました。それで電話をしてみると、Mavericksは販売していないが、Mountain Lionならば売れるとのことで、早速注文しました。まぁ、目的は達成できるので何とかなるでしょう。

 ただ、手元にあるMacbookProはLionで運用しているのですが、考えてみるとインストールDVDとかUSBはついてきていません。これってどうやってクリーンインストールするんだっけ?と不安になっていろいろしらべてみると、どうやらインターネット接続でインストールしたり、ブータブルUSBをつくっておいてインストールするという方法が主流になっているようです。ここのところTimeMachineでほとんど事足りていて、しばらくしていない作業なのですこし不安になってその手順を調べてみました。よくWebpageはなくなるので、引用しながらまとめを作っておこうと思います。

 もっとの初歩的なのは、command+Rで起動する復元ディスクからクリーンインストール

Mavericks をクリーンインストールする方法(Yosemite , Lion , Mountain Lion 共通)
ここでは、「 Mac に Mavericks がインストールされている」ということを前提として、外付けハードディスクやハードディスクの別のパーティションにインストールする手順ですが、この方法は、Yosemite , Lion , Mountain Lion で共通です。
1. Mac をキーボードの「 command キー」と「Rキー」を同時に押して起動、あるいは再起動
これは、 Mac の「復元ディスク」から起動させるコマンドで、下の command キーとRキーを「同時に押したまま起動させる(電源を入れる)」ということです。

2. 復元ディスクからインストールしたいディスクを選んでインストール

USB フラッシュメモリに「復元ディスク」を作成するという方法も

1. アップルのサイトから「復元ディスクアシスタント」をダウンロード

ダウンロードページは、

http://support.apple.com/kb/DL1433?viewlocale=ja_JP
ダウンロードして、任意のフォルダ(アプリケーションなど)に入れます。右側の「ダウンロード」というところをクリックするとダウンロードが始まります。システム条件に「 OS X Lion 」とありますが、Mountain Lion 、 Mavericks と共通です。

デスクトップ上に USB のアイコンが出ると思います。デスクトップ上にアイコンが出ない場合は、 Finfer > 環境設定 を開き、「デスクトップに表示する項目: 外部ディスク」にチェックが入っているかどうか確かめて下さい。

3. ディスクユーティリティを使って、USB メモリを Mac の起動ディスクとして使えるようにフォーマットする

市販の USB をそのまま Mac の起動ディスクに使うことはほぼできません。多分、そのまま上の復元ディスクアシスタントで復元ディスクを作成しようとすると、下の表示となると思います。下のは私が出したものです。

ハードディスクと同じで、 Mac 用にフォーマット( Mac の起動ディスクとして使える状態に)しなければなりません。

アプリケーション > ユーティリティに、「ディスクユーティリティ」というアプリケーションがあります。これは、Mac のトラブルの際にも使いますし、ハードディスクのフォーマット作業全般に使います。下の記事をご参考下さい。

これで、 USB メモリを「Mac で起動できるディスク仕様」に変更します。ディスクユーティリティを開くと、左のカラムの一番上に現在使っている Mac のハードディスクが表示されます。その下に外部ディスクが表示されます。そこから、USB メモリを選びます。よくわからない場合、他の外部ハードディスクなどを外して、USB メモリだけを刺した状態にすれば、それだけが Mac のハードディスク下に表示されます。

そして、右側に「フォーマット」と書かれてあるところがあります。今回使った USB メモリでは上のように「 MS-DOS (FAT) 」とありましたが、これは、 Winodows での起動ディスク仕様です。なので、ここを Mac 用に変更します。タブから、「 Mac OS 拡張 (ジャーナリング)」を選びます。

4. アプリケーション「復元ディスクアシスタント」を起動する

復元ディスクアシスタントを起動すると、下のように、復元ディスクにできるアイコンが出ますので、さきほどの USB メモリを選んでクリックします。

5. 起動ディスクとして認識されているかどうかを確認する

上の作業が終えて、「成功」の表示が出た後、USB メモリを Mac に刺し、 Option キーを押したまま Mac を再起動します。

LionがプリインストールなMacでもリカバリ用のDVDを作りたい件

後はこれもたぶん重要な情報です。

Mountain Lionのリカバリディスクの作成方法もありました。

Mountain Lionプリインストール機でインストール用USBメモリを作成する方法と、基本的な作成方法2つ

10.8 Mountain Lion や 10.7 Lion でインストール用USBメモリを作るには2つのやり方があります。必要なデータを全てコピーする4GB以上を必要とする方法と、リカバリHD(復旧 10.8)をコピーする、2GBほどで作成できる方法です。この2通りのやり方と、Lion や Mountain Lion プリインストール機で、全てコピーして作成する場合に必要な手順をまとめてみました。

万が一に備えてインストールメディアを手元に置いておきたいという方の参考になればと思います。

USBインストーラーを作成する方法の目次

・プリインストール機でUSBインストーラーを作成する下準備
・USBインストーラーを作成する方法
・リカバリUSBを作成する方法
この記事では…

必要なデータを全てコピーしたものを「USBインストーラー」
リカバリHDをコピーしたものを「リカバリUSB」
という名称で説明していきます。ややこしいので。
プリインストール機でUSBインストーラーを作成する下準備

USBインストーラーを作成するには、インストール.app の中にある「InstallESD.dmg」というインストールイメージが必要です。プリインストール機などでインストール.appが入手できない場合は、リカバリHDの中にあるインストーラーを使うことで作成できます。

最初に、以下を実行して不過視ファイルの表示と、ディスクユーティリティのデバックモードを有効にしときます。

# 不過視ファイルの表示
$ defaults write com.apple.finder AppleShowAllFiles ON
$ killall Finder

# ディスクユーティリティのデバッグモードを有効にする
$ defaults write com.apple.DiskUtility DUDebugMenuEnabled -bool true

これらはOnyXでも設定できます。「各種設定」「Finder」「詳細設定」より「不過視ファイル/フォルダを表示」にチェック。

同じく「各種設定」「その他」「ディスクユーティリティ」より「デバッグメニューを表示」にチェックします。

設定したらディスクユーティリティを起動し、内蔵、外付け、どちらでも構わないので、20GBほどのボリュームを作成します。

ここに InstallESD.dmg がダウンロードされます。用が済んだら後で消します。作成したら、メニューバーの「デバッグ」より「すべてのパーティションを表示」をクリックします。すると、普段は非表示になっているボリュームが表示されるので、リカバリHDをマウントし…開きます。

リカバリHDを開いたら、「com.apple.recovery.boot」フォルダの中にある不過視ファイル「BaseSystem.dmg」を開きます。開くと、中にインストール.appがあるので起動します。

起動したら「すべてのディスクを表示…」を選びます。先ほど作成した20GBのボリュームを選択します。

ここでApple IDとパスワードを求めてきたら、OSの購入に使用したIDを入れます。プリインストール機の場合は、たぶん購入した機種を登録するのに使用したApple IDになると思います。
次に、管理者パスワードを入れ…ダウンロードを開始します。ダウンロードが完了したら、再起動せずにこのままウィンドウを開いておきます。インストーラーを放置した状態で最初に作成したボリュームを開くと、「OS X Install Data」というフォルダの中に「InstallESD.dmg」があるのでコピーします。
インストーラーを終了すると InstallESD.dmg がフォルダごと消されてしまいます。コピーが完了するまでインストーラーは開きっぱなしにしておいてください。コピーが完了したらインストーラーを終了します。

用が済んだら設定を元に戻します。

# 不過視ファイル
$ defaults delete com.apple.finder AppleShowAllFiles
$ killall Finder

# ディスクユーティリティのデバッグモード
$ defaults delete com.apple.DiskUtility DUDebugMenuEnabled
最初に作成した20GBのボリュームも必要ないので、削除して下準備は終了です。

・USBインストーラーを作成する方法

コピーするインストールイメージのサイズが、Lion、Mountain Lion 共に 4GBを超えているので、最低でも8GBのUSBメモリが必要になります。

最初に、InstallESD.dmg をダブルクリックしてマウントします。インストール.appがある場合は、右クリック 「パッケージの内容を表示」を選び…

「Contents」「SharedSupport」と進むとあります。

マウントしたらディスクユーティリティを起動し、USBメモリなどにインストーラーとして使うボリュームを作成します。パーティションマップ方式を「GUID パーティションテーブル」に。

フォーマットを「Mac OS 拡張(ジャーナリング)」にし、サイズは5GBくらいで作成します。

Mac OS 拡張で5GB

USBメモリの準備が済んだら、マウントしておいた InstallESD.dmg を選び「復元」タブを選択します。
「復元先」に、先ほど作成した5GBのボリュームをドラッグし、右下の「復元」をクリックします。最終確認のダイアログが表示されるので、問題なければ「消去」をクリックして作成します。環境によって違うかもしれませんが、10〜20分くらいで作成されます。

私の環境ではエラーが出て使えませんが、これらの作業を簡単に行えるLion DiskMakerというアプリもあります。このアプリを使う際には、ダイアログに表示される文章をよく読んで実行してください。適当にクリックしてると、取り返しのつかないことになるかもしれません。

How to make a bootable install drive for Macs that shipped with Mavericks

The solution for newer Macs

When you use OS X Internet Recovery to reinstall Mavericks, your Mac contacts Apple’s servers, identifies itself, and requests the appropriate Mavericks-installer data. Apple’s servers verify the Mac model and then, assuming it’s a Mac compatible with OS X Internet Recovery, provide the roughly 5GB of installer data for download. Once that data has been downloaded, OS X Recovery restarts your Mac, immediately installs the OS, and then deletes the installer data.

The trick you need to perform is to interrupt that process—safely—so that you can grab the installer data and keep it. Here are the steps to take:

  1. Boot into recovery mode by holding down Command+R at startup; you’ll eventually see an OS X Utilities window.
  2. Connect a drive—a hard drive, a thumb drive, or the like—with at least 12GB of free space. (The drive must be formatted as Mac OS Extended [Journaled], and must have a GUID Partition Table. Follow these instructions to properly format the drive, if necessary.)
  3. In the OS X Utilities window, select Reinstall OS X and then click Continue
  4. On the OS X Mavericks screen, click Continue. You’ll see the message, “To download and restore OS X, your computer’s eligibility will be verified with Apple.” Click Continue, then click Agree (twice) on the next screen to agree to the license agreement.
  5. Select the drive onto which you want to “install” Mavericks. The important thing here is to select your external drive, not your Mac’s drive.
  6. Click Install to begin the download. Depending on your Internet connection, the download can take anywhere from under an hour to several hours (or even, if you’re unfortunate enough to be on a very slow connection, considerably longer).
  7. IMPORTANT: Monitor the download’s progress. As the progress bar gets near the end, get ready, because once the status reads About 0 seconds remaining, the progress bar will disappear, the screen will turn gray, the installer will spend a minute or two cleaning up, and then your Mac will restart. As soon as the screen goes black—meaning the Mac is restarting—unplug your external drive. If you wait too long, your Mac will boot into the OS X installer on the external drive, starting the installation process. Interrupting that process can leave your Mac unable to install OS X unless you restart it and zap PRAM.
  8. Once your Mac has booted from its normal startup volume, reconnect the external drive. Alternatively, you can connect the drive to another Mac and proceed with the remaining steps using that Mac.
  9. Open the external drive, and you’ll find a folder called OS X Install Data. Open this folder to view its contents. The important file is the one calledInstallESD.dmg, roughly 5.3GB in size. (If the OS X Install Data folder has a “no access” icon, select the external drive in the Finder, choose File > Get Info, and expand the Sharing & Permissions folder in the Info window. Click the padlock icon at the bottom of the window, provide an admin-level username and password, and then click the box next to Ignore Ownership On This Volume.)
  10. If you plan to use the same hard drive for your bootable installer drive that you used to download the installer, you’ll need to copy the InstallESD.dmg disk image to your Mac’s internal drive, or another drive, before proceeding. Use that copy of InstallESD.dmg in the next set of instructions, below.

Now you’ve got the latest Mavericks-installer data, and you’re ready to use that data to create a bootable installer drive or disc. Here are the steps required:

  1. Using Disk Utility’s Restore screen to create a bootable flash drive or hard drive.
    Double-click the InstallESD.dmg disk image (in /OS X Install Data on your external drive) to mount its volume. That volume will appear in the Finder as OS X Install ESD.
  2. The file you want to get to is actually another disk image inside OS X Install ESD called BaseSystem.dmg. Unfortunately, BaseSystem.dmg is invisible, and because this is a read-only volume, you can’t make BaseSystem.dmg visible. Instead, you’ll mount it using Terminal, which makes it visible in Disk Utility. Open the Terminal app (in /Application/Utilities), and then typeopen /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg and press Return.
  3. Launch Disk Utility (in /Applications/Utilities). You’ll see both InstallESD.dmg (with its mounted volume, OS X Install ESD, below it) and BaseSystem.dmg (with its mounted volume, OS X Base System, below it) in the volumes list on the left.
  4. Select BaseSystem.dmg (not OS X Base System) in Disk Utility’s sidebar, and then click the Restore button in the main part of the window.
  5. Drag the BaseSystem.dmg icon into the Source field on the right (if it isn’t already there).
  6. Connect to your Mac the properly formatted hard drive or flash drive you want to use for your bootable Mavericks installer.
  7. In Disk Utility, find this destination drive in the left sidebar. You may see a couple partitions under the drive: one named EFI and another with the name you see for the drive in the Finder. Drag the latter—the one with the drive name—into the Destination field on the right. (If the destination drive has additional partitions, just drag the partition you want to use as your bootable installer volume.)
  8. Warning: This step will erase the destination drive or partition, so make sure it doesn’t contain any valuable data. Click Restore, and then click Erase in the dialog box that appears; if prompted, enter an admin-level username and password.
  9. Wait for the restore procedure to finish, which should take five to ten minutes.
  10. In Disk Utility, select BaseSystem.dmg (not OS X Base System) on the left, and then click the Eject button in the toolbar. This action unmounts the disk image named OS X Base System. (If you don’t do this, you have two mounted volumes named OS X Base System—the mounted disk image and your destination drive—which makes the next step more confusing.)
  11. Open the destination drive—the one you’re using for your bootable install drive, which has been renamed OS X Base System. Inside that drive, open the System folder, and then open the Installation folder. You’ll see an alias called Packages. Delete that alias by dragging it to the Trash.
  12. Open the mounted OS X Install ESD volume, and you’ll see only a folder called Packages. Drag that folder into the Installation folder on your destination drive. (You’re basically replacing the deleted Packages alias with this Packages folder.) The folder is about 4.8GB in size, so the copy will take a bit of time, especially if you’re copying to a slow thumb drive.
  13. Eject the OS X Install ESD volume.
  14. If you like, you can rename your bootable installer drive from OS X Base System to something more descriptive, such as Mavericks Installer.

Though you created your bootable installer drive from a particular Mac, you can boot almost any Mavericks-compatible model from this drive and install Mavericks. You can also use any of the Mavericks installer’s recovery and restore features from the installer’s Utilities menu. I say “almost” because when Apple releases even newer Mac models, those models will come pre-installed with a newer version of Mavericks, so the installer drive you just created won’t immediately work with them. Until Apple updates the downloadable Mavericks installer to again be universal—something the company does silently, so you never know when it happens—you’ll need to create a new Mavericks installer drive using one of those Macs.

 

 

 

 

 

Comments are closed.