Installing a rootfs

From Linux Exynos
Revision as of 18:37, 5 April 2014 by Swabbles (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Mount your root partition (we assume for this example that /dev/mmcblk0p3 is the root partition):

mkdir -p /mnt/extern/
mount /dev/mmcblk0p3 /mnt/extern/


TODO: write about debootstrap.


Download and extract the latest stage3 tarball to your rootfs, whilst preserving the permissions:

wget -O -$(wget -O - 2>/dev/zero | tail -n1) 2>/dev/zero | tar xjp -C /mnt/extern/

Download and extract the Portage package manager:

wget -O - | tar xjp -C /mnt/extern/usr/