[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] pvgrub2 is merged
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: [Xen-devel] pvgrub2 is merged |
Date: |
Wed, 13 Nov 2013 21:14:07 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 |
On 13.11.2013 20:06, M A Young wrote:
>
>
> On Sun, 10 Nov 2013, Andrey Borzenkov wrote:
>
>> В Sat, 09 Nov 2013 21:52:20 +0100
>> Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden> пишет:
>>
>>> Hello, all. pvgrub2 has just became part of upstream grub as ports
>>> i386-xen and x86_64-xen.
>>> http://git.savannah.gnu.org/cgit/grub.git
>>>
>>> Documentation on its usage is missing for now but in short:
>>> ARCH=x86_64
>>> ./autogen.sh
>>> ./configure --target=$ARCH --with-platform=xen
>>> make
>>> mkdir -p boot/grub/
>>> cat > boot/grub/grub.cfg <<EOF
>>> search -s root -f /boot/grub/grub.cfg
>>> configfile /boot/grub/grub.cfg
>>> EOF
>>> ./grub-mkstandalone --grub-mkimage=./grub-mkimage -o grub.xen -O
>>> $ARCH-xen -d grub-core/ boot/grub/grub.cfg
>>>
>>
>> Do I understand it correctly that to use grub.xen it is enough to add
>>
>> kernel = "/path/to/grub.xen"
>>
>> to guest configuration?
>
> I have found the following problems in doing this;
>
> The instructions are missing a step. You I found I had to do
> export pkgdatadir=.
> before running ./grub-mkstandalone as otherwise it looks for some files
> in the installed version of grub2 rather than the build location.
>
> Your script
> search -s root -f /boot/grub/grub.cfg
> configfile /boot/grub/grub.cfg
> only checks one location, and the grub.cfg file can be in other places
> such as /grub/grub.cfg if there is a separate boot partition, or
> /boot/grub2/grub.cfg for Fedora. For testing it can be set correctly by
> hand but more locations would need to be searched for general use.
>
ok
> It doesn't seem to understand sub-partitions. I can get it to work if
> the boot files are in /dev/xvda but not in /dev/xvda1 .
>
insmod part_msdos
insmod part_gpt
> Michael Young
signature.asc
Description: OpenPGP digital signature
- pvgrub2 is merged, Vladimir 'φ-coder/phcoder' Serbinenko, 2013/11/09
- Re: [Xen-devel] pvgrub2 is merged, Samuel Thibault, 2013/11/09
- Re: pvgrub2 is merged, Andrey Borzenkov, 2013/11/09
- Re: pvgrub2 is merged, Vladimir 'φ-coder/phcoder' Serbinenko, 2013/11/11
- Re: [Xen-devel] pvgrub2 is merged, M A Young, 2013/11/13
- Re: [Xen-devel] pvgrub2 is merged,
Vladimir 'φ-coder/phcoder' Serbinenko <=
- Re: [Xen-devel] pvgrub2 is merged, M A Young, 2013/11/14
- Re: [Xen-devel] pvgrub2 is merged, M A Young, 2013/11/14
- Re: [Xen-devel] pvgrub2 is merged, Vladimir 'φ-coder/phcoder' Serbinenko, 2013/11/14
- Re: [Xen-devel] pvgrub2 is merged, M A Young, 2013/11/14
- Re: [Xen-devel] pvgrub2 is merged, Vladimir 'φ-coder/phcoder' Serbinenko, 2013/11/14
- Re: [Xen-devel] pvgrub2 is merged, Vladimir 'φ-coder/phcoder' Serbinenko, 2013/11/14
- Re: [Xen-devel] pvgrub2 is merged, M A Young, 2013/11/14
- Re: [Xen-devel] pvgrub2 is merged, Vladimir 'φ-coder/phcoder' Serbinenko, 2013/11/14
- Re: [Xen-devel] pvgrub2 is merged, Fabio Fantoni, 2013/11/25
- Re: [Xen-devel] pvgrub2 is merged, M A Young, 2013/11/25