mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
add grub configuration file (menu.lst) during installation
svn path=/nixu/trunk/; revision=3715
This commit is contained in:
parent
3b7a4df52e
commit
796f3bb691
@ -347,6 +347,15 @@ echo installing bootloader
|
|||||||
|
|
||||||
grub-install --root-directory=${root} --no-floppy ${targetdrive}
|
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
|
echo umounting filesystem
|
||||||
|
|
||||||
umount $root
|
umount $root
|
||||||
|
Loading…
Reference in New Issue
Block a user