1
<!-- retain these comments for translator revision tracking -->
2
<!-- original version: 27345 -->
5
<!-- <title>USB stick partitioning on &arch-title;</title> -->
6
<title>Partizionamento della penna USB su &arch-title;</title>
10
<!-- Most USB sticks do not come pre-configured in such a way that Open
11
Firmware can boot from them, so you will need to repartition the stick.
12
On Mac systems, run <userinput>mac-fdisk /dev/sda</userinput>,
13
initialise a new partition map using the <userinput>i</userinput>
14
command, and create a new partition of type Apple_Bootstrap using the
15
<userinput>C</userinput> command. (Note that the first "partition" will
16
always be the partition map itself.) Then type -->
18
La maggior parte delle penne USB viene venduta con una configurazione da cui
19
Open Firmware non può avviare la macchina e quindi è necessario ripartizionare
20
la penna. Sui sistemi Mac, usando <userinput>mac-fdisk /dev/sda</userinput>,
21
si deve inizializzare una nuova mappa delle partizioni usando il comando
22
<userinput>i</userinput> e poi creare una nuova partizione di tipo
23
Apple_Bootstrap con il comando <userinput>C</userinput> (notare che la prima
24
partizione è la mappa delle partizioni stessa). Poi eseguire
26
<informalexample><screen>
27
$ hformat /dev/<replaceable>sda2</replaceable>
28
</screen></informalexample>
30
<!-- Take care that you use the correct device name for your USB stick. The
31
<command>hformat</command> command is contained in the
32
<classname>hfsutils</classname> Debian package. -->
34
Fare attenzione a usare il nome di device della penna USB. Il
35
comando <command>hformat</command> è contenuto nel pacchetto Debian
36
<classname>hfsutils</classname>.
40
<!-- In order to start the kernel after booting from the USB stick, we will
41
put a boot loader on the stick. The <command>yaboot</command> boot
42
loader can be installed on an HFS filesystem and can be reconfigured by
43
just editing a text file. Any operating system which supports the HFS
44
file system can be used to make changes to the configuration of the boot
47
Per far partire il kernel dopo aver fatto l'avvio da una penna USB è necessario
48
mettere un bootloader sulla penna. Su un filesystem HFS è possibile installare
49
il bootloader <command>yaboot</command> che può essere riconfigurato con la
50
semplice modifica di un file di testo. Qualsiasi sistema operativo con
51
supporto per il filesystem HFS può essere usato per fare delle modifiche alla
52
configurazione del bootloader.
56
<!-- The normal <command>ybin</command> tool that comes with
57
<command>yaboot</command> does not yet understand USB storage devices,
58
so you will have to install <command>yaboot</command> by hand using the
59
<classname>hfsutils</classname> tools. Type -->
61
La normale versione del programma <command>ybin</command> contiene una
62
versione di <command>yaboot</command> che non riconosce i dispositivi di
63
memorizzazione USB, quindi è necessario installare manualmente
64
<command>yaboot</command> usando le <classname>hfsutils</classname>. Eseguire
66
<informalexample><screen>
68
$ hcopy -r /usr/lib/yaboot/yaboot :
69
$ hattrib -c UNIX -t tbxi :yaboot
72
</screen></informalexample>
74
<!-- Again, take care that you use the correct device name. The partition
75
must not be otherwise mounted during this procedure. This procedure
76
writes the boot loader to the partition, and uses the HFS utilities to
77
mark it in such a way that Open Firmware will boot it. Having done this,
78
the rest of the USB stick may be prepared using the normal Unix
81
Di nuovo fare attenzione a usare il nome corretto del device. La partizione
82
non deve essere montata durante questa procedura dato che scrive il
83
bootloader sulla partizione e usa le utilità per HFS per effettuare le
84
impostazioni necessarie per l'avvio da Open Firmware. Completata questa fase,
85
il resto della preparazione della penna USB può essere completata usando le
90
<!-- Mount the partition (<userinput>mount /dev/sda2 /mnt</userinput>) and
91
copy the following files from the Debian archives to the stick: -->
93
Montare la partizione (<userinput>mount /dev/sda2 /mnt</userinput>) e
94
copiare i seguenti file dall'archivio Debian sulla penna:
99
<!-- <filename>vmlinux</filename> (kernel binary) -->
101
<filename>vmlinuz</filename> (kernel)
106
<!-- <filename>initrd.gz</filename> (initial ramdisk image) -->
108
<filename>initrd.gz</filename> (immagine del ramdisk iniziale)
113
<!-- <filename>yaboot.conf</filename> (yaboot configuration file) -->
115
<filename>yaboot.conf</filename> (file di configurazione di yaboot)
120
<!-- <filename>boot.msg</filename> (optional boot message) -->
122
<filename>boot.msg</filename> (messaggio opzionale di avvio)
127
<!-- Optional kernel modules -->
129
Moduli del kernel opzionali
136
<!-- The <filename>yaboot.conf</filename> configuration file should
137
contain the following lines: -->
139
Il file di configurazione <filename>yaboot.conf</filename> deve contenere
142
<informalexample><screen>
151
initrd-size=10000<phrase condition="sarge">
152
append="devfs=mount,dall --"</phrase>
154
</screen></informalexample>
156
<!-- Please note that the <userinput>initrd-size</userinput> parameter
157
may need to be increased, depending on the image you are booting. -->
159
Notare che potrebbe essere necessario aumentare il valore del parametro
160
<userinput>ramdisk_size</userinput> a seconda dell'immagine che si vuole