From de997ca1ebae6399fac7878d76aeb7d4130aefd9 Mon Sep 17 00:00:00 2001 From: Marek Belisko Date: Wed, 15 Apr 2020 16:14:03 +0200 Subject: [PATCH] configs: Added ubuntu x86-64 hdd defconfig Changelog: Title Setup for converting ubuntu 18.04 (test device was used Intel NUC) with 128G SSD. Signed-off-by: Marek Belisko --- configs/ubuntu_x86-64_hdd_config | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 configs/ubuntu_x86-64_hdd_config diff --git a/configs/ubuntu_x86-64_hdd_config b/configs/ubuntu_x86-64_hdd_config new file mode 100644 index 0000000..00d5dbb --- /dev/null +++ b/configs/ubuntu_x86-64_hdd_config @@ -0,0 +1,26 @@ +# This configuration can be used to run Ubuntu on a any x86-64 machine. +# +# This has been tested on images generated with the following command: +# +# Boot live USB and copy the data from internal storage (hdd, eMMC) e.g. for hdd: +# +# dd if=/dev/sda of=/media/ubuntu/ubuntu.img bs=1M count=10000 status=progress +# +# Converted with the following command: +# +# MENDER_ARTIFACT_NAME=release-1 ./docker-mender-convert \ +# --disk-image input/ubuntu.img \ +# --config configs/ubuntu_x86-64_hdd_config \ +# --overlay rootfs_overlay_demo/ +# +# and image must be then copied back after conversion to internal storage (when booted again from live USB) e.g. for eMMC: +# +# zcat /media/ubuntu/ubuntu-x86_64-mender.img.gz | sudo dd of=/dev/sda bs=1M status=progress + +MENDER_STORAGE_DEVICE_BASE=/dev/sda +MENDER_DEVICE_TYPE="x86_64" + +MENDER_STORAGE_TOTAL_SIZE_MB=16000 + +# Nothing to copy +MENDER_COPY_BOOT_GAP="n"