ventoy / vdiskchain

chainload to linux vdisk from other bootloaders
53 stars 9 forks source link

Cannot mount the block device where the image located #4

Open vkravets opened 3 years ago

vkravets commented 3 years ago

Since vdiskchain support the images with full allocated images in this case it's fully secured to able to mount the same device where the image located.

E.g, on the /dev/sda5 (ntfs) under the root I have /Manjaro.vdi.vtoy After run the system from this virtual disk I cannot mount to it /dev/sda5

vkravets commented 3 years ago

Maybe it's better to move to vdiskboot, but I'm not sure, so let's discuss it here =)

ventoy commented 3 years ago

It's the limitation of the linux kernel. Ventoy create a device mapper device based on the locatition of the image file in the partition(e.g. /dev/sda5). Once you create a device mapper device on /dev/sda5, then /dev/sda5 can not be mounted anymore.