majikstreet
July 25th, 2005, 03:21 PM
*****IF YOU DON'T USE GNOME
Hi,
I wrote this howto a while ago on another linux forum.
How to get your usb flash drive to work right.
Edit your /etc/fstab and add this at the bottom:
/dev/sda1 /mnt/usb vfat defaults,rw,noauto,users,sync 0 0
Then what you want to do is type:
mkdir /mnt/usb
Now when you want to use it, plug it in then type:
mount /mnt/usb
Then before you unplug it type:
umount /mnt/usb
And yes, it is really "umount" not unmount!
Edit your /etc/fstab and add this at the bottom:
/dev/sda1 /mnt/usb vfat defaults,rw,noauto,users,sync 0 0
Then what you want to do is type:
mkdir /mnt/usb
Now when you want to use it, plug it in then type:
mount /mnt/usb
Then before you unplug it type:
umount /mnt/usb
And yes, it is really "umount" not unmount!
But if you don't can't get sda1 to work, try using sda or sdaX replacing X with a number.
I put two scripts on my desktop to mount and unmount the drive:
mount:
#!/bin/bash
mount /mnt/usb
unmount:
#!/bin/bash
umount /mnt/usb
Now if you want to make it automount so you don't have to mount it each time, I think you can just replace noauto with auto.
majikstreet
Hi,
I wrote this howto a while ago on another linux forum.
How to get your usb flash drive to work right.
Edit your /etc/fstab and add this at the bottom:
/dev/sda1 /mnt/usb vfat defaults,rw,noauto,users,sync 0 0
Then what you want to do is type:
mkdir /mnt/usb
Now when you want to use it, plug it in then type:
mount /mnt/usb
Then before you unplug it type:
umount /mnt/usb
And yes, it is really "umount" not unmount!
Edit your /etc/fstab and add this at the bottom:
/dev/sda1 /mnt/usb vfat defaults,rw,noauto,users,sync 0 0
Then what you want to do is type:
mkdir /mnt/usb
Now when you want to use it, plug it in then type:
mount /mnt/usb
Then before you unplug it type:
umount /mnt/usb
And yes, it is really "umount" not unmount!
But if you don't can't get sda1 to work, try using sda or sdaX replacing X with a number.
I put two scripts on my desktop to mount and unmount the drive:
mount:
#!/bin/bash
mount /mnt/usb
unmount:
#!/bin/bash
umount /mnt/usb
Now if you want to make it automount so you don't have to mount it each time, I think you can just replace noauto with auto.
majikstreet