tdashroy
February 24th, 2009, 07:10 AM
Okay so I haven't had this problem 'till today. I reformatted this usb flash drive and renamed it, and now I am unable to unmount it with the command
umount /media/school_drive
Whenever I run this command I get the following error
umount: /media/school_drive is not in the fstab (and you are not root)
Can someone explain to me what it means by it is not in the fstab? I have never had any trouble with this before and I don't remember changing anything in the fstab. The commands I used to reformat and rename my drive were
sudo fdisk /dev/sdg
sudo mkfs.ntfs /dev/sdg1
sudo ntfslabel /dev/sdg1 school_drive
Here is my fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda5
UUID=d1c331e8-b0d5-4587-8474-3471a438b0ba / ext3 relatime,errors=remount-ro 0 1
# /dev/sda6
UUID=b3b0d97f-8761-4bb8-93b3-d213b015c38d none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0
Any help or suggestions as to how I can get this back to normal would be much appreciated. Thanks
-Troy
umount /media/school_drive
Whenever I run this command I get the following error
umount: /media/school_drive is not in the fstab (and you are not root)
Can someone explain to me what it means by it is not in the fstab? I have never had any trouble with this before and I don't remember changing anything in the fstab. The commands I used to reformat and rename my drive were
sudo fdisk /dev/sdg
sudo mkfs.ntfs /dev/sdg1
sudo ntfslabel /dev/sdg1 school_drive
Here is my fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda5
UUID=d1c331e8-b0d5-4587-8474-3471a438b0ba / ext3 relatime,errors=remount-ro 0 1
# /dev/sda6
UUID=b3b0d97f-8761-4bb8-93b3-d213b015c38d none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0
Any help or suggestions as to how I can get this back to normal would be much appreciated. Thanks
-Troy