grub-devel
[Top][All Lists]
Advanced

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

Re: [Xen-devel] pvgrub2 is merged


From: M A Young
Subject: Re: [Xen-devel] pvgrub2 is merged
Date: Wed, 27 Nov 2013 16:10:15 +0000 (GMT)
User-agent: Alpine 2.00 (GSO 1167 2008-08-23)

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
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?

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]