Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 17:36:14 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Kory Hamzeh <kory@avatar.com>
Cc:        freebsd-hardware@FreeBSD.org, Aaron <click46@webpimps.net>
Subject:   RE: Adding 3ware RAID AFTER FBSD has been installed
Message-ID:  <XFMail.010824173614.jhb@FreeBSD.org>
In-Reply-To: <005001c12cf8$35b5c120$14ce21c7@avatar.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 24-Aug-01 Kory Hamzeh wrote:
>> I've been told you *should* be able edit your /etc/fstab with the boot
>> floppies. I'm doing some testing myself currently. Check BSDatwork.com in
>> the next week for a write up.
>>
> 
> Oh, you definitely can edit /etc/fstab from floppies. Boot off of the
> floppies, and manually mount the root file system, then edit /etc/fstab.
> 
> What I can't figure out (and I'm sure the answer is very very simple), is
> how the kernel determines what device to mount as root. Remember, it can't
> read /etc/fstab until is has mounted root. It's making me crazy! :-) I'm
> sure its buried in some man page that I keep overlooking.

The loader reads /etc/fstab and passes in the rootdev via an environment
variable.  The older boot blocks (boot2) pass in a major and minor device
number of the root device (IIRC).

> Kory

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010824173614.jhb>