Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
linux:multi-boot-stick [2015/06/17 09:18] Andrwe Lord Weber |
linux:multi-boot-stick [2016/12/07 18:06] (aktuell) Andrwe Lord Weber |
||
---|---|---|---|
Zeile 29: | Zeile 29: | ||
- set the boot-flag for this partition | - set the boot-flag for this partition | ||
- format the partition using vfat :!: syslinux doesn't support other filesystems for this use-case :!: | - format the partition using vfat :!: syslinux doesn't support other filesystems for this use-case :!: | ||
- | - install mbr: <code bash>syslinux /dev/sdc1 # use the created partition here</code> | + | - install mbr: <code bash>dd if=/usr/lib/syslinux/bios/mbr.bin of=/dev/sdc</code> |
+ | - install syslinux files: <code bash>syslinux /dev/sdc1 # use the created partition here</code> | ||
- mount the partition and change to the mountpoint, there now has to be the file ''ldlinux.sys'' | - mount the partition and change to the mountpoint, there now has to be the file ''ldlinux.sys'' | ||
- create the folder ''syslinux'' | - create the folder ''syslinux'' | ||
Zeile 95: | Zeile 96: | ||
LABEL off | LABEL off | ||
MENU LABEL Power Off | MENU LABEL Power Off | ||
- | COMBOOT poweroff.com | + | COMBOOT poweroff.c32 |
</file> | </file> | ||
- copy needed binaries into syslinux folder:<code bash>sudo cp /usr/lib/syslinux/bios/{hdt.c32,menu.c32,reboot.c32,poweroff.c32,memdisk} syslinux/</code> | - copy needed binaries into syslinux folder:<code bash>sudo cp /usr/lib/syslinux/bios/{hdt.c32,menu.c32,reboot.c32,poweroff.c32,memdisk} syslinux/</code> |