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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Newbie: Can't boot vm1
From: "Ben Schmidt" <janedoe200@xxxxxxxxxxx>
Date: Wed, 04 Oct 2006 07:26:06 -0600
Bcc:
Delivery-date: Wed, 04 Oct 2006 06:26:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4523B5CC.9050808@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Jan was totally right.
I build the ramdisk like he told me to and than added <ramdisk = "/boot/initrd.img-2.6.17-2-xen-686"> to my vm-config.
That was it.

Thanks again

Ben


From: John Smith <netman1@xxxxxxx>
To: Ben Schmidt <janedoe200@xxxxxxxxxxx>
CC: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Newbie: Can't boot vm1
Date: Wed, 04 Oct 2006 15:23:24 +0200

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



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

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