From 796f3bb6913cf08de035eaf2e07a07273a78745a Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Fri, 26 Aug 2005 22:21:29 +0000 Subject: [PATCH] add grub configuration file (menu.lst) during installation svn path=/nixu/trunk/; revision=3715 --- fill-disk.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fill-disk.sh b/fill-disk.sh index 2a44c22f908..cab29a3fb22 100755 --- a/fill-disk.sh +++ b/fill-disk.sh @@ -347,6 +347,15 @@ echo installing bootloader grub-install --root-directory=${root} --no-floppy ${targetdrive} +# FIXME "root (hd0,0)" +cat > $root/boot/grub/menu.lst << GRUBEND +default=0 +timeout=5 +title NixOS + root (hd0,0) + kernel @kernel@/vmlinuz root=$device +GRUBEND + echo umounting filesystem umount $root