メニュー
はじめに
準備
インストール
手順
インストール
画面
ログイン後
トラブル
カーネル
再構築
トラブル
インデックス
設定
etc...


NubusMac de YellowDogLinux 3.0


インストール手順から起動まで
(MkLinux Booterを使って)


1 Apple_MkLinux_Booter の移動
2 MachKernel-YDL30-030623.gz の解凍
3 lilo.conf を編集
4 pdisk でパーティーションマップを確認
5 再起動
6 インストール作業
7 インストール終了(MacOS で起動)
8 Mach Kernel の入れ替え
9 lilo.conf の編集
10 再起動





「Apple_MkLinux_Booter.sit.hqx」 を Stuffit Expander で解凍

「Apple_MkLinux_Booter.sit.hqx」 を Stuffit Expander で解凍。
解凍されたものはそれぞれ以下に示すように移動する。

MkLinux コントロールパネルフォルダー
MkLinux Booter 機能拡張フォルダー
lilo.conf 初期設定フォルダー
MkLinux.prefs 初期設定フォルダー





MachKernel-YDL30-030623.gz」 を必ず MacGzip で解凍

MachKernel-YDL30-030623.gz は必ずMacGzipで解凍すること。
解凍されたものを、「Mach Kernel」とファイル名を変更。

(*Mach と Kernel の間にスペースが入るので注意)





初期設定フォルダーに入れた「lilo.conf」を編集

コントロールパネルの「MkLinux」を立ち上げると、
以下のような画面が出る。


MkLinux for Power Macintosh

Startup Selection


Mac OS

MkLinuX

「MkLinux」と書かれている文字の横にある「Custom」ボタンを押すと、
SimpleTextによって初期設定の「lilo.conf」が立ち上がる。

もちろん、初期設定フォルダーを開いて、直接「lilo.conf」を
ダブルクリックしても良い。

現在は下記のようになってるのではないだろうか?

# 'rootdev' defines the location of the root device.
#
rootdev=/dev/sdb5

# 'mach_options' defines all other Linux command line options
#mach_options= video=ariel2fb


これを下記のように書き換える。(赤字が書き換える部分)


PowerBook1400 (PowerBook5300)の場合


# 'rootdev' defines the location of the root device.
#
rootdev=/dev/ram
mach_options= ramdisk=8192 keyboard_sends_linux_keycodes=1 nousb nofirewire text video=nbpmacfb

# 'mach_options' defines all other Linux command line options
#mach_options= video=ariel2fb
*注 mach_options= は最後の赤文字まで1行で書くこと



Performa6210 (Performa 52xx,62xx,63xx)の場合


# 'rootdev' defines the location of the root device.
#
rootdev=/dev/ram
mach_options= ramdisk=8192 keyboard_sends_linux_keycodes=1 nousb nofirewire text video=valkyriefb:vmode:6,cmode:8

# 'mach_options' defines all other Linux command line options
#mach_options= video=ariel2fb
*注 mach_options= は最後の赤文字まで1行で書くこと



PowerMac系 (PowerMac 6100,7100,8100)の場合


内臓マザーボードビデオ

# 'rootdev' defines the location of the root device.
#
rootdev=/dev/ram
mach_options= ramdisk=8192 keyboard_sends_linux_keycodes=1 nousb nofirewire text video=ariel2fb:vmode:6,cmode:8

# 'mach_options' defines all other Linux command line options
#mach_options= video=ariel2fb
*注 mach_options= は最後の赤文字まで1行で書くこと


AVカードやNubusカードの場合

PowerBook1400と同じ設定

もうお分かりだと思うが、各機種での設定の違いは「mach_options」のvideo設定である。
詳しいことはLinux/PPC for Nubus PowerMacsで情報を得ることができる。

ネットワークインストールする場合は、ramdisk=8192 を
ramdisk=16384 にする。





pdisk でパーティーションマップを確認

Linux用パーティーションマップを確認しておく。

pdiskを立ち上げ、「L」(大文字)を入力。
返ってきた値から「sda」などの番号をメモしておく。

言葉だけでなく説明図も用意したので、参考にしてほしい

