From owner-freebsd-hardware Fri Aug 24 17:36:23 2001 Delivered-To: freebsd-hardware@freebsd.org Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id 779F137B409 for ; Fri, 24 Aug 2001 17:36:20 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@[147.11.46.201]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id RAA18644; Fri, 24 Aug 2001 17:36:08 -0700 (PDT) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <005001c12cf8$35b5c120$14ce21c7@avatar.com> Date: Fri, 24 Aug 2001 17:36:14 -0700 (PDT) From: John Baldwin To: Kory Hamzeh Subject: RE: Adding 3ware RAID AFTER FBSD has been installed Cc: freebsd-hardware@FreeBSD.org, Aaron Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 -- 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