Debootstrap on your nas
From NAS-2000.org
Contents |
[edit] create dir
mkdir -p /mnt/IDE1/bootstrap/ cd /mnt/IDE1/bootstrap/
[edit] copy the necessary files
you will need the content from this files on /mnt/IDE1/bootstrap/:
- debootstrap-udeb_0.2.45-0.2_arm.udeb
- the symbolic links from busybox_1.1.3-5_arm.deb
- the static busybox busybox-static_1.1.3-5_arm.deb
- libc6_2.3.2.ds1-22sarge6_arm.deb
- the contet of /etc
cp -a /etc /mnt/IDE1/bootstrap/
- the contet of /lib
cp -a /lib /mnt/IDE1/bootstrap/
[edit] chroot to /mnt/IDE1/bootstrap
/mnt/IDE1/bootstrap/bin/busybox chroot /mnt/IDE1/bootstrap /bin/busybox sh
[edit] mount proc
mkdir /proc mount proc /proc -t proc
[edit] debootstrap
debootstrap sarge /arm-sarge
[edit] things afer debootstrap
- exit the chroot
exit
- umount proc
umount /mnt/IDE1/bootstrap/proc