how to mount USB drive of another partition

Noah noah-list at enabled.com
Wed Jun 3 20:43:56 UTC 2020


Hi there,

I have a machine that is not booting so I pulled the drive out and 
trying to mount it via USB to another ubuntu 20.04 server.   Is there an 
easy way to mount the filesystem?

user at nuc2:~$ sudo fdisk -l
...
Disk /dev/sdb: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: H500F0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0004ee15

Device     Boot  Start       End   Sectors   Size Id Type
/dev/sdb1         2048    499711    497664   243M 83 Linux
/dev/sdb2       501758 976771071 976269314 465.5G  5 Extended
/dev/sdb5       501760 976771071 976269312 465.5G 8e Linux LVM
...
user at nuc2:~$ sudo mount -t ext4 /dev/sdb2 /media/USB
mount: /media/USB: wrong fs type, bad option, bad superblock on 
/dev/sdb2, missing codepage or helper program, or other error.
user at nuc2:~$ sudo mount -t ext3 /dev/sdb2 /media/USB
mount: /media/USB: wrong fs type, bad option, bad superblock on 
/dev/sdb2, missing codepage or helper program, or other error.
user at nuc2:~$ sudo mount -t ext3 /dev/sdb5 /media/USB
mount: /media/USB: /dev/sdb5 already mounted or mount point busy.
user at nuc2:~$ sudo mount -t ext4 /dev/sdb5 /media/USB
mount: /media/USB: /dev/sdb5 already mounted or mount point busy.
user at nuc2:~$ mount | grep USB
user at nuc2:~$ mount | grep sdb

Cheers




More information about the ubuntu-users mailing list