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

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



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


 


Rackspace

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