10.3 Uninstalling the Linux Boot
Loader
YaST can be used to uninstall the Linux boot loader and restore the MBR to the state
it had prior to the installation of Linux. During the installation, YaST automatically
creates a backup copy of the original MBR and restores it upon request.
To uninstall GRUB, start the YaST boot loader module (System > Boot Loader). Select
Other > Restore MBR of Hard Disk and confirm with Yes, Rewrite.
10.4 Creating Boot CDs
If problems occur while booting your system using a boot manager or if the boot man-
ager cannot be installed on the MBR of your hard disk or floppy disk, it is also possible
to create a bootable CD with all the necessary start-up files for Linux. This requires a
CD writer be installed in your system.
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 10.7 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 and change into the newly created iso directory:
mkdir -p iso/boot/grub && cd iso
3 Copy the kernel, the files stage2_eltorito, initrd, menu.lst and
message to iso/boot/:
cp /boot/vmlinuz boot/
cp /boot/initrd boot/
cp /boot/message boot/
cp /usr/lib/grub/stage2_eltorito boot/grub
cp /boot/grub/menu.lst boot/grub
The Boot Loader GRUB
109