Differences

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

howto:install_debian 2008/10/17 22:43 howto:install_debian 2017/12/04 17:26 current
Line 1: Line 1:
 +**WARNING**: This procedure is horrible.  For a "real" native Debian installation, take a look at http://www.cyrius.com/debian/orion/d-link/dns-323/install.html .
 +
This page described how to get Debian natively running on your This page described how to get Debian natively running on your
DNS-323. DNS-323.
-NOTE: If you follow this procedure, the DNS-323 will no longer run it's+NOTE: If you follow this procedure, the DNS-323 will no longer run its
normal operation.  It will only run debian.  The function can be restored, normal operation.  It will only run debian.  The function can be restored,
details at the end. details at the end.
Line 555: Line 557:
192:/initrd# cp /lib/ld-linux.so.2 lib 192:/initrd# cp /lib/ld-linux.so.2 lib
192:/initrd# cp /lib/libc.so.6 lib/ 192:/initrd# cp /lib/libc.so.6 lib/
 +192:/initrd# cp /lib/libgcc_s.so.1 lib/
192:/initrd# cp /lib/libcrypt.so.1 lib 192:/initrd# cp /lib/libcrypt.so.1 lib
192:/initrd# cp /lib/libm.so.6 lib 192:/initrd# cp /lib/libm.so.6 lib
Line 695: Line 698:
<code> <code>
-192:/etc# umount /mnt +192:/# umount /mnt 
-192:/etc# mount /dev/md0 /mnt+192:/# cd /mnt 
 +192:/mnt# mkdir hd_root nfs_root 
 +192:/mnt# mount /dev/md0 hd_root
kjournald starting.  Commit interval 5 seconds kjournald starting.  Commit interval 5 seconds
EXT3 FS on md0, internal journal EXT3 FS on md0, internal journal
EXT3-fs: mounted filesystem with ordered data mode. EXT3-fs: mounted filesystem with ordered data mode.
-192:/etc# cp -a /bin /boot /dev /etc /home /initrd /lib /media /opt /root /sbin /srv/ /usr /var /mnt +192:/mnt# mount -o bind / nfs_root 
-192:/etc# mkdir /mnt/mnt /mnt/proc /mnt/sys /mnt/tmp +192:/mnt# cp -a nfs_root/* hd_root 
-192:/etc# chmod 777 /mnt/tmp +192:/mnt# mkdir hd_root/old_root
-192:/etc# chmod +t /mnt/tmp +
-192:/etc# mkdir /mnt/old_root+
</code> </code>
Line 710: Line 713:
<code> <code>
-192:/etc# vi /mnt/etc/fstab+192:/mnt# vi hd_root/etc/fstab
</code> </code>
Line 718: Line 721:
<code> <code>
-192:/etc# vi /mnt/etc/network/interfaces+192:/mnt# vi hd_root/etc/network/interfaces
</code> </code>
Line 726: Line 729:
<code> <code>
-192:/etc# cd /root+192:/mnt# cd /root
192:~# ./make_uinitrd 192:~# ./make_uinitrd
1024+0 records in 1024+0 records in
Line 761: Line 764:
<code> <code>
192:~# dd if=/root/initrd.uImage of=/dev/mtdblock3 192:~# dd if=/root/initrd.uImage of=/dev/mtdblock3
-192:~# umount /mnt 
192:~# reboot 192:~# reboot
</code> </code>
Line 774: Line 776:
A few other things you might want to do: A few other things you might want to do:
- 
-Makes the hwclock work right: 
-<code> 
-server:~/dns323-oldfs# cd /dev 
-server:/dev# MAKEDEV rtc 
-</code> 
Provide access to the temperature sensor: Provide access to the temperature sensor:

Navigation

Personal Tools