FreeBSD boot invalid partition

Michel Le Cocq miconof80.list at gmail.com
Wed Dec 23 21:19:51 UTC 2009


I just dump a real host and try to restore it on a virtual host under
kvm.

When booting under KVM i see this :
	Booting From hard Disk...
	Invalid partition
	Invalid partition
	No /boot/loader
	
	FreeBSD/i386/Boot
	Default: 0:ad(0,a)/boot/kernel/kernel
	boot :
	
If i enter : 
     	boot : 0:ad(0,d)

it's ok and then :
	Manual Root Filesystem Specification :
	Mountroot> ufs:/dev/ad0s1d
	
and it's finaly boot.

[root at vbsdio ~]# cat /etc/fstab
# Device     	 Mountpoint	FStype	  Options    Dump Pass#
/dev/ad0s1b      none		swap	  sw 		0 0
/dev/ad0s1d	 /		ufs	  rw		1 1
/dev/ad0s1g	 /local		ufs	  rw		2 2
/dev/ad0s1e	 /usr		ufs	  rw		2 2
/dev/ad0s1f	 /var		ufs	  rw		2 2
/dev/acd0	 /cdrom		cd9660	  ro,noauto	0 0
linproc /compat/linux/proc 	linprocfs rw 		0 0
[root at vbsdio ~]#

I need to change my master boot device or anything else.
But don't know what to do exactly.

Thanks.

--
Michel


More information about the freebsd-questions mailing list