|
by dodaro カテゴリ
全体
HDDの修復 げんしけん SheepShaver Mac-on-Linux pearPC Yellow Dog Linux 外付けHDDからの起動 新マシンを組む SilentTek エアフローについて デジタルカメラで動画を 英語を身につけたい 未分類 以前の記事
2011年 12月
2007年 11月 2007年 10月 2006年 11月 2006年 10月 2006年 09月 2006年 08月 2006年 06月 2006年 05月 2006年 04月 2006年 03月 2005年 12月 2005年 11月 2005年 10月 2005年 09月 2005年 08月 2005年 07月 2005年 06月 2005年 05月 2005年 04月 2005年 03月 2005年 02月 2005年 01月 2004年 12月 2004年 11月 2004年 10月 2004年 09月 2004年 08月 2004年 07月 お気に入りブログ
最新のコメント
おすすめキーワード(PR)
ファン
|
2007年 11月 06日
残念なのだが、MDDだとうまく動いてくれなかった。ubuntu-7.04-desktop-powerpc.isoも動かない。ちなみに、Mac miniを使ってインストールした。FWの外付けHDもきちんと動く。PB G4(コードネーム忘れた)にFWのHDをつなげれば起動できた。
MDDは、もはや過去の機種ということなのかしら。さびしい。 ちなみに、Mac miniでMOLを使ってMac OS 9で起動できました。めでたし、めでたし。 2007年 11月 06日
しばらく前から試していたのだが、ようやく成功した。結論から言うと、それほど難しくない。普通に操作すれば、インストーラーでFWのHDにいれるのは十分に可能だが、yabootを入れるところでこける。こけて終了させてから、いくつかのことをすればよい。手順は以下になる。
1. ubuntu-7.04-desktop-powerpc.isoでインストール 2. ubuntu-7.04-desktop-powerpc.isoで再起動 3. FWのパスを確認 ubuntu@ubuntu:~$ cd /proc ubuntu@ubuntu:/proc$ sudo find * | grep firewire | grep disk 11月3日の記事がそのときのもの。 4. yaboot.confの書き換え 11月3日の記事がそのときのもの。 5. chrootする。11月3日の記事がそのときのもの。なお、エラーがでたので、mkofbootした。 6. ybin -v 7. 再起動 以前に、Ubuntu 5.04 for PPCを入れたときのように、あちこち書き直す必要はなかった(もしかすると、5.04も簡単にいれられたのかもしれないが)。 じつはてこずったのは、HDのパーテーションをわけるところ。なぜか不明だが、Mac OS X 10.4のディスクユーティリティでパーテーションを切ったHDだと、Apple_Bootstrapが動作しなかった。そこで、10.3のを使ったところ、成功した。やれやれ。 2007年 11月 03日
ubuntu@ubuntu:~$ sudo su
root@ubuntu:/home/ubuntu# mkdir /target root@ubuntu:/home/ubuntu# mount /dev/sda11 /target root@ubuntu:/home/ubuntu# mount -t proc proc /target/proc root@ubuntu:/home/ubuntu# chroot /target root@ubuntu:/# ybin -v ybin: Finding OpenFirmware device path to `/dev/hda3'... hmount: /dev/sda9: not a Macintosh HFS volume (Invalid argument) ybin: /dev/sda9 appears to have never had a bootstrap installed, please run mkofboot root@ubuntu:/# ybin hmount: /dev/sda9: not a Macintosh HFS volume (Invalid argument) ybin: /dev/sda9 appears to have never had a bootstrap installed, please run mkofboot root@ubuntu:/# mkofboot mkofboot: Create hfs filesystem on /dev/sda9? [y/N] y root@ubuntu:/# ybin -v ybin: Finding OpenFirmware device path to `/dev/hda3'... ybin: Installing first stage bootstrap /usr/lib/yaboot/ofboot onto /dev/sda9... ybin: Installing primary bootstrap /usr/lib/yaboot/yaboot onto /dev/sda9... ybin: Installing /etc/yaboot.conf onto /dev/sda9... ybin: Setting attributes on ofboot... ybin: Setting attributes on yaboot... ybin: Setting attributes on yaboot.conf... ybin: Blessing /dev/sda9 with Holy Penguin Pee... ybin: Updating OpenFirmware boot-device variable in nvram... root@ubuntu:/# 2007年 11月 03日
## yaboot.conf generated by the Ubuntu installer
## ## run: "man yaboot.conf" for details. Do not make changes until you have!! ## see also: /usr/share/doc/yaboot/examples for example configurations. ## ## For a dual-boot menu, add one or more of: ## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ boot=/dev/sda9 ofboot=/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0:9 device=/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0: partition=11 root=/dev/sda11 timeout=100 install=/usr/lib/yaboot/yaboot magicboot=/usr/lib/yaboot/ofboot enablecdboot macosx=/dev/hda3 image=/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0:11,/boot/vmlinux label=Linux read-only initrd=/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0:11,/boot/initrd.img append="quiet splash" image=/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0:11,/boot/vmlinux.old label=old read-only initrd=/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0:11,/boot/initrd.img.old append="quiet splash" 2007年 11月 03日
## yaboot.conf generated by the Ubuntu installer
## ## run: "man yaboot.conf" for details. Do not make changes until you have!! ## see also: /usr/share/doc/yaboot/examples for example configurations. ## ## For a dual-boot menu, add one or more of: ## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ boot=/dev/sda9 partition=11 root=/dev/sda11 timeout=100 install=/usr/lib/yaboot/yaboot magicboot=/usr/lib/yaboot/ofboot enablecdboot macosx=/dev/hda3 image=/boot/vmlinux label=Linux read-only initrd=/boot/initrd.img append="quiet splash" image=/boot/vmlinux.old label=old read-only initrd=/boot/initrd.img.old append="quiet splash" 2007年 11月 03日
ubuntu@ubuntu:~$ fdisk /dev/sda
/dev/sda Command (? for help): p /dev/sda # type name length base ( size ) system /dev/sda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map /dev/sda2 Apple_Driver43 Macintosh 56 @ 64 ( 28.0k) Driver 4.3 /dev/sda3 Apple_Driver43 Macintosh 56 @ 120 ( 28.0k) Driver 4.3 /dev/sda4 Apple_Driver_ATA Macintosh 56 @ 176 ( 28.0k) Unknown /dev/sda5 Apple_Driver_ATA Macintosh 56 @ 232 ( 28.0k) Unknown /dev/sda6 Apple_FWDriver Macintosh 512 @ 288 (256.0k) Unknown /dev/sda7 Apple_Driver_IOKit Macintosh 512 @ 800 (256.0k) Unknown /dev/sda8 Apple_Patches Patch Partition 512 @ 1312 (256.0k) Unknown /dev/sda9 Apple_Bootstrap untitled 19532 @ 581952672 ( 9.5M) NewWorld bootblock /dev/sda10 Apple_HFS Apple_HFS_Untitled_2 167510016 @ 263968 ( 79.9G) HFS /dev/sda11 Apple_UNIX_SVR2 untitled 39062501 @ 581972204 ( 18.6G) Linux native /dev/sda12 Apple_HFS Apple_HFS_Untitled_3 413916544 @ 168036128 (197.4G) HFS /dev/sda13 Apple_UNIX_SVR2 swap 4107743 @ 621034705 ( 2.0G) Linux swap /dev/sda14 Apple_Free Extra 262144 @ 1824 (128.0M) Free space /dev/sda15 Apple_Free Extra 262144 @ 167773984 (128.0M) Free space Block size=512, Number of Blocks=625142448 DeviceType=0x0, DeviceId=0x0 Drivers- 1: @ 64 for 23, type=0x1 2: @ 120 for 36, type=0xffff 3: @ 176 for 21, type=0x701 4: @ 232 for 34, type=0xf8ff Command (? for help): q ubuntu@ubuntu:~$ cd /proc ubuntu@ubuntu:/proc$ sudo find * | grep firewire | grep disk device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0 device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/name device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/linux,phandle device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/category device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/unit-model-id device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/hw-version device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/vendor-id device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/guid device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/device_type device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/reg device-tree/firewire-disk-mode device-tree/firewire-disk-mode/name device-tree/firewire-disk-mode/linux,phandle ubuntu@ubuntu:/proc$ 2007年 11月 01日
ubuntu@ubuntu:/$ fdisk -l
/dev/sda # type name length base ( size ) system /dev/sda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map /dev/sda2 Apple_Driver43 Macintosh 56 @ 64 ( 28.0k) Driver 4.3 /dev/sda3 Apple_Driver43 Macintosh 56 @ 120 ( 28.0k) Driver 4.3 /dev/sda4 Apple_Driver_ATA Macintosh 56 @ 176 ( 28.0k) Unknown /dev/sda5 Apple_Driver_ATA Macintosh 56 @ 232 ( 28.0k) Unknown /dev/sda6 Apple_FWDriver Macintosh 512 @ 288 (256.0k) Unknown /dev/sda7 Apple_Driver_IOKit Macintosh 512 @ 800 (256.0k) Unknown /dev/sda8 Apple_Patches Patch Partition 512 @ 1312 (256.0k) Unknown /dev/sda9 Apple_Bootstrap untitled 1954 @ 1824 (977.0k) NewWorld bootblock /dev/sda10 Apple_HFS Apple_HFS_Untitled_1 390156936 @ 69853560 (186.0G) HFS /dev/sda11 Apple_UNIX_SVR2 untitled 60156251 @ 3778 ( 28.7G) Linux native /dev/sda12 Apple_HFS Apple_HFS_Untitled_2 164869792 @ 460272640 ( 78.6G) HFS /dev/sda13 Apple_Bootstrap untitled 1953126 @ 60160029 (953.7M) NewWorld bootblock /dev/sda14 Apple_Free Extra 7740405 @ 62113155 ( 3.7G) Free space /dev/sda15 Apple_Free Extra 262144 @ 460010496 (128.0M) Free space /dev/sda16 Apple_Free Extra 16 @ 625142432 ( 8.0k) Free space Block size=512, Number of Blocks=625142448 DeviceType=0x0, DeviceId=0x0 Drivers- 1: @ 64 for 23, type=0x1 2: @ 120 for 36, type=0xffff 3: @ 176 for 21, type=0x701 4: @ 232 for 34, type=0xf8ff fdisk: can't open file '/dev/hda' (Permission denied) /dev/hdb # type name length base ( size ) system /dev/hdb1 Apple_partition_map Apple 2 @ 1 ( 1.0k) Partition map /dev/hdb2 Apple_HFS Ubuntu 7.04 ppc 1407584 @ 16 (687.3M) HFS Block size=512, Number of Blocks=1407600 DeviceType=0x1, DeviceId=0x1 2007年 11月 01日
## yaboot.conf generated by the Ubuntu installer
## ## run: "man yaboot.conf" for details. Do not make changes until you have!! ## see also: /usr/share/doc/yaboot/examples for example configurations. ## ## For a dual-boot menu, add one or more of: ## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ boot=/dev/sda13 partition=11 root=/dev/sda11 timeout=100 install=/usr/lib/yaboot/yaboot magicboot=/usr/lib/yaboot/ofboot enablecdboot macosx=/dev/hda3 image=/boot/vmlinux label=Linux read-only initrd=/boot/initrd.img append="quiet splash" image=/boot/vmlinux.old label=old read-only initrd=/boot/initrd.img.old append="quiet splash" 2007年 11月 01日
ubuntu@ubuntu:/proc$ sudo find * | grep firewire | grep disk
device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0 device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/name device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/linux,phandle device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/category device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/unit-model-id device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/hw-version device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/vendor-id device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/guid device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/device_type device-tree/pci@f4000000/firewire@e/node@0030e004e04016f2/sbp-2@c000/disk@0/reg device-tree/firewire-disk-mode device-tree/firewire-disk-mode/name device-tree/firewire-disk-mode/linux,phandle ubuntu@ubuntu:/proc$ 2007年 10月 31日
< 前のページ次のページ >
|