|
发表于 2006-3-23 23:16:30
|
显示全部楼层
Post by windrose
http://gluv.univalle.edu.co/HOWTO/mini/LILO-2.html
When Lilo boots the system, it uses BIOS calls to load the Linux kernel off the disk (IDE drive, floppy or whatever). Therefore, the kernel must live in some place that can be accessed by the bios.
At boot time, Lilo is not able to read filesystem data, and any pathname you put in /etc/lilo.conf is resolved at installation time (when you invoke /sbin/lilo). Installation time is when the program builds the tables that list which sectors are used by the files used to load the operating system. As a consequence, all of these files must live in a partition that can be accessed by the BIOS (the files are usually located in the /boot directory, this means that only the root partition of your Linux system needs to be accessed via the BIOS).
上面说lilo调用bios来读内核,lilo在安装时计算出boot image所在的扇区,并告诉bios。看来独行侠说的有道理。
用 shred 擦掉里边的内容后,还能运行不?。:ask |
|