pdiskの詳しい使い方は、
http://www.remus.dti.ne.jp/~rmina/pc/linux2000g/pdisk.html
が参考になる。





再起動

上記作業が全て済んだら、再起動していよいよインストール作業に入る。

再起動させると、起動途中にMkLinuxコントロールパネルが立ち上がる。
「Boot MacOS」と「Boot MkLinux」のボタンがあるので、
「Boot MkLinux」を押す。






インストール作業

「Welcome」メッセージが出てきたら、インストーラーの指示に従う。

*(「Welcome」メッセージが出ず、画面が真っ暗のままだったり、
  「reboot」メッセージが出て勝手にrebootしてしまう場合は、
  「lilo.conf」の設定が間違っている。もう一度MacOSで確認しよう。)

インストール画面を作成したので参考にしてほしい。
(テキストベースなので、軽く見れるはずだ)

*途中、パーティーション編集項目があるので、どのパーティーションに
 インストールするのかメモっておく。(hda9など)

パッケージのインストールでのトラブル





インストール終了

無事インストールが終了したものとして、話を進める。

勝手に再起動してくれるので、必ず一旦MacOSで立ち上げる。
MkLinuxコントロールパネルが立ち上がった時、「Boot MacOS」を
押せばいいだけだ。

(インストール後、そのままLinuxで立ち上げると、
 またインストール画面が出てしまうので注意)





「Mach Kernel」 の入れ替え

Linux/PPC for Nubus PowerMacsのサイトより
MachKernel-2.4.23-031215.gz(Latest Kernel Binaries のところ)
をダウンロードし、MacGzipで解凍する。

解凍されたものを、「Mach Kernel」とファイル名を変更

先に能拡張に入れてあるインストール時に使った「Mach Kernel」と、
解凍してファイル名を変更した「Mach Kernel」とを入れ替える。





「lilo.conf」の編集

初期設定フォルダーにある「lilo.conf」を編集する。

現在はインストール前に編集した下記のようになっているので、
赤字部分を書き換える。


Performa6210 (Performa 52xx , 62xx , 63xx)の場合


# 'rootdev' defines the location of the root device.
#
rootdev=/dev/ram
mach_options= ramdisk=8192 keyboard_sends_linux_keycodes=1 nousb nofirewire text video=valkyriefb
:vmode:6,cmode:8

# 'mach_options' defines all other Linux command line options
#mach_options= video=ariel2fb



# 'rootdev' defines the location of the root device.
#
rootdev=/dev/sdc9(インストール時にメモったもの)
mach_options= keyboard_sends_linux_keycodes=1 nousb nofirewire text video=valkyriefb:
vmode:10,cmode:10

# 'mach_options' defines all other Linux command line options
#mach_options= video=ariel2fb
*注 mach_options= は最後の赤文字まで1行で書くこと


PowerMac系(6100,7100,8100)やPowerBook1400(5300)の
場合は、「mach_options」の「video」を変える必要はない。

もしデバイスナンバーの「sdc7」などがわからなくなったら、
pdiskを使って調べることができる。
pdiskを立ち上げ、「L」(大文字)を入力し、返ってきた値を調べる。
「Apple_UNIX_SVR2 untitled」と書いてある場所を見つける。
その前に書いてある数字が「sdc9」などの9とかという番号になり、
そのちょっと上を見ると「dev/sda」等と書いてあるところを見つける。
その部分が「sda」等の部分にあたる。

言葉だけでなく説明図も用意したので、参考にしてほしい。





再起動

上記作業が全て済んだら、再起動していよいよLinuxを起動する。

再起動させると、起動途中にMkLinuxコントロールパネルが立ち上がる。
「Boot MacOS」と「Boot MkLinux」のボタンがあるので、
「Boot MkLinux」を押す。


これでまたづらづらと文字が流れ、最後に

root:

と出たら、インストール成功

お疲れ様でした。





次ページでは、インストール時の画面を再現してみた。
英語がものすごく苦手な人には役に立つかもしれない。



Next >>(インストール画面1)



メニュー
はじめに
準備
インストール
手順
インストール
画面
ログイン後
トラブル
カーネル
再構築
トラブル
インデックス
設定
etc...