Ricardo
2005-Aug-23 22:43 UTC
[Xen-users] no BkSp in plan9, ubuntu root fs failure, and what''s up with bsd?
In usual fashion, I have a few questions: 1) I can''t get the virtual terminal of plan9 to recognize either my Backspace or Delete key. This is particularly annoying; can anyone help? 2) I''ve got two linux root fs images that I created through dd: one for rubix and another for ubuntu. Rubix works brilliantly, but Ubuntu gets a kernel panic during boot. The two both mount have the line disk = [ ''file:/path/to/image/os.img,/dev/sda1,w'' ] and root="/dev/sda1 rw" where "os" is either "rubix" or "ubuntu". Ubuntu''s failure reads Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1) I don''t understand why one should work and the other shouldn''t; any ideas? 3) Where can I find a howto on setting up a guest BSD system? So far all I''ve found are places where people say that they''ve ported BSD to Xen, and how to make NetBSD a dom0, but nothing about how to set up an xm config file or what you need in order to run BSD properly. Can someone point me in the right direction please? Sorry to hit so many diverse areas, but these are the real headaches I''m dealing with. I appreciate any help. -Ricardo- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
als@thangorodrim.de
2005-Aug-24 05:54 UTC
Re: [Xen-users] no BkSp in plan9, ubuntu root fs failure, and what''s up with bsd?
Hi, On Tue, Aug 23, 2005 at 05:43:21PM -0500, Ricardo wrote:> In usual fashion, I have a few questions: > > 3) Where can I find a howto on setting up a guest BSD system? So far > all I''ve found are places where people say that they''ve ported BSD to > Xen, and how to make NetBSD a dom0, but nothing about how to set up an > xm config file or what you need in order to run BSD properly. Can > someone point me in the right direction please?I''m running dom0 on Linux with NetBSD as one of the guest domains. The config file is as follows: ------------------- cut here ---------------- # Kernel image file. kernel = "/boot/XEN/netbsd-xenU" vmid = 1 # Initial memory allocation (in megabytes) for the new domain. memory = 64 # A name for your domain. All domains must have different names. name = "NetBSD" #---------------------------------------------------------------------------- # Define network interfaces. # Number of network interfaces. Default is 1. nics=1 vif = [ ''mac=00:00:00:01:42:67'' ] #---------------------------------------------------------------------------- # Define the disk devices you want the domain to have access to, and # what you want them accessible as. # Each disk entry is of the form phy:UNAME,DEV,MODE # where UNAME is the device, DEV is the device name the domain will see, # and MODE is r for read-only, w for read-write. disk = [ ''phy:/dev/vgsystem/lvnetbsd,sda,w'',''phy:/dev/vgsystem/lvnetbsdswap,sdb,w'' ] ------------------ cut here ----------------- This defines two SCSI ''disks'' for NetBSD which are backed by LVM volumes. To get the needed NetBSD kernel you just enter your Xen source directory and do a "make netbsd20". Regards, Alex. -- "Opportunity is missed by most people because it is dressed in overalls and looks like work." -- Thomas A. Edison _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users