|
发表于 2002-11-4 12:54:56
|
显示全部楼层
呵呵,在这篇文章里面有关于从硬盘安装的介绍!
4.4 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.
--------------------------------------------------------------------------------
4.4.1 Hard disk installer booting using LILO
This section explains how to add to or even replace an existing linux installation using LILO.
At boot time, LILO 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. Choose the flavor in Choosing the Right Installation Set, Section 4.2.2 that best fits your taste, and you will be (almost) done.
Copy the following two or three files from the Debian archives in a convenient location on your hard drive, for instance in /boot/newinstall/.
linux.bin (kernel binary)
root.bin (root image)
drivers.tgz (optional kernel modules) and extract recursively everything now (easier than later).
Remember on which physical partition (e.g. /dev/hda4) are the .o drivers you just extracted from drivers.tgz.
You can also replace linux.bin and drivers.tgz by your custom kernel and the carefully chosen drivers that you will need for the installation, for instance a module for your exotic and unsupported network interface. Do not forget that your custom kernel must have (at least) the RAMDISK and initrd features built-in. See the very beginning of Replacing the Rescue Floppy Kernel, Section 10.3 for the list of the other mandatory built-in kernel features required to boot and launch the installer. Do not go on and do not read there the irrelevant floppy-related stuff after the list of features.
Finally, to configure LILO proceed to Booting from linux using LILO, Section 5.4.2. |
|