Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
Which OS? My XP workstation doesn't have a /dev/sda5. My OpenBSD box neither and so are the AIX servers I'm working on... – Benoit Apr 22 '10 at 8:44
It's definitely a *nix. probably linux that's the first extended partition on the first drive. so if you aren't using that many partitions on you *nix systems you wouldn't have one. – xenoterracide Apr 22 '10 at 9:05
up vote 2 down vote accepted

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

share|improve this answer
Wow, great!!! It works. Thanks a lot. – facha Apr 22 '10 at 9:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.