4.4. Forberedelse af filer for harddiskopstart

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. On modern UEFI systems, the kernel may be booted directly from the UEFI partition without the need of a boot loader.

A full, pure network installation can be achieved using this technique. This avoids all hassles of removable media, like finding and burning CD/DVD images.

4.4.1. Hard disk installer booting from Linux using GRUB

This section explains how to add to or even replace an existing linux installation using GRUB.

At boot time, GRUB supports 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 (kernens binære fil)

  • initrd.gz (ramdisk-aftryk)

Hvis du har tænkt dig kun at bruge harddisken for opstart og så hente alt over netværket, så skal du hente filen netboot/debian-installer/i386/initrd.gz og dens modsvarende kerne, netboot/debian-installer/i386/linux. Dette vil give dig mulighed for at partitionere harddisken, du starter installationsprogrammet op fra, om selvom du bør gøre dette med forsigtighed.

Alternatively, if you intend to keep an existing partition on the hard drive unchanged during the install, you can download the hd-media/initrd.gz file and its kernel hd-media/vmlinuz, as well as copy an installation image to the hard drive (make sure the file is named ending in .iso). The installer can then boot from the hard drive and install from the installation image, without needing the network.

Endelig, for at konfigure opstartsindllæseren fortsættes til Afsnit 5.1.5, “Booting from Linux using GRUB.

4.4.2. Harddiskinstallationen starter op fra DOS med loadlin

Dette afsnit forklarer hvordan du forbereder din harddisk til at starte installationsprogrammet op fra DOS med loadlin.

Copy the following directories from a Debian installation image to c:\.

  • /install.386 (kernens binære fil og ramdiskaftryk)

  • /tools (loadlin-værktøj)