0

so I just installed Ubuntu 18.04 LTS on my machine today and I disconnected my HDD so I can install it on the SSD cause I was afraid to erase the HDD data, first time installing Ubuntu without a VM btw, then when I connected the HDD again I found the two partitions in /dev as /dev/sdb1 and /dev/sdb2 so I first tried running the cd command to access the HDD but it tells me that /dev/sdb1 is not a directory, then I tried copying a directory to the HDD to back it up and paste was grayed out, what can I do to access it.

Oh and I did some searching online most of the things I read said to mount the HDD using

sudo mount /dev/sdb1 /mnt/sdb1

but I get this message:

Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it 
which could be identified for example by the help of the 'fuser' command.

The output of the mount | grep sdb command was

/dev/sdb1 on /media/ali/01D3FD2314DE1DE0 type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/dev/sdb2 on /media/ali/01D3FD23187F1260 type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
pers0n
  • 11

1 Answers1

1

The /dev/ files are hardware device nodes. Best not to mess with those.

To see the disk, use the df command (display filesystems). Output will be like:

 df
Filesystem       1K-blocks        Used   Available Use% Mounted on
udev               8144388          12     8144376   1% /dev
tmpfs              1631076        1008     1630068   1% /run
/dev/sda1         61414412    24208268    34456664  42% /
none                     4           0           4   0% /sys/fs/cgroup
none                  5120           0        5120   0% /run/lock
none               8155372       80440     8074932   1% /run/shm
none                102400          60      102340   1% /run/user

Note that I have /dev/sda1 mounted as my root filesystem.
The message that you are getting suggests that /dev/sdb1 is already mounted. See if it shows up with df.

stark
  • 121