
Creating a bootable CD-ROM with GRUB merely requires a special form of stage2
called
stage2_eltorito
and, optionally, a customized
menu.lst
. The classic
files
stage1
and
stage2
are not required.
Procedure 20.6
Creating Boot CDs
1
Change into a directory in which to create the ISO image, for example:
cd /tmp
2
Create a subdirectory for GRUB:
mkdir -p iso/boot/grub
3
Copy the kernel, the files
stage2_eltorito
,
initrd
,
menu.lst
, and
message
to
iso/boot/
:
cp /boot/vmlinuz iso/boot/
cp /boot/initrd iso/boot/
cp /boot/message iso/boot/
cp /usr/lib/grub/stage2_eltorito iso/boot/grub
cp /boot/grub/menu.lst iso/boot/grub
4
Adjust the path entries in
iso/boot/grub/menu.lst
to make them point
to a CD-ROM device. Do this by replacing the device name of the hard disks,
listed in the format
(hd*)
, in the pathnames with the device name of the CD-
ROM drive, which is
(cd)
:
timeout 8
default 0
gfxmenu (cd)/boot/message
title Linux
root (cd)
kernel /boot/vmlinuz root=/dev/hda5 vga=794 resume=/dev/hda1 \
splash=verbose showopts
initrd /boot/initrd
Use
splash=silent
instead of
splash=verbose
to prevent the boot
messages from appearing during the boot procedure.
The Boot Loader
403
Содержание LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007
Страница 1: ...SUSE Linux Enterprise Server www novell com 10 May 11 2007 Installation and Administration...
Страница 14: ......
Страница 19: ...Part I Deployment...
Страница 20: ......
Страница 60: ......
Страница 128: ......
Страница 243: ...Part II Administration...
Страница 244: ......
Страница 274: ......
Страница 312: ......
Страница 348: ......
Страница 380: ......
Страница 381: ...Part III System...
Страница 382: ......
Страница 438: ......
Страница 452: ......
Страница 478: ......
Страница 486: ......
Страница 498: ......
Страница 512: ......
Страница 558: ......
Страница 559: ...Part IV Services...
Страница 560: ......
Страница 652: ......
Страница 670: ......
Страница 742: ......
Страница 754: ......
Страница 796: ......
Страница 817: ...Part V Security...
Страница 818: ......
Страница 858: ......
Страница 886: ......
Страница 910: ......
Страница 911: ...Part VI Troubleshooting...
Страница 912: ......
Страница 924: ......