Skip to contentSkip to conversation

Step-by-step tutorial: Installing Xen 4.0.1 rpms on Fedora 13 with pvops Linux 2.6.32.x dom0 kernel

Fedora-xen Pasi Kärkkäinen 6 participants 11 messages Sep 5, 2010 – Sep 7, 2010

lore
Share & tools
lore
#0 lore raw

Hello,

I just wrote a step-by-step tutorial how to install the latest Xen 4.0.1 hypervisor on Fedora 13 (x86_64) host from src.rpm packages, and the pvops dom0 kernel from git repository.

Check it out: http://wiki.xensource.com/xenwiki/Fedora13Xen4Tutorial

It also shows how to install various Xen PV guests using the native distro installers:

- CentOS 5.5
- Fedora 13
- Ubuntu 10.04 LTS

Hopefully this is helpful to someone! :)

-- Pasi

#1 lore raw
Quoted 1 line

Note about disk partitioning: Make /boot partition the primary

(first) partition and choose the filesystem type as "ext3" (not "ext4" -
which is the default)

Could you , please , explain why ?

Boris.

--- On Sat, 9/4/10, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: [Xen-users] Step-by-step tutorial: Installing Xen 4.0.1 rpms on Fedora 13 with pvops Linux 2.6.32.x dom0 kernel
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Date: Saturday, September 4, 2010, 8:02 PM

Hello,

I just wrote a step-by-step tutorial how to install the latest Xen 4.0.1 hypervisor on Fedora 13 (x86_64) host from src.rpm packages, and the pvops dom0 kernel from git repository.

Check it out: http://wiki.xensource.com/xenwiki/Fedora13Xen4Tutorial

It also shows how to install various Xen PV guests using the native distro installers:

    - CentOS 5.5
    - Fedora 13
    - Ubuntu 10.04 LTS

Hopefully this is helpful to someone! :)

-- Pasi

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

_______________________________________________
virt mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/virt

#2 lore raw
Quoted 6 lines · Boris Derzhavets
Quoted 1 line

Note about disk partitioning: Make /boot partition the primary (first)

partition and choose the filesystem type as "ext3" (not "ext4" - which is the default)

Could you , please , explain why ?

It's "just in case". It's not really required.
I prefer making sure every tool out there can read /boot partition to avoid problems :)

-- Pasi

Quoted 42 lines

Boris.
--- On Sat, 9/4/10, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: [Xen-users] Step-by-step tutorial: Installing Xen 4.0.1 rpms on Fedora 13 with pvops Linux 2.6.32.x dom0 kernel
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Date: Saturday, September 4, 2010, 8:02 PM

Hello,

I just wrote a step-by-step tutorial how to install the latest Xen 4.0.1 hypervisor
on Fedora 13 (x86_64) host from src.rpm packages, and the pvops dom0 kernel from git repository.

Check it out: [1]http://wiki.xensource.com/xenwiki/Fedora13Xen4Tutorial

It also shows how to install various Xen PV guests using the native distro installers:

- CentOS 5.5
- Fedora 13
- Ubuntu 10.04 LTS

Hopefully this is helpful to someone! :)

-- Pasi

_______________________________________________
Xen-users mailing list
[2][email protected]
[3]http://lists.xensource.com/xen-users

References

Visible links
1. http://wiki.xensource.com/xenwiki/Fedora13Xen4Tutorial
2. file:///mc/[email protected]
3. http://lists.xensource.com/xen-users

#3 lore raw

Via my experience :-

title Xen 4.0.1 on F13
rootnoverify (hd1,7)
chainloader +1

might have problems with ext4.
I have not notice anything else.

Boris.

--- On Sun, 9/5/10, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-users] Step-by-step tutorial: Installing Xen 4.0.1 rpms on Fedora 13 with pvops Linux 2.6.32.x dom0 kernel
To: "Boris Derzhavets" <[email protected]>
Cc: [email protected], [email protected], [email protected], [email protected]
Date: Sunday, September 5, 2010, 8:20 AM

Quoted 6 lines · Boris Derzhavets

    > Note about disk partitioning: Make /boot partition the primary (first) partition and choose the filesystem type as "ext3" (not "ext4" - which is the default)

    Could you , please , explain why ?

It's "just in case". It's not really required.
I prefer making sure every tool out there can read /boot partition to avoid problems :)

-- Pasi

