Wednesday, January 26, 2011

how to mount a partition inside a partition

Hello, everyone

On my linux box I have a block device (/dev/sda5) that has been partitioned inside by a virtual machine. So, when I look inside with fdisk /dev/sda5, I see:

sda5p1 sda5p2

and so on. Is it possible to mount them on my host system?

Thanks in advance.

  • Use kpartx to generate device mapper nodes for each, then mount them individually.

    facha : Wow, great!!! It works. Thanks a lot.

0 comments:

Post a Comment