1,381
edits
Changes
From IGEP - ISEE Wiki
→Initial Setup
=== Initial Setup ===
As we explain before we will create a chroot environment using this image: <pre>mkdir -p ~/rootfs/armhf-ubuntu-core-12.04.4
cd ~/root
wget http://downloads.isee.biz/pub/igepv5_ce/arm-ubuntu/images/ubuntu-12.04.4-LTS-hf/ubuntu-core-12.04.4-core-armhf.tar.gz
sudo cp /usr/bin/qemu-arm-static usr/bin
sudo LC_ALL=C chroot .
</pre>Now if you execute the command ls -al you should see a similar directory listing like this:<pre>drwxr-xr-x 2 root root 4096 Feb 3 16:42 bin
drwxr-xr-x 2 root root 4096 Apr 19 2012 boot
drwxr-xr-x 3 root root 4096 Feb 3 16:41 dev
drwxr-xr-x 10 root root 4096 Feb 3 16:39 usr
drwxr-xr-x 11 root root 4096 Feb 3 16:39 var
</pre>Ubuntu core not have any user created and we need to create one:<pre>$ adduser igep
Adding user `igep' ...
Adding new group `igep' (1000) ...
Adding new user `igep' (1000) with group `igep' ...
Creating home directory `/home/igep' ...
Copying files from `/etc/skel' ...
Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully</pre>Now it's necessary to add this user into the groups adm and sudo.<pre>addgroup igep adm addgroup igep sudo</pre>