qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Cannot opening qwoc2 image with qemu-nbd


From: Pierre Couderc
Subject: [Qemu-discuss] Cannot opening qwoc2 image with qemu-nbd
Date: Wed, 25 Oct 2017 16:27:52 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

It is a XP image.

#modprobe nbd max_part=8

#qemu-nbd -c /dev/nbd0 /home/nous/qemu/xp/XPVM.qcow2

#mount /dev/nbd0p1 /media/a
mount: special device /dev/nbd0p1 does not exist

More details here :


#lsblk

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 447.1G  0 disk
├─sda1   8:1    0   512M  0 part /boot/efi
├─sda2   8:2    0 434.8G  0 part /
└─sda3   8:3    0  11.9G  0 part [SWAP]
sr0     11:0    1  1024M  0 rom
nbd0    43:0    0    40G  0 disk

#fdisk -l /dev/nbd0
Disk /dev/nbd0: 40 GiB, 42949672960 bytes, 83886080 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
Disklabel type: dos
Disk identifier: 0xe885e885

Device      Boot Start      End  Sectors Size Id Type
/dev/nbd0p1 *       56 83866439 83866384  40G  7 HPFS/NTFS/exFAT

What am I missing

Thanks

PC




reply via email to

[Prev in Thread] Current Thread [Next in Thread]