Page 1 of 2

[DISCUSSION] Creating image of LattePanda disk

Posted: Sun Apr 17, 2016 8:44 am
by ermingut
I would like to create image of LattePanda disk prior to install all sorts of thing and eventually broke windows installation :D .

I tried with CloneHD and Acronis True Image, but none of the programs sees LattePanda hard drive and thus can not be backed up. Any suggestions, how to backup initial installation?

Thank you.
Ermin

Re: Creating image of LattePanda disk

Posted: Sun Apr 17, 2016 11:29 am
by Basti
Maybe it is possible to boot clonezilla on usb?

Re: Creating image of LattePanda disk

Posted: Sun Apr 17, 2016 11:48 am
by denonbw
I made it with the tools from Windows 10.

http://www.cnet.com/how-to/how-to-creat ... indows-10/

Re: Creating image of LattePanda disk

Posted: Sun Apr 17, 2016 7:00 pm
by ermingut
I tried with Clonezilla and I can't pass initial resolution selection screen. I ended with windows build in tool.

Re: Creating image of LattePanda disk

Posted: Mon Apr 18, 2016 1:25 pm
by Raymond Day
You can put a Linux live CD on a USB flash drive. I like this one it works good on the Lattepanda:

Download that and use something like Rufus to put it on a USB flash drive.

Plug it in the USB 3.0 on the Lattepanda. It should auto boot from it. If not press F7 on boot and pick it from the list.

At the top of the screen it will say try just press Enter on there.

When it boots go to the command line and type sudo su root to be root on it.

Plug in some other USB flash drive and do a df -h command to see where it mounted it.

This dd command will back up Windows 10 then to the mounted other USB drive.

dd if=/dev/mmcblk0 of=/media/USB/Lattepanda-Win10-backup.dd bs=4M

I am not sure of the /media/USB the df-h will show that. You can name it what you like I just did Lattepanda-Win10-backup.dd for it's name.

You will not see any thing just have to wait for it to be done. Then you will have the backup on the USB flash drive. Can do it back same way but swop the if and of of the dd command. Can look that up how.

-Raymond Day

Re: Creating image of LattePanda disk

Posted: Tue Jun 28, 2016 10:49 am
by LattePanda
awesome post raymond, thank you! will make this topic a sticky for other people's benefit :)

Re: Creating image of LattePanda disk

Posted: Wed Jul 06, 2016 2:15 pm
by Rolf
Acronis True Image 2016 can be used without any problems to produce a full image of the eMMC
of the LattePanda.

The problem is that old versions of Acronis True Image might not be compatible with Windows 10 if
they are older than it. Then if you have installed Acronis True Image 2016 on the LattePanda you should
produce your own WIN PE USB-Boot stick with it as it will contain all required original windows drivers
on it so that instead of a Linux system it can have access to all media connected to the LattePanda
like the eMMC. Old versions of Acronis True Image Boot media might not have the required memory controllers
and disk controllers installed and thus cannot "see" the eMMC.

The produced full system image backup file can be converted into a virtual machine with VMware, so
that you can work with the software installed on the LattePanda virtually on a different PC:

Re: Creating image of LattePanda disk

Posted: Mon Aug 29, 2016 6:03 am
by LattePanda
Rolf wrote:Acronis True Image 2016 can be used without any problems to produce a full image of the eMMC
of the LattePanda.

The problem is that old versions of Acronis True Image might not be compatible with Windows 10 if
they are older than it. Then if you have installed Acronis True Image 2016 on the LattePanda you should
produce your own WIN PE USB-Boot stick with it as it will contain all required original windows drivers
on it so that instead of a Linux system it can have access to all media connected to the LattePanda
like the eMMC. Old versions of Acronis True Image Boot media might not have the required memory controllers
and disk controllers installed and thus cannot "see" the eMMC.

The produced full system image backup file can be converted into a virtual machine with VMware, so
that you can work with the software installed on the LattePanda virtually on a different PC:
very interesting, will have to try this

Re: Creating image of LattePanda disk

Posted: Mon Aug 29, 2016 6:07 am
by LattePanda
Raymond Day wrote:You can put a Linux live CD on a USB flash drive. I like this one it works good on the Lattepanda:

Download that and use something like Rufus to put it on a USB flash drive.

Plug it in the USB 3.0 on the Lattepanda. It should auto boot from it. If not press F7 on boot and pick it from the list.

At the top of the screen it will say try just press Enter on there.

When it boots go to the command line and type sudo su root to be root on it.

Plug in some other USB flash drive and do a df -h command to see where it mounted it.

This dd command will back up Windows 10 then to the mounted other USB drive.

dd if=/dev/mmcblk0 of=/media/USB/Lattepanda-Win10-backup.dd bs=4M

I am not sure of the /media/USB the df-h will show that. You can name it what you like I just did Lattepanda-Win10-backup.dd for it's name.

You will not see any thing just have to wait for it to be done. Then you will have the backup on the USB flash drive. Can do it back same way but swop the if and of of the dd command. Can look that up how.

-Raymond Day
just a small addition for anyone trying this:
if you append "status=progress" to the dd command, you will also have an output of the dd progress.
eg.

Code: Select all

dd if=/dev/mmcblk0 of=/dev/sdb1 bs=4M status=progress
you could also use pv but this would require installing extra packages...

Re: Creating image of LattePanda disk

Posted: Mon Sep 05, 2016 3:28 am
by KevinA
Raymond Day wrote:You can put a Linux live CD on a USB flash drive. I like this one it works good on the Lattepanda:

Download that and use something like Rufus to put it on a USB flash drive.

Plug it in the USB 3.0 on the Lattepanda. It should auto boot from it. If not press F7 on boot and pick it from the list.

At the top of the screen it will say try just press Enter on there.
-Raymond Day
That doesn't work for me, the 'pick for a list' thing is not happening:
The list shows what you can select in the bios boot order (doesn't seem to work) yet if I select the shell (since the other two choices just end up booting the LP OS) I get a list with a count down, I abort the count down by enter a key but then what? I tried help but it scrolls off the screen. I can see that fs1 is the removable device I need but mounting it does nothing.
The DOCS page refers to the fact 'it should boot' which is useless, any time there is a 'should' while describing a process there 'should' also be a statement covering what to do when 'should' doesn't happen. This is basic tech speak which does not seem to happen at LP. I tried downloading the Lubuntu Yakkety Yak Image, it appears the download site is a bit overloaded, 2 hours for less than a GB? I downloaded Ubuntu x_86 desktop in 10 minutes.
I have the 2/32 LP so I downloaded the x_386 version, used rufus to write the image but nothing I do will make the LP boot from USB. I can take the Ubuntu 16.04 386 rufus created USB and boot from it on every PC I own but the LP.