Port-xen archive

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

Re: FreeBSD DomU



On Wed, Jan 05, 2011 at 10:05:02PM -0800, Gaurang Pandya wrote:
> Hi,
> 
> Has anyone managed to get FreeBSD DomU worked over NetBSD Dom0, I am having 
> real 
> hard time with it. I had created an image as given in 
> http://forums.freebsd.org/showthread.php?t=10268 , the same image works well 
> under CentOS 5.5 DomU, but under NetBSD 5.1 with PAE DOM0 kernel (with some 
> customizations to allow PF and ALTQ) , and Xen 3.3.2, its showing following 
> issues.
> 
> 1. FreeBSD DOMU fails to boot and ends up with following error message.
>            start_init: trying /sbin/init
>            g_vfs_done():ad0s1a[READ(offset=263159808, length=2048)]error = 5

how did you create the disk image exactly ? the link you posted
talks about a truncate command, but there is no such command on NetBSD.
I suspect this created a sparse file. This is not supported by
NetBSD dom0. You could use dd to create the image instead:
dd if=/dev/zero of=freebsd.img bs=1m count=256

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index