From 4a12fc717a25eab6871a3beeb10e4353710e463b Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 25 Mar 2014 23:41:11 +0100 Subject: [PATCH] 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 --- grml-live | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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/ -- 2.1.4