Skip navigation.
Home
Now Shipping Version 7.0

Auto Mount fat32 drive on hda1


Posts: 61

I am trying to automount hda1 that has some media files on it. Windows 98 is on hda1 and I am using Mepis 6.0 My etc/fstab file looks like:

# Pluggable devices are handled by uDev, they are not in fstab
/dev/hda2 / reiserfs defaults,noatime,notail 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/hda4 /home auto defaults,noatime 1 2
# Dynamic entries below, identified by 'users' option
/dev/hda1 /mnt/hda1 vfat,ext3,ext2,reiserfs noauto,users,exec 0 0
/dev/hda3 swap swap sw,pri=1 0 0
/dev/cdrom /media/cdrom iso9660,udf noauto,users,exec,ro 0 0

I've tried a few things that haven't worked. what do I need to do to fix this?

Thanks!

Michael

# Pluggable devices are

# Pluggable devices are handled by uDev, they are not in fstab
/dev/hda2 / reiserfs defaults,noatime,notail 0 0
/dev/hda1 /mnt/hda1 vfat,ext3,ext2,reiserfs auto,users,exec 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/hda4 /home auto defaults,noatime 1 2
# Dynamic entries below, identified by 'users' option
/dev/hda3 swap swap sw,pri=1 0 0
/dev/cdrom /media/cdrom iso9660,udf noauto,users,exec,ro 0 0

Thanks

It worked great.

m_pav's picture

I think you need to add a umask=000

hoe wrote:

/dev/hda1 /mnt/hda1 vfat,ext3,ext2,reiserfs auto,users,exec 0 0

I think the umask=000 gives unrestricted access to the drive and the users makes it available to all users.

No need to add the extra filesystem types
ext3,ext2,reiserfs
when you already know the filesystem type, you can trim these out to make the following

/dev/hda1 /mnt/hda1 vfat auto,users,exec,umask=000 0 0

Mike P

--------------------
Life may not be the party we thought, but while we're here, we may as well dance.
Break M$'s shackles from your feet and free yourself with Mepis

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.