Differenze tra le versioni di "PowerPC"
Riga 12: | Riga 12: | ||
=== Prerequisiti === | === Prerequisiti === | ||
* un sistema GNU/Linux con i tool standard di sistema | * un sistema GNU/Linux con i tool standard di sistema | ||
− | * il tool ''mac-fdisk'' | + | * il tool ''mac-fdisk'' (installabile con ''smart install mac-fdisk'') |
* pendrive USB o altro dispositivo di storage della dimensione minima di 1GB | * pendrive USB o altro dispositivo di storage della dimensione minima di 1GB | ||
Versione delle 18:52, 21 ago 2010
L'architettura PowerPC è attualmente supportata in openmamba attraverso un apposito kit di sviluppo (sdk) che può essere scaricato dalla home page del sito principale.
La distribuzione sdk consiste in un archivio contenente un filesystem di root, un kernel comprensivo di initramfs universale, e l'emulatore in modalità utente qemu.
Indice
Installazione ambiente emulato sul PC
Installazione su supporto USB esterno
Questa procedura descrive la preparazione di un dispositivo di storage USB (pendrive, compact flash o altro) da utilizzare per l'avvio del sistema su un computer con processore PowerPC a 32 bit e meccanismo di boot basato su openfirmware. Nella fattispecie la procedura è stata testata su un computer Apple iBook G4.
Prerequisiti
- un sistema GNU/Linux con i tool standard di sistema
- il tool mac-fdisk (installabile con smart install mac-fdisk)
- pendrive USB o altro dispositivo di storage della dimensione minima di 1GB
Partizionamento
Inserisci il dispositivo di storage USB e individua il device corrispondente nel sistema GNU/Linux (es. /dev/sde):
# mac-fdisk /dev/sde /dev/sde Command (? for help):
Crea una nuova tabella delle partizioni di tipo mac:
Command (? for help): i size of 'device' is 4194304 blocks: new size of 'device' is 4194304 blocks Command (? for help): p /dev/sde # type name length base ( size ) system /dev/sde1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map /dev/sde2 Apple_Free Extra 4194240 @ 64 ( 2.0G) Free space Block size=512, Number of Blocks=4194304 DeviceType=0x0, DeviceId=0x0
Crea una partizione di bootstrap:
Command (? for help): b First block: 64 Command (? for help): p /dev/sde # type name length base ( size ) system /dev/sde1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map /dev/sde2 Apple_Bootstrap bootstrap 1600 @ 64 (800.0k) NewWorld bootblock /dev/sde3 Apple_Free Extra 4192640 @ 1664 ( 2.0G) Free space Block size=512, Number of Blocks=4194304 DeviceType=0x0, DeviceId=0x0
Ed una partizione Linux utilizzando lo spazio rimanente:
Command (? for help): c First block: 1664 Length (in blocks, kB (k), MB (M) or GB (G)): 4192640 Name of partition: openmamba Command (? for help): p /dev/sde # type name length base ( size ) system /dev/sde1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map /dev/sde2 Apple_Bootstrap bootstrap 1600 @ 64 (800.0k) NewWorld bootblock /dev/sde3 Apple_UNIX_SVR2 openmamba 4192640 @ 1664 ( 2.0G) Linux native Block size=512, Number of Blocks=4194304 DeviceType=0x0, DeviceId=0x0
Prima di uscire occorre salvare le modifiche:
Command (? for help): w IMPORTANT: You are about to write a changed partition map to disk. For any partition you changed the start or size of, writing out the map causes all data on that partition to be LOST FOREVER. Make sure you have a backup of any data on such partitions you want to keep before answering 'yes' to the question below! Write partition map? [n/y]: y The partition map has been saved successfully! Syncing disks. Partition map written to disk. If any partitions on this disk were still in use by the system (see messages above), you will need to reboot in order to utilize the new partition map. Command (? for help): q