All of lore.kernel.org
 help / color / mirror / Atom feed
* domU Filesystems
@ 2005-03-25 20:32 Brian Hays
  2005-03-25 20:39 ` Robin Green
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Brian Hays @ 2005-03-25 20:32 UTC (permalink / raw)
  To: xen-devel

Hello,

What is the best way to create guest (domU) filesystems? I am
currently running the latest version on Xen on FC3 and would like to
create a Redhat 9 and Fedora Core 1 filesystem for use on domU's. What
is the best way to accomplish this, and also ... will Redhat 9 boot on
the 2.6.11 kernel (I'm using the xen & kernel-xen0 & U rpms from the
FC4test1 repository ... it only comes with 2.6 kernels)? If not how
can I add another xenU kernel (2.4 version)?

Thank you,
Brian


-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: domU Filesystems
  2005-03-25 20:32 domU Filesystems Brian Hays
@ 2005-03-25 20:39 ` Robin Green
  2005-03-25 20:51 ` Christopher S. Aker
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: Robin Green @ 2005-03-25 20:39 UTC (permalink / raw)
  To: Brian Hays; +Cc: xen-devel

On Fri, 25 Mar 2005, Brian Hays wrote:

> Hello,
>
> What is the best way to create guest (domU) filesystems?

Use LVM. File-backed filesystems are slower and may not be as reliable.

> will Redhat 9 boot on
> the 2.6.11 kernel

It should do. However, you will need to install a recent version of 
module-init-tools if you want to use kernel modules at all.
-- 
Robin


-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: domU Filesystems
  2005-03-25 20:32 domU Filesystems Brian Hays
  2005-03-25 20:39 ` Robin Green
@ 2005-03-25 20:51 ` Christopher S. Aker
  2005-03-25 20:58 ` Tupshin Harper
       [not found] ` <42457680.3010300@gmail.com>
  3 siblings, 0 replies; 9+ messages in thread
From: Christopher S. Aker @ 2005-03-25 20:51 UTC (permalink / raw)
  To: Brian Hays; +Cc: xen-devel

> What is the best way to create guest (domU) filesystems? I am
> currently running the latest version on Xen on FC3 and would like to
> create a Redhat 9 and Fedora Core 1 filesystem for use on domU's. What
> is the best way to accomplish this, and also ... will Redhat 9 boot on
> the 2.6.11 kernel (I'm using the xen & kernel-xen0 & U rpms from the
> FC4test1 repository ... it only comes with 2.6 kernels)? If not how
> can I add another xenU kernel (2.4 version)?

There are a number of filesystems available from the UML world.  It's fairly easy to
(loop) mount them, make the changes to fstab, and then copy the entire tree into
where ever you run your domUs from...

http://uml.linode.com (u-m-l.sf.net mirror, a few oldies but goodies)
http://uml.linode.com/root_fs.rh-9-full.pristine.20030724.bz2
ftp://ftp.express.org/pub/uml/fedora-core1-server-uml20040129.tar.bz2

Red Hat 9 will boot on a 2.6 kernel, just watch out for the /lib/tls issue.

-Chris



-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: domU Filesystems
  2005-03-25 20:32 domU Filesystems Brian Hays
  2005-03-25 20:39 ` Robin Green
  2005-03-25 20:51 ` Christopher S. Aker
@ 2005-03-25 20:58 ` Tupshin Harper
  2005-03-25 21:35   ` Anthony Liguori
       [not found] ` <42457680.3010300@gmail.com>
  3 siblings, 1 reply; 9+ messages in thread
From: Tupshin Harper @ 2005-03-25 20:58 UTC (permalink / raw)
  To: Brian Hays; +Cc: xen-devel

Brian Hays wrote:

>Hello,
>
>What is the best way to create guest (domU) filesystems? I am
>currently running the latest version on Xen on FC3 and would like to
>create a Redhat 9 and Fedora Core 1 filesystem for use on domU's. What
>is the best way to accomplish this, and also ... will Redhat 9 boot on
>the 2.6.11 kernel (I'm using the xen & kernel-xen0 & U rpms from the
>FC4test1 repository ... it only comes with 2.6 kernels)? If not how
>can I add another xenU kernel (2.4 version)?
>
>Thank you,
>Brian
>  
>
Possible strategies for fresh domU installation that I'm aware of:
1) install to bare hardware, and then copy the filesystem to a place 
where xen can load it
2) install into vmware and then do the same
3) qemu probably works as well...I haven't tried it
4) find a disk image/tarred archive of an installed base system, and 
extract it to a xen accessible partition
4a) find a disk image of an earlier version and use apt/yum/emerge/etc 
to update it after installing
(note that uml and colinux are two projects that have pre-existing disk 
images of some popular distros)
5) use your distro's procedure to bootstrap into a chroot environment 
(if it has one) such as debian's debootstrap or by using gentoo's stage3 
installation approach. (none for RedHat9 that I'm aware of)

-Tupshin


-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: domU Filesystems
  2005-03-25 20:58 ` Tupshin Harper
@ 2005-03-25 21:35   ` Anthony Liguori
  2005-03-25 21:48     ` Tupshin Harper
  2005-03-26 19:17     ` Interim Xen Wiki [was: domU Filesystems] Martin Maney
  0 siblings, 2 replies; 9+ messages in thread
From: Anthony Liguori @ 2005-03-25 21:35 UTC (permalink / raw)
  To: Tupshin Harper; +Cc: Brian Hays, xen-devel

Tupshin Harper wrote:

> 5) use your distro's procedure to bootstrap into a chroot environment 
> (if it has one) such as debian's debootstrap or by using gentoo's 
> stage3 installation approach. (none for RedHat9 that I'm aware of)

Here are the mechanisms I know and their requirements.  I plan to put 
this in the Wiki as soon as it goes live (if it's not already there):

Gentoo
-------------
Requirements: wget
Note: See http://www.gentoo.org for additional mirrors

]# MIRROR=http://mirror.usu.edu/mirrors/gentoo
]# VERSION=2004.3
]# wget 
${MIRROR}/releases/x86/2004.3/stages/i686/stage3-i686-${VERSION}.tar.bz2
]# tar xfj stage3-i686-${VERSION}.tar.bz2
]# mount -obind /dev dev
]# mount -obind /proc proc
]# chroot .
]# env-update
]# source /etc/profile
]# emerge sync && emerge portage

Debian
------------
Requirements: debootstrap 
(http://packages.debian.org/stable/admin/debootstrap) and perhaps apt

]# TARGET=sid
]# debootstrap ${TARGET} .

Fedora
------------
Requirements: yum (Don't know how to install this on non-Fedora systems)

]# yum --installroot=. -y groupinstall Base

SuSE
---------
Does anyone know a distro-neutral way to install a SuSE root?

Regards,
Anthony Liguori

> -Tupshin
>
>
> -------------------------------------------------------
> 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.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
>



-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: domU Filesystems
  2005-03-25 21:35   ` Anthony Liguori
@ 2005-03-25 21:48     ` Tupshin Harper
  2005-03-26 19:17     ` Interim Xen Wiki [was: domU Filesystems] Martin Maney
  1 sibling, 0 replies; 9+ messages in thread
From: Tupshin Harper @ 2005-03-25 21:48 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Brian Hays, xen-devel

Anthony Liguori wrote:

> Tupshin Harper wrote:
>
>> 5) use your distro's procedure to bootstrap into a chroot environment 
>> (if it has one) such as debian's debootstrap or by using gentoo's 
>> stage3 installation approach. (none for RedHat9 that I'm aware of)
>
>
> Here are the mechanisms I know and their requirements.  I plan to put 
> this in the Wiki as soon as it goes live (if it's not already there):
>
> Gentoo

<snip>
I have done something very equivalent to your gentoo procedure, but when 
I try to emerge glibc (or as a dependency for many other things) I'm 
getting a segfault near the end of the process. I'm guessing this is the 
nptl problem, and so far I haven't been able to work around it.

FWIW, this is with xen unstable as of about 1 week ago.

-Tupshin



-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Interim Xen Wiki [was: domU Filesystems]
  2005-03-25 21:35   ` Anthony Liguori
  2005-03-25 21:48     ` Tupshin Harper
@ 2005-03-26 19:17     ` Martin Maney
  1 sibling, 0 replies; 9+ messages in thread