Quoted 36 lines

    Boris.
    --- On Sat, 9/4/10, Pasi Kärkkäinen <[email protected]> wrote:

      From: Pasi Kärkkäinen <[email protected]>
      Subject: [Xen-users] Step-by-step tutorial: Installing Xen 4.0.1 rpms on Fedora 13 with pvops Linux 2.6.32.x dom0 kernel
      To: [email protected]
      Cc: [email protected], [email protected], [email protected]
      Date: Saturday, September 4, 2010, 8:02 PM

      Hello,

      I just wrote a step-by-step tutorial how to install the latest Xen 4.0.1 hypervisor
      on Fedora 13 (x86_64) host from src.rpm packages, and the pvops dom0 kernel from git repository.

      Check it out: [1]http://wiki.xensource.com/xenwiki/Fedora13Xen4Tutorial

      It also shows how to install various Xen PV guests using the native distro installers:

          - CentOS 5.5
          - Fedora 13
          - Ubuntu 10.04 LTS

      Hopefully this is helpful to someone! :)

      -- Pasi

      _______________________________________________
      Xen-users mailing list
      [2][email protected]
      [3]http://lists.xensource.com/xen-users

Quoted 6 lines

References

    Visible links
    1. http://wiki.xensource.com/xenwiki/Fedora13Xen4Tutorial
    2. file:///mc/[email protected]
    3. http://lists.xensource.com/xen-users

_______________________________________________
virt mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/virt

#4 lore raw
In reply to Pasi Kärkkäinen
Quoted 10 lines · Pasi Kärkkäinen
Quoted 6 lines · Boris Derzhavets
Quoted 1 line

Note about disk partitioning: Make /boot partition the primary (first)

partition and choose the filesystem type as "ext3" (not "ext4" - which is the default)

Could you , please , explain why ?

It's "just in case". It's not really required.
I prefer making sure every tool out there can read /boot partition to avoid problems :)

pvgrub can't handle ext4 partitions, and does so in a non-obvious way (often by just going into a spin loop...).

J

#5 lore raw
Quoted 6 lines · Jeremy Fitzhardinge
Quoted 5 lines · Pasi Kärkkäinen
Quoted 4 lines · Boris Derzhavets
Quoted 1 line

Note about disk partitioning: Make /boot partition the primary (first)

partition and choose the filesystem type as "ext3" (not "ext4" - which is the default)

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Could you , please , explain why ?

It's "just in case". It's not really required.
I prefer making sure every tool out there can read /boot partition to avoid problems :)

pvgrub can't handle ext4 partitions, and does so in a non-obvious way (often by just going into a spin loop...).

There are ext4 patches in various distro grub1 packages, such as those which inspired the patch in 20652:c6ee21dca848 to pygrub/libfsimage.

If someone were looking for a project then rebasing pvgrub onto one of the grub1 distro patchsets which is actively maintained would be useful.

Ian.

_______________________________________________
virt mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/virt

#6 lore raw
Quoted 17 lines · Ian Campbell
Quoted 15 lines · Jeremy Fitzhardinge
Quoted 13 lines · Pasi Kärkkäinen
Quoted 7 lines · Boris Derzhavets
Quoted 1 line

Note about disk partitioning: Make /boot partition the primary (first)

partition and choose the filesystem type as "ext3" (not "ext4" - which is the default)

Could you , please , explain why ?

It's "just in case". It's not really required.
I prefer making sure every tool out there can read /boot partition to avoid problems :)

Quoted 6 lines
Quoted 3 lines

pvgrub can't handle ext4 partitions, and does so in a non-obvious way (often by just going into a spin loop...).

There are ext4 patches in various distro grub1 packages, such as those which inspired the patch in 20652:c6ee21dca848 to pygrub/libfsimage.

I don't know how is it with pvgrub but pygrub is using libfsimage where ext2fs-lib subdirectory resides. If you're having e2fsprogs version that supports ext4 (should be available in Fedora 10 and higher AFAIK) you should have no problem with ext4 support there.

Michal

Signature · 2 lines
Michal Novotny<[email protected]>, RHCE
Virtualization Team (xen userspace), Red Hat
#7 lore raw
Quoted 21 lines · Michal Novotny
Quoted 20 lines · Ian Campbell
Quoted 18 lines · Jeremy Fitzhardinge
Quoted 6 lines · Pasi Kärkkäinen
Quoted 4 lines · Boris Derzhavets
Quoted 1 line

Note about disk partitioning: Make /boot partition the primary (first)

partition and choose the filesystem type as "ext3" (not "ext4" - which is the default)

Quoted 7 lines
Quoted 3 lines

Could you , please , explain why ?

It's "just in case". It's not really required.
I prefer making sure every tool out there can read /boot partition to avoid problems :)

pvgrub can't handle ext4 partitions, and does so in a non-obvious way (often by just going into a spin loop...).

Quoted 8 lines
Quoted 3 lines

There are ext4 patches in various distro grub1 packages, such as those which inspired the patch in 20652:c6ee21dca848 to pygrub/libfsimage.

I don't know how is it with pvgrub but pygrub is using libfsimage where ext2fs-lib subdirectory resides. If you're having e2fsprogs version that supports ext4 (should be available in Fedora 10 and higher AFAIK) you should have no problem with ext4 support there.

pvgrub is native grub running as a PV stub domain, it uses the regular grub filesystem backends not e2fsprogs or libfsimage etc.

Ian.

#8 lore raw
In reply to Jeremy Fitzhardinge
Quoted 3 lines

Note about disk partitioning: Make /boot partition the primary (first)

Quoted 2 lines

    partition and choose the filesystem type as "ext3" (not "ext4" - which is the default)

It was written concerning Dom0 set-up  on top F13 not DomU

Boris.

--- On Mon, 9/6/10, Jeremy Fitzhardinge <[email protected]> wrote:

From: Jeremy Fitzhardinge <[email protected]>
Subject: Re: [Xen-devel] Re: [Xen-users] Step-by-step tutorial: Installing Xen 4.0.1 rpms on Fedora 13 with pvops Linux 2.6.32.x dom0 kernel
To: "Pasi Kärkkäinen" <[email protected]>
Cc: [email protected], "Boris Derzhavets" <[email protected]>, [email protected], [email protected], [email protected]
Date: Monday, September 6, 2010, 8:57 PM

Quoted 10 lines · Pasi Kärkkäinen
Quoted 6 lines · Boris Derzhavets

    > Note about disk partitioning: Make /boot partition the primary (first) partition and choose the filesystem type as "ext3" (not "ext4" - which is the default)

    Could you , please , explain why ?

It's "just in case". It's not really required.
I prefer making sure every tool out there can read /boot partition to avoid problems :)

pvgrub can't handle ext4 partitions, and does so in a non-obvious way (often by just going into a spin loop...).

    J

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

_______________________________________________
virt mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/virt

#9 lore raw
Quoted 7 lines · Boris Derzhavets
Quoted 2 lines

Note about disk partitioning: Make /boot partition the primary (first)

Quoted 1 line

partition and choose the filesystem type as "ext3" (not "ext4" -

which is

Quoted 1 line
Quoted 1 line

the default)

It was written concerning Dom0 set-up on top F13 not DomU

Well, you need to have ext4 support in your dom0's e2fsprogs or directly implement in libfsimage in order to have pygrub (I don't know how are the things with pvgrub) working for PV domUs that have ext4 boot partition and this resides always in dom0.

Michal

Signature · 2 lines
Michal Novotny<[email protected]>, RHCE
Virtualization Team (xen userspace), Red Hat
#10 lore raw

It's done for e2fsprogs-devel on F13.
I should care only about :-

# yum install e2fsprogs-devel

The last is mentioned in XenWiki 4.0 in section -

Packages required to build Xen 4.0 from source on Fedora 11, 12, or 13, in addition to all the usual development tools and libraries:
yum groupinstall "Development Libraries"
yum groupinstall "Development Tools"
yum install transfig wget texi2html libaio-devel dev86 \
glibc-devel e2fsprogs-devel gitk mkinitrd iasl xz-devel \
bzip2-devel pciutils-libs pciutils-devel SDL-devel \
libX11-devel gtk2-devel bridge-utils PyXML \
qemu-common qemu-img mercurial glibc-devel.i686Boris

--- On Tue, 9/7/10, Michal Novotny <[email protected]> wrote:

From: Michal Novotny <[email protected]>
Subject: Re: [Xen-devel] Re: [Xen-users] Step-by-step tutorial: Installing Xen 4.0.1 rpms on Fedora 13 with pvops Linux 2.6.32.x dom0 kernel
To: "Boris Derzhavets" <[email protected]>
Cc: "Pasi Kärkkäinen" <[email protected]>, "Jeremy Fitzhardinge" <[email protected]>, [email protected], [email protected], [email protected], [email protected]
Date: Tuesday, September 7, 2010, 6:38 AM

Quoted 6 lines · Boris Derzhavets
Quoted 3 lines

Note about disk partitioning: Make /boot partition the primary (first)

Quoted 2 lines

    partition and choose the filesystem type as "ext3" (not "ext4" - which is the default)

It was written concerning Dom0 set-up  on top F13 not DomU

Well, you need to have ext4 support in your dom0's e2fsprogs or directly implement in libfsimage in order to have pygrub (I don't know how are the things with pvgrub) working for PV domUs that have ext4 boot partition and this resides always in dom0.

Michal

-- Michal Novotny<[email protected]>, RHCE
Virtualization Team (xen userspace), Red Hat