戻る

frugalware の example

これは

http://frugalware.org/docs/install#_ppc

の ある 部分を 独断と 偏見で 切り取ったものです。

For example:

# dd if=/dev/zero of=/dev/sda bs=1M count=1 # mac-fdisk /dev/sda /dev/sda Command (? for help): i size of 'device' is 1014784 blocks: new size of 'device' is 1014784 blocks 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_Free Extra 1014720 @ 64 (495.5M) Free space Block size=512, Number of Blocks=1014784 DeviceType=0x0, DeviceId=0x0 Command (? for help): C First block: 64 Length (in blocks, kB (k), MB (M) or GB (G)): 1014720 Name of partition: boot Type of partition: Apple_Bootstrap Command (? for help): w Command (? for help): q # cat frugalware-0.9-ppc-usb.img > /dev/sda2

On PPC, to boot from a USB stick, you will need to use the Open Firmware prompt, since Open Firmware does not search USB storage devices by default. To get to the prompt, hold down Command+Option+o+f all together while booting.
You will need to work out where the USB storage device appears in the device tree. Type dev / ls and devalias at the Open Firmware prompt to get a list of all known devices and device aliases.
Example, in case the path is /pci@f2000000/usb@1b:

devalias usb0 /pci@f2000000/usb@1b boot usb0/disk:2,\yaboot

にゃんたろう 拝!

2011年12月 3日 (土) 21:03:33 JST 作成


戻る

Copyright © 2006.-2012. nyantarou All Rights Reserved.