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