| Zeile 32: | Zeile 32: | ||
* Kann mit einem Passwort gesichert werden | * Kann mit einem Passwort gesichert werden | ||
* Kann von einem TFTP-Server booten | * Kann von einem TFTP-Server booten | ||
| + | |||
| + | === Disketten image herstellen === | ||
| + | |||
| + | ==== Linux ==== | ||
| + | |||
| + | {{Achtung|Text=Funktioniert nur mit GRUB, nicht aber mit GRUB2!}} | ||
| + | |||
| + | Wir brauchen also zunächst einmal ein Image: | ||
| + | <pre> | ||
| + | # dd if=/dev/zero of=/tmp/testimg bs=1024 count=1440 | ||
| + | # mkdosfs /tmp/testimg | ||
| + | </pre> | ||
| + | |||
| + | Danach muß dieses Image gemountet und alle nötigen Dateien draufkopiert werden: | ||
| + | <pre> | ||
| + | # mount -oloop /tmp/testimg /mnt | ||
| + | # mkdir /mnt/grub | ||
| + | # cp /boot/grub/stage* /mnt/grub | ||
| + | # cp lost.krn /mnt | ||
| + | # umount /mnt | ||
| + | </pre> | ||
| + | |||
| + | Anschließend das Image noch bootbar machen: | ||
| + | <pre> | ||
| + | # grub | ||
| + | |||
| + | grub> device (fd0) /tmp/testimg | ||
| + | grub> root (fd0) | ||
| + | grub> setup (fd0) | ||
| + | grub> quit | ||
| + | </pre> | ||
| + | |||
| + | ==== Windows ==== | ||
| + | |||
| + | {{Achtung|Text=Funktioniert nur mit GRUB4DOS, nicht aber mit GRUB/GRUB2!}} | ||
| + | |||
| + | Es sind folgende Tools vonnöten: | ||
| + | * [http://www.nu2.nu/bfi/ BFI] (''Build Floppy Image'') | ||
| + | * [https://gna.org/projects/grub4dos GRUB4DOS] | ||
| + | * [http://chitchat.at.infoseek.co.jp/vmware/vfd.html Virtual Floppy Drive] | ||
| + | |||
| + | Wir brauchen also zunächst einmal einen Ordner. In desen Ordner kommt die Datei ''grldr''(GRUB4DOS Stage2). | ||
| + | Aus diesem Ordner machen wir jetzt ein Iamge. | ||
| + | <pre> | ||
| + | bfi -t=144 -f=floppy.img floppy | ||
| + | </pre> | ||
| + | <small>Erstellt die Datei floppy.img mit dem Inhalt des Ordners ''floppy''.</small> | ||
| + | |||
| + | Nun muss GRUB nur noch auf dem Image installiert werden und das Image Bootfähig gemacht werden. Das geschieht mit diesem Befehl: | ||
| + | <pre> | ||
| + | bootlace.com --fat12 --floppy floppy.img | ||
| + | </pre> | ||
| + | <small>Installiert GRUB-stage1 in den Bootsektor des Floppy Images</small> | ||
| + | |||
| + | Nun kannst du das Image mit VFD mounten und deinen Kernel und eine menu.lst(Die GRUB konfigurationsdatei) auf das Image kopieren. | ||
=== Beispielkonfigurationsdatei === | === Beispielkonfigurationsdatei === | ||