From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Fantoni Subject: Re: pvgrub2 is merged Date: Tue, 26 Nov 2013 18:58:47 +0100 Message-ID: <5294E157.90708__38122.185614384$1385488799$gmane$org@m2r.biz> References: <527EA084.6000706@gmail.com> <20131110084753.540b0107@opensuse.site> <5283DD8F.5080103@gmail.com> <52850918.1040406@gmail.com> <52851D28.1090905@gmail.com> <52851D77.6060203@gmail.com> <5285440B.2040301@gmail.com> <5293733B.3090604@m2r.biz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: M A Young Cc: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= , "xen-devel@lists.xen.org" , The development of GNU GRUB List-Id: xen-devel@lists.xenproject.org Il 25/11/2013 20:35, M A Young ha scritto: > On Mon, 25 Nov 2013, Fabio Fantoni wrote: > >> I did a test following informations on one of post before: >> git clone git://git.sv.gnu.org/grub.git # commit >> 61e1b9a49d48035bde52784abb54c3212b647fc8 >> ./autogen.sh >> ./configure --target=x86_64 --with-platform=xen >> mkdir -p boot/grub/ >> cat > boot/grub/grub.cfg <> search -s root -f /boot/grub/grub.cfg >> configfile /boot/grub/grub.cfg >> EOF > You may want to adapt this script to your circumstances. I ended up with > cat > boot/grub/grub.cfg < insmod part_msdos > insmod part_gpt > search -s root -f /grub2/grub.cfg > configfile /grub2/grub.cfg > EOF > for a Fedora domU. > >> ./grub-mkstandalone --grub-mkimage=./grub-mkimage -o pvgrub2.xen -O >> x86_64-xen -d grub-core/ boot/grub/grub.cfg > I also suggest export pkgdatadir=. before this so it looks in the grub > source rather than the installed version. Thanks for reply. Seems not working: export pkgdatadir=. && ./grub-mkstandalone --grub-mkimage=./grub-mkimage -o pvgrub2.xen -O x86_64-xen -d grub-core/ boot/grub/grub.cfg ./grub-mkstandalone: warning: cannot open directory `/usr/local/share/locale': File o directory non esistente. I also added the partition mods but Sid domU still unable to boot :( I have also another question: Is possible specify multiple path where search the grub.cfg for support all mainly distributions and add a custom cfg path support taking it from arguments? Thanks for any reply and sorry for my bad english. > > Of course this may not help your current problem, though I can boot a > domU guest with grub configured as above via the hvc0 interface with > vnc enabled. > > Michael Young