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

Re: [Xen-users] almost able to boot guest OS


  • To: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Matt Herzog <msh@xxxxxxxxxxx>
  • Date: Thu, 28 Sep 2006 21:08:44 -0400
  • Delivery-date: Thu, 28 Sep 2006 18:09:25 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Thu, Sep 28, 2006 at 12:37:43PM -0400, Matt Herzog wrote:
> So now I'm able to boot the guest but I end up with an error regarding the
> root disk:

Obviously I had no / guest file system in place. I need to "install" a root fs
from jailtime.org or create one from scratch. All the Xen docs seem to stop 
once dom0 has booted. Why are there so few docs on installing the guest OS? Is 
it really so obvious what the next steps are?

> VFS: Cannot open root device "hda1" or unknown-block(0,0)
> Please append a correct "root=" boot option
> Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(0,0)
> 
> Below is my config file:
> 
> 
> def vmid_check(var, val):
>     val = int(val)
>         if val <= 0:
> raise ValueError
> return val
> 
> xm_vars.var('vmid',
> use="Virtual machine id. Integer greater
> than 0.",
> check=vmid_check)
> xm_vars.check()
> kernel = "/boot/vmlinuz-2.6-xen"
> memory = 128
> name = "VM%d" % vmid
> vcpus = 2 # make your domain a
> 4-way
> vif = [ '' ]
> disk = [ 'phy:hdc3,hdc3,w' ]
> dhcp="dhcp"
> root = "/dev/hda1 ro"
> extra = "3 VMID=%d usr=/dev/hdc1" % vmid
> 
> -- 
> Announcing your plans is a good way to hear the gods' laughter.
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

-- 
Announcing your plans is a good way to hear the gods' laughter.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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