mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
* Run the virtual consoles in 1024x768x16.
svn path=/nixu/trunk/; revision=7136
This commit is contained in:
parent
66574e789c
commit
81856426cf
@ -15,6 +15,9 @@ let
|
||||
readOnlyRoot = false;
|
||||
};
|
||||
|
||||
# Extra kernel command line arguments.
|
||||
extraKernelParams = "vga=0x317 console=tty1 splash=verbose";
|
||||
|
||||
in
|
||||
|
||||
with bootEnv;
|
||||
@ -31,6 +34,7 @@ rec {
|
||||
inherit grubMenuBuilder;
|
||||
kernel = pkgs.kernel + "/vmlinuz";
|
||||
initrd = initialRamdisk + "/initrd";
|
||||
inherit extraKernelParams;
|
||||
};
|
||||
|
||||
|
||||
|
@ -6,7 +6,7 @@ ln -s $kernel $out/kernel
|
||||
ln -s $grub $out/grub
|
||||
|
||||
cat > $out/menu.lst << GRUBEND
|
||||
kernel $kernel selinux=0 apm=on acpi=on init=$bootStage2
|
||||
kernel $kernel selinux=0 apm=on acpi=on init=$bootStage2 $extraKernelParams
|
||||
initrd $initrd
|
||||
GRUBEND
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user