mounting hard drive issue
Dear All,
I have clean old hard drive at /dev/sdb, instead of mounting it through GUI, i wanted to mount it through bash, and something simple failed - let me explain. Now situation looks like: Code:
Failed to mount "My Drive" how did i got there? I wanted to try powers and mount it through bash, first ive created a folder in /media Code:
Code:
Code:
So ive tried different types (DOS, no type) other commands that ive used (from history) Code:
526 cd /dev/sdb1 but somehow connection is broken, which is great on the other hand, because there is a space to dig. On the other, i cannot proceed with things i wanted to do AFTER mounting Thank you for help. |
Quote:
Post the output of the command lsblk |
/dev/sdb it needs to be /dev/sdbx the partition number you want to mount, not the device itself.
x= partition number. Code:
mount /dev/sdb1 NTFS /dev/sdb1 /media/disk |
OK,
How can we 100% be positive about disks TYPE? (check 'man mount' > mount -t type device dir) This is Western Digital HDD SATA 2.5, it is empty i've recovered data with photorec, than I've made partition with Code:
sudo fdisk /dev/sdb Code:
$ lsblk Quote:
|
Quote:
Code:
531 mount /dev/sdb1 NTFS /dev/sdb1 /media/disk Code:
to get the actual path to the mount point (dir) you want to mount to. You have two different paths and the wrong format for your command. |
OK BW-userx,
details are important, history showing trail and error path it was Code:
sudo mount -t ntfs /dev/sdb1 /media/mq/disk for future, let me repeat one question How can we 100% be positive about disks TYPE? (check 'man mount' > mount -t type device dir) thank you |
I just let the system figure it out whenever I mount.
try removing the -t ntfs from your mount command. Code:
sudo mount /dev/sdb1 /media/mq/disk 7 Ways to Determine the File System Type in Linux Quote:
|
Ok,
Code:
df -Th it seems like Code:
lsblk -f your link is great, |
my i somehow delete my message?
I wanted to post new topic, sorry for inconvenience |
To see how a drive is formatted, you can use
Code:
fdisk -l /dev/sd? |
All times are GMT -5. The time now is 02:29 PM. |