Hi All,
Installed FreeBSD 10.1 from release ISO on KVM running on Ubuntu 12.04 in an attempt to create an OpenStack FreeBSD 10.1 image.
Installed successfully (or so it indicates).
Immediately after installation I run:
It boots, finds the boot loader, attempt to boot from the default loader options and hits:
Running ? from the mountroot prompt shows:
When I boot to boot prompt and run
The image file has the right perms and sits at 2.3 GB, indicating that it was indeed installed to.
1. Can someone point me to the definition of error 19?
2. Any KVM gurus out there that can help walk me through troubleshooting?
Thanks.
Installed FreeBSD 10.1 from release ISO on KVM running on Ubuntu 12.04 in an attempt to create an OpenStack FreeBSD 10.1 image.
kvm -m 1024 -cdrom /u01/images/FreeBSD-10.1-RELEASE-amd64-disc1.iso -drive file=/u02/staging/freebsd10.1/freebsd10.1.img,if=virtio -boot d -net nic -net user -nographic -vnc :1
Installed successfully (or so it indicates).
Immediately after installation I run:
kvm -m 1024 -drive file=freebsd10.1.img -boot c -net nic -net user -nographic -vnc :1
It boots, finds the boot loader, attempt to boot from the default loader options and hits:
Code:
mountroot: waiting for device /dev/vtbd0p2
Mounting from ufs:/dev/vtbd0p2 failed with error 19.
Loader variables:
vfs.root.mountfrom=ufs:/dev/vtbd0p2
vfs.root.mountfrom.options=rw
Code:
List of GEOM managed disk devices:
gptid/1d38eec7-a0e3-11e4-9bb5-b13e03555748 gptid/1d382e54-a0e3-11e4-9bb5-b13e03555748 diskid/DISK-QM00001p3 diskid/DISK-QM00001p2 diskid/DISK-QM00001p1 cd0 ada0p3 ada0p2 ada0p1 diskid/DISK-QM00001 ada0
When I boot to boot prompt and run
lsdev I see the proper disks/labels (though they are labelled as disk0p1, disk0p2, etc.) I've tried those as options at mountroot to no avail.The image file has the right perms and sits at 2.3 GB, indicating that it was indeed installed to.
1. Can someone point me to the definition of error 19?
2. Any KVM gurus out there that can help walk me through troubleshooting?
Thanks.