5caa73a55e2686ecff6b33c4ada7b5552730cd06
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 44-grub
1 #!/bin/bash
2 # Filename:      ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/44-grub
3 # Purpose:       build grub core.img to use outside
4 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports:   see http://grml.org/bugs/
6 # License:       This file is licensed under the GPL v2 or any later version.
7 ################################################################################
8
9 set -e
10 set -u
11
12 $ROOTCMD mkdir -p /boot/grub
13
14 $ROOTCMD grub-mkimage -d /usr/lib/grub/i386-pc \
15   -p /boot/grub \
16   -o /boot/grub/core.img \
17   biosdisk iso9660 \
18   --format=i386-pc
19
20 ## END OF FILE #################################################################
21 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2