- To: slug@xxxxxxxxxxx
- Subject: [SLUG] The Beast
- From: jam <jam@xxxxxxxxx>
- Date: Sat, 14 Nov 2009 15:47:47 +0800
- User-agent: KMail/1.10.3 (Linux/2.6.27.37-0.1-default; KDE/4.1.3; x86_64; ; )
Has anybody tamed the grub2 beast?
Whatever the technical merit, the lack of even basic documentation is
overwhelming.
I'm trying to: (https://wiki.ubuntu.com/BootToRAM)
title RAM Session
kernel /casper/vmlinuz boot=casper toram splash
initrd /casper/initrd.gz
by editing ...
jam@dvr:~$ cat /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
cat << EOF
menuentry "Root Ram" {
set root=(hd0,1)
linux /casper/vmlinuz boot=casper toram splash
initrd /casper/initrd.gz
}
EOF
and running grub-mkconfig which yields NO CHANGES to /boot/grub/grub.cfg and
the grub entry does not work when added by hand saying
error: you need to load the kernel first
I agree with him
http://aronzak.wordpress.com/2008/09/30/stay-away-from-grub2/
so 1 post then back to the sane world for me
James