Date: Thu, 7 Sep 2000 17:01:20 -0700 (PDT) From: John Baldwin <jhb@pike.osd.bsdi.com> To: "Tomlinson, Drew" <Drew.Tomlinson@lc.ca.gov> Cc: "'FreeBSD Questions (E-mail)'" <freebsd-questions@FreeBSD.ORG> Subject: Re: How to Edit FSTAB When / is Read-Only Message-ID: <200009080001.RAA25171@pike.osd.bsdi.com> In-Reply-To: <8C224DC088D8D111B67D0000F67AC17E029C4AA4@ldcmsx01.lc.ca.gov> from "Tomlinson, Drew" at "Sep 7, 2000 04:47:57 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@bsdi.com> -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009080001.RAA25171>