[Buildroot] I: Configure buildroot for xen

Luisa Posani lposani at yahoo.it
Wed Apr 17 12:27:43 UTC 2013


Hi Thomas

I try to choose qemu_x86_defconfig how configuration for buildroot and I recompile all (with XEN support).



The error message is 
VFS:  Cannot open root device "xvda1" or unknown-block(0,0): error -6

Tks for help me..
Luisa



--- Mer 17/4/13, Thomas Petazzoni <thomas.petazzoni at free-electrons.com> ha scritto:

Da: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Oggetto: Re: [Buildroot] I: Configure buildroot for xen
A: "Luisa Posani" <lposani at yahoo.it>
Cc: buildroot at busybox.net
Data: Mercoledì 17 Aprile 2013, 11:02

Dear Luisa Posani,

> BR_TARGET_ROOTFS_TAR
> BR_TARGET_ROOTFS_CPIO
> BR_TARGET_ROOTFS_INITRAMFS
> 
> 
> xen and I launched with the command
> 
> xen-create-image --fs=ext3 --initrd=rootfs.cpio --kernel = bzImage --install-method = tar --install-source = rootfs.tar -- hostname = test -- verbose --force

rootfs.cpio and rootfs.tar generated by Buildroot contain the same
thing: the root filesystem generated by Buildroot.

I believe the xen-create-image --initrd option is to pass an initrd
that is not the root filesystem, such as what is done typically in
Linux distributions, where the initrd contains a temporary root
filesystem used to load the appropriate kernel modules and device
firmwares to make the system operate, before switching to the real root
filesystem.

So just get rid of --initrd=rootfs.cpio, I think it should work. It
will directly mount the ext3 filesystem as your root filesystem and
that's it.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130417/ce7f6072/attachment.html>


More information about the buildroot mailing list