Date: Wed, 23 Dec 2009 22:44:16 +0100 From: Ruben de Groot <mail25@bzerk.org> To: Michel Le Cocq <miconof80.list@gmail.com> Cc: questions@freebsd.org Subject: Re: FreeBSD boot invalid partition Message-ID: <20091223214416.GB82061@ei.bzerk.org> In-Reply-To: <20091223205137.GA2082@e4300> References: <20091223205137.GA2082@e4300>
next in thread | previous in thread | raw e-mail | index | archive | help
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. > > [root@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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091223214416.GB82061>