Ruben de Groot a écrit: > On Wed, Dec 23, 2009 at 09:51:39PM +0100, Michel Le Cocq typed: > > 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. > > > > [r...@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 > > [r...@vbsdio ~]# > > > > I need to change my master boot device or anything else. > > But don't know what to do exactly. > > Not sure, but I think boot0 only boots "a" partitions. So after > you manually boot like above, go into bsdlabel and change ad0s1d > into ad0s1a. Do the same in fstab.
I boot under liveFS then : bsdlabel -e ad0s1 change 'd' label to 'a'. mount /dev/ad0s1a /mnt edit /mnt/etc/fstab and change mount point of / to a. It's now ok. Thanks a lot. -- Michel _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"