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

Re: [Xen-devel] Easy Fedora rootfs recipe sought

maybe i'm doing something wrong but it just does not seems to work for me.

first it was complainign that it could not find pgp keys, then it would complain that var/cache/yum does not exists.


it is how i try to do it :

rpm --root=/mnt/RHFC3 --import 
rpm --root=/mnt/RHFC3 --import 
rpm --root=/mnt/RHFC3 --import 
mkdir -p /mnt/RHFC3/var/cache/yum
yum --installroot=/mnt/RHFC3 -y groupinstall Base

current error is :

        [root@mtdew rpm]# yum --installroot=/mnt/RHFC3 -y groupinstall Base
        Setting up Group Process
        Setting up Repo:  base
        Cannot find a valid baseurl for repo: base

[root@mtdew rpm]# cat /etc/redhat-release
Fedora Core release 3 (Heidelberg)

ideas ? On Tue, 1 Feb 2005, Jared Rhine wrote:

[Rik == riel@xxxxxxxxxx on Mon, 31 Jan 2005 10:35:56 -0500 (EST)]

 Rik> there is a HOWTO document, explaining how to set up Xen
 Rik> with Fedora
 Rik> http://www.fedoraproject.org/wiki/FedoraXenQuickstart

A neat invocation:

  yum --installroot=/mnt -y groupinstall Base

is shown in this document, which reminds of the ease of debootstrap.

In the next release of XenCD, I've got a full walkthrough of using
debootstrap to create a live Debian domU in addition to the ttylinux
domUs that are automatically created.

I'd love to support the creation of Fedora rootfs's entirely within
XenCD as well.  I can find no yum *.deb out there, so it looks like
I'd need incorporate RPM debs, maybe Python 2.4, and make a yum *.deb
to jury rig this together.  This may be more work and QA than I'm up
for right now, though it doesn't look all that hard.

So I'm looking for either a lighter way to install Fedora into a
directory via a script, or possible help to integrate the yum package
itself into XenCD, or a contributed script that can create a Fedora
rootfs (written in either sh, Perl, or Python).

Another approach might be to distributed a compressed rootfs on the
CD, which I might do for Debian as well, but that would end up as a
separate branch from the lean 32 Mb ISO we've got now.

-- jared@xxxxxxxxxxx

War is God's way of teaching Americans geography. -Ambrose Bierce

This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Xen-devel mailing list

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
Xen-devel mailing list



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