GRUB 2.00 released
Posted Jun 29, 2012 7:51 UTC (Fri) by
idupree (subscriber, #71169)
In reply to:
GRUB 2.00 released by alspnost
Parent article:
GRUB 2.00 released
I know Debian's done crazy things with their GRUB configuration, but my manual GRUB2 installation is dirt simple:
grub.cfg:
#timeout in seconds:
set timeout=3
#default counts menuentries in order from 0, i.e.
#this references "Arch-no-nouveau-pushed".
set default=1
menuentry "Arch-force-nouveau" {
linux /archboot/vmlinuz-linux cryptdevice=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:files root=/dev/mapper/files gpt nouveau modeset=1 printk.time=1
initrd /archboot/initramfs-linux.img
}
menuentry "Arch-no-nouveau-pushed" {
linux /archboot/vmlinuz-linux cryptdevice=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:files root=/dev/mapper/files gpt printk.time=1
initrd /archboot/initramfs-linux.img
}
menuentry "Arch-lts-fallback-3.0kernel" {
linux /archboot/vmlinuz-linux-lts cryptdevice=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:files root=/dev/mapper/files gpt nouveau modeset=1 printk.time=1
initrd /archboot/initramfs-linux-lts-fallback.img
}
menuentry "Rescue iso (sysresccd 2.7.0, kernel rescue64 3.2.x)" {
loopback loop /systemrescuecd-x86-2.7.0.iso
linux (loop)/isolinux/rescue64 docache isoloop=systemrescuecd-x86-2.7.0.iso
initrd (loop)/isolinux/initram.igz
}
menuentry "Arch memtest86+" {
linux16 /archboot/memtest86+/memtest.bin
}
(context - I have a dedicated bootloader partition. I mount its /archboot onto my Arch Linux /boot partition (using fstab). grub2-install takes care of what happens before this partition [I install grub using SysRescCD]. My distro's initramfs takes care of what happens after.)
(
Log in to post comments)