Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »


Mount rhcos sysroot from qcow2 image

 modprobe nbd max_part=8
 qemu-nbd 
 qemu-nbd --connect=/dev/nbd0 /home/images/leaf1-host.img
 fdisk /dev/nbd0 -l
 cryptsetup luksOpen /dev/nbd0p4 rhcos456
 mount /dev/mapper/rhcos456 /mnt/rhcos/

Disconnect

umount /mnt/rhcos/
qemu-nbd --disconnect /dev/nbd0
rmmod nbd
  • No labels