Linux helper: Unterschied zwischen den Versionen

Aus Vosp.info
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: „== mount external disk == '''0. connect to root and watch the results without connecting the hard disk''' <source lang="bash"> # show the connected usb devices l…“)
 
(mount external disk)
Zeile 28: Zeile 28:
  
 
  Device Boot      Start        End      Blocks  Id  System
 
  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1              63  976768064  488384001  83  Linux
+
/dev/sdb1              63  976768064  488384001  83  Linux
 +
</source>
 +
 
 +
'''3. mount the new device /dev/sdb1 for using''''
 +
<source lang="bash">
 +
# create
 +
mkdir /media/sdb1
 +
mount /dev/sdb1 /media/sdb1
 
</source>
 
</source>

Version vom 23. Juli 2013, 08:58 Uhr

mount external disk

0. connect to root and watch the results without connecting the hard disk

# show the connected usb devices
lsusb 
# show the connected harddisks and list partition table(s)
fdisk -l

1. connect external disk on the computer

2. look again the results from lsusb and fdisk -l

lsusb 
 ...
 Bus 006 Device 003: ID 0123:4567 ASMedia Technology Inc. ASMedia 2105 SATA bridge
 Bus 006 Device 001: ID 0123:4568 Linux Foundation 2.0 root hub
 ...
fdisk -l
 ...
 Disk /dev/sdb: 500.1 GB, 500107862016 bytes
 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
 Units = sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
 Disk identifier: 0x123456

 Device Boot      Start         End      Blocks   Id  System
 /dev/sdb1              63   976768064   488384001   83  Linux

3. mount the new device /dev/sdb1 for using'

# create 
mkdir /media/sdb1
mount /dev/sdb1 /media/sdb1