hi good people, Has anybody had success installing NetBSD on Xen? I have three days trying to get it work and no success. Please Help. Augustin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello Augustin, I test it running xen-unstable (pre 3.3.0) and all *BSD systems are working as HVM for Intel plataforms with VT-x support. In AMD-V it''s working since 3.2.x. For FreeBSD needs disble vmassist in xen compilation. Regards, On Fri, Aug 1, 2008 at 12:41 PM, white list <whitelist.augustin@gmail.com> wrote:> hi good people, > Has anybody had success installing NetBSD on Xen? > I have three days trying to get it work and no success. > Please Help. > > Augustin > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Marco Sinhoreli _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Marco Sinhoreli wrote:> Hello Augustin, > > I test it running xen-unstable (pre 3.3.0) and all *BSD systems are > working as HVM for Intel plataforms with VT-x support. In AMD-V it''s > working since 3.2.x. For FreeBSD needs disble vmassist in xen > compilation. > > Regards, > > On Fri, Aug 1, 2008 at 12:41 PM, white list > <whitelist.augustin@gmail.com> wrote: > >> hi good people, >> Has anybody had success installing NetBSD on Xen? >> I have three days trying to get it work and no success. >> Please Help. >> >> Augustin >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> > > > >Would you mind sharing with us how you manage to install *BSD? I''m also stuck with this one -- Kind Regards Rudi Ahlers Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello,
You need to do the same to install a fully-virt machine like Windows.
This is really simple. Below the steps to install a Netbsd system:
# hg clone http://xenbits.xensource.com/xen-unstable.hg
# cd xen-unstable.hg
# hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg
# make dist
# make install
# mkinitramfs -o /boot/initrd.img-2.6.18.8-xen 2.6.18.8-xen
# update-grub
# reboot
Create a disk/LV/backend-file to your new BSD system:
# lvcreate -L 10G -n netbsd.dsk yourvg
Download the NetBSD iso:
# wget ftp://iso2.us.netbsd.org/pub/NetBSD/iso/4.0/amd64cd-4.0.iso
Create a configuration file for netbsd virtual machine:
# /etc/xen/netbsd.cfg
name = ''netbsd''
kernel = ''/usr/lib/xen/boot/hvmloader''
device_model = ''/usr/lib64/xen/bin/qemu-dm''
builder = ''hvm''
memory = 128
vif = [ ''bridge=xenbr0'' ]
disk = [ ''phy:/dev/yourvg/netbsd,hda,w'',
''file:/home/iso/amd64cd-4.0.iso,hdd:cdrom,r'' ]
boot = "dc"
sdl = 0
vnc = 1
vnclisten = "0.0.0.0"
vncconsole = 0
vncpasswd = ''sua_senha_aqui''
stdvga = 0
serial = ''pty''
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
# xm create /etc/xen/netbsd.cfg
Check the VNC port of NetBSD:
# netstat -lnpt | awk ''/qemu-dm/{print $4}'' | cut -d : -f 2
Connect to VNC to install processes:
# vncviewer dom0_address:590x
Install your BSD system and after fished, change in
/etc/xen/netbsd.cfg the variable boot = "dc" to boot = "c"
and start
the virtual machine:
# xm create /etc/xen/netbsd.cfg
--
Marco Sinhoreli
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users