no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | tech:others:mounting_usb_drive_in_ubuntu [2018/08/26 11:28] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Steps followed for Ubuntu server ====== | ||
+ | ===== Simple Mount ===== | ||
+ | * One time creation of mount point | ||
+ | * < | ||
+ | * Check device assignment using | ||
+ | * < | ||
+ | * Typically you may get something like /dev/sdc1 as the new USB drive | ||
+ | * Assuming the USB drive is NTFS, Mount NTFS USB drive using the command: | ||
+ | * < | ||
+ | * Assuming the USB drive is FAT32: | ||
+ | * < | ||
+ | * Assuming the USB drive is ext4: | ||
+ | * < | ||
+ | * To use drive | ||
+ | * < | ||
+ | * To remove (unmount) USB do an | ||
+ | * < | ||
+ | * or | ||
+ | * < | ||
+ | |||
+ | ===== Permanently mount the USB drive ===== | ||
+ | * Use gparted (GUI) | ||
+ | * To [[http:// | ||
+ | * Label the drive | ||
+ | * Create a mount location | ||
+ | * < | ||
+ | * Confirm Block Device assignment | ||
+ | * < | ||
+ | * In this example the drive is sdc1 | ||
+ | * Mount | ||
+ | * < | ||
+ | * Change Onweership as required (from root to someone else who needs to access, such as backuppc) | ||
+ | * < | ||
+ | * chmod as required as well | ||
+ | * < | ||
+ | * check drive | ||
+ | * < | ||
+ | * Issue command to get the UUID of the USB drive | ||
+ | * < | ||
+ | * Make [[https:// | ||
+ | * < | ||
+ | * Reboot to make sure the drive auto mounts | ||
+ | |||
+ | ===== Format USB drive ===== | ||
+ | * To format with a cluster size of 32768 | ||
+ | * Use the '' | ||
+ | * <code bash> | ||
+ | * Change disk type to NTFS with fdisk | ||
+ | * <code bash> | ||
+ | * In fdisk, enter: t - //type//, 1 - //first partition//, | ||
+ | * Verify | ||
+ | * <code bash> | ||
+ | |||
+ | ===== References ===== | ||
+ | [[https:// | ||
+ | |||
+ | ===== Other Info ===== | ||
+ | Use command dmesg to check log on usb drive insertion | ||
+ | |||
+ | lsusb to list usb devices | ||
+ | |||