Skip to content

How to build a correct image #4

@jayjayseal

Description

@jayjayseal

Hi,

I have build an image i want to write using scriptexecutor. But it's always slow to copy (lets say 755mb) and the copy command gives errors when doing the copy. It starts off really fast going to 40% but then it stalls eventually getting back on speed until it drops again around 70%.... and then speeds up again. I suspect this has to do with the 3 partitions on the image and the empty space it holds.

Not tainted 5.4.83-scriptexec 1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Workqueue: events_freezable mmc_rescan

Then a a large backtrace message

Usually the image still continue's to copy.. but sometimes it also fails to copy with the following error:
Error during dd. Return code 1. Script output:

28728576+0 records in
14027+1 records out

What i'm trying to do is creating an image of a Ubuntu core installation that is already installed and ready to go.

I remove the SD card from the already setup PI and put this in a Ubuntu laptop... creating an image and supplying this to the scriptexecutor (compressed in .gz format)

I suspect this has to do with the image and how it's created. If i supply a standard ubuntu core image dd is finished in about 3 minutes and the error never appears. What am i doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions