用户工具

站点工具


freebsd:os:install_on_kvm_linux_guest

在KVM Linux Guest环境内通过mfsbsd/mfsroot安装FreeBSD

# cd /
# wget http://mfsbsd.vx.sk/files/iso/11/amd64/mfsbsd-se-11.0-RELEASE-amd64.iso
# vi /etc/grub2.cfg

编辑grub2.cfg, 添加以下内容至相应位置

menuentry "mfsbsd" {
	set isofile=/mfsbsd-se-11.0-RELEASE-amd64.iso
	loopback loop $isofile
	kfreebsd (loop)/boot/kernel/kernel.gz
	kfreebsd_module (loop)/boot/kernel/ahci.ko
	kfreebsd_module (loop)/mfsroot.gz type=mfs_root
	set kFreeBSD.vfs.root.mountfrom="ufs:/dev/md0"
	set kFreeBSD.mfsbsd.autodhcp="YES"
	#set kFreeBSD.mfsbsd.rootpw="mfsroot"
}

重启后grub菜单选择mfsbsd既可以进入

freebsd/os/install_on_kvm_linux_guest.txt · 最后更改: 2016/11/22 11:04 由 Hshh