So now I''m able to boot the guest but I end up with an error regarding the root disk: 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@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com > http://lists.xensource.com/xen-users-- Announcing your plans is a good way to hear the gods'' laughter. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Is it really so obvious what the next steps are?Hi Matt, it is guest os dependent, so here''s one for a debian guest: http://www.debian-administration.org/articles/426 Sincerely, Jan. Google : installing xen user-domain''s, guest OS-es _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 9/29/06, Matt Herzog <msh@blisses.org> wrote:> [...] > Why are there so few docs on installing the guest OS?Probably you are search with the wrong keywords. Try to google for "xen domu howto". There are a lot, and a lot are mentioned in the xen wiki at wiki.xensource.com. There''s one for about any Xen-enabled distribution. BTW: is the wiki mentioned in the Xen README? It should be. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users