Mitsuru Sasanuma's Weblog
ささの豆知識ブログ
アーカイブ
« 11月 2009
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
今日
Click me to subscribe
Search

リンク
 

Today's Page Hits: 104

« StarSuite 9 Beta | メイン | StarSuite 9 Press... »
木曜日 9 04, 2008
MacBook AirでOpenSolaris

MacBook AirにネイティブでOpenSolarisを動かすことができました。内蔵キーボード、オーディオ、ビデオは追加のセットアップをせずに動作します。内蔵WiFiやCompizは追加設定で動作します。(English)

必要なもの

インストール

  1. Mac OS Xのdiskutilコマンドを使ってパーティションをリサイズ
    MacBook Airはたった80GBのHDD(または60GBのSSD)しかないので、パーティションサイズを事前に十分に見積もっておく必要があります。私の場合は20GBをSolarisに、さらに20GBをVistaに割り当てました。Mac OS Xにもっと空き容量を増やしたい場合は、Mac OS X 10.5インストール時に、プリンタドライバ、追加フォント、不要な言語、バンドルアプリケーション(iWeb, GarageBand, iMovieなど)を選択解除すればよいでしょう。

    $ diskutil resizeVolume /dev/disk0s2 34.1G "MS-DOS FAT32" Windows 20G "Journaled HFS+" Solaris 20G
    Started resizing on disk disk0s2 Mac OS X
    Verifying
    Resizing Volume
    Adjusting Partitions
    Formatting new partitions
    Formatting disk0s4 as Mac OS Extended (Journaled) with name Solaris
    Formatting disk0s3 as MS-DOS (FAT32) with name Windows
    [ + 0%..10%..20%..30%..40%..50%..60%..70%..80%..90%..100% ] 
    Finished resizing on disk disk0
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *74.5 Gi    disk0
       1:                        EFI                         200.0 Mi   disk0s1
       2:                  Apple_HFS Mac OS X                34.0 Gi    disk0s2
       3:       Microsoft Basic Data WINDOWS                 20.0 Gi    disk0s3
       4:                  Apple_HFS Solaris                 20.1 Gi    disk0s4
    

  2. GPT (GUID Partition Table)からMBR (Master Boot Record)への変更
    現在のところOpenSolarisはGPTハードディスクから起動することができません。手動でfdiskコマンドを使って変更する必要があります。MBRに変更すると、ディスクユーティリティGUIでパーティションマップを表示することができなくなりますのでご注意下さい。

    $ sudo fdisk -e /dev/disk0
    Password:
    fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory
    Enter 'help' for information
    fdisk: 1> p
    Disk: /dev/disk0	geometry: 9729/255/63 [156301488 sectors]
    Offset: 0	Signature: 0xAA55
             Starting       Ending
     #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
    ------------------------------------------------------------------------
     1: EE 1023 254  63 - 1023 254  63 [         1 -     409639] 
     2: AF 1023 254  63 - 1023 254  63 [    409640 -   71250736] HFS+        
     3: 0B 1023 254  63 - 1023 254  63 [  71922520 -   41943040] Win95 FAT-32
     4: AF 1023 254  63 - 1023 254  63 [ 113865560 -   42173744] HFS+        
    fdisk: 1> setpid 1
             Starting       Ending
     #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
    ------------------------------------------------------------------------
     1: EE 1023 254  63 - 1023 254  63 [         1 -     409639] 
    Partition id ('0' to disable)  [0 - FF]: [EE] (? for help) AF
    fdisk:*1> q
    Writing current MBR to disk.
    Device could not be accessed exclusively.
    A reboot will be needed for changes to take effect. OK? [n] y
    

  3. マルチブートのためにrEFItブートローダをインストール
    rEFIt Version 0.11ではMacBook Airをサポートします。rEFIt.mpkgアイコンをダブルクリックしてrEFItインストーラを起動します。次にターミナルを開いて、enable-always.shスクリプトを実行します。

    $ sudo /efi/refit/enable-always.sh
    Password:
    + sudo bless --folder /efi/refit --file /efi/refit/refit.efi --labelfile /efi/refit/refit.vollabel --setBoot
    
    rEFItは起動画面でOpenSolarisをLinuxアイコンで表示します。このアイコンは新しいアイコンで置き換えることができます。 os_linux.icns os_linux.icns を/efi/refit/icons/ディレクトリにコピーして下さい。

  4. OpenSolaris Live CDを起動してインストール
    起動時にoption(alt)キーを押しっぱなしにしてSuperDriveから起動します。OpenSolarisのインストールは問題なくできると思います。

設定

参照

Posted at 05:45午後 9 04, 2008 by sasanuma in Solaris  |  投稿されたコメント[0]

投稿されたコメント:

コメント
  • HTML文法 不許可