Informatik und Elektronik Hacklab Verein Schweiz

REGISTER LOGIN

Ubuntu Core Porting and Deployment

Introduction

This How To describe Step by Step how to port and Deploy Ubuntu Core to test and run it as a example as a Virtual Instance using qemu or Virtual Box.

Preparation

Download the newest ubuntu-core image version release for your target Computer Architecture from here

http://cdimage.ubuntu.com/ubuntu-core/releases/

Unpack the Ubuntu Core many files to a new ubuntu-core dir using

mkdir ubuntu-core

sudo tar xpzvf ubuntu-core-* -C ubuntu-core/

For having a Backup possibility of your ubuntu core rootfs use this command to copy all the files

sudo cp -a ubuntu-core/ ubuntu-core-back

Kernel Installation

Install your preferred Linux Kernel to the ubuntu-core rootfs

sudo cp -vf /boot/vmlinuz-4.*-generic ubuntu-core/boot/

sudo cp -vf /boot/initrd.img-4.*-generic ubuntu-core/boot/

sudo cp /etc/resolv.conf ubuntu-core/etc/

Installation

Chroot inside the new created ubuntu-core dir and configure or install additional packages

sudo chroot ubuntu-core

apt-get update

apt-get upgrade

apt-get install nano


Powered by LionWiki. Know How Recent changes Last changed: 2015/12/30 15:34 History