From 1ea73eea5ecc6a8ed901316049259aee737ee554 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 7 Oct 2005 19:51:38 +0000 Subject: move manual to top-level directory, split out of debian-installer package --- ca/install-methods/automatic-install.xml | 116 +++++++++ ca/install-methods/boot-drive-files.xml | 176 +++++++++++++ ca/install-methods/boot-usb-files.xml | 127 +++++++++ ca/install-methods/create-floppy.xml | 108 ++++++++ ca/install-methods/download/alpha.xml | 36 +++ ca/install-methods/download/arm.xml | 37 +++ ca/install-methods/download/m68k.xml | 23 ++ ca/install-methods/download/powerpc.xml | 28 ++ ca/install-methods/downloading-files.xml | 38 +++ ca/install-methods/floppy/i386.xml | 35 +++ ca/install-methods/floppy/m68k.xml | 28 ++ ca/install-methods/floppy/powerpc.xml | 122 +++++++++ ca/install-methods/install-methods.xml | 16 ++ ca/install-methods/install-tftp.xml | 430 +++++++++++++++++++++++++++++++ ca/install-methods/ipl-tape.xml | 23 ++ ca/install-methods/official-cdrom.xml | 69 +++++ ca/install-methods/tftp/bootp.xml | 72 ++++++ ca/install-methods/tftp/dhcp.xml | 97 +++++++ ca/install-methods/tftp/rarp.xml | 64 +++++ ca/install-methods/usb-setup/i386.xml | 101 ++++++++ ca/install-methods/usb-setup/powerpc.xml | 111 ++++++++ 21 files changed, 1857 insertions(+) create mode 100644 ca/install-methods/automatic-install.xml create mode 100644 ca/install-methods/boot-drive-files.xml create mode 100644 ca/install-methods/boot-usb-files.xml create mode 100644 ca/install-methods/create-floppy.xml create mode 100644 ca/install-methods/download/alpha.xml create mode 100644 ca/install-methods/download/arm.xml create mode 100644 ca/install-methods/download/m68k.xml create mode 100644 ca/install-methods/download/powerpc.xml create mode 100644 ca/install-methods/downloading-files.xml create mode 100644 ca/install-methods/floppy/i386.xml create mode 100644 ca/install-methods/floppy/m68k.xml create mode 100644 ca/install-methods/floppy/powerpc.xml create mode 100644 ca/install-methods/install-methods.xml create mode 100644 ca/install-methods/install-tftp.xml create mode 100644 ca/install-methods/ipl-tape.xml create mode 100644 ca/install-methods/official-cdrom.xml create mode 100644 ca/install-methods/tftp/bootp.xml create mode 100644 ca/install-methods/tftp/dhcp.xml create mode 100644 ca/install-methods/tftp/rarp.xml create mode 100644 ca/install-methods/usb-setup/i386.xml create mode 100644 ca/install-methods/usb-setup/powerpc.xml (limited to 'ca/install-methods') diff --git a/ca/install-methods/automatic-install.xml b/ca/install-methods/automatic-install.xml new file mode 100644 index 000000000..9b258fa47 --- /dev/null +++ b/ca/install-methods/automatic-install.xml @@ -0,0 +1,116 @@ + + + + + Instal·lació automàtica + + +Si heu d'instal·lar a molts ordinadors, és possible fer instal·lacions +completament automatitzades. Els paquets dels que es disposa a Debian +per fer-ho són: +fai (que utilitza un servidor d'instal·lació), +replicator, +systemimager, +autoinstall, i el mateix instal·lador de Debian. + + + + + Instal·lació automàtica utilitzant l'instal·lador de Debian + + +L'instal·lador de Debian suporta l'automatització de la instal·lació +utilitzant fitxers de preconfiguració. Es pot carregar un fitxer de +preconfiguració des de la xarxa o des d'un mitjà extraïble, i el que +fa és emplenar amb respostes totes les preguntes fetes al procés +d'instal·lació. + + + +Malgrat que els diàlegs utilitzats pel &d-i; es poden precarregar +utilitzant aquest mètode, hi ha algunes excepcions. Podeu (re)particionar +un disc complet o utilitzar l'espai buit a un disc, però no és possible +utilitzar les particions que ja teniu. En aquest moment no podeu +precarregar les opcions de configuració de RAID i LVM. +A més a més, amb l'excepció dels mòduls dels +controladors de xarxa, no és possible preconfigurar els paràmetres dels +mòduls del nucli. + + + + +El fitxer de preconfiguració està en el format que utilitza l'ordre +«debconf-set-selections». Podeu trobar un exemple ben documentat i funcional +que podeu editar a . + + + +D'altra banda, una forma d'aconseguir un fitxer amb una llista completa amb +tots els valors que poden ser precarregats, és fer una instal·lació +manual, i aleshores utilitzar debconf-get-selections, +del paquet debconf-utils, per abocar les bases de +dades de debconf i cdebconf que està a /var/log/debian-installer/cdebconf +a un sol fitxer: + + +$ debconf-get-selections --installer > fitxer +$ debconf-get-selections >> fitxer + + +Però un fitxer generat d'aquesta manera, tindrà també alguns valors que no +haurien de ser precarregats, i el fitxer +és un millor punt de partida per la majoria dels usuaris. + + + +Quan estigui preparat el fitxer de preconfiguració, podeu editar-lo si ho +necessiteu, i podeu posar-lo a un servidor web, o copiar-lo a un mitjà +d'instal·lació. A qualsevol lloc que poseu el fitxer, necessitareu passar-li +un paràmetre a l'instal·lador en el moment de l'arrencada per dir-li que +utilitze el fitxer. + + + +Per fer que l'instal·lador utilitze un fitxer de preconfiguració baixant-lo +de la xarxa, afegiu preseed/url=http://url/to/preseed.cfg als paràmetres +d'arrencada del nucli. Per suposat, el fitxer de preconfiguració no tindrà +efecte fins que es configure la xarxa per descarregar el fitxer, així que és +més normal si l'instal·lador pot configurar la xarxa per DHCP sense fer cap +pregunta. Si voleu, podeu configurar la prioritat d'instal·lació a «critical» +per evitar les preguntes fins que la xarxa estigui configurada. Vegeu +. + + + +Per posar el fitxer de preconfiguració a un CD, necessitaríeu remasteritzar +la imatge ISO per incloure el fitxer de preconfiguració. Vegeu els detalls +a la pàgina del manual de mkisofs. De forma alternativa, poseu el fitxer de +preconfiguració a un disquet, i utilitzeu preseed/file=/floppy/preseed.cfg. + + + +Si arrenqueu des d'un llapis de memòria USB, aleshores podeu copiar el fitxer +de preconfiguració al llapis de memòria i editar el fitxer syslinux.cfg per +afegir preseed/file=/hd-media/preseed.cfg als paràmetres d'arrencada del +nucli. + + + + + Utilització de precàrrega per canviar els valors predeterminats + + +És possible utilitzar les precàrregues per canviar les respostes +predeterminades a les preguntes, però tot i així haver-les de respondre. +Per fer-ho, la marca seen ha de posar-se a +false desprès de definir el valor a la plantilla. + + +d-i foo/bar string value +d-i foo/bar seen false + + + + + + diff --git a/ca/install-methods/boot-drive-files.xml b/ca/install-methods/boot-drive-files.xml new file mode 100644 index 000000000..e80cf406a --- /dev/null +++ b/ca/install-methods/boot-drive-files.xml @@ -0,0 +1,176 @@ + + + + + Preparing Files for Hard Disk Booting + + +The installer may be booted using boot files placed on an +existing hard drive partition, either launched from another operating +system or by invoking a boot loader directly from the BIOS. + + + +A full, pure network installation can be achieved using this +technique. This avoids all hassles of removable media, like finding +and burning CD images or struggling with too numerous and +unreliable floppy disks. + + + +The installer cannot boot from files on an NTFS file system. + + + +The installer cannot boot from files on an HFS+ file system. MacOS +System 8.1 and above may use HFS+ file systems; NewWorld PowerMacs all +use HFS+. To determine whether your existing file system is HFS+, +select Get Info for the volume in question. HFS +file systems appear as Mac OS Standard, while +HFS+ file systems say Mac OS Extended. You must +have an HFS partition in order to exchange files between MacOS and +Linux, in particular the installation files you download. + + + +Different programs are used for hard disk installation system booting, +depending on whether the system is a NewWorld or an +OldWorld model. + + + + + Hard disk installer booting using <command>LILO</command> or + <command>GRUB</command> + + +This section explains how to add to or even replace an existing linux +installation using either LILO or +GRUB. + + + +At boot time, both bootloaders support loading in memory not +only the kernel, but also a disk image. This RAM disk can be used as +the root file-system by the kernel. + + + +Copy the following files from the Debian archives to a +convenient location on your hard drive, for instance to +/boot/newinstall/. + + + + +vmlinuz (kernel binary) + + + + +initrd.gz (ramdisk image) + + + + + + +Finally, to configure the bootloader proceed to +. + + + + + + + Hard Disk Installer Booting for OldWorld Macs + + +The boot-floppy-hfs floppy uses +miBoot to launch Linux installation, but +miBoot cannot easily be used for hard disk +booting. BootX, launched from MacOS, +supports booting from files placed on the hard +disk. BootX can also be used to dual-boot +MacOS and Linux after your Debian installation is complete. For the +Performa 6360, it appears that quik cannot make the +hard disk bootable. So BootX is required +on that model. + + + +Download and unstuff the BootX +distribution, available from , +or in the +dists/woody/main/disks-powerpc/current/powermac +directory on Debian http/ftp mirrors and official Debian CDs. Use +Stuffit Expander to extract it from its +archive. Within the package, there is an empty folder called +Linux Kernels. Download +linux.bin and +ramdisk.image.gz from the +disks-powerpc/current/powermac folder, and place +them in the Linux Kernels folder. Then place the +Linux Kernels folder in the active System Folder. + + + + + + Hard Disk Installer Booting for NewWorld Macs + + +NewWorld PowerMacs support booting from a network or an ISO9660 +CD-ROM, as well as loading ELF binaries directly from the hard +disk. These machines will boot Linux directly via +yaboot, which supports loading a kernel and RAMdisk +directly from an ext2 partition, as well as dual-booting with +MacOS. Hard disk booting of the installer is particularly appropriate +for newer machines without floppy drives. BootX is +not supported and must not be used on NewWorld PowerMacs. + + + +Copy (not move) the following four files which +you downloaded earlier from the Debian archives, onto the root level +of your hard drive (this can be accomplished by +option-dragging each file to the hard drive icon). + + + + +vmlinux + + + + +initrd.gz + + + + +yaboot + + + + +yaboot.conf + + + + + + +Make a note of the partition number of the MacOS partition where you +place these files. If you have the MacOS pdisk +program, you can use the L command to check for the partition +number. You will need this partition number for the command you type +at the Open Firmware prompt when you boot the installer. + + + +To boot the installer, proceed to . + + + + diff --git a/ca/install-methods/boot-usb-files.xml b/ca/install-methods/boot-usb-files.xml new file mode 100644 index 000000000..13fdd49a4 --- /dev/null +++ b/ca/install-methods/boot-usb-files.xml @@ -0,0 +1,127 @@ + + + + + Preparant els fitxers per arrencar amb el llapis de memòria USB + + + +Per preparar el llapis USB necessitareu un sistema on el GNU/Linux ja +estiga funcionant i que suporte el USB. Heu d'assegurar-vos que el mòdul +del nucli usb-storage estiga carregat (modprobe +usb-storage) i proveu de trobar a quin dispositiu SCSI s'ha +assignat el llapis USB (a aquest exemple s'ha utilitzat +/dev/sda). Per escriure al vostre llapis, haureu de +desconnectar la protecció d'escriptura. + + + +Adoneu-vos, que el llapis USB ha de tenir una mida mínima de 128 MB (és +possible configurar amb llapis amb menys capacitat si seguiu +). + + + + + Copiant els fitxers — la manera fàcil + + +Hi ha un fitxer complet hd-media/boot.img.gz +que conté tots el fitxers de l'instal·lador (incloent el nucli) així com +SYSLINUX i el seu fitxer de configuració. Tan sols heu +d'extraure'l directament al vostre llapis USB: + + +# zcat boot.img.gz > /dev/sda + + +Per suposat, açò destruirà qualsevol dada que hi hagués al dispositiu, +així que aneu en compte de utilitzar el nom del dispositiu correcte pel +vostre llapis USB. + + + +Hi ha un fitxer complet hd-media/boot.img.gz +que conté tots els fitxers de l'instal·lador (incloent el nucli) així com +yaboot i el seu fitxer de configuració. Creeu una +partició de tipus «Apple_Bootstrap» al vostre llapis USB utilitzant la +comanda C del mac-fdisk i +extraure la imatge directament: + + +# zcat boot.img.gz > /dev/sda2 + + +Per suposat, açò destruirà qualsevol dada que hi hagués al dispositiu, +així que aneu en compte de utilitzar el nom del dispositiu correcte pel +vostre llapis USB. + + + +Desprès d'això, munteu el llapis de memòria USB (mount +/dev/sda +/dev/sda2 +/mnt), que ara tindrà +un sistema de fitxers FAT +un sistema de fitxers HFS +en ell, i copieu una imatge ISO de tarja de negocis o netinst a dins. +Adoneu-vos que el nom del fitxer ha d'acabar en .iso. +Desmunteu el llapis (umount /mnt) i ja està. + + + + + + Copiant els fitxers — la forma flexible + + +Si voleu més flexibilitat o voleu saber que esteu fent, heu de seguir +aquest mètode per posar els fitxers al vostre llapis. + + + +&usb-setup-i386.xml; +&usb-setup-powerpc.xml; + + + Afegint la imatge ISO + + +Ara hauríeu de posar una imatge ISO de Debian (la de tarja de negocis, +netinst o be una completa) al vostre llapis (si cap). El nom del fitxer +d'eixa imatge ha d'acabar en .iso. + + + +Si voleu instal·lar damunt una xarxa, sense utilitzar una imatge ISO, +hauríeu d'ometre el pas previ. A més a més heu d'utilitzar el disc en +memòria inicial des del directori netboot en +comptes d'un del hd-media, perquè el +hd-media/initrd.gz no té suport per xarxa. + + + +Quan acabeu, desmunteu el llapis USB (umount /mnt) +i activeu la protecció d'escriptura. + + + + + + + Arrencant el llapis USB + + +Si el sistema rebutja arrencar des del llapis de memòria, el llapis +podria tenir un registre inicial d'arranc invàlid (MBR). Per reparar-ho, +utilitzeu la comanda install-mbr del paquet +mbr: + + +# install-mbr /dev/sda + + + + + + diff --git a/ca/install-methods/create-floppy.xml b/ca/install-methods/create-floppy.xml new file mode 100644 index 000000000..fbef8b01b --- /dev/null +++ b/ca/install-methods/create-floppy.xml @@ -0,0 +1,108 @@ + + + + + Creating Floppies from Disk Images + + +Bootable floppy disks are generally used as a last resort to boot the +installer on hardware that cannot boot from CD or by other means. + + + +Floppy disk booting reportedly fails on Mac USB floppy drives. + + + +Floppy disk booting is not supported on Amigas or +68k Macs. + + + +Disk images are files containing the complete contents of a floppy +disk in raw form. Disk images, such as +boot.img, cannot simply be copied to floppy +drives. A special program is used to write the image files to floppy +disk in raw mode. This is required because these +images are raw representations of the disk; it is required to do a +sector copy of the data from the file onto the +floppy. + + + +There are different techniques for creating floppies from disk images, +which depend on your platform. This section describes how to create +floppies from disk images on different platforms. + + + +No matter which method you use to create your floppies, you should +remember to flip the write-protect tab on the floppies once you have +written them, to ensure they are not damaged unintentionally. + + + + Writing Disk Images From a Linux or Unix System + + +To write the floppy disk image files to the floppy disks, you will +probably need root access to the system. Place a good, blank floppy +in the floppy drive. Next, use the command + + +$ dd if=filename of=/dev/fd0 bs=1024 conv=sync ; sync + + +where filename is one of the floppy disk image +files (see for what +filename should be). +/dev/fd0 is a commonly used name of the floppy +disk device, it may be different on your workstation +(on Solaris, it is +/dev/fd/0). +The command may return to the +prompt before Unix has finished writing the floppy disk, so look for +the disk-in-use light on the floppy drive and be sure that the light +is out and the disk has stopped revolving before you remove it from +the drive. On some systems, you'll have to run a command to eject the +floppy from the drive +(on Solaris, use eject, see +the manual page). + + + +Some systems attempt to automatically mount a floppy disk when you +place it in the drive. You might have to disable this feature before +the workstation will allow you to write a floppy in raw +mode. Unfortunately, how to accomplish this will vary +based on your operating system. + +On Solaris, you can work around +volume management to get raw access to the floppy. First, make sure +that the floppy is auto-mounted (using volcheck or +the equivalent command in the file manager). Then use a +dd command of the form given above, just replace +/dev/fd0 with +/vol/rdsk/floppy_name, +where floppy_name is the name the floppy +disk was given when it was formatted (unnamed floppies default to the +name unnamed_floppy). On other systems, ask your +system administrator. + + + + +If writing a floppy on powerpc Linux, you will need to eject it. The +eject program handles this nicely; you might need +to install it. + + + + + +&floppy-i386.xml; +&floppy-m68k.xml; +&floppy-powerpc.xml; + + + diff --git a/ca/install-methods/download/alpha.xml b/ca/install-methods/download/alpha.xml new file mode 100644 index 000000000..ff0250415 --- /dev/null +++ b/ca/install-methods/download/alpha.xml @@ -0,0 +1,36 @@ + + + + + Alpha Installation Files + + +If you choose to boot from ARC console firmware using +MILO, you will also need to prepare a disk +containing MILO and LINLOAD.EXE +from the provided disk images. See +for more information on Alpha +firmware and boot loaders. The floppy images can be found in the +MILO directory as +milo_subarchitecture.bin. + + + +Unfortunately, these MILO images could not be +tested and might not work for all subarchitectures. If you find it +doesn't work for you, try copying the appropriate +MILO binary onto the floppy +(). +Note that those MILOs don't support ext2 sparse +superblocks, so you can't use them to load kernels from newly +generated ext2 file systems. As a workaround, you can put your kernel +onto the FAT partition next to the MILO. + + + +MILO binaries are platform-specific. See + to determine the appropriate +MILO image for your Alpha platform. + + + diff --git a/ca/install-methods/download/arm.xml b/ca/install-methods/download/arm.xml new file mode 100644 index 000000000..447f9c376 --- /dev/null +++ b/ca/install-methods/download/arm.xml @@ -0,0 +1,37 @@ + + + + + + Fitxers d'instal·lació de RiscPC + + +L'instal·lador de RiscPC s'arrenca inicialment des de RISC OS. Tots els +fitxers necessaris es proveeixen en un arxiu Zip, &rpc-install-kit;. +Descarregueu aquest fitxer a la maquina RISC OS, copieu el +component linloader.!Boot a lloc, i executeu +!dInstall. + + + + + + Fitxers d'instal·lació de NetWinder + + +La manera més fàcil d'arrencar un NetWinder és a traves de la xarxa, +fent servir la imatge de TFTP proveïda &netwinder-boot-img;. + + + + + + Fitxers d'instal·lació de CATS + + +L'únic mètode d'arrencar per a CATS és fer servir la imatge combinada +&cats-boot-img;. Això es pot carregar des de qualsevol dispositiu +accessible per al carregador d'arranc Cyclone. + + + diff --git a/ca/install-methods/download/m68k.xml b/ca/install-methods/download/m68k.xml new file mode 100644 index 000000000..4ea3e1845 --- /dev/null +++ b/ca/install-methods/download/m68k.xml @@ -0,0 +1,23 @@ + + + + + + Triant un nucli + + + +Algunes subarquitectures de m68k tenen nuclis a triar per a la instal·lació. +En general recomanem que proveu primer la versió mes recent. Si la vostra +subarquitectura o màquina necessita emprar un nucli 2.2.x, estigueu segurs +que trieu alguna de les imatges que suporten nuclis 2.2.x (vegeu el +MANIFEST). + + + + +Totes les imatges de m68k per a ser emprades amb nuclis 2.2.x necessiten el +paràmetre de nucli &ramdisksize;. + + + diff --git a/ca/install-methods/download/powerpc.xml b/ca/install-methods/download/powerpc.xml new file mode 100644 index 000000000..d1dd228f9 --- /dev/null +++ b/ca/install-methods/download/powerpc.xml @@ -0,0 +1,28 @@ + + + + diff --git a/ca/install-methods/downloading-files.xml b/ca/install-methods/downloading-files.xml new file mode 100644 index 000000000..832f39b01 --- /dev/null +++ b/ca/install-methods/downloading-files.xml @@ -0,0 +1,38 @@ + + + + + Descarregar fitxers de les rèpliques de Debian + + + +Per trobar la rèplica mes pròxima (i possiblement la mes ràpida, mireu la +llista de rèpliques de Debian. + + + +Quan descarregueu fitxers de una rèplica de Debian, assegureu-vos que +descarregueu els fitxers en mode binari, ni mode +text ni mode automàtic. + + + + + On trobar imatges d'instal·lació + + +Les imatges d'instal·lació estan ubicades en cada rèplica de Debian al +directori debian/dists/&releasename;/main/installer-&architecture;/current/images/ +— el MANIFEST +llista cada imatge i el seu propòsit. + + +&download-alpha.xml; +&download-arm.xml; +&download-powerpc.xml; +&download-m68k.xml; + + + + + diff --git a/ca/install-methods/floppy/i386.xml b/ca/install-methods/floppy/i386.xml new file mode 100644 index 000000000..740d84039 --- /dev/null +++ b/ca/install-methods/floppy/i386.xml @@ -0,0 +1,35 @@ + + + + + + + + Escrivint imatges de disquet des de DOS, Windows o OS/2 + + + +Si teniu accés a una maquina i386, podeu usar un dels següents programes +per a copiar imatges a disquets. + + + +Els programes rawrite1 i rawrite2 +es poden usar a MS-DOS. Per usar aquests programes, primer assegureu-vos +que esteu arrencant DOS. Intentar usar aquests programes des de dins d'una +finestra DOS a Windows o clicant dues vegades sobre aquests programes des +de Windows Explorer noo s'espera que funcioni. + + + +El programa rwwrtwin funciona a Windows 95, NT, 98, 2000, +ME, XP i probablement versions posteriors. Per usar-lo necessitareu +desempaquetar diskio.dll en el mateix directori. + + + +Aquestes eines es poden trobar als CD-ROM oficials de Debian dins del directori +/tools. + + + diff --git a/ca/install-methods/floppy/m68k.xml b/ca/install-methods/floppy/m68k.xml new file mode 100644 index 000000000..ff1e6eff4 --- /dev/null +++ b/ca/install-methods/floppy/m68k.xml @@ -0,0 +1,28 @@ + + + + + Escrivint imatges de disquet en sistemes Atari + + +Trobareu el programa &rawwrite.ttp; al mateix directori que les imatges de +disquet. Inicieu el programa fent doble clic sobre la icona del programa, +i escriviu el nom del fitxer de la imatge de disquet que voleu escriure +al disquet en la línia d'ordres de la caixa de diàleg del programa TOS. + + + + + + Escrivint imatges de disquet en sistemes Macintosh + + +No hi ha cap aplicació MacOS per a escriure imatges de disquet (i no tindria +sentit, ja que no es poden usar els disquets per arrencar el sistema +d'instal·lació o el nucli i els modules des d'un Macintosh). No obstant, +aquests fitxers són necessaris per a la instal·lació del sistema operatiu +i els mòduls, més tard en el procés. + + + + diff --git a/ca/install-methods/floppy/powerpc.xml b/ca/install-methods/floppy/powerpc.xml new file mode 100644 index 000000000..6c05a2e49 --- /dev/null +++ b/ca/install-methods/floppy/powerpc.xml @@ -0,0 +1,122 @@ + + + + + Writing Disk Images From MacOS + + +An AppleScript, Make Debian Floppy, is +available for burning floppies from the provided disk image files. It +can be downloaded from +. To +use it, just unstuff it on your desktop, and then drag any floppy +image file to it. You must have Applescript installed and enabled in +your extensions manager. Disk Copy will ask you to confirm that you +wish to erase the floppy and proceed to write the file image to it. + + + +You can also use the MacOS utility Disk Copy +directly, or the freeware utility suntar. The +root.bin file is an example of a floppy +image. Use one of the following methods to create a floppy from the +floppy image with these utilities. + + + + + Writing Disk Images with <command>Disk Copy</command> + + +If you are creating the floppy image from files which were originally +on the official &debian; CD, then the Type and Creator are already set +correctly. The following Creator-Changer steps are +only necessary if you downloaded the image files from a Debian mirror. + + + + + +Obtain +Creator-Changer +and use it to open the root.bin file. + + + + +Change the Creator to ddsk (Disk Copy), and the +Type to DDim (binary floppy image). The case is +sensitive for these fields. + + + + +Important: In the Finder, use Get +Info to display the Finder information about the floppy +image, and X the File Locked check box so +that MacOS will be unable to remove the boot blocks if the image is +accidentally mounted. + + + + +Obtain Disk Copy; if you have a MacOS system or CD it +will very likely be there already, otherwise try +. + + + + +Run Disk Copy, and select +Utilities Make a Floppy +, then select the +locked image file from the resulting dialog. It +will ask you to insert a floppy, then ask if you really want to erase +it. When done it should eject the floppy. + + + + + + + + Writing Disk Images with <command>suntar</command> + + + + + +Obtain suntar from +. Start the suntar program and select +Overwrite Sectors... from the Special +menu. + + + + +Insert the floppy disk as requested, then hit &enterkey; (start at +sector 0). + + + + +Select the root.bin file in the file-opening dialog. + + + + +After the floppy has been created successfully, select +File Eject . +If there are any errors writing the floppy, simply toss that floppy and +try another. + + + + +Before using the floppy you created, set the write protect +tab! Otherwise if you accidentally mount it in MacOS, +MacOS will helpfully ruin it. + + + + diff --git a/ca/install-methods/install-methods.xml b/ca/install-methods/install-methods.xml new file mode 100644 index 000000000..0eac6d805 --- /dev/null +++ b/ca/install-methods/install-methods.xml @@ -0,0 +1,16 @@ + + + + + Obtenint el suport d'instal·lació del sistema + +&official-cdrom.xml; +&downloading-files.xml; +&ipl-tape.xml; +&create-floppy.xml; +&boot-usb-files.xml; +&boot-drive-files.xml; +&install-tftp.xml; +&automatic-install.xml; + + diff --git a/ca/install-methods/install-tftp.xml b/ca/install-methods/install-tftp.xml new file mode 100644 index 000000000..5aa11a9ef --- /dev/null +++ b/ca/install-methods/install-tftp.xml @@ -0,0 +1,430 @@ + + + + + Preparing Files for TFTP Net Booting + + +If your machine is connected to a local area network, you may be able +to boot it over the network from another machine, using TFTP. If you +intend to boot the installation system from another machine, the +boot files will need to be placed in specific locations on that machine, +and the machine configured to support booting of your specific machine. + + + +You need to setup a TFTP server, and for many machines, a BOOTP server +, or RARP server +, or DHCP server. + + + +The Reverse Address Resolution Protocol (RARP) is +one way to tell your client what IP address to use for itself. Another +way is to use the BOOTP protocol. + +BOOTP is an IP protocol that +informs a computer of its IP address and where on the network to obtain +a boot image. + + Yet another alternative exists on VMEbus +systems: the IP address can be manually configured in boot ROM. + +The DHCP (Dynamic Host Configuration +Protocol) is a more flexible, backwards-compatible extension of BOOTP. +Some systems can only be configured via DHCP. + + + +For PowerPC, if you have a NewWorld Power Macintosh machine, it is a +good idea to use DHCP instead of BOOTP. Some of the latest machines +are unable to boot using BOOTP. + + + +Unlike the Open Firmware found on Sparc and PowerPC machines, the SRM +console will not use RARP to obtain its IP +address, and therefore you must use BOOTP for net booting your +Alpha + + +Alpha systems can also be net-booted using the DECNet MOP (Maintenance +Operations Protocol), but this is not covered here. Presumably, your +local OpenVMS operator will be happy to assist you should you have +some burning need to use MOP to boot Linux on your Alpha. + + +. You can also enter the IP configuration for network +interfaces directly in the SRM console. + + + +Some older HPPA machines (e.g. 715/75) use RBOOTD rather than BOOTP. +An RBOOTD package is available on the parisc-linux web site. + + + +The Trivial File Transfer Protocol (TFTP) is used to serve the boot +image to the client. Theoretically, any server, on any platform, +which implements these protocols, may be used. In the examples in +this section, we shall provide commands for SunOS 4.x, SunOS 5.x +(a.k.a. Solaris), and GNU/Linux. + + + +To use the Pre-boot Execution Environment (PXE) method of TFTP +booting, you will need a TFTP server with tsize +support. On a &debian; server, the atftpd and +tftpd-hpa packages qualify; we recommend +tftpd-hpa. + + + + + +&tftp-rarp.xml; +&tftp-bootp.xml; +&tftp-dhcp.xml; + + + Enabling the TFTP Server + + +To get the TFTP server ready to go, you should first make sure that +tftpd is enabled. This is usually enabled by having +something like the following line in /etc/inetd.conf: + + +tftp dgram udp wait nobody /usr/sbin/tcpd in.tftpd /tftpboot + + +Debian packages will in general set this up correctly by default when they +are installed. + + + +Look in that file and remember the directory which is used as the +argument of in.tftpd; you'll need that below. The +-l argument enables some versions of +in.tftpd to log all requests to the system logs; +this is useful for diagnosing boot errors. If you've had to change +/etc/inetd.conf, you'll have to notify the +running inetd process that the file has changed. +On a Debian machine, run /etc/init.d/inetd +reload; on other machines, +find out the process ID for inetd, and run +kill -HUP inetd-pid. + + + +If you intend to install Debian on an SGI machine and your TFTP server is a +GNU/Linux box running Linux 2.4, you'll need to set the following on your +server: + + +# echo 1 > /proc/sys/net/ipv4/ip_no_pmtu_disc + + +to turn off Path MTU discovery, otherwise the Indy's PROM can't +download the kernel. Furthermore, make sure TFTP packets are sent from +a source port no greater than 32767, or the download will stall after +the first packet. Again, it's Linux 2.4.X tripping this bug in the +PROM, and you can avoid it by setting + + +# echo "2048 32767" > /proc/sys/net/ipv4/ip_local_port_range + + +to adjust the range of source ports the Linux TFTP server uses. + + + + + + Move TFTP Images Into Place + + +Next, place the TFTP boot image you need, as found in +, in the tftpd +boot image directory. Generally, this directory will be +/tftpboot. You'll have to make a link from that +file to the file which tftpd will use for booting a +particular client. Unfortunately, the file name is determined by the +TFTP client, and there are no strong standards. + + + +On NewWorld Power Macintosh machines, you will need to set up the +yaboot boot loader as the TFTP boot image. +Yaboot will then retrieve the kernel and RAMdisk +images via TFTP itself. For net booting, use the +yaboot-netboot.conf. Just rename this to +yaboot.conf in the TFTP directory. + + + +For PXE booting, everything you should need is set up in the +netboot/netboot.tar.gz tarball. Simply extract this +tarball into the tftpd boot image directory. Make sure +your dhcp server is configured to pass /pxelinux.0 +to tftpd as the filename to boot. + + + +For PXE booting, everything you should need is set up in the +netboot/netboot.tar.gz tarball. Simply extract this +tarball into the tftpd boot image directory. Make sure +your dhcp server is configured to pass +/debian-installer/ia64/elilo.efi +to tftpd as the filename to boot. + + + + + DECstation TFTP Images + + +For DECstations, there are tftpimage files for each subarchitecture, +which contain both kernel and installer in one file. The naming +convention is subarchitecture/netboot-boot.img. +Copy the tftpimage file you would like to use to +/tftpboot/tftpboot.img if you work with the +example BOOTP/DHCP setups described above. + + + +The DECstation firmware boots by TFTP with the command boot +#/tftp, where +# is the number of the TurboChannel device +from which to boot. On most DECstations this is 3. If the +BOOTP/DHCP server does not supply the filename or you need to pass +additional parameters, they can optionally be appended with the +following syntax: + + + +boot #/tftp/filename param1=value1 param2=value2 ... + + + +Several DECstation firmware revisions show a problem with regard to +net booting: the transfer starts, but after some time it stops with +an a.out err. This can have several reasons: + + + + +The firmware does not respond to ARP requests during a TFTP +transfer. This leads to an ARP timeout and the transfer stops. The +solution is to add the MAC address of the Ethernet card in the +DECstation statically to the ARP table of the TFTP server. This is +done by running arp -s +IP-address +MAC-address as root on the +machine acting as TFTP server. The MAC-address of the DECstation can +be read out by entering cnfg at the DECstation +firmware prompt. + + + + +The firmware has a size limit on the files that can be booted +by TFTP. + + + + +There are also firmware revisions that cannot boot via TFTP at all. An +overview about the different firmware revisions can be found at the +NetBSD web pages: +. + + + + + + Alpha TFTP Booting + +On Alpha, you must specify the filename (as a relative path to the +boot image directory) using the -file argument +to the SRM boot command, or by setting the +BOOT_FILE environment variable. Alternatively, +the filename can be given via BOOTP (in ISC dhcpd, +use the filename directive). Unlike Open +Firmware, there is no default filename on SRM, so +you must specify a filename by either one of +these methods. + + + + + + SPARC TFTP Booting + + +SPARC architectures for instance use the subarchitecture names, such +as SUN4M or SUN4C; in some cases, the +architecture is left blank, so the file the client looks for is just +client-ip-in-hex. Thus, if your system +subarchitecture is a SUN4C, and its IP is 192.168.1.3, the filename +would be C0A80103.SUN4C. An easy way to determine +this is to enter the following command in a shell (assuming the +machine's intended IP is 10.0.0.4). + + +$ printf '%.2x%.2x%.2x%.2x\n' 10 0 0 4 + + +This will spit out the IP in hexadecimal; to get to the correct +filename, you will need to change all letters to uppercase and +if necessary append the subarchitecture name. + + + +You can also force some sparc systems to look for a specific file name +by adding it to the end of the OpenPROM boot command, such as +boot net my-sparc.image. This must still reside +in the directory that the TFTP server looks in. + + + + + + BVM/Motorola TFTP Booting + + +For BVM and Motorola VMEbus systems copy the files +&bvme6000-tftp-files; to /tftpboot/. + + + +Next, configure your boot ROMs or BOOTP server to initially load the +tftplilo.bvme or +tftplilo.mvme files from the TFTP server. Refer +to the tftplilo.txt file for your subarchitecture +for additional system-specific configuration information. + + + + + + SGI Indys TFTP Booting + + +On SGI Indys you can rely on the bootpd to supply +the name of the TFTP file. It is given either as the +bf= in /etc/bootptab or as +the filename= option in +/etc/dhcpd.conf. + + + + + + Broadcom BCM91250A TFTP Booting + + +You don't have to configure DHCP in a special way because you'll pass the +full path of the file to the loaded to CFE. + + + + + + + + diff --git a/ca/install-methods/ipl-tape.xml b/ca/install-methods/ipl-tape.xml new file mode 100644 index 000000000..659a76543 --- /dev/null +++ b/ca/install-methods/ipl-tape.xml @@ -0,0 +1,23 @@ + + + + + Creant una cinta IPL + + + +Si no podeu arrencar (IPL) des del CD i no esteu emprant la VM, +haureu de crear primer una cinta IPL. Aquest procés esta descrit +en la secció 3.4.3 en el «Redbook + +Linux for IBM eServer zSeries and S/390: Distributions». +Els fitxers que necessiteu per escriure a la cinta són (en aquest ordre): +kernel.debian, +parmfile.debian i +initrd.debian. Els fitxers es poden descarregar +del subdirectori tape, vegeu +, + + + + diff --git a/ca/install-methods/official-cdrom.xml b/ca/install-methods/official-cdrom.xml new file mode 100644 index 000000000..a4269fed7 --- /dev/null +++ b/ca/install-methods/official-cdrom.xml @@ -0,0 +1,69 @@ + + + + + Official &debian; CD-ROM Sets + + +By far the easiest way to install &debian; is from an Official +Debian CD-ROM Set. You can buy a set from a vendor (see the +CD vendors page). +You may also download the CD-ROM images from a Debian mirror and make +your own set, if you have a fast network connection and a CD burner +(see the Debian CD page for +detailed instructions). If you have a Debian CD set and CDs are +bootable on your machine, you can skip right to +; much effort has been expended to ensure +the files most people need are there on the CD. Although a full set of +binary packages requires several CDs, it is unlikely you will need +packages on the third CD and above. You may also consider using the +DVD version, which saves a lot of space on your shelf and you avoid +the CD shuffling marathon. + + + +If your machine doesn't support CD booting, but you do have a CD set, +you can use an alternative strategy such as + +floppy disk, + +tape, emulated tape, + +hard disk, + +usb stick, + +net boot, + +or manually loading the kernel from the CD to initially boot the +system installer. The files you need for booting by another means are +also on the CD; the Debian network archive and CD folder organization +are identical. So when archive file paths are given below for +particular files you need for booting, look for those files in the +same directories and subdirectories on your CD. + + + +Once the installer is booted, it will be able to obtain all the other +files it needs from the CD. + + + +If you don't have a CD set, then you will need to download the +installer system files and place them on the + +installation tape + +floppy disk or + +hard disk or + +usb stick or + +a connected computer + +so they can be used to boot the installer. + + + + diff --git a/ca/install-methods/tftp/bootp.xml b/ca/install-methods/tftp/bootp.xml new file mode 100644 index 000000000..b6683f0ad --- /dev/null +++ b/ca/install-methods/tftp/bootp.xml @@ -0,0 +1,72 @@ + + + + + + Setting up BOOTP server + + +There are two BOOTP servers available for GNU/Linux, the CMU +bootpd and the other is actually a DHCP server, ISC +dhcpd, which are contained in the +bootp and dhcp packages +in &debian;. + + + +To use CMU bootpd, you must first uncomment (or +add) the relevant line in /etc/inetd.conf. On +&debian;, you can run update-inetd --enable +bootps, then /etc/init.d/inetd +reload to do so. Elsewhere, the line in question should +look like: + + +bootps dgram udp wait root /usr/sbin/bootpd bootpd -i -t 120 + + +Now, you must create an /etc/bootptab file. This +has the same sort of familiar and cryptic format as the good old BSD +printcap, termcap, and +disktab files. See the +bootptab manual page for more information. For +CMU bootpd, you will need to know the hardware +(MAC) address of the client. Here is an example +/etc/bootptab: + + +client:\ + hd=/tftpboot:\ + bf=tftpboot.img:\ + ip=192.168.1.90:\ + sm=255.255.255.0:\ + sa=192.168.1.1:\ + ha=0123456789AB: + + +You will need to change at least the ha option, which +specifies the hardware address of the client. The bf +option specifies the file a client should retrieve via TFTP; see + for more details. + + +On SGI Indys you can just enter the command monitor and type +printenv. The value of the +eaddr variable is the machine's MAC address. + + + + +By contrast, setting up BOOTP with ISC dhcpd is +really easy, because it treats BOOTP clients as a moderately special +case of DHCP clients. Some architectures require a complex +configuration for booting clients via BOOTP. If yours is one of +those, read the section . Otherwise, you +will probably be able to get away with simply adding the +allow bootp directive to the configuration +block for the subnet containing the client, and restart +dhcpd with /etc/init.d/dhcpd +restart. + + + diff --git a/ca/install-methods/tftp/dhcp.xml b/ca/install-methods/tftp/dhcp.xml new file mode 100644 index 000000000..f51eb2622 --- /dev/null +++ b/ca/install-methods/tftp/dhcp.xml @@ -0,0 +1,97 @@ + + + + + Setting up a DHCP server + + +One free software DHCP server is ISC dhcpd. +In &debian;, this is available in the dhcp package. +Here is a sample configuration file for it (usually +/etc/dhcpd.conf): + + +option domain-name "example.com"; +option domain-name-servers ns1.example.com; +option subnet-mask 255.255.255.0; +default-lease-time 600; +max-lease-time 7200; +server-name "servername"; + +subnet 192.168.1.0 netmask 255.255.255.0 { + range 192.168.1.200 192.168.1.253; + option routers 192.168.1.1; +} + +host clientname { + filename "/tftpboot/tftpboot.img"; + server-name "servername"; + next-server servername; + hardware ethernet 01:23:45:67:89:AB; + fixed-address 192.168.1.90; +} + + +Note: the new (and preferred) dhcp3 package uses +/etc/dhcp3/dhcpd.conf. + + + +In this example, there is one server +servername which performs all of the work +of DHCP server, TFTP server, and network gateway. You will almost +certainly need to change the domain-name options, as well as the +server name and client hardware address. The +filename option should be the name of the +file which will be retrieved via TFTP. + + + +After you have edited the dhcpd configuration file, +restart it with /etc/init.d/dhcpd restart. + + + + + Enabling PXE Booting in the DHCP configuration + +Here is another example for a dhcp.conf using the +Pre-boot Execution Environment (PXE) method of TFTP. + + +option domain-name "example.com"; + +default-lease-time 600; +max-lease-time 7200; + +allow booting; +allow bootp; + +# The next paragraph needs to be modified to fit your case +subnet 192.168.1.0 netmask 255.255.255.0 { + range 192.168.1.200 192.168.1.253; + option broadcast-address 192.168.1.255; +# the gateway address which can be different +# (access to the internet for instance) + option routers 192.168.1.1; +# indicate the dns you want to use + option domain-name-servers 192.168.1.3; +} + +group { + next-server 192.168.1.3; + host tftpclient { +# tftp client hardware address + hardware ethernet 00:10:DC:27:6C:15; + filename "/tftpboot/pxelinux.0"; + } +} + + +Note that for PXE booting, the client filename pxelinux.0 +is a boot loader, not a kernel image (see +below). + + + + diff --git a/ca/install-methods/tftp/rarp.xml b/ca/install-methods/tftp/rarp.xml new file mode 100644 index 000000000..c6fd184d4 --- /dev/null +++ b/ca/install-methods/tftp/rarp.xml @@ -0,0 +1,64 @@ + + + + + + Setting up RARP server + + +To setup RARP, you need to know the Ethernet address (a.k.a. the MAC address) +of the client computers to be installed. +If you don't know this information, you can + + pick it off the initial OpenPROM boot messages, use the +OpenBoot .enet-addr command, or + +boot into Rescue mode (e.g., from the rescue floppy) and use the +command /sbin/ifconfig eth0. + + + +On a RARP server system using a Linux 2.2.x kernel, +you need to populate the kernel's RARP table. +To do this, run the following commands: + + +# /sbin/rarp -s +client-hostname +client-enet-addr + +# /usr/sbin/arp -s +client-ip +client-enet-addr + + +If you get + + +SIOCSRARP: Invalid argument + + +you probably need to load the RARP kernel module or else recompile the +kernel to support RARP. Try modprobe rarp and +then try the rarp command again. + + + +On a RARP server system using a Linux 2.4.x kernel, +there is no RARP module, and +you should instead use the rarpd program. The +procedure is similar to that used under SunOS in the following +paragraph. + + + +Under SunOS, you need to ensure that the Ethernet hardware address for +the client is listed in the ethers database (either in the +/etc/ethers file, or via NIS/NIS+) and in the +hosts database. Then you need to start the RARP daemon. +In SunOS 4, issue the command (as root): +/usr/etc/rarpd -a; in SunOS 5, use +/usr/sbin/rarpd -a. + + + diff --git a/ca/install-methods/usb-setup/i386.xml b/ca/install-methods/usb-setup/i386.xml new file mode 100644 index 000000000..cbeab6250 --- /dev/null +++ b/ca/install-methods/usb-setup/i386.xml @@ -0,0 +1,101 @@ + + + + + USB stick partitioning on &arch-title; + + +We will show how to setup the memory stick to use the first partition, +instead of the entire device. + + + +Since most USB sticks come pre-configured with a single FAT16 +partition, you probably won't have to repartition or reformat the +stick. If you have to do that anyway, use cfdisk +or any other partitioning tool for creating a FAT16 partition and then +create the filesystem using: + + +# mkdosfs /dev/sda1 + + +Take care that you use the correct device name for your USB stick. The +mkdosfs command is contained in the +dosfstools Debian package. + + + +In order to start the kernel after booting from the USB stick, we will +put a boot loader on the stick. Although any boot loader +(e.g. LILO) should work, it's convenient to use +SYSLINUX, since it uses a FAT16 partition and can +be reconfigured by just editing a text file. Any operating system +which supports the FAT file system can be used to make changes to the +configuration of the boot loader. + + + +To put SYSLINUX on the FAT16 partition on your USB +stick, install the syslinux and +mtools packages on your system, and do: + + +# syslinux /dev/sda1 + + +Again, take care that you use the correct device name. The partition +must not be mounted when starting SYSLINUX. This +procedure writes a boot sector to the partition and creates the file +ldlinux.sys which contains the boot loader code. + + + +Mount the partition (mount /dev/sda1 /mnt) and +copy the following files from the Debian archives to the stick: + + + + +vmlinuz (kernel binary) + + + + +initrd.gz (initial ramdisk image) + + + + +syslinux.cfg (SYSLINUX configuration file) + + + + +Optional kernel modules + + + + +If you want to rename the files, please note that +SYSLINUX can only process DOS (8.3) file names. + + + +The syslinux.cfg configuration file should +contain the following two lines: + + +default vmlinuz +append initrd=initrd.gz ramdisk_size=12000 root=/dev/rd/0 init=/linuxrc rw + + +Please note that the ramdisk_size parameter +may need to be increased, depending on the image you are booting. + +If the boot fails, you can try adding devfs=mount,dall +to the append line. + + + + diff --git a/ca/install-methods/usb-setup/powerpc.xml b/ca/install-methods/usb-setup/powerpc.xml new file mode 100644 index 000000000..36c572fa4 --- /dev/null +++ b/ca/install-methods/usb-setup/powerpc.xml @@ -0,0 +1,111 @@ + + + + + USB stick partitioning on &arch-title; + + +Most USB sticks do not come pre-configured in such a way that Open +Firmware can boot from them, so you will need to repartition the stick. +On Mac systems, run mac-fdisk /dev/sda, +initialise a new partition map using the i +command, and create a new partition of type Apple_Bootstrap using the +C command. (Note that the first "partition" will +always be the partition map itself.) Then type + + +$ hformat /dev/sda2 + + +Take care that you use the correct device name for your USB stick. The +hformat command is contained in the +hfsutils Debian package. + + + +In order to start the kernel after booting from the USB stick, we will +put a boot loader on the stick. The yaboot boot +loader can be installed on an HFS filesystem and can be reconfigured by +just editing a text file. Any operating system which supports the HFS +file system can be used to make changes to the configuration of the boot +loader. + + + +The normal ybin tool that comes with +yaboot does not yet understand USB storage devices, +so you will have to install yaboot by hand using the +hfsutils tools. Type + + +$ hmount /dev/sda2 +$ hcopy -r /usr/lib/yaboot/yaboot : +$ hattrib -c UNIX -t tbxi :yaboot +$ hattrib -b : +$ humount + + +Again, take care that you use the correct device name. The partition +must not be otherwise mounted during this procedure. This procedure +writes the boot loader to the partition, and uses the HFS utilities to +mark it in such a way that Open Firmware will boot it. Having done this, +the rest of the USB stick may be prepared using the normal Unix +utilities. + + + +Mount the partition (mount /dev/sda2 /mnt) and +copy the following files from the Debian archives to the stick: + + + + +vmlinux (kernel binary) + + + + +initrd.gz (initial ramdisk image) + + + + +yaboot.conf (yaboot configuration file) + + + + +boot.msg (optional boot message) + + + + +Optional kernel modules + + + + + + +The yaboot.conf configuration file should +contain the following lines: + + +default=install +root=/dev/ram + +message=/boot.msg + +image=/vmlinux + label=install + initrd=/initrd.gz + initrd-size=10000 + append="devfs=mount,dall --" + read-only + + +Please note that the initrd-size parameter +may need to be increased, depending on the image you are booting. + + + -- cgit v1.2.3