mountroot

Carl Chave carl at chave.us
Thu Jun 30 02:33:44 UTC 2011


2011/6/29 Warren Block <wblock at wonkity.com>

> On Wed, 29 Jun 2011, Dick Hoogendijk wrote:
>
>  Op 29-6-2011 21:19, Trond Endrestøl schreef:
>>
>>> On Wed, 29 Jun 2011 21:18+0200, Dick Hoogendijk wrote:
>>>
>>>  Op 29-6-2011 21:15, Trond Endrestøl schreef:
>>>>
>>>>> On Wed, 29 Jun 2011 20:42+0200, Dick Hoogendijk wrote:
>>>>>
>>>>>  I'm a little desperade. I installed a mirrored ZFS freebsd system in
>>>>>> a VM the other day and all went well. Now I did the same procedure
>>>>>> on a real systrem with two drives and I can't get the system to boot
>>>>>> properly. Everytime it halts at the mountroot prompt. If I manually
>>>>>> put zfs:zroot at the prompt the system boots to the login screen. I
>>>>>> checked the /etc/rc.conf and the /boot/loader.conf for syntax errors
>>>>>> but all seems well. What on earth can be the cause of this
>>>>>> behaviour? What do I check? Help?
>>>>>>
>>>>> Have you specified a bootfs?
>>>>>
>>>>> E.g.:
>>>>>
>>>>>    zpool set bootfs=zroot zroot
>>>>>
>>>> Yes, I did. And just did it again.
>>>>
>>> Please post your /boot/loader.conf.
>>>
>>>  And did it again (zpool set bootfs=zroot zroot) ; rebooted and finally
>> the system boots up.
>> So, problem solved. Posts arfe being fetched. Thanks.
>>
>
> If it's a timeout problem, there's kern.cam.boot_delay=10000.
>

+1 for kern.cam.boot_delay=10000.  I had the same problem and that setting
fixed it for me.


More information about the freebsd-questions mailing list