9.0-RELEASE PV from scratch
Witold Baryluk
baryluk at smp.if.uj.edu.pl
Sat Feb 11 18:50:28 UTC 2012
On 02-11 10:57, Trix Farrar wrote:
> Apologies for the re-post. Forgot to sign original. -Trx
>
Hi,
about 2 weeks ago I written how to install FreeBSD-9.0 on PV
without any additional help.
All I needed was:
Linux + Xen dom0 (i386 without HVM is sufficient!)
FreeBSD-9.0 installation ISO file [1]
Xen-enabled domU Kernel image (I downloaded one from Debian/GNU Linux [2])
(I hope next FreeBSD release will include this be default on ISO itself)
You basically needs to unpack kernel image somewhere (in Debian
it unpacks automatically into /boot/).
Then use something like this for installation configuration (using xm
or xl toolstack, do not know how with xcp but should be equally easy)
$ cat kfreebsd9.cfg
name = "my-freebsd"
kernel = "/boot/kfreebsd-9.0-1-xen.gz"
extra = "vfs.root.mountfrom=cd9660:/dev/da1"
memrory = 256
disks = [
"file:/home/kfreebsd9-disk1.img,sda,w"
,"file:/home/FreeBSD-9.0-RELEASE-i386-dvd1.iso,sdb,r"
]
$
You then start it without problem as:
$ xm-or-xl create kfreebsd.cfg -c
installator will start without a problem, and will ask about
console/terminal type, I was using 'ansi' which made cursor and
installer work relativly good.
After installation is done, before shuting down, remember
to add xen console to /etc/inittab!
Then shutdown domain, and change config file to:
$ cat kfreebsd9.cfg
name = "my-freebsd"
kernel = "/boot/kfreebsd-9.0-1-xen.gz"
extra = "vfs.root.mountfrom=ufs:/dev/da0p2"
memrory = 256
disks = [
"file:/home/kfreebsd9-disk1.img,sda,w"
]
$
Thats it: remove installation ISO file from disks, and change 'extra'
parameter, to now boot from disk.
You can now boot again:
$ xm-or-xl create kfreebsd.cfg -c
Thats all. Network configuration can be done also relativly easly after
that.
Hope this helps.
[1] ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/i386/ISO-IMAGES/9.0/FreeBSD-9.0-RELEASE-i386-disc1.iso
[2] Debian: apt-get install kfreebsd-image-9-xen # you can also try kfreebsd-image-10-xen
on-Debian: go to http://packages.debian.org/sid/kfreebsd-image-9.0-1-xen , download section is on the bottom, you need i386, not kfreebsd-i386!
--
Witold Baryluk
More information about the freebsd-xen
mailing list