WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Newbie: Can't boot vm1

To: Ben Schmidt <janedoe200@xxxxxxxxxxx>
Subject: Re: [Xen-users] Newbie: Can't boot vm1
From: John Smith <netman1@xxxxxxx>
Date: Wed, 04 Oct 2006 15:23:24 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 04 Oct 2006 06:13:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <BAY121-F28A03CF2B77C83445588C1931D0@xxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <BAY121-F28A03CF2B77C83445588C1931D0@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Debian Thunderbird 1.0.2 (X11/20060830)
Ben Schmidt wrote:
> Hi,
> 
> I use Debian etch (Testing) on my Machine running 2.6.17-2-xen-686
> kernel from etch. I tryed to set up vm1 in xen. Here is my config:
> ****************************************
> kernel = "/boot/vmlinuz-2.6.17-2-xen-686"
> memory = 128
> name = "xenvm1"
> disk = [ 'file:/var/images/vm1disk,sda1,w',
> 'file:/var/images/vm1swap,sda2,w' ]
> root = "/dev/sda1 ro"
> ****************************************
> 
> here is my /etc/fstab for the vm:
> ****************************************
> /dev/sda1       /       ext3    errors=remount-ro       0       1
> /dev/sda2       none    swap    sw                      0       0
> proc            /proc   proc    defa ults                0       0
> ****************************************
> 
> /boot/vmlinuz-2.6.17-2-xen-686, /var/images/vm1disk and
> /var/images/vm1swap are there and I can chroot to /var/images/vm1disk
> without any problems.
> 
> When I try to boot the Mashine I get the message that the kernel can't
> find the Partition:
> ****************************************
> NET: Registered protocol family 20
> Using IPI No-Shortcut mode
> Registering block device major 8
> No filesystem could mount root, tried:  cramfs
> Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(8,1
> ****************************************
> You can find the whole output at: http://pastebin.ca/raw/190905
> 
> Could somebody please explain what I did do wrong. I really want to
> understand that the Problem is.
> 
> Thank
> 
> Ben
> 
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 

Hi Ben,

        you need an initrd to go with that kernel and configure
it into your user domain config. Create it with

        mkinitramfs-kpkg -o /boot/initrd.img-2.6.17-2-xen-686 2.6.17-2-xen-686


Sincerely,

Jan.


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

<Prev in Thread] Current Thread [Next in Thread>