ppcrcd/trunk/doc/README.usb_boot
sparky
cvs at pld-linux.org
Sun Mar 5 01:09:22 CET 2006
Author: sparky
Date: Sun Mar 5 01:09:20 2006
New Revision: 7093
Added:
ppcrcd/trunk/doc/README.usb_boot
Log:
- short doc for usb-booting
Added: ppcrcd/trunk/doc/README.usb_boot
==============================================================================
--- (empty file)
+++ ppcrcd/trunk/doc/README.usb_boot Sun Mar 5 01:09:20 2006
@@ -0,0 +1,55 @@
+Prepare image on usb-storage:
+ 1. the easiest way:
+ $ dd if=ppcrcd.iso of=/dev/sda
+ but you will not be able to put anything else on such device
+
+ 2. prepare mac-partitions, like this:
+ /dev/sda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map
+ /dev/sda2 Apple_HFS PPCRCD 122880 @ 64 ( 60.0M) HFS
+ /dev/sda3 Apple_UNIX_SVR2 Data 880576 @ 122944 (430.0M) Linux native
+
+ format as HFS
+ $ hformat -l PPCRCD /dev/sda2
+
+ mount destination and copy all files from CD image:
+ $ sudo mount -t hfs /dev/sda2 mnt
+ $ sudo cp -a /path/to/cd/* mnt/
+ $ sudo umount mnt
+
+ set chrp-script atribute:
+ $ hmount /dev/sda2
+ $ hattrib -b :ppc
+ $ hcd ppc
+ $ hattrib -t tbxi -c TBXI bootinfo.txt
+ $ humount
+
+ this way you have rest of disk for use under linux
+
+
+
+Now, how to boot:
+
+1. connect usb-disk and reboot
+
+2. press Command-Option-O-F (Apple-Alt-O-F) to enter open firmware
+
+3. look for usb* aliases:
+ 0 > devalias
+
+4. check for one with usb-disk:
+ 0 > dev usb0 ls
+ ok
+ 0 > dev usb1 ls
+ ff9dc2c0: /disk at 1
+ ok
+ 0 > dev usb2 ls
+ ok
+
+5. boot script:
+ 0 > boot usb1/disk at 1:2,\\:tbxi
+
+ where:
+ "usb1/disk at 1" is device path
+ "2" is partition where PPCRCD files are
+ "\\:tbxi" is chrp-script file
+
More information about the pld-cvs-commit
mailing list