Il 27/11/2013 12:50, Vladimir 'φ-coder/phcoder' Serbinenko ha scritto:
That pretty much explains what happened: you don't have any
/boot/grub2/grub.cfg and when looking for /boot/grub/grub.cfg GRUB found
its own memdisk and fell into recursion. I'm not sure what should be the
proper way to solve this recursion.
Ok, now I understand with this:
cat > boot/grub/grub.cfg <<EOF
insmod lvm
insmod ext2
insmod part_msdos
insmod part_gpt
search -s root -f /boot/grub/grub.cfg
configfile /boot/grub/grub.cfg
EOF
that has the debian grub.cfg path equal to memdisk's grub, and then it loads
the memdisk ones indefinitely.
Anyone know how to exclude memdisk from the search please?