1

losetup and mount during boot

view story
linux-howto

https://bbs.archlinux.org – I want to use losetup to map a disk image file to a loopback device (dev/loop0) during boot.I would also want to mount this device as my home partition.The disk image is not located on the root partition, but on another separate partition.I can do this manually by using following commands:losetup --find --show /mnt/data/home-flat.vmdk losetup -o 32256 /dev/loop1 /dev/loop0 mount /dev/loop1 /homeThe reason I need this, is that I have a dualboot setup (windows,archlinux) but also want access to an arch system via a virtual machine from within windows.So I basically have two arch-installations, w (HowTos)