Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2006 17:18:59 -0400
From:      Michael Proto <mike@jellydonut.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: kernel can't find root filesystem
Message-ID:  <44A04F43.2090400@jellydonut.org>
In-Reply-To: <BAY123-F1625CB9B8881D68419B806C97B0@phx.gbl>
References:  <BAY123-F1625CB9B8881D68419B806C97B0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Ames wrote:
>> From: "M.Hirsch" <M.Hirsch@hirsch.it>
>>
>> I had the same problem with 6.1. But only on some occasions, not
>> always (iirc).
>> The installations I made over the last weeks had all very different
>> environments and deployment methods.
>> I can't tell anymore when it happens and when not because I simply
>> added the below loader.conf setting to my postinstall-script.
>>
>> Add "vfs.root.mountfrom=ufs:da0s1" to /boot/loader.conf to fix it.
> 
> Thank you.  That solves my problem even though it seems more like
> a workaround than an actual solution.  But I'll take it.  :-)
> 
> Also, someone responded asking if I had a valid entry in /etc/fstab
> for the root filesystem.
> 
> foo# cat /etc/fstab
> # Device                Mountpoint      FStype  Options         Dump   
> Pass#
> /dev/da0s1a          /                          ufs     rw             
> 1       1
> /dev/da0s1b         none                   swap    sw             
> 0       0
> /dev/da1s1d         /local                  ufs     rw             
> 2       2
> /dev/cd0                /cdrom              cd9660  ro,noauto      
> 0       0
> 

If I'm not mistaken, you could also try to (re)install the boot0 loader:

boot0cfg /dev/da0


-Proto



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44A04F43.2090400>