Mounting a drive at start up

Rick Stevens rstevens at vitalstream.com
Mon Mar 5 19:17:49 UTC 2007


On Mon, 2007-03-05 at 10:22 -0800, Leslie Jordan wrote:
> How do I get my system to mount a drive during boot up? This hard
> drive will always been there. The command I use to mount it manually
> is 
> mount -t vfat /dev/hda2 /data

Add a line to /etc/fstab:

    /dev/hda2   /data    vfat   defaults   0 0

When the system does a "mount -a" at startup, it'll mount.

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer          rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-     Is that a buffer overflow or are you just happy to see me?     -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list