Main Menu: Enter command or menu > bo scsi.5.0 ipl Interact with IPL (Y, N, or Cancel)?> y Booting... Boot IO Dependent Code (IODC) revision 1 HARD Booted. palo ipl 0.97 root@c3k Tue Nov 27 14:51:48 MST 2001 Information: Boot device can't seek past 2Gb (ignore next error). byteio_read: seekread() returned -1 expected 2048 Partition Start(MB) End(MB) Id Type 1 1 15 f0 Palo 2 16 503 82 swap 3 504 2887 83 ext2 PALO(F0) partition contains: 0/vmlinux64 3990942 bytes @ 0x44000 Information: No console specified on kernel command line. This is normal. PALO will choose the console currently used by firmware (serial). Current command line: 3/boot/vmlinux root=/dev/sda3 HOME=/ console=ttyS0 TERM=vt102 0: 3/boot/vmlinux 1: root=/dev/sda3 2: HOME=/ 3: console=ttyS0 4: TERM=vt102 Edit which field? (or 'b' to boot with this command line)? 0 3/boot/vmlinux-2.4.17-pa3 initrd=0/root.bin Current command line: 3/boot/vmlinux-2.4.17-pa3 initrd=root.bin root=/dev/sda3 HOME=/ console=ttyS0 TERM=vt102 0: 3/boot/vmlinux-2.4.17-pa3 1: initrd=0/root.bin 2: root=/dev/sda3 3: HOME=/ 4: console=ttyS0 5: TERM=vt102 Edit which field? (or 'b' to boot with this command line)? 1 Current command line: 3/boot/vmlinux-2.4.17-pa3 root=/dev/sda3 HOME=/ console=ttyS0 TERM=vt102 0: 3/boot/vmlinux-2.4.17-pa3 1: root=/dev/sda3 2: HOME=/ 3: console=ttyS0 4: TERM=vt102 Edit which field? (or 'b' to boot with this command line)? b |
PALO 首先被设置为启动内核文件vmlinux该文件位于 SCSI 设备 ID 5 LUN 0 的第三个分区上。(我们知道这一点,因为我们要求 BOOT_ADMIN 在此设备上启动)。但这次我们想要另一个内核。我们按下了 Enter 键(以确认默认选项“0”),并修改了文本以满足我们的需求,此处为vmlinux-2.4.17-pa3。我们还添加了一个initrd=0/root.bin参数到命令行。 我们通过按 Enter 键来验证了我们的更改。 最后,我们决定不需要这个额外的参数,所以我们选择了它并将其删除。 最后,它再次询问我们想要编辑哪个字段,我们只需输入 'b' 而不是任何数字,然后按 Enter 键来启动我们的新内核。