Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 2010 16:10:14 +0200 (CEST)
From:      Konrad Heuer <kheuer2@gwdg.de>
To:        Dick Hoogendijk <dick@nagual.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: boot0cfg
Message-ID:  <alpine.BSF.2.00.1008171606040.1414@gwdu60.gwdg.de>
In-Reply-To: <4C6A7606.7000600@nagual.nl>
References:  <4C6A7606.7000600@nagual.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 17 Aug 2010, Dick Hoogendijk wrote:

> I dumped/restored the system to ad8 yesterday and booted from it.
> The system *did* boot but (alas) the /dev/ads1a(f) slices were mounted. So, 
> the system loaded the *old* root partitions (from the first drive). After 
> googling and reading I think I need *boot0cfg* but I'm a bit scary to ruin my 
> new boot (ad8) drive.
>
> So, what is the exact syntax to make my system not only boot from ad8, but 
> also mount the /deb/ad8s1 slice as root slice?

I'd try to set

rootdev="disk8s1a"

in /boot/loader.conf in /dev/ad8s1a since boot loader and kernel seem to 
be read from there.

Before editing, please interrupt the boot sequence into command prompt 
mode and enter the command "lsdev" to have a look how the disks are 
enumerated by the boot loader.

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1008171606040.1414>