From: Michael Prokop Date: Tue, 25 Mar 2014 22:41:11 +0000 (+0100) Subject: Install grub modules into /boot/grub/i386-pc [Testing: issue1297] X-Git-Tag: v0.23.2~8 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=4a12fc717a25eab6871a3beeb10e4353710e463b Install grub modules into /boot/grub/i386-pc [Testing: issue1297] Otherwise for example Addons loaded via linux16 (e.g. memtest) fail to boot because of: | error: file `/boot/grub/i386-pc/linux16.mod' not found | error: can't find command `linux16'. Thanks: Michael Schierl --- diff --git a/grml-live b/grml-live index 1f9b37d..1d3f9ed 100755 --- a/grml-live +++ b/grml-live @@ -958,9 +958,10 @@ if [ "$ARCH" = i386 ] || [ "$ARCH" = amd64 ] ; then echo "source /boot/grub/footer.cfg" >> "${BUILD_OUTPUT}"/boot/grub/loopback.cfg # copy grub files from target - cp -a "${CHROOT_OUTPUT}"/usr/lib/grub/*-pc/*.mod "${BUILD_OUTPUT}"/boot/grub/ - cp -a "${CHROOT_OUTPUT}"/usr/lib/grub/*-pc/*.o "${BUILD_OUTPUT}"/boot/grub/ - cp -a "${CHROOT_OUTPUT}"/usr/lib/grub/*-pc/*.lst "${BUILD_OUTPUT}"/boot/grub/ + mkdir -p ${BUILD_OUTPUT}"/boot/grub/i386-pc/ + cp -a "${CHROOT_OUTPUT}"/usr/lib/grub/*-pc/*.mod "${BUILD_OUTPUT}"/boot/grub/i386-pc/ + cp -a "${CHROOT_OUTPUT}"/usr/lib/grub/*-pc/*.o "${BUILD_OUTPUT}"/boot/grub/i386-pc/ + cp -a "${CHROOT_OUTPUT}"/usr/lib/grub/*-pc/*.lst "${BUILD_OUTPUT}"/boot/grub/i386-pc/ cp -a "${CHROOT_OUTPUT}"/usr/share/grub/ascii.pf2 "${BUILD_OUTPUT}"/boot/grub/ cp -a "${CHROOT_OUTPUT}"/boot/grub/core.img "${BUILD_OUTPUT}"/boot/grub/ cp -a "${CHROOT_OUTPUT}"/boot/grub/grub.img "${BUILD_OUTPUT}"/boot/grub/