Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Apr 2012 09:49:15 +1000
From:      Da Rock <freebsd-questions@herveybayaustralia.com.au>
To:        freebsd-questions@freebsd.org
Subject:   Re: Upgrade to 9.0 - Mount to root failed..
Message-ID:  <4F8223FB.8070305@herveybayaustralia.com.au>
In-Reply-To: <4F81BA14.6030706@gmail.com>
References:  <CAEUQAzMw4mLKCgoZ-fF56jdtX05zE0zYBYqa66jYEKw4xK1=1w@mail.gmail.com> <4F81BA14.6030706@gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 04/09/12 02:17, Joshua Isom wrote:
> On 4/8/2012 8:51 AM, Airoso╬▓icz fb. wrote:
>> Hi Matthew,
>>
>> Thanx for the quick reply.. Can't get it to work though..
>>
>> On 08/04/2012 09:53, Airoso╬▓icz fb. wrote:
>>>> So I've upgraded from 8.1 to 9.0&  now the system can't mount in 
>>>> single
>>>> user mode to go through the final step of installing the world..
>>>
>>
>>
>>> As was mentioned else-thread, you are probably hitting problems due to
>>> the name change from ad(4) to ada(4) for PATA/SATA disk devices.
>>>
>>
>> It's starting to make sense now.. Mounting ufs:/dev/ad*a*2s1a i.o. from
>> ufs:/dev/ad2s1a simply doesn't work because as I've put in my original
>> post with # ls -l /dev/ad* it doesn't exist.. Only ad2,ad2s1&  ad2s1a 
>> do..
>>
>>
>>> One way to fix this is simply to type in the new boot device in the
>>> loader and then edit /etc/fstab from single user mode
>>>
>>
>>   Which boot device..? I wish it was simple..
>>
>
> When you get to the loader, escape to the loader prompt.  Then type 
> lsdev to see what the loader finds.  You'll have to find which one 
> looks right, and type that into the mount failed prompt.  After it's 
> done booting, check /dev to make sure it looks right and change your 
> fstab.

 From a theoretical point of view (I'll have to consider this for my own 
needs in the near future) I'd say the labeling option mentioned by 
Warren would be better for the long term. It may seem a little 
complicated to setup but it will work just about anywhere.

If you continue with devices as you are at the moment you run the risk 
of having this trouble every time something changes.

My 2c.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4F8223FB.8070305>