* util/grub.d/00_header.in: Move last prepare_grub_to_access_device()
call from here ...
* util/grub.d/10_hurd.in: ... to here ...
* util/grub.d/10_linux.in: ... and here.
+2008-06-21 Robert Millan <rmh@aybabtu.com>
+
+ * util/grub.d/00_header.in: Move last prepare_grub_to_access_device()
+ call from here ...
+
+ * util/grub.d/10_hurd.in: ... to here ...
+ * util/grub.d/10_linux.in: ... and here.
+
2008-06-19 Robert Millan <rmh@aybabtu.com>
* kern/main.c (grub_main): Export `prefix' variable inmediately
echo "terminal ${GRUB_TERMINAL}"
;;
esac
-
-# Set the root device.
-prepare_grub_to_access_device ${GRUB_DEVICE_BOOT}
exit 1
fi
+prepare_grub_to_access_device ${GRUB_DEVICE}
+
cat << EOF
menuentry "${OS}" {
multiboot ${kernel} root=device:${GRUB_DEVICE}
if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
done`
+if [ "x$list" != "x" ] ; then
+ prepare_grub_to_access_device ${GRUB_DEVICE_BOOT}
+fi
+
while [ "x$list" != "x" ] ; do
linux=`find_latest $list`
echo "Found linux image: $linux" >&2