Port-xen archive

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

Re: Installing FreeBSD 8 as domU



On Tue, May 31, 2011 at 09:29:53AM +0100, Hugo Silva wrote:
> On 05/31/11 09:19, Hugo Silva wrote:
> > On 05/31/11 08:05, Manuel Bouyer wrote:
> >> On Mon, May 30, 2011 at 09:16:11PM -0400, Thor Lancelot Simon wrote:
> >>> On Mon, May 30, 2011 at 07:03:33PM +0100, Hugo Silva wrote:
> >>>>
> >>>> If it's the same thing, basically you'll want to update your xentools*
> >>>> and use raw devices (or block, one of them will work).
> >>>
> >>> But I'm using file: -- the problem should not exist there, no?
> >>
> >> No, it's probably something different
> >>
> > 
> > Indeed. I'll try to reproduce with file:.
> 
> Works (keep in mind I'm running -current! You mention you're on
> -stable), here's my config:
> 
> # cat test.conf
> 
> kernel = "/usr/pkg/lib/xen/boot/hvmloader"
> builder='hvm'
> memory=256
> name="fbsd-i386hvm"
> 
> disk =  [
>     'file:/usr/test.img,hda,w',
> 
> 'file:/usr/pkg/etc/xen/iso/FreeBSD-8.2-RELEASE-i386-disc1.iso,hdc:cdrom,r'
>     ]
> 
> boot="d"
> 
> vnc = 1
> sdl = 0
> 
> vncconsole=0
> vncdisplay=0
> 
> cpus="2"
> vcpus=1
> keymap="pt"
> 
> acpi=1
> apic=1
> device_model='qemu-dm'
> stdvga=0
> serial='pty'
> 
> 
> 
> 
> # xm create test.conf
> 
> Using config file "./test.conf".
> Started domain fbsd-i386hvm (id=3)
> 
> # uname -srm && pkg_info | grep ^xen
> 
> NetBSD 5.99.52 amd64
> xenkernel41-4.1.0   Xen 4.1.0 Kernel
> xentools41-4.1.0nb5 Userland Tools for Xen 4.1.x
> 
> 
> Could your iso be damaged?
> MD5 (/secure/xen/iso/FreeBSD-8.2-RELEASE-i386-disc1.iso) =
> ac6b2485e0e8a9e3c5f3a51803a5af32

Interesting.  You're using the CD image, I'm using the DVD image:

disk = [ 'file:/xenvm/accum,ioemu:hda,w', 
'file:/xenvm/FreeBSD-8.2-RELEASE-i386- dvd1.iso,ioemu:hdc:cdrom,w' ]


-- 
Thor Lancelot Simon                                    tls%panix.com@localhost
  "All of my opinions are consistent, but I cannot present them all
   at once."    -Jean-Jacques Rousseau, On The Social Contract


Home | Main Index | Thread Index | Old Index