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
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