RE: Wie Boot-CD erstellen?
Hallo Wolfgang,
From: Wolfgang Gruhn seit längerem versuche ich, bootbare CD's zu erzeugen. Im Administrationshandbuch zu 9.3 wird dazu unter Kapitel 8.6 auf den Seiten 203-204 folgende Anleitung gegeben, an die ich mich strikt gehalten habe (unter root):
cd /tmp mkdir iso mkdir -p iso/boot/grub cp /usr/lib/grub/stage2_eltorito iso/boot/grub cp /boot/vmlinuz iso/boot/ cp /boot/initrd iso/boot/ cp /boot/message iso/boot
Danach habe ich - wie verlangt - mit kwrite die Datei menu.lst mit folgendem Inhalt geschrieben und unter /tmp/iso/boot/ abgespeichert:
gfxmenu (cd)/boot/message timeout 8 default 0
title Linux kernel (cd)/boot/vmlinuz root=/dev/hda5 vga=794 resume=/dev/hda1 splash=verbose showopts initrd (cd)/boot/initrd
Zum Abschluss folgte noch die Erzeugung des ISO-Images:
mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o grub-iso iso
Die so erstellte Datei /tmp/grub.iso habe ich mit k3b als Abbilddatei mit Schreib-Leseprüfung auf CD gebrannt.
Ich habe mir kürzlich auch erst eine Boot-CD allerdings für 10.0 zusammengebastelt. Die Unterschiede zwischen 9.3 und 10.0 werden hoffentliche gering sein. Erst einmal vorweg: Ich kann Dir für solche Experimente eine CD-RW empfehlen, damit der Mülleimer nicht überquillt. Für meine Boot-CD habe ich kein gfxmenu verwandt. Der (cd) Identifier ist überflüssig siehe "info grub". Hast du das Keyword boot am Ende deiner grub-config? Bei mir hat's so funktioniert: ===============8<====================== cd /tmp mkdir -p iso/boot/grub cp MEIN:SUSE10-ROOT/boot/loader/{initrd,linux} iso/boot cp MEIN:menu.lst iso/boot/grub cp /usr/lib/grub/stage2_eltorito iso/boot/grub mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot \ -boot-load-size 4 -boot-info-table -o grub.iso iso ===============8<====================== mit: =========8< menu.lst ================== timeout 600 default 0 title Plain_Installation_32_Bit kernel /boot/linux ramdisk_size=65536 initrd /boot/initrd boot =========8< menu.lst ================== Gruss, Peter.
participants (1)
-
Gunreben, Peter (Peter)