From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Wed, 17 Apr 2013 11:02:36 +0200 Subject: [Buildroot] I: Configure buildroot for xen In-Reply-To: <1366188139.51067.YahooMailClassic@web171906.mail.ir2.yahoo.com> References: <1366188139.51067.YahooMailClassic@web171906.mail.ir2.yahoo.com> Message-ID: <20130417110236.054b83b0@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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