how to mount USB drive of another partition

Ralf Mardorf kde.lists at yahoo.com
Wed Jun 3 21:16:29 UTC 2020


On Wed, 3 Jun 2020 13:43:56 -0700, Noah wrote:
>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

You can mount /dev/sdb1 by running

  sudo mount /dev/sdb1 /media/USB

no t option is needed.

You cannot mount an extended partition. You can mount a LVM volume, so
google is your friend. The first hit I get when googling for

  mount linux lvm

is:

https://www.cyberciti.biz/faq/linux-mount-an-lvm-volume-partition-command/

From this link:

"How to mount LVM partition in Linux

The procedure to mount LVM partition in Linux as follows:

    1. Run vgscan command scans all supported LVM block devices in the
    system for VGs
    2. Execute vgchange command to activate volume
    3. Type lvs command to get information about logical volumes
    4. Create a mount point using the mkdir command
    5. Mount an LVM volume using sudo mount /dev/mapper/DEVICE
    /path/to/mount"

The details are explained by this link. Dunno if it is ecplained
correctly, since I never ever would use LVM again. I tested it years
ago. It's similar to the FreeBSD approach, IMO a PITA and completely
useless for a desktop computer, it just makes things complicated and
failure prone.




More information about the ubuntu-users mailing list