Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2010 13:17:40 +0400
From:      "Marat N.Afanasyev" <amarat@ksu.ru>
To:        Michael Sperber <sperber@deinprogramm.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: How to predict drive number change for 7.3->8.1 upgrade?
Message-ID:  <4C91E0B4.2090103@ksu.ru>
In-Reply-To: <y9l7himgit9.fsf@deinprogramm.de>
References:  <y9l7himgit9.fsf@deinprogramm.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms050302020108050902030101
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: quoted-printable

Michael Sperber wrote:
>
> I just upgraded my desktop system from 7.3 to 8.1, and the main hard
> drive, which was /dev/ad6 before is now /dev/ad10.  Consequently, the
> initial boot failed when trying to mount the root file system from ad6.=

>
> The desktop system is now fixed, but I also have a rented server with
> only a serial console, and I worry that the upgrade is going to leave m=
e
> with a dead machine.  Is there any way to predict how the drive number
> changes?  (Why does it change at all?)  If so, what's the proper way to=

> tell the system the initial root device *before* rebooting?
>
you may try to label your slices/labels and mount /dev/label/root=20
instead of /dev/adXsYa

see
man 8 glabel

--=20
SY, Marat


--------------ms050302020108050902030101--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C91E0B4.2090103>