4.4. Tiedostojen valmistelu käynnistettäessä kiintolevyltä

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 (ytimen ohjelmatiedosto)

  • initrd.gz (muistilevyn levyotos)

Jos tarkoitus on käyttää kiintolevyä vain käynnistämiseen ja noutaa sitten kaikki verkosta, olisi noudettava tiedosto netboot/debian-installer/amd64/initrd.gz ja sitä vastaava ydin netboot/debian-installer/amd64/linux. Tällöin on mahdollista osioida uudelleen levy josta asennin käynnistetään, vaikkakin tämä olisi tehtävä huolella.

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.

Tee lopuksi käynnistyslataimen asetukset jatkamalla kohtaan Kohta 5.1.5, ”Booting from Linux using GRUB.

4.4.2. Hard disk installer booting from DOS using loadlin

This section explains how to prepare your hard drive for booting the installer from DOS using loadlin.

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

  • /install.amd (kernel binary and ramdisk image)

  • /tools (loadlin tool)