Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2020 21:44:54 +0200 (CEST)
From:      =?UTF-8?Q?Trond_Endrest=C3=B8l?= <trond.endrestol@ximalas.info>
To:        Christoph Kukulies <kuku@kukulies.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Mounting from ufs:/dev/ad2s1a failed with error 19.
Message-ID:  <alpine.BSF.2.22.395.2004302136320.91211@enterprise.ximalas.info>
In-Reply-To: <0D1F4392-C646-42C8-9DB3-50F93236A6DC@kukulies.org>
References:  <4348B2AE-3E30-4345-8883-EAEA53A59220@kukulies.org> <0D1F4392-C646-42C8-9DB3-50F93236A6DC@kukulies.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, 30 Apr 2020 20:29+0200, Christoph Kukulies wrote:

> Could solve it myself: bootet back to usb drive, mounted /dev/ada0s1 
> /mnt and edited /mnt/etc/fstab to the correct mount device. There 
> were ada2s1 for / and another ada2 device for swap. Changed that to 
> ada0s1 and now the system boots fine.

That's one reason you should consider using GPT or UFS labels. That 
way you'll always refer to the correct partition or filesystem 
regardless of where the drive is connected to the system. Swap 
partitions on MBR disks could be labeled using glabel(8).

-- 
Trond.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.22.395.2004302136320.91211>