Note: You must have the ntfs-3g driver installed. Sudo mount -t ntfs-3g /dev/sdb1 /media/external Otherwise, if the device is formatted with NTFS, run: If you don't use those extra options you may not be able to read and write the drive with your regular username. Sudo mount -t vfat /dev/sdb1 /media/external -o uid=1000,gid=1000,utf8,dmask=027,fmask=137The options following the "-o" give you ownership of the drive, and the masks allow for extra security for file system permissions. Let's say the device is /dev/sdb1, the filesystem is FAT16 or FAT32 (like it is for most USB flash drives), and we want to mount it at /media/external (having already created the mount point): Instead, use an underscore to separate words (like "my_external"). You can call it whatever you want, but if you use spaces in the name it gets a little more complicated. Now we need to create a mount point for the device. For more information about filesystems, see LinuxFilesystemsExplained. Sudo fdisk -lFind your device in the list. Most flash drives are FAT16 or FAT32 and most external hard disks are NTFS. First, you must know what device you are dealing with and what filesystem it is formatted with. Sometimes, devices don't automount, in which case you should try to manually mount them.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |