[lxc-users] [SOLVED] How do you mount this file as an lxc rootfs?

John Lewis oflameo2 at gmail.com
Mon Jun 20 14:16:48 UTC 2016


On 06/20/2016 10:16 AM, John Lewis wrote:
> On 06/20/2016 10:04 AM, Mike Wright wrote:
>> On 06/20/2016 06:47 AM, John Lewis wrote:
>>> I have a ext4 formatted file called pmd.simg with a directory structure
>>> like this.
>>>
>>> lost+found  rootfs
>> You should be able to mount that via the loop device:
>>
>> <code>
>> mount pmd.simg <mount_point> -o loop
>> </code>
>>
>> Then rootfs will be available at <mount_point>/rootfs
>>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
> That worked, thank you.
>



More information about the lxc-users mailing list