Differences

This shows you the differences between the selected revision and the current version of the page.

howto:chroot_debian 2010/01/11 21:29 howto:chroot_debian 2017/09/06 17:34 current
Line 3: Line 3:
===== Files needed ===== ===== Files needed =====
-  * [[http://download.dsmg600.info/bzip2-1.0.3.tar.bz2|bzip2]] +  * [[http://dns323.kood.org/downloads/bzip2-1.0.3.tar.bz2|bzip2]] 
-  * [[http://download.dsmg600.info/tar-1.15.92.tar.bz2|tar]] +  * [[http://dns323.kood.org/downloads/tar-1.15.92.tar.bz2|tar]] 
-  * [[http://download.dsmg600.info/busybox-1.00.tgz|busybox binary to replace missing tools]] +  * [[http://dns323.kood.org/downloads/busybox-1.00.tgz|busybox binary to replace missing tools]] 
-  * [[http://download.dsmg600.info/people/sala/debootstrap-0.3.3.1_uclibc_powerpc.tar.bz2|debootstrap-0.3.3.1 uclibc powerpc version]]+  * [[http://dns323.kood.org/downloads/people/sala/debootstrap-0.3.3.1_uclibc_powerpc.tar.bz2|debootstrap-0.3.3.1 uclibc powerpc version]]
===== Installing steps ===== ===== Installing steps =====
Line 12: Line 12:
  - Copy  the ''bzip'' and ''tar'' utilities to ''/mnt/HD_a2''.  E.g., on a linux machine, extract the utilities with ''tar xjf bzip2-1.0.3.tar.bz2'' and ''tar xjf tar-1.15.92.tar.bz2'', and then use ftp to transfer the extracted binaries and set executable permissions on them.   - Copy  the ''bzip'' and ''tar'' utilities to ''/mnt/HD_a2''.  E.g., on a linux machine, extract the utilities with ''tar xjf bzip2-1.0.3.tar.bz2'' and ''tar xjf tar-1.15.92.tar.bz2'', and then use ftp to transfer the extracted binaries and set executable permissions on them.
  - ''mkdir /mnt/HD_a2/work && cd /mnt/HD_a2/work''   - ''mkdir /mnt/HD_a2/work && cd /mnt/HD_a2/work''
-  - Copy ''debootstrap-0.3.3.1_uclibc_powerpc.tar.bz2'' to ''/mnt/HD_a2''+  - Copy ''debootstrap-0.3.3.1_uclibc_powerpc.tar.bz2'' to ''/mnt/HD_a2/work/''
  - ''ln -s /mnt/HD_a2/bzip2 /mnt/HD_a2/bzcat''   - ''ln -s /mnt/HD_a2/bzip2 /mnt/HD_a2/bzcat''
  - ''/mnt/HD_a2/bzcat debootstrap-0.3.3.1_uclibc_powerpc.tar.bz2 | /mnt/HD_a2/tar -xvf -''   - ''/mnt/HD_a2/bzcat debootstrap-0.3.3.1_uclibc_powerpc.tar.bz2 | /mnt/HD_a2/tar -xvf -''
Line 20: Line 20:
    - ''export PATH=/mnt/HD_a2/bin:/mnt/HD_a2/sbin:$PATH''     - ''export PATH=/mnt/HD_a2/bin:/mnt/HD_a2/sbin:$PATH''
   
- **Note: Before proceeding to the next step, you must have internet access from the DSM-G600** + **Note: Before proceeding to the next step, you must have internet access from the DSM-G600.** If the next step fails, ''%%rm -rf /mnt/HD_a2/debian%%'' and try replacing "etch" with "sarge" in the command below.  
-  +  - ''%%/mnt/HD_a2/bin/sh /mnt/HD_a2/work/usr/sbin/debootstrap --arch powerpc etch /mnt/HD_a2/debian http://archive.debian.org/debian%%''. Use [[http://www.debian.org/mirror/list|an appropriate Debian mirror]] or (preferably) an apt proxy.  See [[http://www.debian-administration.org/articles/426|this article]] on using ''debootstrap''.
-  - ''%%/mnt/HD_a2/bin/sh /mnt/HD_a2/work/usr/lib/debootstrap --arch powerpc etch /mnt/HD_a2/debian http://ftp.nl.debian.org/debian%%''. Use [[http://www.debian.org/mirror/list|an appropriate Debian mirror]] or (preferably) an apt proxy.  See [[http://www.debian-administration.org/articles/426|this article]] on using ''debootstrap''. +
  - ''cp /etc/resolv.conf /mnt/HD_a2/debian/etc/resolv.conf''   - ''cp /etc/resolv.conf /mnt/HD_a2/debian/etc/resolv.conf''
  - ''cd /''   - ''cd /''
Line 37: Line 36:
==== /etc/fstab ==== ==== /etc/fstab ====
 +Needed only if you're going to hdd-boot or use loader.o
<code> <code>
/dev/sda3              /              ext3            noatime                0 0 /dev/sda3              /              ext3            noatime                0 0
Line 43: Line 43:
none                    /dev/shm        tmpfs          defaults                0 0 none                    /dev/shm        tmpfs          defaults                0 0
</code> </code>
- 
-FIXME What are these partitions?  How are they created?  What happens if they don't exist? 
==== /etc/network/interfaces ==== ==== /etc/network/interfaces ====
 +Needed only if you're going to hdd-boot or use loader.o
<code> <code>
mapping hotplug mapping hotplug
Line 65: Line 63:
===== Links ===== ===== Links =====
-  * [[http://forum.dsmg600.info/t17-Debian-howto.html|Forum thread]]+  * [[http://dns323.kood.org/forum/t17-Debian-howto.html|Forum thread]]

Personal Tools