The steps were easy enough to follow; only i've had to do it as root and only using a kernel already on the system building the new kernel and initrd. Otherwise, the process could not be completed.
After that, i had to include the new created "disk image" into grub2; the link above provides a way to do it, but with grub (grub-legacy).
I followed the instructions on http://ubuntuforums.org/showthread.php?t=1195275 (section 6, Adding Entries to Grub 2) to create a custom grub2 entry; the file /etc/grub.d/40_custom with the following content:
Code: Select all
#!/bin/sh
echo "Adding 40_custom menu entries." >&2
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.
menuentry "Debirf xkiosk" {
linux /home/aab3r/.debirf/xkiosk/vmlinuz-2.6.32-5-686 setkmap=es
initrd /home/aab3r/.debirf/xkiosk/debirf-xkiosk_squeeze_2.6.32-5-686.cgz}
Is there any other way to add custom entries to grub2?
Thanks