From owner-freebsd-questions Thu Sep 7 17: 1:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 571C837B422 for ; Thu, 7 Sep 2000 17:01:31 -0700 (PDT) Received: (from jhb@localhost) by pike.osd.bsdi.com (8.9.3/8.9.3) id RAA25171; Thu, 7 Sep 2000 17:01:20 -0700 (PDT) (envelope-from jhb) From: John Baldwin Message-Id: <200009080001.RAA25171@pike.osd.bsdi.com> Subject: Re: How to Edit FSTAB When / is Read-Only In-Reply-To: <8C224DC088D8D111B67D0000F67AC17E029C4AA4@ldcmsx01.lc.ca.gov> from "Tomlinson, Drew" at "Sep 7, 2000 04:47:57 pm" To: "Tomlinson, Drew" Date: Thu, 7 Sep 2000 17:01:20 -0700 (PDT) Cc: "'FreeBSD Questions (E-mail)'" X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tomlinson, Drew wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > I am new to both Unix and FreeBSD so I apologize if this question is very > elementary. > > I am running release 4.0 on a 486-DX with a 850 MB IDE drive. I have since > added a 6 GB IDE drive. I used /stand/sysinstall to both FDISK and Label > the drive. Both drives in this system were FDISKed with the option to use > all space for FBSD and not be compatible with other file systems. Eek! This can confuse newer SCSI adapters, so this isn't recommended. This isn't your problem though. > Here is the content of my /etc/fstab: > # Device Mountpoint FStype Options Dump > Pass# > /dev/ad0s1b none swap sw 0 0 > /dev/ad0s1a / ufs rw 1 1 > /dev/ad0s1f /usr ufs rw 2 2 > /dev/ad0s1e /var ufs rw 2 2 > /dev/acd0c /cdrom cd9660 ro,noauto 0 0 > /dev/ad2s1b none swap sw 0 0 These three below are problematic. You are trying to mount filesystems on top of existing filesystems. Don't use the 'A' auto defaults in the label editor when you are adding a disk, instead, create new partitions by hand and mount them in unused places, such as /v, /local0, /my_new_hard_drive (not recommended :P). First off, take all the `ad2' entries out of your fstab. Then, fire up sysinstall, and fdisk and label your drive again from the `Configuration' menu option. When you label the driver, just create 1 partition that spans the whole drive and give it a mount point. Note that after you finish each step (fdisk and label) you will need to hit 'W' to tell sysinstall to write the changes since you aren't doing a new install. > /dev/ad2s1a / ufs rw 1 1 > /dev/ad2s1f /usr ufs rw 2 2 > /dev/ad2s1e /var ufs rw 2 2 > proc /proc procfs rw 0 0 > 192.168.0.254:/My_Webs /usr/local/www/data nfs ro,union 0 0 > > Thanks in advance for your assistance! > > Drew -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message