[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] pvgrub2 is merged

On Wed, 27 Nov 2013, Fabio Fantoni wrote:

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

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?

Probably the simplest way is to rename the grub.cfg file on the memdisk so that search doesn't find it, eg. to grub-memdisk.cfg or grub-internal.cfg and then adjust the ./grub-mkstandalone line appropriately.

        Michael Young
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.