From: Martin Maney @ 2005-03-26 19:17 UTC (permalink / raw)
  To: xen-devel

On Fri, Mar 25, 2005 at 03:35:47PM -0600, Anthony Liguori wrote:
> Here are the mechanisms I know and their requirements.  I plan to put 
> this in the Wiki as soon as it goes live (if it's not already there):

Last "Real Soon Now" I saw was back ont he 10th, and that was an
important reason I didn't do this sooner.  As of ten minutes ago, a
nearly empty Interim Xen Wiki is up and running at

  http://www.two14.net/xen

Access to create or edit pages requires a trivial registration at

  http://www.two14.net/xen/UserPreferences

This is mostly to discourage wiki spam, though I won't be at all
unhappy if the official wiki gets setup so quickly that the spammers
won't have time to annoy us.  OTOH, I don't see any reason this wiki
couldn't stay live for as long as it takes, though there might be some
disruption when the hardware has to get shuffled.  If you register with
a working email address - no, of course it isn't actually checked - you
can subscribe to get notices when some (or all) pages get updated.

FWIW, I spent more time borrowing the logo and hacking up a minimal Xen
page with a link to the project and so forth than on the actual wiki
setup.  Granted, this wasn't the first time I've setup a wiki with Moin
on this box.

-- 
I didn't write a whole, free operating system, either.  I wrote some pieces
and invited other people to join me by writing other pieces.  So I set an
example.  I said, "I'm going in this direction.  Join me and we'll get
there." And enough people joined in that we got there.  -- R M Stallman


-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: domU Filesystems
       [not found] ` <42457680.3010300@gmail.com>
@ 2005-03-26 23:25   ` Brian Hays
  2005-03-27  0:29     ` Brian Hays
  0 siblings, 1 reply; 9+ messages in thread
From: Brian Hays @ 2005-03-26 23:25 UTC (permalink / raw)
  To: Michael McCabe, xen-devel

When trying to start my (redhat9) domU I get the following errors
everytime on boot. I have tried using ext3 and ext2 as the filesystem
type with the same results. Does anyone know what may cause this (see
below) :

Checking root filesystem
fsck.ext2: [/sbin/fsck.ext2 (1) -- /] fsck.ext2 -a /dev/sda1
Filesystem has unsupported feature(s) (/dev/sda1)
e2fsck: Get a newer version of e2fsck!
[FAILED]

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):

Thank you,
Brian


On Sat, 26 Mar 2005 09:49:36 -0500, Michael McCabe <mccabemt@gmail.com> wrote:
> Brian
> This article has information about installing Fedora Core 3 as a guest
> using Yum.  http://www-128.ibm.com/developerworks/library/l-xen/ . The
> group information isn't available in the version of yum that is
> available for Redhat 9 so you'll have to install packages and have it
> pull in the dependencies.  If you need any other help setting up your
> Redhat images let me know, I've been using them extensively in the past
> couple of weeks.
> 
> Mike
> 
> Brian Hays wrote:
> 
> >Hello,
> >
> >What is the best way to create guest (domU) filesystems? I am
> >currently running the latest version on Xen on FC3 and would like to
> >create a Redhat 9 and Fedora Core 1 filesystem for use on domU's. What
> >is the best way to accomplish this, and also ... will Redhat 9 boot on
> >the 2.6.11 kernel (I'm using the xen & kernel-xen0 & U rpms from the
> >FC4test1 repository ... it only comes with 2.6 kernels)? If not how
> >can I add another xenU kernel (2.4 version)?
> >
> >Thank you,
> >Brian
> >
> >
> >-------------------------------------------------------
> >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.
> >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> >_______________________________________________
> >Xen-devel mailing list
> >Xen-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/xen-devel
> >
> >
> >
> 
>


-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: domU Filesystems
  2005-03-26 23:25   ` domU Filesystems Brian Hays
@ 2005-03-27  0:29     ` Brian Hays
  0 siblings, 0 replies; 9+ messages in thread
From: Brian Hays @ 2005-03-27  0:29 UTC (permalink / raw)
  To: Michael McCabe, xen-devel

nevermind on the below question ... I built an rpm from the e2fsprogs
1.36 src-rpm (from the  FC4 test1 SRPMS), installed it in my RH9
filesystem and now it boots up great.

Thanks,
Brian


On Sat, 26 Mar 2005 18:25:08 -0500, Brian Hays <brian.hays@gmail.com> wrote:
> When trying to start my (redhat9) domU I get the following errors
> everytime on boot. I have tried using ext3 and ext2 as the filesystem
> type with the same results. Does anyone know what may cause this (see
> below) :
> 
> Checking root filesystem
> fsck.ext2: [/sbin/fsck.ext2 (1) -- /] fsck.ext2 -a /dev/sda1
> Filesystem has unsupported feature(s) (/dev/sda1)
> e2fsck: Get a newer version of e2fsck!
> [FAILED]
> 
> *** An error occurred during the file system check.
> *** Dropping you to a shell; the system will reboot
> *** when you leave the shell.
> Give root password for maintenance
> (or type Control-D to continue):
> 
> Thank you,
> Brian
> 
> On Sat, 26 Mar 2005 09:49:36 -0500, Michael McCabe <mccabemt@gmail.com> wrote:
> > Brian
> > This article has information about installing Fedora Core 3 as a guest
> > using Yum.  http://www-128.ibm.com/developerworks/library/l-xen/ . The
> > group information isn't available in the version of yum that is
> > available for Redhat 9 so you'll have to install packages and have it
> > pull in the dependencies.  If you need any other help setting up your
> > Redhat images let me know, I've been using them extensively in the past
> > couple of weeks.
> >
> > Mike
> >
> > Brian Hays wrote:
> >
> > >Hello,
> > >
> > >What is the best way to create guest (domU) filesystems? I am
> > >currently running the latest version on Xen on FC3 and would like to
> > >create a Redhat 9 and Fedora Core 1 filesystem for use on domU's. What
> > >is the best way to accomplish this, and also ... will Redhat 9 boot on
> > >the 2.6.11 kernel (I'm using the xen & kernel-xen0 & U rpms from the
> > >FC4test1 repository ... it only comes with 2.6 kernels)? If not how
> > >can I add another xenU kernel (2.4 version)?
> > >
> > >Thank you,
> > >Brian
> > >
> > >
> > >-------------------------------------------------------
> > >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.
> > >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > >_______________________________________________
> > >Xen-devel mailing list
> > >Xen-devel@lists.sourceforge.net
> > >https://lists.sourceforge.net/lists/listinfo/xen-devel
> > >
> > >
> > >
> >
> >
>


-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-03-27  0:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-25 20:32 domU Filesystems Brian Hays
2005-03-25 20:39 ` Robin Green
2005-03-25 20:51 ` Christopher S. Aker
2005-03-25 20:58 ` Tupshin Harper
2005-03-25 21:35   ` Anthony Liguori
2005-03-25 21:48     ` Tupshin Harper
2005-03-26 19:17     ` Interim Xen Wiki [was: domU Filesystems] Martin Maney
     [not found] ` <42457680.3010300@gmail.com>
2005-03-26 23:25   ` domU Filesystems Brian Hays
2005-03-27  0:29     ` Brian Hays

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.