1. 首先光盘镜像也就是
cd上的文件都存在这个简单的iso文件系统里,linux可以用mount -o loop 直接把*.iso文件mount到一个目录查看。
2. CD ROM 另支持一个叫做“El Torito Bootable CD Specification” 的标准允许用户在cd上指定启动的引导程序。
电脑开机启动时候,BIOS就会去检查cd/dvd上是否有这个启动标志,然后加载引导程序。
在Linux系统,使用mkisofs命令一个iso文件时,可以指定引导程序,例如
mkisofs -o \ -b
3. Linux的光盘安装的话,使用的一般是ISOLINUX引导程序,也就是用这个ISOLINUX是被写到上面那个EI Torito扩展里面去的。 系统启动时就自动加载ISOLINUX引导程序了。
ISOLINUX是
ISOLINUX启动后,默认会去读出cd光盘根目录的一个isolinux.cfg 文件,isolinux.cfg 类似grub的menu.lst,指定的内核镜像位置等。这个isolinux.cfg的语法可以参考syslinux的文档。 这里有一个
比如 指定显示终端可以使用这个选项
———————————————
SERIAL port [[baudrate] flowcontrol]
Enables a serial port to act as the console. “port” is a number (0 = /dev/ttyS0 = COM1, etc.) or an I/O port address (e.g. 0x3F8); if “baudrate” is omitted, the baud rate defaults to 9600 bps. The serial parameters are hardcoded to be 8 bits, no parity, 1 stop bit. “flowcontrol” is a combination of the following bits: 0x001 – Assert DTR 0x002 – Assert RTS 0x008 – Enable interrupts 0x010 – Wait for CTS assertion 0x020 – Wait for DSR assertion 0x040 – Wait for RI assertion 0x080 – Wait for DCD assertion 0x100 – Ignore input unless CTS asserted 0x200 – Ignore input unless DSR asserted 0x400 – Ignore input unless RI asserted 0x800 – Ignore input unless DCD asserted