Linux Admin 101: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
=Finding and Copying to External Disks=
=Finding and Copying to External Disks=
*How do you find an external USB disk?
*How do you find an external USB disk? Type sudo fdisk -l This lists disks. /dev/sdb1 showed up when i plugged in the drive.
 
*What is /dev/sdb1 ? A location?
Type sudo fdisk -l  
*How to copy /home/marcin directory to a /dev/sdb1 device? First set a mount point, mount your external drive, then copy to it.
 
*What is the path of external disk? It needs to be mounted first - so it depends where it's mounted.
This lists disks.
 
I got the former disks, plus /dev/sdb1
 
*How to copy /home/marcin directory to /dev/sdb1 ? Is that the path? What is the difference between path and TOSHIBA EXT? What is mounting a disk?
*What is the path of external disk, and what is difference between path and /dev/sdb1 ?
*What does it mean to mount a disk? When you 'mount' something you are placing access to the file system contained within onto your root file system structure.  
*What does it mean to mount a disk? When you 'mount' something you are placing access to the file system contained within onto your root file system structure.  
*Is an external USB mounted autmatically in command line? Sometimes. If not, mount it by creating a mount point and
*Is an external USB mounted autmatically in command line? Sometimes. If not, mount it by creating a mount point and
*What is a filesystem? Filesystem format?
*What is a file system? It's a structure that computer uses to organize data.
*What is FAT32? A file formal up to 32 GB, runs on all systems.
*How do you mount? First create a mount point by sudo mkdir /media/external, and then mount by sudo mount -t ntfs-3g /dev/sdb1 /media/external

Revision as of 04:01, 27 February 2016

Finding and Copying to External Disks

  • How do you find an external USB disk? Type sudo fdisk -l This lists disks. /dev/sdb1 showed up when i plugged in the drive.
  • What is /dev/sdb1 ? A location?
  • How to copy /home/marcin directory to a /dev/sdb1 device? First set a mount point, mount your external drive, then copy to it.
  • What is the path of external disk? It needs to be mounted first - so it depends where it's mounted.
  • What does it mean to mount a disk? When you 'mount' something you are placing access to the file system contained within onto your root file system structure.
  • Is an external USB mounted autmatically in command line? Sometimes. If not, mount it by creating a mount point and
  • What is a file system? It's a structure that computer uses to organize data.
  • What is FAT32? A file formal up to 32 GB, runs on all systems.
  • How do you mount? First create a mount point by sudo mkdir /media/external, and then mount by sudo mount -t ntfs-3g /dev/sdb1 /media/external