From 81aec52914ec6d604b624c0e169a8b75d960bb8d Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Thu, 5 Feb 2015 10:18:34 +0100 Subject: lx-trainer: add documentation and scripts this moves also the elbe-xml into a lx-trainer directory. Signed-off-by: Manuel Traut --- lx-trainer-vm/dd-single.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 lx-trainer-vm/dd-single.sh (limited to 'lx-trainer-vm/dd-single.sh') diff --git a/lx-trainer-vm/dd-single.sh b/lx-trainer-vm/dd-single.sh new file mode 100755 index 0000000..fb66814 --- /dev/null +++ b/lx-trainer-vm/dd-single.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +dd if=build/lx-trainer.img of=/dev/sdb + +echo -e "n\np\n\n\n\nw" | fdisk /dev/sdb +partprobe + +mkfs.ext4 -F -L lxhome /dev/sdb2 + +mount /dev/sdb2 /mnt +mkdir /mnt/devel +chown 1000:1000 /mnt/devel +cp -a home-overlay/* /mnt/ +umount /mnt -- cgit v1.2.3