Mount qcow2: you must specify the filesystem type

cmonty14

Well-Known Member
Mar 4, 2014
343
5
58
Hi,

I want to mount qcow2 image file, but get this error:
mount: you must specify the filesystem type

I follow the steps provided in Debian Wiki:
modprobe nbd
qemu-nbd --connect=/dev/nbd0 imagename.qcow2


The image is loaded correctly, but I cannot mount it.
fdisk -l /dev/nbd0

WARNING: GPT (GUID Partition Table) detected on '/dev/nbd0'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/nbd0: 10.7 GB, 10737418240 bytes
256 heads, 63 sectors/track, 1300 cylinders, total 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/nbd0p1 1 4294967295 2147483647+ ee GPT

gdisk -l /dev/nbd0
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/nbd0: 20971520 sectors, 10.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 4C454E13-5DE6-47DD-BA23-DFFC55D44260
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 20971486
Partitions will be aligned on 2-sector boundaries
Total free space is 4029 sectors (2.0 MiB)

Number Start (sector) End (sector) Size Code Name
1 34 65569 32.0 MiB 0C01 Microsoft reserved part
2 67584 20969471 10.0 GiB 0700 Basic data partition



Why is mount failing?

THX
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!