Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] The Beast


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