# Error when convert container image

**URL:** <https://hub.mender.io/t/error-when-convert-container-image/2622>\
**Category:** General Discussions\
**Created:** [October 6, 2020, 10:45am UTC](https://hub.mender.io/t/error-when-convert-container-image/2622 "2020-10-06T10:45:13Z")\
**Posts on this page:** 4\
**Page:** 3

<div class="post-metadata">

**Author:** ![M.Tuan](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@M.Tuan](https://hub.mender.io/u/M.Tuan)\
**Post date:** [October 26, 2020, 9:04am UTC](https://hub.mender.io/t/error-when-convert-container-image/2622/41 "2020-10-26T09:04:29Z")

</div>

Hi Mr @drewmoseley, I want to ask if there is any optimal way to flash 100 fresh install machine to create dual root filesystem and connect that machine to mender?  
Because right now I have 1 machine, I have to install a fresh Debian, shutdown it, run Ubuntu live on it, and flash the image from Ubuntu live to write the disk image written by mender-convert, and reboot it. After this point I’ll have a machine with dual root filesystem and connected to mender.

I wanna ask do you have any suggestion about how to shorten this process? Or any other ways to flash the image? Or use the image written by mender-convert, and just install an OS with it, without Ubuntu or any between?

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [October 26, 2020, 4:05pm UTC](https://hub.mender.io/t/error-when-convert-container-image/2622/42 "2020-10-26T16:05:10Z")

</div>

That’s a pretty typical setup. You can remove the disk from the machine and attach it to your development workstation. That will remove the need for the Ubuntu Live image boot but probably won’t be any quicker.

But I don’t understand why you need to install fresh Debian before booting Ubuntu live. That should not be necessary if you are just planning to overwrite the disk with the Mender-enabled image.

Drew

---

<div class="post-metadata">

**Author:** ![M.Tuan](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@M.Tuan](https://hub.mender.io/u/M.Tuan)\
**Post date:** [October 27, 2020, 2:16am UTC](https://hub.mender.io/t/error-when-convert-container-image/2622/43 "2020-10-27T02:16:58Z")

</div>

Oh I see, because flash 100 disk really a challenge for us.

I didn’t know that I don’t need to install fresh Debian, thank you very much.

---

<div class="post-metadata">

**Author:** ![dellgreen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/dellgreen/32/85_2.png) [@dellgreen](https://hub.mender.io/u/dellgreen)\
**Post date:** [October 27, 2020, 10:55am UTC](https://hub.mender.io/t/error-when-convert-container-image/2622/44 "2020-10-27T10:55:43Z")

</div>

if you have that many machines to do and its going to be an on-going concern, then i would be investigating something like the FOG project to simplify the imaging process across many devices. (or some-other PXE-boot based solution). i think alot of bios’s these days support holding down a key on boot to put it into PXE-boot mode.

[https://wiki.fogproject.org/wiki/index.php/FOGUserGuide#:~:text=What%20is%20FOG%3F,done%20via%20TFTP%20and%20PXE](https://wiki.fogproject.org/wiki/index.php/FOGUserGuide#:~:text=What%20is%20FOG%3F,done%20via%20TFTP%20and%20PXE).

[Previous page](https://hub.mender.io/t/error-when-convert-container-image/2622.md?page=2)
