This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] RE: [Xen-admin] Root File systems

To: "Brian Hays" <brian.hays@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] RE: [Xen-admin] Root File systems
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Sun, 7 Nov 2004 10:45:37 -0000
Cc: "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxx>
Delivery-date: Sun, 07 Nov 2004 10:52:05 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcTEe9u9knEn2E4GToupQi/fSo7T4wAOKaQw
Thread-topic: [Xen-admin] Root File systems
> I have a guestion regarding the creation of different root 
> filesystems for use with Xen. I understand how to copy the 
> existing HOST filesystem but how would I create a new root 
> guest filesystem from scratch (ie: I'm running a redhat 9 
> host. How would I create a Fedora Core 2 guest OS filesystem 
> from scratch?).

The easiest way is just to boot the physcial machine with
the FC2 install CDs and then install onto another partition.
When you're booted back into Xen you'll be able to start a
virtual machine using the new partition as root.

An alternative approach is to setup a virtual machine that
has access to the virtual disk you want to install on to,
and also access to the CD. Get the VM to boot using one of
the standard Xen kernels, but with the root= line set up so
that you boot using the /sbin/init on the CD.  (You might
need to take a look at the CD's /linuxrc script too to check
there's nothing you need). You should then run through the
normal text-based install procedure to install the OS onto
the virtual disk. I haven't actually tried this with FC2,
but I think it should work. The only potential problem I
foresee is whether we currently handle the CD changes.
I'd be very interested to hear how you get on.

If you're using debian, the debbootstrap tool is probably
the easiest way of doing this (see the Xen user manual).


This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] RE: [Xen-admin] Root File systems, Ian Pratt <=