![]() |
SlugOS.BootstrapLE HistoryHide minor edits - Show changes to markup November 19, 2007, at 04:36 PM
by -- formatting
Changed lines 67-68 from:
''If you have rebooted after running fdisk, the device /dev/sda1 might get mounted. If so the "mkfs.ext3 /dev/sda1" command will fail. I unmounted the device with the command "umount /dev/sda1" and re-ran the mkfs command successfully. to:
If you have rebooted after running fdisk, the device /dev/sda1 might get mounted. If so the "mkfs.ext3 /dev/sda1" command will fail. I unmounted the device with the command "umount /dev/sda1" and re-ran the mkfs command successfully. November 19, 2007, at 04:36 PM
by -- formatting
Deleted line 60:
Added lines 67-68:
''If you have rebooted after running fdisk, the device /dev/sda1 might get mounted. If so the "mkfs.ext3 /dev/sda1" command will fail. I unmounted the device with the command "umount /dev/sda1" and re-ran the mkfs command successfully. November 17, 2007, at 04:38 AM
by -- /dev/sda1 is mounted after creation and reboot
Added line 61:
September 28, 2007, at 08:07 AM
by -- Add note on ethernet setup
Added lines 159-161:
You may also need to copy February 24, 2007, at 12:51 AM
by --
Changed line 116 from:
ar -x debootstrap-udeb_0.3.3_arm.udeb to:
ar -x debootstrap-udeb_0.3.3.1_arm.udeb December 14, 2006, at 11:24 AM
by -- update debbootstrap version
Changed line 108 from:
wget http://ftp.nl.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb to:
wget http://ftp.nl.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3.1_arm.udeb November 16, 2006, at 07:51 PM
by -- name change from DebianSlug to SlugOS/LE
Changed lines 1-6 from:
NOTICE: this page describes the old, manual procedure for bootstrapping Debian in a slug, using the DebianSlug kernel. Currently, if you want to install Debian in your slug it is recommended that you use debian-installer, as described in http://www.cyrius.com/debian/nslu2/. Now you have a little endian DebianSlug image that can be used to bootstrap the offical Debian arm port (you didn't do this yet? Go here and install it first). Here's how to do it. to:
NOTICE: this page describes the old, manual procedure for bootstrapping Debian in a slug, using the SlugOS/LE kernel (formerly know as DebianSlug). Currently, if you want to install Debian in your slug it is recommended that see the new instructions about Debian/NSLU2 and use debian-installer, as described in http://www.cyrius.com/debian/nslu2/.Now you have a little endian SlugOS/LE image that can be used to bootstrap the offical Debian arm port (you didn't do this yet? Go here and install it first). Here's how to do it. Changed line 8 from:
to:
Changed line 10 from:
to:
Added line 15:
Changed line 17 from:
to:
Changed lines 26-27 from:
Boot your just reflashed image and log in using ssh as to:
Boot your just reflashed image and log in using ssh as Changed lines 237-238 from:
Now configure the to:
Now configure the Changed line 271 from:
Notice (added by Petr Jakes): It takes long time to check the file system for big harddrives (500G) during the boot. System can not boot because of that in some cases. For example, after changing time (hwclock -w) directly after DebianSlug install, I was not able to boot from the 500GB HDD without following tune2fs command. Because of above mentioned type in: to:
Notice (added by Petr Jakes): It takes long time to check the file system for big harddrives (500G) during the boot. System can not boot because of that in some cases. For example, after changing time (hwclock -w) directly after SlugOS/LE install, I was not able to boot from the 500GB HDD without following tune2fs command. Because of above mentioned type in: Changed lines 306-307 from:
Add your name to the DebianSlugUsers? list. (And you might want to to:
Add your name to the SlugOS/LE Users? list. (And you might want to Changed lines 309-313 from:
Installing kernel-modules (DebianSlug 3.10beta)Notice: these instructions only apply if you are running DebianSlug after the manual bootstrap procedure. If you have installed NSLU2 using debian-installer, you should install the official Debian modules through If you're running DebianSlug 3.10beta and have to install additional kernel modules (USB-sound e.g.), you have to use the kernel-modules on to:
Installing kernel-modules (SlugOS/LE 3.10beta)Notice: these instructions only apply if you are running SlugOS/LE after the manual bootstrap procedure. If you have installed Debian/NSLU2 using debian-installer, you should install the official Debian modules through If you're running SlugOS/LE 3.10beta and have to install additional kernel modules (USB-sound e.g.), you have to use the kernel-modules on Changed lines 354-355 from:
Another way to install a kernel module for DebianSlug is to manually decompress the .ipk file, copy the module to the to:
Another way to install a kernel module for SlugOS/LE is to manually decompress the .ipk file, copy the module to the Changed lines 505-506 from:
Be sure to get the little endian SlugOS (DebianSlug) firmware and NOT the big endian SlugOS (OpenSlug) firmware. If you happen to pick the big endian version and follow the instructions above (as I mistakenly did) it will manifest itself by finishing the debootstrap step entirely too quickly, and the log will report: to:
Be sure to get the little endian SlugOS (SlugOS/LE) firmware, that may still be identified as DebianSlug, and NOT the big endian SlugOS (OpenSlug) firmware. If you happen to pick the big endian version and follow the instructions above (as I mistakenly did) it will manifest itself by finishing the debootstrap step entirely too quickly, and the log will report: November 09, 2006, at 01:57 PM
by -- notices about debian-installer and modules
Changed line 1 from:
\\ to:
Changed lines 3-4 from:
to:
November 09, 2006, at 01:56 PM
by -- notices about debian-installer and modules
Added lines 1-4:
Added lines 311-313:
Notice: these instructions only apply if you are running DebianSlug after the manual bootstrap procedure. If you have installed NSLU2 using debian-installer, you should install the official Debian modules through November 01, 2006, at 03:33 PM
by -- Better instructions about /etc/modules, layout fixes
Changed line 201 from:
Add the network driver explicity to to:
Add the network driver explicity to Changed line 205 from:
echo "ixp400_eth dev_max_count=1" >> /etc/modules to:
ixp400_eth dev_max_count=1 Changed lines 268-270 from:
It takes long time to check the file system for big harddrives (500G) during the boot. System can not boot because of that in some cases. For example, after changing time (hwclock -w) directly after DebianSlug install, I was not able to boot from the 500GB HDD without following tune2fs command. Petr Jakes. Because of above mentioned type in: to:
Notice (added by Petr Jakes): It takes long time to check the file system for big harddrives (500G) during the boot. System can not boot because of that in some cases. For example, after changing time (hwclock -w) directly after DebianSlug install, I was not able to boot from the 500GB HDD without following tune2fs command. Because of above mentioned type in: Changed lines 271-273 from:
/sbin/tune2fs -c 0 -i 0 /dev/sda1 to:
Added lines 274-280:
Notice (added by Steve G): If like me you tried to be clever and put Deleted lines 282-284:
Steve G: If like me you tried to be clever and put October 28, 2006, at 06:21 PM
by -- Note about \"turnup\" when /usr is in a separate partition
Changed lines 280-281 from:
If like me you tried to be clever and put to:
Steve G: If like me you tried to be clever and put October 28, 2006, at 06:18 PM
by -- Note about \"turnup\" when /usr is in a separate partition
Added lines 280-281:
If like me you tried to be clever and put October 14, 2006, at 11:52 AM
by -- Added a new \\\"traumatic\\\" experience under Booting problems section
Added lines 491-492:
My nslu2 also failed to load after the bootstrap. The nslu2 boots but halts just after mounting the external disk and adding swap (the last line in /var/log/messages was "kernel: EXT3? FS on sda1, internal journal"). The nslu2 does not ack pings and does not provide ssh access. After some trials, "turnup -i -f /dev/sda1 -t ext3" copied the root filesystem into sda1. When the operation finished, rebooted the nslu2 and then it suddenly worked! October 07, 2006, at 05:10 PM
by -- Reviewed instructions about kernel modules
Changed lines 303-305 from:
Installing kernel-modules (DebianSlug 3.10beta)If you're running DebianSlug 3.10beta and have to install additional kernel Modules (USB-sound e.g.) you have to use the kernel-modules on http://ipkg.nslu2-linux.org/feeds/debianslug/cross/3.10-beta/ . Download them to your NSLU2 using wget and install them using: to:
Installing kernel-modules (DebianSlug 3.10beta)If you're running DebianSlug 3.10beta and have to install additional kernel modules (USB-sound e.g.), you have to use the kernel-modules on
http://ipkg.nslu2-linux.org/feeds/debianslug/cross/3.10-beta. There are two ways to install such modules, using Install using dpkgDownload the module you want to your NSLU2 using Changed lines 318-320 from:
Check the output of (replace modulename with the one you just installed) to:
You will probably see a few warnings about missing dependencies. Ignore all warnings regarding the lack of Check the output of Changed lines 328-329 from:
to see if the operation succeeds. If there are warnings about unresolved symbols, it's very likely that the kernel-module depends on another one that's not yet installed. You can check this with to:
If there are warnings about unresolved symbols, it's very likely that the new kernel module depends on another one that's not yet installed. You can check this with Changed lines 343-347 from:
Debootstrapping SargeThese are the differences between the thing you need to do for sid, so you still have to read the above! Instead of using sid, run debootstrap with debian sarge: to:
Manual installAnother way to install a kernel module for DebianSlug is to manually decompress the .ipk file, copy the module to the In order to unpack the .ipk file, you'll need Changed lines 351-354 from:
export DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sarge /mnt/debinst http://ftp.de.debian.org/debian/ to:
Changed line 354 from:
Don't forget to add the following to /etc/apt/sources.list: to:
Now, after downloading the desired module, unpack the .ipk file and the data.tar.gz file inside it: Changed lines 358-359 from:
deb http://security.debian.org/ sarge/updates main to:
ar -x kernel-module-<module>.ipk tar xvzf data.tar.gz -C / Changed lines 363-365 from:
Replace "openssh-server" with "ssh". Make sure you install udev: to:
After that, the module .ko file will be in the correct place under Changed lines 367-368 from:
apt-get install udev to:
modprobe -v modulename dmesg | tail Changed line 372 from:
nslu2-utils is not in the stable feed, so get it and it's dependencies directly from the pool: to:
If it succeeds, you'll be able to see the module loaded into the kernel: Changed lines 375-382 from:
wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/slugimage_0.10+r58-5_all.deb dpkg -i slugimage_0.10+r58-5_all.deb wget http://debian.planetmirror.com/debian/pool/main/d/devio/devio_1.2-1_arm.deb dpkg -i --force-depends devio_1.2-1_arm.deb wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/nslu2-utils_0.10+r58-5_arm.deb dpkg -i nslu2-utils_0.10+r58-5_arm.deb to:
Changed lines 378-380 from:
Or try doing it with apt-pinning, explained here: http://jaqque.sbih.org/kplug/apt-pinning.html Replace modutils with module-init-tools (being in the chroot) : to:
Again, if there is some dependency problem, you can use Changed lines 381-383 from:
apt-get install module-init-tools to:
Changed lines 384-391 from:
Upgrade DebianSlug to newer firmwareBETA INSTRUCTIONS!
to:
Debootstrapping SargeThese are the differences between the thing you need to do for sid, so you still have to read the above! Instead of using sid, run debootstrap with debian sarge: Changed lines 391-395 from:
to:
export DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sarge /mnt/debinst http://ftp.de.debian.org/debian/ Changed lines 397-398 from:
Note that the account is to:
Don't forget to add the following to /etc/apt/sources.list: Changed lines 400-404 from:
to:
deb http://security.debian.org/ sarge/updates main Changed lines 405-415 from:
NotesThere are some Debian-specific tips in Status LEDsThe status LED will continue to flash amber. There is a nslu2-tools debian package under development that will contain a LEDs binary that will switch it back to green. to:
Replace "openssh-server" with "ssh". Make sure you install udev: Changed lines 411-413 from:
cp /initrd/sbin/leds /usr/bin/leds cp /initrd/etc/default/functions /etc/default/functions cp /initrd/bin/beep /bin/beep to:
apt-get install udev Added lines 414-484:
nslu2-utils is not in the stable feed, so get it and it's dependencies directly from the pool: (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/slugimage_0.10+r58-5_all.deb dpkg -i slugimage_0.10+r58-5_all.deb wget http://debian.planetmirror.com/debian/pool/main/d/devio/devio_1.2-1_arm.deb dpkg -i --force-depends devio_1.2-1_arm.deb wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/nslu2-utils_0.10+r58-5_arm.deb dpkg -i nslu2-utils_0.10+r58-5_arm.deb (:tableend:) Or try doing it with apt-pinning, explained here: http://jaqque.sbih.org/kplug/apt-pinning.html Replace modutils with module-init-tools (being in the chroot) : (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) apt-get install module-init-tools (:tableend:)
Upgrade DebianSlug to newer firmwareBETA INSTRUCTIONS!
(:table border=0 width=80% bgcolor=#eeffee:)
(:cell:)
Note that the account is (:table border=0 width=80% bgcolor=#eeffee:)
(:cell:)
NotesThere are some Debian-specific tips in Status LEDsThe status LED will continue to flash amber. There is a nslu2-tools debian package under development that will contain a LEDs binary that will switch it back to green. cp /initrd/sbin/leds /usr/bin/leds cp /initrd/etc/default/functions /etc/default/functions cp /initrd/bin/beep /bin/beep (:tableend:) October 06, 2006, at 09:38 PM
by -- Added tzconfig
Changed lines 260-262 from:
It takes long time to check the file system for big harddrives (500G) during the boot. System can not boot because of that in some cases. For example, after changing time (hwclock -w) directly after DebianSlug install, I was not able to boot from the 500GB HDD without following tune2fs command. Petr Jakes. Because of above mentioned type in: to:
Then select the correct timezone: Changed line 264 from:
/sbin/tune2fs -c 0 -i 0 /dev/sda1 to:
tzconfig Changed lines 268-270 from:
Finally, type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: to:
It takes long time to check the file system for big harddrives (500G) during the boot. System can not boot because of that in some cases. For example, after changing time (hwclock -w) directly after DebianSlug install, I was not able to boot from the 500GB HDD without following tune2fs command. Petr Jakes. Because of above mentioned type in: Changed lines 274-276 from:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst to:
/sbin/tune2fs -c 0 -i 0 /dev/sda1 Changed lines 278-280 from:
Make the external drive with Debian on it your boot device: to:
Finally, type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: Changed lines 284-286 from:
turnup disk /dev/sda1 -t ext3 to:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst Added lines 290-297:
Make the external drive with Debian on it your boot device: (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) turnup disk /dev/sda1 -t ext3 (:tableend:) October 05, 2006, at 02:22 PM
by -- Cleaned up a little, removed outdated information.
Changed line 13 from:
to:
Changed lines 15-18 from:
to:
Changed lines 21-26 from:
Boot your just reflashed image and log in using ssh as Partition your hard disk if you haven't already to:
Boot your newly flashed slugBoot your just reflashed image and log in using ssh as Partition the hard drive and create filesystemsPartition your hard disk if you haven't already, assuming you have a empty (unpartitioned) drive. Changed lines 50-53 from:
Adjust the partition size to fit your needs. You might have to reboot. to:
Adjust the partition size to fit your needs. You might have to reboot if fdisk gives you a warning message saying that the partition table could not be re-read. Changed lines 64-69 from:
(Instruction-follower's note:) Being the victim of several reinstalls, it seems the note at the end of this document seems correct: you *really* should follow this up by using: "turnup disk -i /dev/sda1 -t ext3" as mentioned below under "booting problems". (don't make "turnup disk -i /dev/sda1 -t ext3" before you bootstrapped Debian - debootstrap will fail if you do this.) to:
Notice: after the bootstrap procedure, you will need to run Changed lines 77-80 from:
DHCP clients, ignore the two steps below. If you're using a static IP address, then you need to need to do the following: to:
Setup your internet connectionIf you are using DHCP, please ignore the two steps below. If you're using a static IP address, then you need to need to do the following: For (1), assuming that aaa.bbb.ccc.ddd is the IP address of your router/gateway, then type: Changed line 91 from:
For 2), if you know that your router/gateway is also a DNS server, then you can use the same address above for the address below. Otherwise, you'll have to get that information (WinXP/2k/98 in a command prompt, type to:
For (2), if you know that your router/gateway is also a DNS server, then you can use the same address above for the address below. Otherwise, you'll have to get that information (WinXP/2k/98 in a command prompt, type Changed lines 99-101 from:
Grab the debootstrap .udeb from a Debian mirror: to:
Get and run the bootstrap utility, debootstrapGrab the debootstrap .udeb from a Debian mirror (remember to look for a mirror close to you that carries the Changed line 105 from:
wget http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb to:
wget http://ftp.nl.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb Changed lines 108-109 from:
Note: The above probably won't work (file not found), so use one of the many other mirrors, like this one in the Netherlands: to:
Extract the debrootstrap udeb: Changed lines 113-114 from:
to:
ar -x debootstrap-udeb_0.3.3_arm.udeb tar xzvf data.tar.gz Changed lines 117-120 from:
or like this one, in North America: to:
Notice: previous versions of debootstrap required Perl in order to retrieve package data, but the latest version (0.3.3) includes Run debootstrap with your choice of Debian distro and mirror: Changed lines 124-125 from:
to:
export DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.nl.debian.org/debian Changed lines 129-142 from:
Extract the debrootstrap udeb: to:
Depending on your network connection, this will take at least 50 minutes (even with a broadband connection), because this downloads and installs many Debian packages. As sid is unstable by definition, the results of this can vary a lot! If you get error messages, try again later when the repsitory will be eventually fixed, or think about trying to use stable (see below). If even after downloading from ftp.nl.debian.org you see only a couple of packages retrieved, and not hundreds, try again. Important:
The bootstrap is not completed successfully until the last line is:
Final configurationCopy in some important configuration files: Changed lines 146-147 from:
ar -x debootstrap-udeb_0.3.3_arm.udeb tar xzvf data.tar.gz to:
cd .. cp /etc/resolv.conf etc/resolv.conf cp /etc/hosts etc/hosts cp /etc/hostname etc/hostname cp /etc/network/interfaces etc/network/interfaces Changed lines 154-155 from:
Install perl, which is required by debootstrap: to:
Notice: you may only needed to copy Copy in the kernel modules from the flash image: Changed lines 160-161 from:
ipkg update ipkg install perl to:
cp -a /lib/modules/* lib/modules Changed lines 164-165 from:
Run debootstrap with your choice of Debian distro and mirror: to:
Mount the proc filesystem: Changed lines 168-172 from:
export DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/ The above line should be: ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/debian to:
mount -t proc proc /mnt/debinst/proc Changed lines 170-185 from:
Depending on your network connection, this will take at least 50 minutes (even with a broadband connection), because this downloads and installs many Debian packages. As sid is unstable by definition, the results of this can vary a lot! If you get error messages, try again later when the repsitory will be eventually fixed, or think about trying to use stable (see below). If even after downloading from ftp.nl.debian.org you see only a couple of packages retrieved, and not hundreds, try again. Important:
The bootstrap is not completed successfully until the last line is
If you do not get this line, you will not have a successful build.
Error messages may be found in Copy in some important configuration files: to:
(:tableend:) Now chroot into your new Debian environment for the final steps: Changed lines 176-180 from:
cd .. cp /etc/resolv.conf etc/resolv.conf cp /etc/hosts etc/hosts cp /etc/hostname etc/hostname cp /etc/network/interfaces etc/network/interfaces to:
cd / chroot /mnt/debinst Changed lines 180-182 from:
(note: you may only needed to copy Copy in the kernel modules: to:
Put a working fstab file into place (you may need to tweak this config and add extra partitions depending on your partition layout) by typing: Changed lines 185-187 from:
cp -a /lib/modules/* lib/modules to:
proc /proc proc defaults 0 0 /dev/sda1 / ext3 defaults 1 1 /dev/sda2 swap swap defaults 0 0 Changed lines 191-193 from:
Mount the proc filesystem: to:
followed by a ^X (control-X) to get out of nano. Be sure you type Y when asked to save the file. Edit the inittab file. Type: Changed line 197 from:
mount -t proc proc /mnt/debinst/proc to:
S0:2345:respawn:/sbin/getty 115200 ttyS0 Changed line 201 from:
Chroot into your new Debian environment: to:
Add the network driver explicity to Changed lines 205-206 from:
cd / chroot /mnt/debinst to:
echo "ixp400_eth dev_max_count=1" >> /etc/modules Changed lines 209-212 from:
Put a working fstab file into place (you may need to tweak this config and add extra partitions depending on your partition layout) by typing: to:
For more detailed setup of the network, read man interfaces and edit /etc/network/interfaces. After debootstrapping, the debian system has no apt sources.list.
Type Changed lines 216-218 from:
proc /proc proc defaults 0 0 /dev/sda1 / ext3 defaults 1 1 /dev/sda2 swap swap defaults 0 0 to:
deb http://ftp.de.debian.org/debian unstable main non-free contrib Changed lines 219-221 from:
followed by a ^X (control-X) to get out of nano. Be sure you type Y when asked to save the file. Type: to:
Update the Debian distro and install cron, nslu2-utils and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. Notice: you must set the current date before running apt-get update. Otherwise gpg signature checking will fail. To install these packages, type: Changed lines 228-230 from:
S0:2345:respawn:/sbin/getty 115200 ttyS0 to:
apt-get update apt-get -y dist-upgrade apt-get -y install anacron popularity-contest nslu2-utils Changed lines 234-235 from:
to get networking going after reboot, the modules need to be spcified explicitly: to:
Now configure the Changed line 239 from:
echo "ixp400_eth dev_max_count=1" >> /etc/modules to:
dpkg-reconfigure passwd Changed lines 243-247 from:
for more detailed setup of the network, read man interfaces and edit /etc/network/interfaces After debootstrapping, the debian system has no apt sources.list.
Type to:
Now install openssh-server. This takes a couple of minutes, because it will generate the necessary host keys. Install will fail if /etc/shadow is missing. It will also fail if you don't install "adduser-ng" package before installing openssh-server. Changed line 247 from:
deb http://ftp.de.debian.org/debian unstable main non-free contrib to:
apt-get -y install openssh-server Changed lines 251-253 from:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. to:
To get rid of the annoying LC_ALL, LANG etc. errors when running perl and other apps, install Changed lines 255-257 from:
apt-get update apt-get -y dist-upgrade apt-get -y install anacron popularity-contest nslu2-utils to:
apt-get install locales dpkg-reconfigure locales Changed lines 260-262 from:
Make sure you do this or you will not be able to get into your DebianSlug without setting this password for root: to:
It takes long time to check the file system for big harddrives (500G) during the boot. System can not boot because of that in some cases. For example, after changing time (hwclock -w) directly after DebianSlug install, I was not able to boot from the 500GB HDD without following tune2fs command. Petr Jakes. Because of above mentioned type in: Changed line 266 from:
dpkg-reconfigure passwd to:
/sbin/tune2fs -c 0 -i 0 /dev/sda1 Changed lines 269-271 from:
and enable the shadow passwords when asked. Installing openssh-server takes a couple of minutes. Install will fail if /etc/shadow is missing. It will also fail if you don't install "adduser-ng" package before installing openssh-server. to:
Finally, type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: Changed lines 276-278 from:
apt-get -y install openssh-server to:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst Changed line 282 from:
To get rid of the annoying LC_ALL, LANG etc. errors when running perl and other apps: to:
Make the external drive with Debian on it your boot device: Changed lines 286-287 from:
apt-get install locales dpkg-reconfigure locales to:
turnup disk /dev/sda1 -t ext3 Changed lines 290-293 from:
It takes long time to check the file system for big harddrives (500G) during the boot. System can not boot because of that in some cases. For example, after changing time (hwclock -w) directly after DebianSlug install, I was not able to boot from the 500GB HDD without following tune2fs command. Petr Jakes. Because of above mentioned type in: to:
Reboot into Debian, by typing "reboot" at the prompt. Add your name to the DebianSlugUsers? list. (And you might want to Installing kernel-modules (DebianSlug 3.10beta)If you're running DebianSlug 3.10beta and have to install additional kernel Modules (USB-sound e.g.) you have to use the kernel-modules on http://ipkg.nslu2-linux.org/feeds/debianslug/cross/3.10-beta/ . Download them to your NSLU2 using wget and install them using: Changed lines 301-302 from:
/sbin/tune2fs -c 0 -i 0 /dev/sda1 to:
dpkg --force-architecture -i kernel-module-<module>.ipk depmod -a Changed lines 306-308 from:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: to:
Check the output of (replace modulename with the one you just installed) Changed lines 310-312 from:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst to:
modprobe -v modulename dmesg | tail Changed lines 314-315 from:
Make the external drive with Debian on it your boot device: to:
to see if the operation succeeds. If there are warnings about unresolved symbols, it's very likely that the kernel-module depends on another one that's not yet installed. You can check this with Changed lines 317-319 from:
turnup disk /dev/sda1 -t ext3 to:
Changed lines 320-327 from:
Reboot into Debian, by typing "reboot" at the prompt. Add your name to the DebianSlugUsers? list. (And you might want to
Installing kernel-modules (DebianSlug 3.10beta)If you're running DebianSlug 3.10beta and have to install additional kernel Modules (USB-sound e.g.) you have to use the kernel-modules on http://ipkg.nslu2-linux.org/feeds/debianslug/cross/3.10-beta/ . Download them to your NSLU2 using wget and install them using: to:
Modprobe should automatically load dependent modules (if they're installed), so check the loaded modules: Changed lines 323-326 from:
dpkg --force-architecture -i kernel-module-<module>.ipk depmod -a to:
Changed lines 325-332 from:
Check the output of (replace modulename with the one you just installed) to:
If one or more modules which are listed in "depends" of your module, you have to install them as described above.
Debootstrapping SargeThese are the differences between the thing you need to do for sid, so you still have to read the above! Instead of using sid, run debootstrap with debian sarge: Changed lines 336-337 from:
modprobe -v modulename dmesg | tail to:
export DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sarge /mnt/debinst http://ftp.de.debian.org/debian/ Changed lines 340-341 from:
to see if the operation succeeds. If there are warnings about unresolved symbols, it's very likely that the kernel-module depends on another one that's not yet installed. You can check this with to:
Don't forget to add the following to /etc/apt/sources.list: Changed lines 344-346 from:
to:
deb http://security.debian.org/ sarge/updates main Changed lines 348-349 from:
Modprobe should automatically load dependent modules (if they're installed), so check the loaded modules: to:
Replace "openssh-server" with "ssh". Make sure you install udev: Changed lines 354-356 from:
to:
apt-get install udev Changed lines 358-365 from:
If one or more modules which are listed in "depends" of your module, you have to install them as described above.
Debootstrapping SargeThese are the differences between the thing you need to do for sid, so you still have to read the above! Instead sid, run debootstrap with debian sarge: to:
nslu2-utils is not in the stable feed, so get it and it's dependencies directly from the pool: Changed lines 363-366 from:
export DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap
./usr/sbin/debootstrap --arch arm sarge /mnt/debinst http://ftp.debian.org/
[If this doesn't work try: to:
wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/slugimage_0.10+r58-5_all.deb dpkg -i slugimage_0.10+r58-5_all.deb wget http://debian.planetmirror.com/debian/pool/main/d/devio/devio_1.2-1_arm.deb dpkg -i --force-depends devio_1.2-1_arm.deb wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/nslu2-utils_0.10+r58-5_arm.deb dpkg -i nslu2-utils_0.10+r58-5_arm.deb Changed lines 372-373 from:
Don't forget to add the following to /etc/apt/sources.list: to:
Or try doing it with apt-pinning, explained here: http://jaqque.sbih.org/kplug/apt-pinning.html Replace modutils with module-init-tools (being in the chroot) : (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) Changed line 378 from:
deb http://security.debian.org/ sarge/updates main to:
apt-get install module-init-tools Deleted lines 379-404:
Replace "openssh-server" with "ssh". Make sure you install udev: apt-get install udev nslu2-utils is not in the stable feed, so get it and it's dependencies directly from the pool: wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/slugimage_0.10+r58-5_all.deb dpkg -i slugimage_0.10+r58-5_all.deb wget http://debian.planetmirror.com/debian/pool/main/d/devio/devio_1.2-1_arm.deb dpkg -i --force-depends devio_1.2-1_arm.deb wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/nslu2-utils_0.10+r58-5_arm.deb dpkg -i nslu2-utils_0.10+r58-5_arm.deb Or try doing it with apt-pinning, explained here: http://jaqque.sbih.org/kplug/apt-pinning.html Replace modutils with module-init-tools (being in the chroot) : (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) apt-get install module-init-tools Changed lines 433-434 from:
to:
'''All you need to do is run October 03, 2006, at 01:26 PM
by --
Changed lines 290-291 from:
tune2fs -c 0 -i 0 /dev/sda1 to:
/sbin/tune2fs -c 0 -i 0 /dev/sda1 October 03, 2006, at 01:24 PM
by -- formating
Added lines 287-289:
(:table border=0 width=80% bgcolor=#eeffee:) (:cell:) [@ Changed lines 291-292 from:
to:
@] (:tableend:) October 03, 2006, at 01:22 PM
by -- booting problems
Changed line 274 from:
To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): to:
To get rid of the annoying LC_ALL, LANG etc. errors when running perl and other apps: Added lines 283-289:
It takes long time to check the file system for big harddrives (500G) during the boot. System can not boot because of that in some cases. For example, after changing time (hwclock -w) directly after DebianSlug install, I was not able to boot from the 500GB HDD without following tune2fs command. Petr Jakes. Because of above mentioned type in: tune2fs -c 0 -i 0 /dev/sda1 October 01, 2006, at 01:39 PM
by --
Added lines 149-151:
The above line should be: ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/debian September 30, 2006, at 10:41 PM
by --
Added lines 437-438:
I am using a micro (4gig) usb-attached hard disk as the root partition. After following all of the instructions, my nslu2 would could continue to boot with the flash filesystem. After a few trials, it looks like the disk needs a brief period to spin up. I used "turnup disk -s5 /dev/sda1 -t ext3" and everything worked properly! September 28, 2006, at 11:27 AM
by -- added mt-daapd to interesting packages
Added lines 464-465:
September 28, 2006, at 10:34 AM
by -- added \"green field\" on a command I missed 3 times doing bootstrap, and it confused me =)
Changed lines 223-225 from:
to:
(:table border=0 width=80% bgcolor=#eeffee:) (:cell:) [@ Changed lines 227-229 from:
to:
@] (:tableend:) September 24, 2006, at 07:33 PM
by -- Fixed filenames in Sarge dpkg commands to match wget commands
Changed line 364 from:
dpkg -i slugimage_0.10+r58-2_all.deb to:
dpkg -i slugimage_0.10+r58-5_all.deb Changed line 368 from:
dpkg -i nslu2-utils_0.10+r58-2_arm.deb to:
dpkg -i nslu2-utils_0.10+r58-5_arm.deb September 19, 2006, at 07:53 PM
by -- more reordering, merging sections \"notes, installation notes, tips\"
Deleted line 5:
Deleted line 6:
Changed lines 299-309 from:
NotesThere are some Debian-specific tips in Status LEDsThe status LED will continue to flash amber. There is a nslu2-tools debian package under development that will contain a LEDs binary that will switch it back to green. to:
Installing kernel-modules (DebianSlug 3.10beta)If you're running DebianSlug 3.10beta and have to install additional kernel Modules (USB-sound e.g.) you have to use the kernel-modules on http://ipkg.nslu2-linux.org/feeds/debianslug/cross/3.10-beta/ . Download them to your NSLU2 using wget and install them using: Changed lines 307-309 from:
cp /initrd/sbin/leds /usr/bin/leds cp /initrd/etc/default/functions /etc/default/functions cp /initrd/bin/beep /bin/beep to:
dpkg --force-architecture -i kernel-module-<module>.ipk depmod -a Changed lines 311-319 from:
The LEDs should be operating as expected after rebooting the slug. Booting problems
Installing kernel-modules (DebianSlug 3.10beta)If you're running DebianSlug 3.10beta and have to install additional kernel Modules (USB-sound e.g.) you have to use the kernel-modules on http://ipkg.nslu2-linux.org/feeds/debianslug/cross/3.10-beta/ . Download them to your NSLU2 using wget and install them using: to:
Check the output of (replace modulename with the one you just installed) Changed lines 315-316 from:
dpkg --force-architecture -i kernel-module-<module>.ipk depmod -a to:
modprobe -v modulename dmesg | tail Changed line 319 from:
Check the output of (replace modulename with the one you just installed) to:
to see if the operation succeeds. If there are warnings about unresolved symbols, it's very likely that the kernel-module depends on another one that's not yet installed. You can check this with Changed lines 322-325 from:
modprobe -v modulename dmesg | tail to:
Changed lines 324-325 from:
to see if the operation succeeds. If there are warnings about unresolved symbols, it's very likely that the kernel-module depends on another one that's not yet installed. You can check this with to:
Modprobe should automatically load dependent modules (if they're installed), so check the loaded modules: Changed line 328 from:
to:
Deleted lines 329-334:
Modprobe should automatically load dependent modules (if they're installed), so check the loaded modules: (:table border=0 width=80% bgcolor=#eeffee:)
(:cell:)
Deleted lines 331-353:
Tips
(:table border=1 cellspacing=0 width=60%:) (:cellnr:) samba (:cell align=left:) SMB File- & Print-server (:cellnr:) less (:cell align=left:) Program for viewing textfiles (:cellnr:) joe (:cell align=left:) Program for editing textfiles (aiming toward less experienced users) (:cellnr:) psmisc (:cell align=left:) contains killall (:cellnr:) apache (:cell align=left:) Apache 1.3x webserver (:cellnr:) libapache-php4 (:cell align=left:) PHP4 for Apache 1.3x (:cellnr:) proftpd (:cell align=left:) FTP Server (:cellnr:) udev (:cell align=left:) hotplug / udev filesystem (:tableend:) Deleted line 408:
Installation NotesChanged lines 410-433 from:
to:
NotesThere are some Debian-specific tips in Status LEDsThe status LED will continue to flash amber. There is a nslu2-tools debian package under development that will contain a LEDs binary that will switch it back to green. cp /initrd/sbin/leds /usr/bin/leds cp /initrd/etc/default/functions /etc/default/functions cp /initrd/bin/beep /bin/beep (:tableend:) The LEDs should be operating as expected after rebooting the slug. Booting problemsI followed the above instructions, but my nslu2 failed to boot afterwards. However, after doing a "turnup -i /dev/sda1 -t ext3", erasing the content of the partition "mkfs.ext3 /dev/sda1" and debootstrapping again everything worked fine. Could it be, that "turnup -i" writes the boot sector of the hard drive? the right firmwareAdded lines 438-460:
additional docs
Interesting packages
(:table border=1 cellspacing=0 width=60%:) (:cellnr:) samba (:cell align=left:) SMB File- & Print-server (:cellnr:) less (:cell align=left:) Program for viewing textfiles (:cellnr:) joe (:cell align=left:) Program for editing textfiles (aiming toward less experienced users) (:cellnr:) psmisc (:cell align=left:) contains killall (:cellnr:) apache (:cell align=left:) Apache 1.3x webserver (:cellnr:) libapache-php4 (:cell align=left:) PHP4 for Apache 1.3x (:cellnr:) proftpd (:cell align=left:) FTP Server (:cellnr:) udev (:cell align=left:) hotplug / udev filesystem (:tableend:) September 19, 2006, at 07:48 PM
by --
Changed line 305 from:
Status LEDsto:
Status LEDsSeptember 19, 2006, at 07:47 PM
by -- try to better format notes section
Changed line 305 from:
Status LEDs\\ to:
Status LEDsSeptember 19, 2006, at 07:44 PM
by -- removing even more redundand info, add some stuff to the debian section, cleanup
Changed lines 134-135 from:
Before running the actualy debootstrap to d/l the packages, it is strongly suggested that you first update perl. Doing so for this contributor (DMH) would have saved many hours of frustration: to:
Install perl, which is required by debootstrap: Changed lines 153-165 from:
IMPORTANT: if you get only the output below (versus a few hundred package retrievals), using ftp.debian.org please use: I: Retrieving Release I: Retrieving Packages I: Retrieving Packages I: Retrieving Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... (:tableend:) to:
Added lines 156-157:
As sid is unstable by definition, the results of this can vary a lot! If you get error messages, try again later when the repsitory will be eventually fixed, or think about trying to use stable (see below). Changed lines 160-163 from:
If the above fails with the following error: E: No pkgdetails available; either install perl, or build pkgdetails.c from source, just do this and try again: Important:to:
Important: Added line 175:
cp /etc/network/interfaces etc/network/interfaces Changed lines 224-225 from:
Type: to:
to get networking going after reboot, the modules need to be spcified explicitly: echo "ixp400_eth dev_max_count=1" >> /etc/modules for more detailed setup of the network, read man interfaces and edit /etc/network/interfaces After debootstrapping, the debian system has no apt sources.list.
Type Changed lines 236-247 from:
auto lo iface lo inet loopback
auto eth0 iface eth0 inet dhcp pre-up modprobe -f ixp400
pre-up modprobe -f ixp400_eth dev_max_count=1
to:
deb http://ftp.de.debian.org/debian unstable main non-free contrib Changed lines 240-242 from:
Instead if you want to use a static address (highly recommended) use the following as an example (replacing the address and gateway with the address you want to use): to:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. Changed lines 246-261 from:
auto lo iface lo inet loopback
auto eth0 iface eth0 inet static pre-up modprobe -f ixp400
pre-up modprobe -f ixp400_eth dev_max_count=1
address 192.168.1.77
netmask 255.255.255.0
gateway 192.168.1.254
to:
apt-get update apt-get -y dist-upgrade apt-get -y install anacron popularity-contest nslu2-utils Changed lines 251-252 from:
There may be problems with apt-get-sources. Type to:
Make sure you do this or you will not be able to get into your DebianSlug without setting this password for root: Changed line 256 from:
deb http://ftp.de.debian.org/debian unstable main non-free contrib to:
dpkg-reconfigure passwd Changed lines 259-262 from:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. to:
and enable the shadow passwords when asked. Installing openssh-server takes a couple of minutes. Install will fail if /etc/shadow is missing. It will also fail if you don't install "adduser-ng" package before installing openssh-server. Changed lines 265-267 from:
apt-get update apt-get -y dist-upgrade apt-get -y install anacron popularity-contest nslu2-utils to:
apt-get -y install openssh-server Changed line 269 from:
Make sure you do this or you will not be able to get into your DebianSlug without setting this password for root: to:
To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): Changed lines 273-274 from:
dpkg-reconfigure passwd to:
apt-get install locales dpkg-reconfigure locales Changed lines 277-279 from:
and enable the shadow passwords when asked. Installing openssh-server takes a couple of minutes. Install will fail if /etc/shadow is missing. It will also fail if you don't install "adduser-ng" package before installing openssh-server. to:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: Changed lines 284-286 from:
apt-get -y install openssh-server to:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst Changed line 290 from:
To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): to:
Make the external drive with Debian on it your boot device: Changed lines 294-295 from:
apt-get install locales dpkg-reconfigure locales to:
turnup disk /dev/sda1 -t ext3 Changed lines 298-300 from:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: to:
Reboot into Debian, by typing "reboot" at the prompt. Add your name to the DebianSlugUsers? list. (And you might want to NotesThere are some Debian-specific tips in Status LEDs Changed lines 315-317 from:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst to:
cp /initrd/sbin/leds /usr/bin/leds cp /initrd/etc/default/functions /etc/default/functions cp /initrd/bin/beep /bin/beep Changed lines 320-321 from:
Make the external drive with Debian on it your boot device: to:
The LEDs should be operating as expected after rebooting the slug. Booting problems
Installing kernel-modules (DebianSlug 3.10beta)If you're running DebianSlug 3.10beta and have to install additional kernel Modules (USB-sound e.g.) you have to use the kernel-modules on http://ipkg.nslu2-linux.org/feeds/debianslug/cross/3.10-beta/ . Download them to your NSLU2 using wget and install them using: Changed lines 332-333 from:
turnup disk /dev/sda1 -t ext3 to:
dpkg --force-architecture -i kernel-module-<module>.ipk depmod -a Changed lines 336-350 from:
Reboot into Debian, by typing "reboot" at the prompt. Add your name to the DebianSlugUsers? list. (And you might want to NotesThere are some Debian-specific tips in Status LEDs to:
Check the output of (replace modulename with the one you just installed) Changed lines 340-342 from:
cp /initrd/sbin/leds /usr/bin/leds cp /initrd/etc/default/functions /etc/default/functions cp /initrd/bin/beep /bin/beep to:
modprobe -v modulename dmesg | tail Changed lines 344-347 from:
The LEDs should be operating as expected after rebooting the slug. .rmrecovery problems to:
to see if the operation succeeds. If there are warnings about unresolved symbols, it's very likely that the kernel-module depends on another one that's not yet installed. You can check this with Changed line 347 from:
to:
Changed lines 349-356 from:
Booting problems
Installing kernel-modules (DebianSlug 3.10beta)If you're running DebianSlug 3.10beta and have to install additional kernel Modules (USB-sound e.g.) you have to use the kernel-modules on http://ipkg.nslu2-linux.org/feeds/debianslug/cross/3.10-beta/ . Download them to your NSLU2 using wget and install them using: to:
Modprobe should automatically load dependent modules (if they're installed), so check the loaded modules: Changed lines 353-356 from:
dpkg --force-architecture -i kernel-module-<module>.ipk depmod -a to:
Deleted lines 354-372:
Check the output of (replace modulename with the one you just installed) (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) modprobe -v modulename dmesg | tail (:tableend:)
to see if the operation succeeds. If there are warnings about unresolved symbols, it's very likely that the kernel-module depends on another one that's not yet installed. You can check this with
(:table border=0 width=80% bgcolor=#eeffee:)
(:cell:)
(:table border=0 width=80% bgcolor=#eeffee:)
(:cell:)
Changed lines 382-384 from:
to:
These are the differences between the thing you need to do for sid, so you still have to read the above! Added lines 419-420:
Or try doing it with apt-pinning, explained here: http://jaqque.sbih.org/kplug/apt-pinning.html Deleted lines 424-425:
dpkg -P modutils rm /etc/rcS.d/S20modutils September 19, 2006, at 12:18 PM
by -- remove redundant kernel modules information (there is an own, full paragraph for that)
Changed lines 369-371 from:
Kernel modules (non DebianSlug 3.10beta) to:
.rmrecovery problems Changed line 373 from:
to:
Changed lines 375-383 from:
This will report an irrelevent dependancy error on 'update-modules', the kernel module should be ready to modprobe etc. .rmrecovery problems to:
September 19, 2006, at 12:16 PM
by -- move some install commands to pre-reboot (so it\'s all more ordered)
Changed lines 316-318 from:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: to:
To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): Changed lines 320-322 from:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst to:
apt-get install locales dpkg-reconfigure locales Changed lines 325-327 from:
Make the external drive with Debian on it your boot device: to:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: Changed lines 331-333 from:
turnup disk /dev/sda1 -t ext3 to:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst Changed lines 337-339 from:
Reboot into Debian, by typing "reboot" at the prompt. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): to:
Make the external drive with Debian on it your boot device: Changed lines 341-342 from:
apt-get install locales dpkg-reconfigure locales to:
turnup disk /dev/sda1 -t ext3 Changed lines 345-346 from:
There are some Debian-specific tips in to:
Reboot into Debian, by typing "reboot" at the prompt. Added lines 350-351:
There are some Debian-specific tips in September 19, 2006, at 12:01 PM
by -- remove unnecessary shadow creation - better do it only with dpkg-reconfigure passwd (but I am not even sure if this is really necessary?!)
Changed line 299 from:
Create to:
Make sure you do this or you will not be able to get into your DebianSlug without setting this password for root: Changed line 303 from:
touch /etc/shadow to:
dpkg-reconfigure passwd Changed lines 306-307 from:
(the file may already be there) and set the root password so you can get in when you SSH into it after reboot, and exit the environment: to:
and enable the shadow passwords when asked. Installing openssh-server takes a couple of minutes. Install will fail if /etc/shadow is missing. It will also fail if you don't install "adduser-ng" package before installing openssh-server. Changed lines 312-313 from:
pwconv passwd to:
apt-get -y install openssh-server Changed lines 315-317 from:
Make sure you do this or you will not be able to get into your DebianSlug without setting this password for root. As an alternative, you can use: to:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: Changed lines 322-324 from:
dpkg-reconfigure passwd to:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst Changed lines 327-329 from:
and enable the shadow passwords when asked. Installing openssh-server takes a couple of minutes. Install will fail if /etc/shadow is missing. It will also fail if you don't install "adduser-ng" package before installing openssh-server. to:
Make the external drive with Debian on it your boot device: Changed line 332 from:
apt-get -y install openssh-server to:
turnup disk /dev/sda1 -t ext3 Changed lines 336-338 from:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: to:
Reboot into Debian, by typing "reboot" at the prompt. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): Changed lines 342-344 from:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst to:
apt-get install locales dpkg-reconfigure locales Changed lines 347-358 from:
Make the external drive with Debian on it your boot device: to:
There are some Debian-specific tips in Add your name to the DebianSlugUsers? list. (And you might want to NotesStatus LEDs Changed lines 362-364 from:
turnup disk /dev/sda1 -t ext3 to:
cp /initrd/sbin/leds /usr/bin/leds cp /initrd/etc/default/functions /etc/default/functions cp /initrd/bin/beep /bin/beep Changed lines 367-370 from:
Reboot into Debian, by typing "reboot" at the prompt. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): to:
The LEDs should be operating as expected after rebooting the slug. Kernel modules (non DebianSlug 3.10beta) Changed lines 374-377 from:
apt-get install locales dpkg-reconfigure locales to:
Changed lines 376-388 from:
There are some Debian-specific tips in Add your name to the DebianSlugUsers? list. (And you might want to NotesStatus LEDs to:
This will report an irrelevent dependancy error on 'update-modules', the kernel module should be ready to modprobe etc. .rmrecovery problems Changed lines 382-386 from:
cp /initrd/sbin/leds /usr/bin/leds cp /initrd/etc/default/functions /etc/default/functions cp /initrd/bin/beep /bin/beep to:
Changed lines 384-388 from:
The LEDs should be operating as expected after rebooting the slug. Kernel modules (non DebianSlug 3.10beta) to:
Booting problems
Installing kernel-modules (DebianSlug 3.10beta)If you're running DebianSlug 3.10beta and have to install additional kernel Modules (USB-sound e.g.) you have to use the kernel-modules on http://ipkg.nslu2-linux.org/feeds/debianslug/cross/3.10-beta/ . Download them to your NSLU2 using wget and install them using: Changed lines 394-397 from:
to:
dpkg --force-architecture -i kernel-module-<module>.ipk depmod -a Changed lines 399-402 from:
This will report an irrelevent dependancy error on 'update-modules', the kernel module should be ready to modprobe etc. .rmrecovery problems to:
Check the output of (replace modulename with the one you just installed) Changed lines 402-405 from:
to:
modprobe -v modulename dmesg | tail Changed lines 407-414 from:
Booting problems
Installing kernel-modules (DebianSlug 3.10beta)If you're running DebianSlug 3.10beta and have to install additional kernel Modules (USB-sound e.g.) you have to use the kernel-modules on http://ipkg.nslu2-linux.org/feeds/debianslug/cross/3.10-beta/ . Download them to your NSLU2 using wget and install them using: to:
to see if the operation succeeds. If there are warnings about unresolved symbols, it's very likely that the kernel-module depends on another one that's not yet installed. You can check this with Changed lines 410-413 from:
dpkg --force-architecture -i kernel-module-<module>.ipk depmod -a to:
Changed lines 412-413 from:
Check the output of (replace modulename with the one you just installed) to:
Modprobe should automatically load dependent modules (if they're installed), so check the loaded modules: Changed lines 416-419 from:
modprobe -v modulename dmesg | tail to:
Deleted lines 417-427:
to see if the operation succeeds. If there are warnings about unresolved symbols, it's very likely that the kernel-module depends on another one that's not yet installed. You can check this with
(:table border=0 width=80% bgcolor=#eeffee:)
(:cell:)
(:table border=0 width=80% bgcolor=#eeffee:)
(:cell:)
September 19, 2006, at 11:54 AM
by -- remove strange date command which has nothing to to with apt-get
Deleted lines 289-290:
September 10, 2006, at 11:56 AM
by -- turnup disk before debootstrap breaks Debian bootstrap process
Changed lines 71-72 from:
to:
(don't make "turnup disk -i /dev/sda1 -t ext3" before you bootstrapped Debian - debootstrap will fail if you do this.) September 06, 2006, at 06:28 PM
by -- Add strongly suggestion Perl to be upgraded before running upgrade
Changed lines 133-134 from:
Run debootstrap with your choice of Debian distro and mirror: to:
Before running the actualy debootstrap to d/l the packages, it is strongly suggested that you first update perl. Doing so for this contributor (DMH) would have saved many hours of frustration: Changed lines 138-139 from:
export DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/ to:
ipkg update ipkg install perl Changed lines 141-144 from:
IMPORTANT: if you get only the output below (versus a few hundred package retrievals), using ftp.debian.org please use: to:
(:tableend:) Run debootstrap with your choice of Debian distro and mirror: (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) Changed lines 148-153 from:
I: Retrieving Release I: Retrieving Packages I: Retrieving Packages I: Retrieving Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... to:
export DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/ Added lines 151-163:
IMPORTANT: if you get only the output below (versus a few hundred package retrievals), using ftp.debian.org please use: I: Retrieving Release I: Retrieving Packages I: Retrieving Packages I: Retrieving Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... Deleted line 170:
Changed lines 177-179 from:
Error messages may be found in One solution to try is: to:
Error messages may be found in Copy in some important configuration files: Changed lines 183-184 from:
ipkg update ipkg install perl to:
cd .. cp /etc/resolv.conf etc/resolv.conf cp /etc/hosts etc/hosts cp /etc/hostname etc/hostname Changed lines 189-190 from:
Copy in some important configuration files: to:
(note: you may only needed to copy Copy in the kernel modules: Changed lines 195-198 from:
cd .. cp /etc/resolv.conf etc/resolv.conf cp /etc/hosts etc/hosts cp /etc/hostname etc/hostname to:
cp -a /lib/modules/* lib/modules Changed lines 198-200 from:
(note: you may only needed to copy Copy in the kernel modules: to:
Mount the proc filesystem: Changed line 203 from:
cp -a /lib/modules/* lib/modules to:
mount -t proc proc /mnt/debinst/proc Changed line 207 from:
Mount the proc filesystem: to:
Chroot into your new Debian environment: Changed lines 211-212 from:
mount -t proc proc /mnt/debinst/proc to:
cd / chroot /mnt/debinst Changed line 216 from:
Chroot into your new Debian environment: to:
Put a working fstab file into place (you may need to tweak this config and add extra partitions depending on your partition layout) by typing: Changed lines 220-221 from:
cd / chroot /mnt/debinst to:
proc /proc proc defaults 0 0 /dev/sda1 / ext3 defaults 1 1 /dev/sda2 swap swap defaults 0 0 Changed lines 225-226 from:
Put a working fstab file into place (you may need to tweak this config and add extra partitions depending on your partition layout) by typing: to:
followed by a ^X (control-X) to get out of nano. Be sure you type Y when asked to save the file. Type: Changed lines 231-233 from:
proc /proc proc defaults 0 0 /dev/sda1 / ext3 defaults 1 1 /dev/sda2 swap swap defaults 0 0 to:
S0:2345:respawn:/sbin/getty 115200 ttyS0 Changed lines 234-236 from:
followed by a ^X (control-X) to get out of nano. Be sure you type Y when asked to save the file. Type: to:
Type: Deleted lines 239-247:
S0:2345:respawn:/sbin/getty 115200 ttyS0 @] (:tableend:) Type: Changed lines 277-278 from:
There may be problems with apt-get-sources. Type @@nano /etc/apt/sources.list and prepend with: to:
There may be problems with apt-get-sources. Type Changed line 282 from:
deb http://ftp.de.debian.org/debian unstable main non-free contrib to:
deb http://ftp.de.debian.org/debian unstable main non-free contrib September 06, 2006, at 03:45 PM
by -- Emphasis added to watching results of debootstrap installation
Changed lines 159-160 from:
The bootstrap is not completed successfully until the last line is to:
Important:The bootstrap is not completed successfully until the last line is
If you do not get this line, you will not have a successful build.
Error messages may be found in One solution to try is: September 06, 2006, at 09:59 AM
by -- added line about debootstrap not being done until it outputs message
Added lines 158-160:
The bootstrap is not completed successfully until the last line is September 06, 2006, at 05:08 AM
by --
Changed lines 264-265 from:
There may be problems with apt-get-sources. Type to:
There may be problems with apt-get-sources. Type @@nano /etc/apt/sources.list and prepend with: Changed line 269 from:
deb http://ftp.de.debian.org/debian unstable main non-free contrib@@ to:
deb http://ftp.de.debian.org/debian unstable main non-free contrib September 06, 2006, at 05:07 AM
by --
Changed lines 264-271 from:
There may be problems with apt-get-sources. Type Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. to:
There may be problems with apt-get-sources. Type Changed lines 269-271 from:
apt-get update apt-get -y dist-upgrade apt-get -y install anacron popularity-contest nslu2-utils to:
deb http://ftp.de.debian.org/debian unstable main non-free contrib@@ Changed lines 273-277 from:
Create to:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. Changed lines 281-283 from:
touch /etc/shadow to:
apt-get update apt-get -y dist-upgrade apt-get -y install anacron popularity-contest nslu2-utils Changed lines 286-287 from:
(the file may already be there) and set the root password so you can get in when you SSH into it after reboot, and exit the environment: to:
Create Changed lines 291-292 from:
pwconv passwd to:
touch /etc/shadow Changed lines 294-296 from:
Make sure you do this or you will not be able to get into your DebianSlug without setting this password for root. As an alternative, you can use: to:
(the file may already be there) and set the root password so you can get in when you SSH into it after reboot, and exit the environment: Changed lines 299-300 from:
dpkg-reconfigure passwd to:
pwconv passwd Changed lines 303-305 from:
and enable the shadow passwords when asked. Installing openssh-server takes a couple of minutes. Install will fail if /etc/shadow is missing. It will also fail if you don't install "adduser-ng" package before installing openssh-server. to:
Make sure you do this or you will not be able to get into your DebianSlug without setting this password for root. As an alternative, you can use: Changed line 309 from:
apt-get -y install openssh-server to:
dpkg-reconfigure passwd Changed lines 312-315 from:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: to:
and enable the shadow passwords when asked. Installing openssh-server takes a couple of minutes. Install will fail if /etc/shadow is missing. It will also fail if you don't install "adduser-ng" package before installing openssh-server. Changed lines 318-320 from:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst to:
apt-get -y install openssh-server Changed lines 322-324 from:
Make the external drive with Debian on it your boot device: to:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: Changed lines 328-330 from:
turnup disk /dev/sda1 -t ext3 to:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst Changed lines 334-336 from:
Reboot into Debian, by typing "reboot" at the prompt. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): to:
Make the external drive with Debian on it your boot device: Changed lines 338-339 from:
apt-get install locales dpkg-reconfigure locales to:
turnup disk /dev/sda1 -t ext3 Added lines 342-352:
Reboot into Debian, by typing "reboot" at the prompt. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) apt-get install locales dpkg-reconfigure locales (:tableend:) September 05, 2006, at 05:33 PM
by -- update file name for sarge
Changed line 472 from:
wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/slugimage_0.10+r58-2_all.deb to:
wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/slugimage_0.10+r58-5_all.deb Changed line 476 from:
wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/nslu2-utils_0.10+r58-2_arm.deb to:
wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/nslu2-utils_0.10+r58-5_arm.deb September 05, 2006, at 06:12 AM
by -- minor step correction
Changed lines 54-57 from:
(Instruction-follower's note:) Being the victim of several reinstalls, it seems the note at the end of this document seems correct: you *really* should follow this up by using: "turnup disk -i /dev/sda1 -t ext3" as mentioned below under "booting problems". to:
Added lines 67-71:
(Instruction-follower's note:) Being the victim of several reinstalls, it seems the note at the end of this document seems correct: you *really* should follow this up by using: "turnup disk -i /dev/sda1 -t ext3" as mentioned below under "booting problems". September 05, 2006, at 05:48 AM
by -- Fix bad d/l link
Changed line 140 from:
to:
September 05, 2006, at 05:45 AM
by -- Fix bad d/l link
Changed line 117 from:
to:
September 04, 2006, at 06:44 PM
by -- Added some non-UK mirror examples for the lazy
Deleted lines 104-107:
Note: The above probably won't work (file not found), so try this, or a similar from the others in the mirrors list: wget ftp://ftp.nl.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb Changed lines 106-107 from:
Extract the debrootstrap udeb: to:
Note: The above probably won't work (file not found), so use one of the many other mirrors, like this one in the Netherlands: Changed lines 110-111 from:
ar -x debootstrap-udeb_0.3.3_arm.udeb tar xzvf data.tar.gz to:
Changed lines 113-114 from:
Run debootstrap with your choice of Debian distro and mirror: to:
or like this one, in North America: Changed lines 117-118 from:
export DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/ to:
Changed lines 119-120 from:
IMPORTANT: if you get only the output below (versus a few hundred package retrievals), using ftp.debian.org please use: to:
(:tableend:) Extract the debrootstrap udeb: (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) Changed lines 125-130 from:
I: Retrieving Release I: Retrieving Packages I: Retrieving Packages I: Retrieving Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... to:
ar -x debootstrap-udeb_0.3.3_arm.udeb tar xzvf data.tar.gz Changed lines 129-133 from:
Depending on your network connection, this will take at least 50 minutes (even with a broadband connection), because this downloads and installs many Debian packages. If even after downloading from ftp.nl.debian.org you see only a couple of packages retrieved, and not hundreds, try again. If the above fails with the following error: E: No pkgdetails available; either install perl, or build pkgdetails.c from source, just do this and try again: to:
Run debootstrap with your choice of Debian distro and mirror: Changed lines 134-135 from:
ipkg update ipkg install perl to:
export DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/ Changed lines 137-141 from:
(:tableend:) Copy in some important configuration files: (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) to:
IMPORTANT: if you get only the output below (versus a few hundred package retrievals), using ftp.debian.org please use: Changed lines 142-145 from:
cd .. cp /etc/resolv.conf etc/resolv.conf cp /etc/hosts etc/hosts cp /etc/hostname etc/hostname to:
I: Retrieving Release I: Retrieving Packages I: Retrieving Packages I: Retrieving Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... Changed lines 150-152 from:
(note: you may only needed to copy Copy in the kernel modules: to:
Depending on your network connection, this will take at least 50 minutes (even with a broadband connection), because this downloads and installs many Debian packages. If even after downloading from ftp.nl.debian.org you see only a couple of packages retrieved, and not hundreds, try again. If the above fails with the following error: E: No pkgdetails available; either install perl, or build pkgdetails.c from source, just do this and try again: Changed lines 158-159 from:
cp -a /lib/modules/* lib/modules to:
ipkg update ipkg install perl Changed line 163 from:
Mount the proc filesystem: to:
Copy in some important configuration files: Changed lines 167-170 from:
mount -t proc proc /mnt/debinst/proc to:
cd .. cp /etc/resolv.conf etc/resolv.conf cp /etc/hosts etc/hosts cp /etc/hostname etc/hostname Changed lines 173-174 from:
Chroot into your new Debian environment: to:
(note: you may only needed to copy Copy in the kernel modules: Changed lines 179-180 from:
cd / chroot /mnt/debinst to:
cp -a /lib/modules/* lib/modules Changed line 183 from:
Put a working fstab file into place (you may need to tweak this config and add extra partitions depending on your partition layout) by typing: to:
Mount the proc filesystem: Changed lines 187-189 from:
proc /proc proc defaults 0 0 /dev/sda1 / ext3 defaults 1 1 /dev/sda2 swap swap defaults 0 0 to:
mount -t proc proc /mnt/debinst/proc Changed lines 190-192 from:
followed by a ^X (control-X) to get out of nano. Be sure you type Y when asked to save the file. Type: to:
Chroot into your new Debian environment: Changed lines 195-196 from:
S0:2345:respawn:/sbin/getty 115200 ttyS0 to:
cd / chroot /mnt/debinst Changed lines 200-201 from:
Type: to:
Put a working fstab file into place (you may need to tweak this config and add extra partitions depending on your partition layout) by typing: Changed lines 204-215 from:
auto lo iface lo inet loopback
auto eth0 iface eth0 inet dhcp pre-up modprobe -f ixp400
pre-up modprobe -f ixp400_eth dev_max_count=1
to:
proc /proc proc defaults 0 0 /dev/sda1 / ext3 defaults 1 1 /dev/sda2 swap swap defaults 0 0 Changed lines 209-210 from:
Instead if you want to use a static address (highly recommended) use the following as an example (replacing the address and gateway with the address you want to use): to:
followed by a ^X (control-X) to get out of nano. Be sure you type Y when asked to save the file. Type: Added lines 215-223:
S0:2345:respawn:/sbin/getty 115200 ttyS0 @] (:tableend:) Type: Changed line 233 from:
iface eth0 inet static to:
iface eth0 inet dhcp Deleted lines 235-238:
address 192.168.1.77
netmask 255.255.255.0
gateway 192.168.1.254
Changed lines 238-245 from:
There may be problems with apt-get-sources. Type Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. to:
Instead if you want to use a static address (highly recommended) use the following as an example (replacing the address and gateway with the address you want to use): Changed lines 243-245 from:
apt-get update apt-get -y dist-upgrade apt-get -y install anacron popularity-contest nslu2-utils to:
auto lo iface lo inet loopback
auto eth0 iface eth0 inet static pre-up modprobe -f ixp400
pre-up modprobe -f ixp400_eth dev_max_count=1
address 192.168.1.77
netmask 255.255.255.0
gateway 192.168.1.254
Changed lines 261-262 from:
Create to:
There may be problems with apt-get-sources. Type Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. Changed lines 272-274 from:
touch /etc/shadow to:
apt-get update apt-get -y dist-upgrade apt-get -y install anacron popularity-contest nslu2-utils Changed lines 277-278 from:
(the file may already be there) and set the root password so you can get in when you SSH into it after reboot, and exit the environment: to:
Create Changed lines 282-283 from:
pwconv passwd to:
touch /etc/shadow Changed lines 285-287 from:
Make sure you do this or you will not be able to get into your DebianSlug without setting this password for root. As an alternative, you can use: to:
(the file may already be there) and set the root password so you can get in when you SSH into it after reboot, and exit the environment: Changed lines 290-291 from:
dpkg-reconfigure passwd to:
pwconv passwd Changed lines 294-296 from:
and enable the shadow passwords when asked. Installing openssh-server takes a couple of minutes. Install will fail if /etc/shadow is missing. It will also fail if you don't install "adduser-ng" package before installing openssh-server. to:
Make sure you do this or you will not be able to get into your DebianSlug without setting this password for root. As an alternative, you can use: Changed line 300 from:
apt-get -y install openssh-server to:
dpkg-reconfigure passwd Changed lines 303-306 from:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: to:
and enable the shadow passwords when asked. Installing openssh-server takes a couple of minutes. Install will fail if /etc/shadow is missing. It will also fail if you don't install "adduser-ng" package before installing openssh-server. Changed lines 309-311 from:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst to:
apt-get -y install openssh-server Changed lines 313-315 from:
Make the external drive with Debian on it your boot device: to:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: Changed lines 319-321 from:
turnup disk /dev/sda1 -t ext3 to:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst Changed lines 325-327 from:
Reboot into Debian, by typing "reboot" at the prompt. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): to:
Make the external drive with Debian on it your boot device: Changed lines 329-330 from:
apt-get install locales dpkg-reconfigure locales to:
turnup disk /dev/sda1 -t ext3 Added lines 333-343:
Reboot into Debian, by typing "reboot" at the prompt. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) apt-get install locales dpkg-reconfigure locales (:tableend:) September 04, 2006, at 10:31 AM
by --
Changed line 105 from:
Note: The above probably won't work (file not found), so try: to:
Note: The above probably won't work (file not found), so try this, or a similar from the others in the mirrors list: September 04, 2006, at 10:28 AM
by --
Changed line 18 from:
http://www.debian.org/mirror/list to:
http://www.debian.org/mirror/list (you're looking for ones with ARM distros) September 04, 2006, at 10:25 AM
by --
Changed lines 27-30 from:
(Addendum from a user:) From several reinstalls, it seems the note at the end of this document seems correct: you *really* should set up your boot HD using: "turnup disk -i /dev/sda1 -t ext3" as mentioned below under "booting problems". to:
Added lines 54-57:
(Instruction-follower's note:) Being the victim of several reinstalls, it seems the note at the end of this document seems correct: you *really* should follow this up by using: "turnup disk -i /dev/sda1 -t ext3" as mentioned below under "booting problems". September 04, 2006, at 10:22 AM
by -- Repeat link to http://www.slug-firmware.net/s-dls.php
Changed lines 1-2 from:
Now you have a little endian DebianSlug image that can be used to bootstrap the offical Debian arm port. Here's how to do it. to:
Now you have a little endian DebianSlug image that can be used to bootstrap the offical Debian arm port (you didn't do this yet? Go here and install it first). Here's how to do it. September 03, 2006, at 04:50 PM
by -- Reinforcing setting up the boot HD params
Added lines 27-30:
(Addendum from a user:) From several reinstalls, it seems the note at the end of this document seems correct: you *really* should set up your boot HD using: "turnup disk -i /dev/sda1 -t ext3" as mentioned below under "booting problems". Changed line 104 from:
The above probably won't work (file not found), so try: to:
Note: The above probably won't work (file not found), so try: Changed line 126 from:
IMPORTANT: if you get only the output below (versus a few hundred package retrievals), using ftp.debian.org please use:\\ to:
IMPORTANT: if you get only the output below (versus a few hundred package retrievals), using ftp.debian.org please use:\\ September 01, 2006, at 06:12 AM
by -- added note about local debian mirrors
Changed lines 17-20 from:
to:
August 31, 2006, at 02:15 PM
by -- I had to download from ftp.nl.debian.org twice before getting all the \"stuff\" (August 30, 2006)
Added lines 132-133:
If even after downloading from ftp.nl.debian.org you see only a couple of packages retrieved, and not hundreds, try again. August 31, 2006, at 02:12 PM
by -- I am new to Debian and found the references to \"sid\" and \"sarge\" extremely confusing. I tried to install \"sarge\" first without success. I think we should instruct people to install \"sid\".
Changed line 15 from:
to:
August 27, 2006, at 04:43 PM
by -- remark concerning booting problems
Added lines 360-362:
Booting problems August 21, 2006, at 04:02 AM
by -- added ixp400_eth option to /etc/network/interface file. Fixes ethernet...
Changed line 213 from:
pre-up modprobe -f ixp400_eth to:
pre-up modprobe -f ixp400_eth dev_max_count=1 Changed line 232 from:
pre-up modprobe -f ixp400_eth to:
pre-up modprobe -f ixp400_eth dev_max_count=1 August 10, 2006, at 12:44 PM
by -- Update to solve a minor error
Changed line 132 from:
Copy in some important configuration files: to:
If the above fails with the following error: E: No pkgdetails available; either install perl, or build pkgdetails.c from source, just do this and try again: Changed lines 136-139 from:
cd .. cp /etc/resolv.conf etc/resolv.conf cp /etc/hosts etc/hosts cp /etc/hostname etc/hostname to:
ipkg update ipkg install perl Changed lines 140-142 from:
(note: you may only needed to copy Copy in the kernel modules: to:
Copy in some important configuration files: Changed lines 145-148 from:
cp -a /lib/modules/* lib/modules to:
cd .. cp /etc/resolv.conf etc/resolv.conf cp /etc/hosts etc/hosts cp /etc/hostname etc/hostname Changed lines 151-152 from:
Mount the proc filesystem: to:
(note: you may only needed to copy Copy in the kernel modules: Changed line 157 from:
mount -t proc proc /mnt/debinst/proc to:
cp -a /lib/modules/* lib/modules Changed line 161 from:
Chroot into your new Debian environment: to:
Mount the proc filesystem: Changed lines 165-166 from:
cd / chroot /mnt/debinst to:
mount -t proc proc /mnt/debinst/proc Changed line 169 from:
Put a working fstab file into place (you may need to tweak this config and add extra partitions depending on your partition layout) by typing: to:
Chroot into your new Debian environment: Changed lines 173-175 from:
proc /proc proc defaults 0 0 /dev/sda1 / ext3 defaults 1 1 /dev/sda2 swap swap defaults 0 0 to:
cd / chroot /mnt/debinst Changed lines 177-179 from:
followed by a ^X (control-X) to get out of nano. Be sure you type Y when asked to save the file. Type: to:
Put a working fstab file into place (you may need to tweak this config and add extra partitions depending on your partition layout) by typing: Changed lines 182-184 from:
S0:2345:respawn:/sbin/getty 115200 ttyS0 to:
proc /proc proc defaults 0 0 /dev/sda1 / ext3 defaults 1 1 /dev/sda2 swap swap defaults 0 0 Changed lines 187-189 from:
Type: to:
followed by a ^X (control-X) to get out of nano. Be sure you type Y when asked to save the file. Type: Added lines 193-201:
S0:2345:respawn:/sbin/getty 115200 ttyS0 @] (:tableend:) Type: August 07, 2006, at 04:25 AM
by -- more details regarding /etc/network/interfaces editing file
Changed line 188 from:
Type: to:
Type: August 07, 2006, at 04:22 AM
by -- change \"Y\" to \'\'\'Y\'\'\'
Changed lines 178-179 from:
followed by a ^X (control-X) to get out of nano. Be sure you type "Y" when asked to save the file. to:
followed by a ^X (control-X) to get out of nano. Be sure you type Y when asked to save the file. August 07, 2006, at 04:20 AM
by -- more details regarding nano edits just for clarity
Changed line 169 from:
Put a working fstab file into place (you may need to tweak this config and add extra partitions depending on your partition layout): to:
Put a working fstab file into place (you may need to tweak this config and add extra partitions depending on your partition layout) by typing: Deleted line 172:
nano /etc/fstab Deleted line 175:
Changed lines 178-179 from:
followed by a ^X (control-X) to get out of nano. to:
followed by a ^X (control-X) to get out of nano. Be sure you type "Y" when asked to save the file. August 07, 2006, at 04:16 AM
by -- minor grammatical edits
Changed line 24 from:
Partition your harddisk if you haven't already\\ to:
Partition your hard disk if you haven't already\\ Changed line 61 from:
Mount the harddrives filesystem: to:
Mount the hard drive(s) filesystem: Changed lines 130-131 from:
Depending on you network connection, this will take at least 50 minutes (even with a broadband connection), because this downloads and installs many Debian packages. to:
Depending on your network connection, this will take at least 50 minutes (even with a broadband connection), because this downloads and installs many Debian packages. Changed lines 377-378 from:
Modprobe should automatically load dependant modules (if they're installed), so check the loaded modules: to:
Modprobe should automatically load dependent modules (if they're installed), so check the loaded modules: Changed line 387 from:
to:
August 06, 2006, at 07:15 PM
by -- adduser now fixed
Changed line 276 from:
Next, you have to use a newer version of "adduser" (aliased by "useradd") that allows names instead of numeric entries. Type: to:
Installing openssh-server takes a couple of minutes. Install will fail if /etc/shadow is missing. It will also fail if you don't install "adduser-ng" package before installing openssh-server. Changed line 280 from:
apt-get -y install adduser-ng to:
apt-get -y install openssh-server Changed lines 284-286 from:
Installing openssh-server takes a couple of minutes. Install will fail if /etc/shadow is missing. It will also fail if you don't install "adduser-ng" package before installing openssh-server. to:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: Changed lines 290-292 from:
apt-get -y install openssh-server to:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst Changed lines 296-298 from:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: to:
Make the external drive with Debian on it your boot device: Changed lines 300-302 from:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst to:
turnup disk /dev/sda1 -t ext3 Changed lines 304-306 from:
Make the external drive with Debian on it your boot device: to:
Reboot into Debian, by typing "reboot" at the prompt. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): Changed lines 310-311 from:
turnup disk /dev/sda1 -t ext3 to:
apt-get install locales dpkg-reconfigure locales Deleted lines 314-324:
Reboot into Debian, by typing "reboot" at the prompt. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) apt-get install locales dpkg-reconfigure locales (:tableend:) August 06, 2006, at 03:50 AM
by --
Changed lines 274-276 from:
and enable the shadow passwords when asked. Be sure to not configure additional users just yet (do that later with ##useradd##). to:
and enable the shadow passwords when asked. August 06, 2006, at 12:30 AM
by -- updated with latest correct instructions. THIS ONE WORKS now.
Changed line 108 from:
zcat data.tar.gz | tar xv to:
tar xzvf data.tar.gz Changed line 119 from:
IMPORTANT: if you get only the output below, and no "Validating Packages" (rather than a few hundred package retrievals) using ftp.debian.org please use:\\ to:
IMPORTANT: if you get only the output below (versus a few hundred package retrievals), using ftp.debian.org please use:\\ Deleted line 120:
Changed lines 142-143 from:
(note: Rob Lockhart only needed to copy to:
(note: you may only needed to copy Changed line 182 from:
Edit to:
Type: Changed line 190 from:
Edit to:
Type: Changed line 232 from:
[we had problems with apt-get-sources. edit to:
There may be problems with apt-get-sources. Type Changed lines 244-245 from:
apt-get dist-upgrade apt-get install anacron popularity-contest nslu2-utils to:
apt-get -y dist-upgrade apt-get -y install anacron popularity-contest nslu2-utils Deleted lines 248-250:
(Isaac Wilcox found he also needed to Added line 256:
(the file may already be there) Changed lines 274-276 from:
and enable the shadow passwords when asked. Installing openssh-server takes a couple of minutes. Install will fail if /etc/shadow is missing. to:
and enable the shadow passwords when asked. Be sure to not configure additional users just yet (do that later with ##useradd##). Next, you have to use a newer version of "adduser" (aliased by "useradd") that allows names instead of numeric entries. Type: Changed line 281 from:
apt-get install openssh-server to:
apt-get -y install adduser-ng Changed lines 285-287 from:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: to:
Installing openssh-server takes a couple of minutes. Install will fail if /etc/shadow is missing. It will also fail if you don't install "adduser-ng" package before installing openssh-server. Changed lines 289-291 from:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst to:
apt-get -y install openssh-server Changed lines 293-295 from:
Make the external drive with Debian on it your boot device: to:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: Changed lines 299-301 from:
turnup disk /dev/sda1 -t ext3 to:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst Changed lines 305-307 from:
Reboot into Debian. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): to:
Make the external drive with Debian on it your boot device: Changed lines 309-310 from:
apt-get install locales dpkg-reconfigure locales to:
turnup disk /dev/sda1 -t ext3 Added lines 313-323:
Reboot into Debian, by typing "reboot" at the prompt. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) apt-get install locales dpkg-reconfigure locales (:tableend:) August 05, 2006, at 07:39 PM
by -- had \"cp -Ra\" but that is the same as \"cp -a\"
Changed line 149 from:
cp -Ra /lib/modules/* lib/modules to:
cp -a /lib/modules/* lib/modules August 05, 2006, at 07:34 PM
by --
Changed lines 19-20 from:
Debian "Sid" (unstable) Bootstrap (3.10 as of Aug 2006)to:
Debian "Sid" (unstable) Bootstrap(v 3.10 as of Aug 2006) August 05, 2006, at 07:33 PM
by --
Changed lines 19-20 from:
Debian "Sid" (unstable) Bootstrapto:
Debian "Sid" (unstable) Bootstrap (3.10 as of Aug 2006)August 05, 2006, at 07:32 PM
by --
Changed lines 232-235 from:
[we had problems with apt-get-sources. edit to:
[we had problems with apt-get-sources. edit Changed lines 419-420 from:
[If this doesn't work try: ./usr/sbin/debootstrap --arch arm sarge /mnt/debinst http://ftp.de.debian.org/debian/] to:
[If this doesn't work try: August 05, 2006, at 05:34 PM
by -- LEDs to [=LEDs=]
Changed lines 338-340 from:
to:
The LEDs should be operating as expected after rebooting the slug. August 05, 2006, at 05:33 PM
by -- changed LEDs to [=LEDs=]
Changed lines 323-324 from:
Status LEDs? to:
Status LEDs Changed line 328 from:
to:
To use the LEDs anyway, execute the following commands: August 05, 2006, at 05:30 PM
by --
Changed line 118 from:
IMPORTANT: if you get only the output below (rather than a few hundred packages retrievals) using ftp.debian.org please use:\\ to:
IMPORTANT: if you get only the output below, and no "Validating Packages" (rather than a few hundred package retrievals) using ftp.debian.org please use:\\ August 05, 2006, at 05:24 PM
by --
Deleted line 17:
Deleted line 235:
Deleted line 348:
Deleted line 387:
August 05, 2006, at 05:21 PM
by -- changed text about ftp.debian.org mirror not working
Changed line 119 from:
If this doesn't work try: \\ to:
IMPORTANT: if you get only the output below (rather than a few hundred packages retrievals) using ftp.debian.org please use:\\ Deleted lines 121-122:
IMPORTANT: if you get only the output below (rather than a few hundred packages retrievals) using ftp.debian.org please use ftp.nl.debian.org/debian Deleted line 128:
root@NSLU2backup?:/mnt/debinst/work#] August 05, 2006, at 05:16 PM
by --
Changed lines 72-75 from:
DHCP clients, ignore these two steps below. If you're using a static IP address, then you need to need to do the following: 1) Add a default gateway, and 2) add your DNS server information. For 1), assuming that aaa.bbb.ccc.ddd is the IP address of your router/gateway, then type: to:
DHCP clients, ignore the two steps below. If you're using a static IP address, then you need to need to do the following: Changed lines 119-120 from:
If this doesn't work try: to:
If this doesn't work try: Changed lines 146-147 from:
(note: I only needed to copy to:
(note: Rob Lockhart only needed to copy August 05, 2006, at 05:07 PM
by -- nicer formatting
Changed line 80 from:
For 2), if you know that your router/gateway is also a DNS server, then you can use the same address above for the address below. Otherwise, you'll have to get that information (WinXP?/2k/98 in a command prompt, type to:
For 2), if you know that your router/gateway is also a DNS server, then you can use the same address above for the address below. Otherwise, you'll have to get that information (WinXP/2k/98 in a command prompt, type Added line 93:
@] Added line 95:
[@ August 05, 2006, at 05:02 PM
by -- Changed IP config for more clear understanding
Changed line 72 from:
If you're using a static IP address and a router to access the internet, you also have to do: to:
DHCP clients, ignore these two steps below. If you're using a static IP address, then you need to need to do the following: 1) Add a default gateway, and 2) add your DNS server information. For 1), assuming that aaa.bbb.ccc.ddd is the IP address of your router/gateway, then type: Changed lines 76-80 from:
route add default gw xxx.xxx.xxx.xxx Add the line nameserver xxx.xxx.xxx.xxx in /etc/resolv.conf to:
route add default gw aaa.bbb.ccc.ddd Changed lines 79-81 from:
(Replace xxx.xxx.xxx.xxx with the IP address of your router.) Grab the debootstrap .udeb from a Debian mirror: to:
For 2), if you know that your router/gateway is also a DNS server, then you can use the same address above for the address below. Otherwise, you'll have to get that information (WinXP?/2k/98 in a command prompt, type Changed lines 84-86 from:
wget http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb The above probably won't work (file not found), so try: wget ftp://ftp.nl.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb to:
nameserver eee.fff.ggg.hhh Changed line 88 from:
Extract the debrootstrap udeb: to:
Grab the debootstrap .udeb from a Debian mirror: Changed lines 92-93 from:
ar -x debootstrap-udeb_0.3.3_arm.udeb zcat data.tar.gz | tar xv to:
wget http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb The above probably won't work (file not found), so try: wget ftp://ftp.nl.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb Changed line 98 from:
Run debootstrap with your choice of Debian distro and mirror: to:
Extract the debrootstrap udeb: Changed lines 102-103 from:
export DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/ to:
ar -x debootstrap-udeb_0.3.3_arm.udeb zcat data.tar.gz | tar xv Added lines 105-113:
(:tableend:) Run debootstrap with your choice of Debian distro and mirror: (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) export DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/ August 05, 2006, at 04:46 PM
by --
Changed lines 22-23 from:
Boot your just reflashed image and log in using ssh as to:
Boot your just reflashed image and log in using ssh as August 05, 2006, at 04:44 PM
by -- added Wiki about Endianness
Changed lines 22-23 from:
Boot your just reflashed image and log in using ssh as to:
Boot your just reflashed image and log in using ssh as August 05, 2006, at 04:39 PM
by --
Changed lines 90-91 from:
[This probably won't work, so try: wget ftp://ftp.nl.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb ] to:
The above probably won't work (file not found), so try: wget ftp://ftp.nl.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb August 05, 2006, at 04:38 PM
by --
Deleted line 92:
Deleted line 110:
August 05, 2006, at 04:36 PM
by -- spelling fixes
Changed line 85 from:
Grab the debootstrap .udeb from a debian mirror: to:
Grab the debootstrap .udeb from a Debian mirror: Changed lines 90-91 from:
[If this doesn't work try: wget ftp://ftp.nl.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb] to:
[This probably won't work, so try: wget ftp://ftp.nl.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb ] Changed line 105 from:
Run debootstrap with your choice of debian distro and mirror: to:
Run debootstrap with your choice of Debian distro and mirror: Changed lines 115-116 from:
IMPORTANT: if you get only the following output (rather than a few hundred packages retrievals) using ftp.debian.org please use ftp.nl.debian.org/debian to:
IMPORTANT: if you get only the output below (rather than a few hundred packages retrievals) using ftp.debian.org please use ftp.nl.debian.org/debian Changed lines 127-128 from:
Depending on you network connection this will take at least 50 minutes (even with a broadband connection). Because this downloads and installs many debian packages. to:
Depending on you network connection, this will take at least 50 minutes (even with a broadband connection), because this downloads and installs many Debian packages. August 05, 2006, at 04:28 PM
by -- Wiki edit so don\'t have to approve debian mirror
Changed lines 112-113 from:
If this doesn't work try: to:
If this doesn't work try: August 05, 2006, at 04:19 PM
by -- typo
Changed lines 48-49 from:
Adjust the partition size to fir your needs. You might have to reboot. to:
Adjust the partition size to fit your needs. You might have to reboot. August 05, 2006, at 03:57 PM
by -- change of what Isaac Wilcox said, may not be needed
Changed lines 247-248 from:
(Isaac Wilcox found he also needed to apt-get install module-init-tools - otherwise the slug failed to respond to pings after the reboot due to failing to load ixp400_eth - but maybe he did something wrong.) to:
(Isaac Wilcox found he also needed to August 05, 2006, at 03:50 PM
by --
Changed lines 235-236 from:
To do this, type (for example): \\ to:
To do this, type (for example): August 05, 2006, at 03:49 PM
by -- add Hard Return
Changed line 235 from:
To do this, type (for example): to:
To do this, type (for example): \\ August 05, 2006, at 03:48 PM
by -- add working example of setting date - doesn\'t work on purpose for requiring manual edit
Added lines 235-236:
To do this, type (for example): August 05, 2006, at 03:40 PM
by -- minor PuTTY edits
Changed lines 22-23 from:
Boot your just reflashed image and log in using ssh as to:
Boot your just reflashed image and log in using ssh as Changed lines 233-234 from:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest.
to:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. August 05, 2006, at 03:37 PM
by -- added hard-return for \"Notice!!\"
Changed line 234 from:
Notice! You must set date before running apt-get update. Otherwise gpg signature checking will fail. to:
August 05, 2006, at 03:29 PM
by --
Changed lines 22-24 from:
Boot your just reflashed image and log in using ssh as Partition your harddisk if you haven't done so yet\\ to:
Boot your just reflashed image and log in using ssh as Partition your harddisk if you haven't already\\ Changed line 26 from:
To delete partitions, type "d" inside fdisk! to:
To delete partitions, type "d" inside fdisk Changed lines 48-49 from:
Adjust the partition size to your needs. You might have to reboot. to:
Adjust the partition size to fir your needs. You might have to reboot. August 05, 2006, at 03:24 PM
by -- edit so Wiki won\'t ask for approved site for deb mirror
Changed lines 230-232 from:
to:
August 05, 2006, at 03:22 PM
by --
Changed line 186 from:
Edit /etc/network/interfaces\\ to:
Edit Changed lines 230-233 from:
to:
August 05, 2006, at 03:20 PM
by -- more details regarding tty disabling
Changed line 178 from:
Edit to:
Edit August 05, 2006, at 03:16 PM
by --
Changed line 178 from:
Edit /etc/inittab to disable the tty[1-6] entries and add the following serial console entry: to:
Edit August 05, 2006, at 03:14 PM
by --
Changed lines 16-18 from:
to:
August 05, 2006, at 03:12 PM
by --
Changed lines 16-18 from:
to:
August 05, 2006, at 03:12 PM
by --
Changed lines 16-18 from:
to:
August 05, 2006, at 03:08 PM
by -- minor grammatical fix
Changed line 24 from:
Partition your harddisk if you haven't done it yet\\ to:
Partition your harddisk if you haven't done so yet\\ August 05, 2006, at 03:07 PM
by -- formatting for more clear what to type, other misspelling fixes
Changed lines 22-23 from:
Boot your just reflashed image and log in using ssh as root. Note that the initial password is opeNSLUg (and not e.g. something like debiaNSLUg). Actually the bootstrap image is a little endian openslug image. I found it useful if you use PuTTY and type to:
Boot your just reflashed image and log in using ssh as Changed line 72 from:
If you're using a static ip address and a router to access the internet, you also have to do: to:
If you're using a static IP address and a router to access the internet, you also have to do: Changed lines 83-84 from:
(Replace xxx.xxx.xxx.xxx with the ip address of your router.) to:
(Replace xxx.xxx.xxx.xxx with the IP address of your router.) Changed lines 126-127 from:
Depending on you network connection this will take at least 50 minutes (even with a broadband connection). Because this download and install many debian packages. to:
Depending on you network connection this will take at least 50 minutes (even with a broadband connection). Because this downloads and installs many debian packages. Changed lines 138-139 from:
(note: I only needed to copy /etc/hosts into etc/hosts for DHCP configuration) to:
(note: I only needed to copy Changed lines 229-230 from:
[we had problems with apt-get-sources. edit /etc/apt/sources.list to point to deb http://ftp.de.debian.org/debian/ unstable main non-free contrib to:
[we had problems with apt-get-sources. edit Changed line 247 from:
Create /etc/shadow with: to:
Create Changed line 264 from:
As an alternative you can use: to:
As an alternative, you can use: Changed lines 271-272 from:
and enable the shadow passwords when asked for. to:
and enable the shadow passwords when asked. Changed lines 312-314 from:
There are some Debian-specific tips in /usr/share/doc/nslu2-utils/README.Debian that are worth a read. Add your name to the DebianSlugUsers? list. (And you might wanna rm -rf /work after you've rebooted ;-) to:
There are some Debian-specific tips in Add your name to the DebianSlugUsers? list. (And you might want to Changed lines 332-334 from:
The leds should be operating as expected after rebooting the slug. to:
August 05, 2006, at 02:59 PM
by -- minor edit of PuTTY reference
Changed lines 22-23 from:
Boot your just reflashed image and log in using ssh as root. Note that the initial password is opeNSLUg (and not e.g. something like debiaNSLUg). Actually the bootstrap image is a little endian openslug image. I found it useful if you use PuTTY and type ( export TERM=linux; stty erase '^H' ) to:
Boot your just reflashed image and log in using ssh as root. Note that the initial password is opeNSLUg (and not e.g. something like debiaNSLUg). Actually the bootstrap image is a little endian openslug image. I found it useful if you use PuTTY and type August 05, 2006, at 02:57 PM
by -- change for PuTTY reference
Changed lines 22-23 from:
Boot your just reflashed image and log in using ssh as root. Note that the initial password is opeNSLUg (and not e.g. something like debiaNSLUg). Actually the bootstrap image is a little endian openslug image. I found it useful if you use PuTTY? and type ( export TERM=linux; stty erase '^H' ) to:
Boot your just reflashed image and log in using ssh as root. Note that the initial password is opeNSLUg (and not e.g. something like debiaNSLUg). Actually the bootstrap image is a little endian openslug image. I found it useful if you use PuTTY and type ( export TERM=linux; stty erase '^H' ) August 05, 2006, at 02:52 PM
by -- helpful tip for TERM and stty erase for easier edits
Changed lines 22-23 from:
Boot your just reflashed image and log in using ssh as root. Note that the initial password is opeNSLUg (and not e.g. something like debiaNSLUg). Actually the bootstrap image is a little endian openslug image. to:
August 05, 2006, at 02:47 PM
by -- notes to \"cp\" for networking
Changed lines 138-139 from:
to:
(note: I only needed to copy /etc/hosts into etc/hosts for DHCP configuration) August 04, 2006, at 09:49 PM
by -- clarified notice about when debootstrap fails
Changed lines 110-112 from:
[If this doesn't work try: ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.nl.debian.org/debian/] [IMPORTANT: if you get only this output using ftp.debian.org please use ftp.nl.debian.org/debian root@NSLU2backup?:/mnt/debinst/work# ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/ to:
@] If this doesn't work try: IMPORTANT: if you get only the following output (rather than a few hundred packages retrievals) using ftp.debian.org please use ftp.nl.debian.org/debian [@ Deleted line 123:
July 30, 2006, at 11:41 PM
by --
Changed lines 111-115 from:
@] (:tableend:) Depending on you network connection this will take at least 50 minutes (even with a broadband connection). Because this download and install many debian packages. if you get only this output using ftp.debian.org please use ftp.nl.debian.org/debian to:
[IMPORTANT: if you get only this output using ftp.debian.org please use ftp.nl.debian.org/debian Changed lines 119-120 from:
root@NSLU2backup?:/mnt/debinst/work# to:
root@NSLU2backup?:/mnt/debinst/work#] @] (:tableend:) Depending on you network connection this will take at least 50 minutes (even with a broadband connection). Because this download and install many debian packages. July 30, 2006, at 11:39 PM
by --
Changed lines 111-115 from:
[if you get only this using ftp.debian.org please use ftp.nl.debian.org/debian] to:
@] (:tableend:) Depending on you network connection this will take at least 50 minutes (even with a broadband connection). Because this download and install many debian packages. if you get only this output using ftp.debian.org please use ftp.nl.debian.org/debian Changed lines 123-126 from:
@] (:tableend:) Depending on you network connection this will take at least 50 minutes (even with a broadband connection). to:
root@NSLU2backup?:/mnt/debinst/work# July 30, 2006, at 11:36 PM
by -- put a example about the errors
Added lines 111-118:
[if you get only this using ftp.debian.org please use ftp.nl.debian.org/debian] root@NSLU2backup?:/mnt/debinst/work# ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/ I: Retrieving Release I: Retrieving Packages I: Retrieving Packages I: Retrieving Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... July 30, 2006, at 08:06 AM
by --
Changed lines 11-12 from:
to:
Deleted lines 114-117:
[When I try this, no errors are reported, but peeking at /mnt/debinst/debootstrap/debootstrap.log shows three errors like this: /mnt/debinst/work/usr/lib/debootstrap/pkgdetails: 1: Syntax error: word unexpected (expecting ")")] [The above error causes the chroot error mentioned below, because /mnt/debinst/bin doesn't exist] Added lines 467-473:
Installation Notes
Be sure to get the little endian SlugOS (DebianSlug) firmware and NOT the big endian SlugOS (OpenSlug) firmware. If you happen to pick the big endian version and follow the instructions above (as I mistakenly did) it will manifest itself by finishing the debootstrap step entirely too quickly, and the log will report: /mnt/debinst/work/usr/lib/debootstrap/pkgdetails: 1: Syntax error: word unexpected (expecting ")") July 30, 2006, at 02:37 AM
by --
Changed lines 114-115 from:
'''When I try this, no errors are reported, but peeking at /mnt/debinst/debootstrap/debootstrap.log shows three errors like this: /mnt/debinst/work/usr/lib/debootstrap/pkgdetails: 1: Syntax error: word unexpected (expecting ")") to:
[When I try this, no errors are reported, but peeking at /mnt/debinst/debootstrap/debootstrap.log shows three errors like this: /mnt/debinst/work/usr/lib/debootstrap/pkgdetails: 1: Syntax error: word unexpected (expecting ")")] Changed lines 117-118 from:
''' to:
July 30, 2006, at 02:34 AM
by --
Changed lines 91-95 from:
[When I try this, no errors are reported, but peeking at /mnt/debinst/debootstrap/debootstrap.log shows three errors like this: /mnt/debinst/work/usr/lib/debootstrap/pkgdetails: 1: Syntax error: word unexpected (expecting ")") ] [The above error causes the chroot error mentioned below, because /mnt/debinst/bin doesn't exist] to:
Added lines 114-118:
'''When I try this, no errors are reported, but peeking at /mnt/debinst/debootstrap/debootstrap.log shows three errors like this: /mnt/debinst/work/usr/lib/debootstrap/pkgdetails: 1: Syntax error: word unexpected (expecting ")") [The above error causes the chroot error mentioned below, because /mnt/debinst/bin doesn't exist] ''' July 30, 2006, at 02:32 AM
by -- Mention an error which causes the chroot error
Added lines 91-95:
[When I try this, no errors are reported, but peeking at /mnt/debinst/debootstrap/debootstrap.log shows three errors like this: /mnt/debinst/work/usr/lib/debootstrap/pkgdetails: 1: Syntax error: word unexpected (expecting ")") ] [The above error causes the chroot error mentioned below, because /mnt/debinst/bin doesn't exist] July 28, 2006, at 10:36 AM
by --
Changed line 170 from:
Edit /etc/network/interfaces to:
Edit /etc/network/interfaces\\ Changed line 194 from:
to:
July 28, 2006, at 10:35 AM
by --
Changed line 194 from:
to:
July 28, 2006, at 10:34 AM
by --
Changed line 170 from:
Edit /etc/network/interfaces.\\ to:
Edit /etc/network/interfaces July 28, 2006, at 10:31 AM
by --
Deleted line 145:
[i tried this several times but evertime it ends here with this error: "chroot: cannot execute /bin/sh: No such file or directory"] July 28, 2006, at 10:01 AM
by --
Changed lines 154-155 from:
cat > /etc/fstab to:
nano /etc/fstab proc /proc proc defaults 0 0 Changed line 158 from:
proc /proc proc defaults 0 0 to:
Changed lines 161-162 from:
followed by a ^D (control-D) to get out of cat. to:
followed by a ^X (control-X) to get out of nano. July 28, 2006, at 09:53 AM
by --
Changed line 54 from:
mkswap /dev/sda2 to:
mkswap /dev/sda2 July 28, 2006, at 09:38 AM
by --
Changed line 89 from:
[If this doesn't work try: wget ftp://ftp.de.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb] to:
[If this doesn't work try: wget ftp://ftp.nl.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb] Changed line 108 from:
[If this doesn't work try: ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.de.debian.org/debian/] to:
[If this doesn't work try: ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.nl.debian.org/debian/] July 28, 2006, at 09:37 AM
by --
Changed line 53 from:
mke2fs -j /dev/sda1 # ext3 is a safe choice to:
mkfs.ext3 /dev/sda1 # ext3 is a safe choice July 25, 2006, at 08:48 PM
by -- Replace sid with sarge in the bootstrapping column for stable distro
Changed lines 394-396 from:
Don't forget to add the following to /etc/apt/sources.list: to:
Instead sid, run debootstrap with debian sarge: (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) Changed lines 398-400 from:
deb http://security.debian.org/ sarge/updates main to:
export DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sarge /mnt/debinst http://ftp.debian.org/ [If this doesn't work try: ./usr/sbin/debootstrap --arch arm sarge /mnt/debinst http://ftp.de.debian.org/debian/] Changed lines 402-405 from:
Replace "openssh-server" with "ssh". Make sure you install udev: to:
(:tableend:) Don't forget to add the following to /etc/apt/sources.list: Changed line 407 from:
apt-get install udev to:
deb http://security.debian.org/ sarge/updates main Changed lines 410-412 from:
nslu2-utils is not in the stable feed, so get it and it's dependencies directly from the pool: to:
Replace "openssh-server" with "ssh". Make sure you install udev: Added lines 414-418:
apt-get install udev @] nslu2-utils is not in the stable feed, so get it and it's dependencies directly from the pool: [@ July 25, 2006, at 12:54 PM
by -- added dpkg-reconfigure passwd alternative
Changed line 248 from:
Installing openssh-server takes a couple of minutes. Install will fail if /etc/shadow is missing. to:
As an alternative you can use: Changed line 252 from:
apt-get install openssh-server to:
dpkg-reconfigure passwd Changed lines 255-258 from:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: to:
and enable the shadow passwords when asked for. Installing openssh-server takes a couple of minutes. Install will fail if /etc/shadow is missing. Changed lines 261-263 from:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst to:
apt-get install openssh-server Changed lines 265-267 from:
Make the external drive with Debian on it your boot device: to:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: Changed lines 271-273 from:
turnup disk /dev/sda1 -t ext3 to:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst Changed lines 277-279 from:
Reboot into Debian. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): to:
Make the external drive with Debian on it your boot device: Changed lines 281-282 from:
apt-get install locales dpkg-reconfigure locales to:
turnup disk /dev/sda1 -t ext3 Added lines 285-295:
Reboot into Debian. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) apt-get install locales dpkg-reconfigure locales (:tableend:) July 16, 2006, at 03:57 PM
by -- lsmopd--->lsmod
Changed line 354 from:
to:
July 10, 2006, at 10:25 AM
by -- Added instructions for installing kernel-modules from the DebianSlug 3.10beta feed and how to deal with problems
Added line 7:
Changed line 310 from:
Kernel modules\\ to:
Kernel modules (non DebianSlug 3.10beta)\\ Changed lines 326-346 from:
Tips
(:table border=1 cellspacing=0 width=60%:) (:cellnr:) samba (:cell align=left:) SMB File- & Print-server (:cellnr:) less (:cell align=left:) Program for viewing textfiles (:cellnr:) joe (:cell align=left:) Program for editing textfiles (aiming toward less experienced users) (:cellnr:) psmisc (:cell align=left:) contains killall (:cellnr:) apache (:cell align=left:) Apache 1.3x webserver (:cellnr:) libapache-php4 (:cell align=left:) PHP4 for Apache 1.3x (:cellnr:) proftpd (:cell align=left:) FTP Server (:cellnr:) udev (:cell align=left:) hotplug / udev filesystem to:
Installing kernel-modules (DebianSlug 3.10beta)If you're running DebianSlug 3.10beta and have to install additional kernel Modules (USB-sound e.g.) you have to use the kernel-modules on http://ipkg.nslu2-linux.org/feeds/debianslug/cross/3.10-beta/ . Download them to your NSLU2 using wget and install them using: (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) dpkg --force-architecture -i kernel-module-<module>.ipk depmod -a Changed lines 337-341 from:
Debootstrapping SargeDon't forget to add the following to /etc/apt/sources.list: to:
Check the output of (replace modulename with the one you just installed) (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) Changed lines 341-342 from:
deb http://security.debian.org/ sarge/updates main to:
modprobe -v modulename dmesg | tail Changed lines 344-362 from:
Replace "openssh-server" with "ssh". Make sure you install udev: apt-get install udev nslu2-utils is not in the stable feed, so get it and it's dependencies directly from the pool: wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/slugimage_0.10+r58-2_all.deb dpkg -i slugimage_0.10+r58-2_all.deb wget http://debian.planetmirror.com/debian/pool/main/d/devio/devio_1.2-1_arm.deb dpkg -i --force-depends devio_1.2-1_arm.deb wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/nslu2-utils_0.10+r58-2_arm.deb dpkg -i nslu2-utils_0.10+r58-2_arm.deb Replace modutils with module-init-tools (being in the chroot) : to:
(:tableend:) to see if the operation succeeds. If there are warnings about unresolved symbols, it's very likely that the kernel-module depends on another one that's not yet installed. You can check this with Changed lines 348-352 from:
dpkg -P modutils rm /etc/rcS.d/S20modutils apt-get install module-init-tools to:
Changed lines 350-358 from:
Upgrade DebianSlug to newer firmwareBETA INSTRUCTIONS!
to:
Modprobe should automatically load dependant modules (if they're installed), so check the loaded modules: Changed lines 354-358 from:
to:
Changed lines 356-365 from:
Note that the account is (:table border=0 width=80% bgcolor=#eeffee:)
(:cell:)
to:
If one or more modules which are listed in "depends" of your module, you have to install them as described above.
Tips
(:table border=1 cellspacing=0 width=60%:) (:cellnr:) samba (:cell align=left:) SMB File- & Print-server (:cellnr:) less (:cell align=left:) Program for viewing textfiles (:cellnr:) joe (:cell align=left:) Program for editing textfiles (aiming toward less experienced users) (:cellnr:) psmisc (:cell align=left:) contains killall (:cellnr:) apache (:cell align=left:) Apache 1.3x webserver (:cellnr:) libapache-php4 (:cell align=left:) PHP4 for Apache 1.3x (:cellnr:) proftpd (:cell align=left:) FTP Server (:cellnr:) udev (:cell align=left:) hotplug / udev filesystem Added lines 382-444:
Debootstrapping SargeDon't forget to add the following to /etc/apt/sources.list: deb http://security.debian.org/ sarge/updates main Replace "openssh-server" with "ssh". Make sure you install udev: apt-get install udev nslu2-utils is not in the stable feed, so get it and it's dependencies directly from the pool: wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/slugimage_0.10+r58-2_all.deb dpkg -i slugimage_0.10+r58-2_all.deb wget http://debian.planetmirror.com/debian/pool/main/d/devio/devio_1.2-1_arm.deb dpkg -i --force-depends devio_1.2-1_arm.deb wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/nslu2-utils_0.10+r58-2_arm.deb dpkg -i nslu2-utils_0.10+r58-2_arm.deb Replace modutils with module-init-tools (being in the chroot) : (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) dpkg -P modutils rm /etc/rcS.d/S20modutils apt-get install module-init-tools (:tableend:)
Upgrade DebianSlug to newer firmwareBETA INSTRUCTIONS!
(:table border=0 width=80% bgcolor=#eeffee:)
(:cell:)
Note that the account is (:table border=0 width=80% bgcolor=#eeffee:)
(:cell:)
July 10, 2006, at 03:32 AM
by -- Clarify necessity of building one\'s own kernel.
Changed line 310 from:
Currently there is no debian-specific feed, so you'll have to build your own kernel using the MasterMakefile (if you haven't already) and copy the relevant ipk files to your slug. You can find the kernel modules in to:
Currently there is no debian-specific feed, so if you are interested in building your own kernel you'll need to use the MasterMakefile (if you haven't already) and copy the relevant ipk files to your slug. You can find the kernel modules in July 09, 2006, at 09:26 PM
by -- fixed typo \"debrootstrap\"
Changed line 101 from:
Run debrootstrap with your choice of debian distro and mirror: to:
Run debootstrap with your choice of debian distro and mirror: June 25, 2006, at 08:21 PM
by -- corrected order of openssh install and explained why apt-get fails
Changed lines 217-218 from:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. Installing openssh-server takes a couple of minutes. to:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. Notice! You must set date before running apt-get update. Otherwise gpg signature checking will fail. Deleted line 224:
apt-get install openssh-server Changed lines 247-249 from:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: to:
Installing openssh-server takes a couple of minutes. Install will fail if /etc/shadow is missing. Changed lines 251-253 from:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst to:
apt-get install openssh-server Changed lines 255-257 from:
Make the external drive with Debian on it your boot device: to:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: Changed lines 261-263 from:
turnup disk /dev/sda1 -t ext3 to:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst Changed lines 267-269 from:
Reboot into Debian. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): to:
Make the external drive with Debian on it your boot device: Changed lines 271-272 from:
apt-get install locales dpkg-reconfigure locales to:
turnup disk /dev/sda1 -t ext3 Added lines 275-285:
Reboot into Debian. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) apt-get install locales dpkg-reconfigure locales (:tableend:) June 22, 2006, at 03:13 PM
by --
Changed line 88 from:
[Didn't work for me, try: wget ftp://ftp.de.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb] to:
[If this doesn't work try: wget ftp://ftp.de.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb] Changed line 107 from:
[mirror didn't work for us: we succesfully used http://ftp.de.debian.org/debian/ instead (hmn,snd)] to:
[If this doesn't work try: ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.de.debian.org/debian/] Added line 145:
[i tried this several times but evertime it ends here with this error: "chroot: cannot execute /bin/sh: No such file or directory"] June 19, 2006, at 10:21 PM
by -- Mention nslu2-utils readme
Added lines 277-278:
There are some Debian-specific tips in /usr/share/doc/nslu2-utils/README.Debian that are worth a read. June 19, 2006, at 09:35 PM
by -- Add note on module-init-tools
Added lines 227-228:
(Isaac Wilcox found he also needed to apt-get install module-init-tools - otherwise the slug failed to respond to pings after the reboot due to failing to load ixp400_eth - but maybe he did something wrong.) June 12, 2006, at 02:22 AM
by -- 2 spaces between sentences, minor grammar fixes
Changed lines 14-16 from:
to:
Changed lines 20-21 from:
Boot your just reflashed image and log in using ssh as root. Note that the initial password is opeNSLUg (and not e.g. something like debiaNSLUg). Actually the bootstrap image is a little endian openslug image. to:
Boot your just reflashed image and log in using ssh as root. Note that the initial password is opeNSLUg (and not e.g. something like debiaNSLUg). Actually the bootstrap image is a little endian openslug image. Changed line 70 from:
If you're using a static ip address and a router to access the internet, you have also to do. to:
If you're using a static ip address and a router to access the internet, you also have to do: Changed line 188 from:
Instead if you want to use a static address (highly recommended) use the following as an example (replacing the address and gateway with the address you want to use). to:
Instead if you want to use a static address (highly recommended) use the following as an example (replacing the address and gateway with the address you want to use): Changed lines 278-279 from:
Status leds to:
Status LEDs? Changed line 283 from:
To use the leds anyway, execute the following commands: to:
June 12, 2006, at 02:15 AM
by -- Minutes -> minutes. Changed from one space to 2 spaces for sentences.
Changed lines 110-111 from:
Depending on you network connection this will take at least 50 Minutes (even with a broadband connection). to:
Depending on you network connection this will take at least 50 minutes (even with a broadband connection). Changed line 216 from:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. Installing openssh-server takes a couple of minutes. to:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. Installing openssh-server takes a couple of minutes. Changed line 279 from:
The status led will continue to flash amber. There is a nslu2-tools debian package under development that will contain a leds binary that will switch it back to green.\\ to:
The status led will continue to flash amber. There is a nslu2-tools debian package under development that will contain a leds binary that will switch it back to green.\\ Changed lines 376-377 from:
If you prefer to remain seated while upgrading then it is probably best not to use to:
If you prefer to remain seated while upgrading then it is probably best not to use Changed lines 387-388 from:
Note that the account is to:
Note that the account is June 12, 2006, at 02:10 AM
by -- typo; replace \"brad-band\" with \"broadband\"
Changed lines 110-111 from:
Depending on you network connection this will take at least 50 Minutes (even with brad-band connection). to:
Depending on you network connection this will take at least 50 Minutes (even with a broadband connection). June 11, 2006, at 08:16 PM
by --
Changed lines 110-111 from:
to:
Depending on you network connection this will take at least 50 Minutes (even with brad-band connection). June 11, 2006, at 06:02 PM
by --
Changed line 105 from:
export DEBOOTSTRAP_DIR=/mnt/debinst/work/usr/lib/debootstrap to:
export DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap June 08, 2006, at 11:22 PM
by -- Changed \'-force-depends\' to \'--force-depends\'.
Changed line 354 from:
dpkg -i -force-depends devio_1.2-1_arm.deb to:
dpkg -i --force-depends devio_1.2-1_arm.deb June 03, 2006, at 07:28 AM
by --
Changed lines 77-78 from:
xxx.xxx.xxx.xxx nameserver in /etc/hosts. to:
nameserver xxx.xxx.xxx.xxx in /etc/resolv.conf May 25, 2006, at 08:00 AM
by -- network config
Changed line 70 from:
Grab the debootstrap .udeb from a debian mirror: to:
If you're using a static ip address and a router to access the internet, you have also to do. Changed lines 74-75 from:
wget http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb [Didn't work for me, try: wget ftp://ftp.de.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb] to:
route add default gw xxx.xxx.xxx.xxx Add the line xxx.xxx.xxx.xxx nameserver in /etc/hosts. Changed lines 81-82 from:
Extract the debrootstrap udeb: to:
(Replace xxx.xxx.xxx.xxx with the ip address of your router.) Grab the debootstrap .udeb from a debian mirror: Changed lines 87-88 from:
ar -x debootstrap-udeb_0.3.3_arm.udeb zcat data.tar.gz | tar xv to:
wget http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb [Didn't work for me, try: wget ftp://ftp.de.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb] Changed line 92 from:
Run debrootstrap with your choice of debian distro and mirror: to:
Extract the debrootstrap udeb: Changed lines 96-98 from:
export DEBOOTSTRAP_DIR=/mnt/debinst/work/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/ [mirror didn't work for us: we succesfully used http://ftp.de.debian.org/debian/ instead (hmn,snd)] to:
ar -x debootstrap-udeb_0.3.3_arm.udeb zcat data.tar.gz | tar xv Changed line 101 from:
Copy in some important configuration files: to:
Run debrootstrap with your choice of debian distro and mirror: Changed lines 105-108 from:
cd .. cp /etc/resolv.conf etc/resolv.conf cp /etc/hosts etc/hosts cp /etc/hostname etc/hostname to:
export DEBOOTSTRAP_DIR=/mnt/debinst/work/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/ [mirror didn't work for us: we succesfully used http://ftp.de.debian.org/debian/ instead (hmn,snd)] Changed line 111 from:
Copy in the kernel modules: to:
Copy in some important configuration files: Changed lines 115-118 from:
cp -Ra /lib/modules/* lib/modules to:
cd .. cp /etc/resolv.conf etc/resolv.conf cp /etc/hosts etc/hosts cp /etc/hostname etc/hostname Changed line 122 from:
Mount the proc filesystem: to:
Copy in the kernel modules: Changed line 126 from:
mount -t proc proc /mnt/debinst/proc to:
cp -Ra /lib/modules/* lib/modules Changed line 130 from:
Chroot into your new Debian environment: to:
Mount the proc filesystem: Changed lines 134-135 from:
cd / chroot /mnt/debinst to:
mount -t proc proc /mnt/debinst/proc Changed line 138 from:
Put a working fstab file into place (you may need to tweak this config and add extra partitions depending on your partition layout): to:
Chroot into your new Debian environment: Changed lines 142-145 from:
cat > /etc/fstab /dev/sda1 / ext3 defaults 1 1 /dev/sda2 swap swap defaults 0 0 proc /proc proc defaults 0 0 to:
cd / chroot /mnt/debinst Changed lines 146-148 from:
followed by a ^D (control-D) to get out of cat. Edit /etc/inittab to disable the tty[1-6] entries and add the following serial console entry: to:
Put a working fstab file into place (you may need to tweak this config and add extra partitions depending on your partition layout): Changed lines 151-154 from:
S0:2345:respawn:/sbin/getty 115200 ttyS0 to:
cat > /etc/fstab /dev/sda1 / ext3 defaults 1 1 /dev/sda2 swap swap defaults 0 0 proc /proc proc defaults 0 0 Changed lines 157-159 from:
Edit /etc/network/interfaces. to:
followed by a ^D (control-D) to get out of cat. Edit /etc/inittab to disable the tty[1-6] entries and add the following serial console entry: Added lines 163-171:
S0:2345:respawn:/sbin/getty 115200 ttyS0 @] (:tableend:) Edit /etc/network/interfaces. May 19, 2006, at 04:08 PM
by --
Changed line 220 from:
and set the root password so you can get in when you SSH into it after reboot, and exit the environment (Make sure you do this or you will not be able to get into your DebianSlug without setting this password for root): to:
and set the root password so you can get in when you SSH into it after reboot, and exit the environment: Changed lines 228-229 from:
to:
Make sure you do this or you will not be able to get into your DebianSlug without setting this password for root. May 19, 2006, at 03:59 PM
by --
Changed line 220 from:
and set the root password so you can get in when you SSH into it after reboot, and exit the environment: to:
and set the root password so you can get in when you SSH into it after reboot, and exit the environment (Make sure you do this or you will not be able to get into your DebianSlug without setting this password for root): May 06, 2006, at 05:23 AM
by --
Changed line 273 from:
cp /initrd/sbin/leds /usr/sbin/leds to:
cp /initrd/sbin/leds /usr/bin/leds Deleted line 274:
cp /initrd/etc/init.d/zleds /etc/init.d/zleds May 06, 2006, at 05:18 AM
by --
Changed line 336 from:
nslu2-utils is not in the stable feed, so get it directly from the pool: to:
nslu2-utils is not in the stable feed, so get it and it's dependencies directly from the pool: Changed lines 338-339 from:
wget http://ftp.debian.org/debian/pool/main/n/nslu2-utils/nslu2-utils_0.10-3_arm.deb dpkg -i nslu2-utils_0.10-3_arm.deb to:
wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/slugimage_0.10+r58-2_all.deb dpkg -i slugimage_0.10+r58-2_all.deb wget http://debian.planetmirror.com/debian/pool/main/d/devio/devio_1.2-1_arm.deb dpkg -i -force-depends devio_1.2-1_arm.deb wget http://debian.planetmirror.com/debian/pool/main/n/nslu2-utils/nslu2-utils_0.10+r58-2_arm.deb dpkg -i nslu2-utils_0.10+r58-2_arm.deb April 27, 2006, at 12:18 PM
by -- minor changes due to download issues
Deleted line 197:
<verbatim> Changed lines 199-201 from:
</verbatim>(hmn,snd)] to:
(hmn,snd)] April 27, 2006, at 12:17 PM
by -- minor changes due to download issues
Changed lines 197-199 from:
[we had problems with apt-get-sources. edit /etc/apt/sources.list to point to deb http://ftp.de.debian.org/debian/ unstable main non-free contrib (hmn,snd)] to:
[we had problems with apt-get-sources. edit /etc/apt/sources.list to point to <verbatim> deb http://ftp.de.debian.org/debian/ unstable main non-free contrib </verbatim>(hmn,snd)] April 27, 2006, at 12:12 PM
by -- minor changes due to download issues
Added line 94:
[mirror didn't work for us: we succesfully used http://ftp.de.debian.org/debian/ instead (hmn,snd)] Added lines 197-199:
[we had problems with apt-get-sources. edit /etc/apt/sources.list to point to deb http://ftp.de.debian.org/debian/ unstable main non-free contrib (hmn,snd)] March 23, 2006, at 10:28 AM
by -- fdisk actions, added swap type
Added lines 39-41:
t #(change type of partition) 2 #(2nd partition) 82 #(change type to 82 - swap) March 23, 2006, at 10:24 AM
by -- Debian Mirror broken? Edit debootstrap-wget
Added line 72:
[Didn't work for me, try: wget ftp://ftp.de.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb] March 20, 2006, at 11:08 PM
by --
Changed line 203 from:
Create /etc/shadow, and set the root password so you can get in when you SSH into it after reboot, and exit the environment: to:
Create /etc/shadow with: Changed lines 207-208 from:
pwconv passwd to:
touch /etc/shadow Changed lines 210-213 from:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: to:
and set the root password so you can get in when you SSH into it after reboot, and exit the environment: Changed lines 214-216 from:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst to:
pwconv passwd Changed lines 219-221 from:
Make the external drive with Debian on it your boot device: to:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Unmount your filesystems: Changed lines 225-227 from:
turnup disk /dev/sda1 -t ext3 to:
umount /mnt/debinst/proc killall syslogd anacron umount /mnt/debinst Changed lines 231-233 from:
Reboot into Debian. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): to:
Make the external drive with Debian on it your boot device: Changed lines 235-236 from:
apt-get install locales dpkg-reconfigure locales to:
turnup disk /dev/sda1 -t ext3 Added lines 239-249:
Reboot into Debian. To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) apt-get install locales dpkg-reconfigure locales (:tableend:) March 11, 2006, at 11:46 AM
by -- LEDs working!
Changed line 248 from:
This binary seems to be non-functional at the moment (mar 5 2006). to:
This binary seems to be non-functional at the moment (mar 5 2006). It worked for me after a reboot (mar 10 2006). March 09, 2006, at 12:46 PM
by --
Changed line 314 from:
nslu2-utils is not in the stable feed, so get it directly from the pool: to:
Make sure you install udev: Changed lines 316-317 from:
wget http://ftp.debian.org/debian/pool/main/n/nslu2-utils/nslu2-utils_0.10-3_arm.deb dpkg -i nslu2-utils_0.10-3_arm.deb to:
apt-get install udev Changed lines 319-321 from:
Replace modutils with module-init-tools (being in the chroot) : (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) to:
nslu2-utils is not in the stable feed, so get it directly from the pool: Changed lines 321-323 from:
dpkg -P modutils rm /etc/rcS.d/S20modutils apt-get install module-init-tools to:
wget http://ftp.debian.org/debian/pool/main/n/nslu2-utils/nslu2-utils_0.10-3_arm.deb dpkg -i nslu2-utils_0.10-3_arm.deb Added lines 324-332:
Replace modutils with module-init-tools (being in the chroot) : (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) dpkg -P modutils rm /etc/rcS.d/S20modutils apt-get install module-init-tools March 09, 2006, at 12:01 PM
by --
Changed lines 307-309 from:
Replace "openssh-server" with "ssh". nslu2-utils is not in the stable feed, so get it directly from the pool: to:
Don't forget to add the following to /etc/apt/sources.list: Changed lines 309-310 from:
wget http://ftp.debian.org/debian/pool/main/n/nslu2-utils/nslu2-utils_0.10-3_arm.deb dpkg -i nslu2-utils_0.10-3_arm.deb to:
deb http://security.debian.org/ sarge/updates main Changed lines 312-314 from:
Replace modutils with module-init-tools (being in the chroot) : (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) to:
Replace "openssh-server" with "ssh". nslu2-utils is not in the stable feed, so get it directly from the pool: Changed lines 316-318 from:
dpkg -P modutils rm /etc/rcS.d/S20modutils apt-get install module-init-tools to:
wget http://ftp.debian.org/debian/pool/main/n/nslu2-utils/nslu2-utils_0.10-3_arm.deb dpkg -i nslu2-utils_0.10-3_arm.deb Added lines 319-327:
Replace modutils with module-init-tools (being in the chroot) : (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) dpkg -P modutils rm /etc/rcS.d/S20modutils apt-get install module-init-tools March 09, 2006, at 07:44 AM
by --
Added lines 309-310:
nslu2-utils is not in the stable feed, so get it directly from the pool: [@ Changed lines 313-314 from:
to:
@] March 09, 2006, at 07:43 AM
by --
Added lines 309-311:
wget http://ftp.debian.org/debian/pool/main/n/nslu2-utils/nslu2-utils_0.10-3_arm.deb dpkg -i nslu2-utils_0.10-3_arm.deb March 09, 2006, at 06:26 AM
by --
Added lines 307-308:
Replace "openssh-server" with "ssh". March 07, 2006, at 01:00 PM
by -- Added note about finding out the Slugs IP-address
Added line 4:
Changed lines 11-14 from:
Note The first set of instructions on this page are relevant to the unstable ("Sid") Debian distribution. For the stable Debian distribution, see the last part of this page. Please do not get the two sets of instructions mixed up. to:
Read first
March 05, 2006, at 11:15 AM
by -- confirm actuality
Changed line 245 from:
This binary seems to be non-functional at the moment (mar 9 2006). to:
This binary seems to be non-functional at the moment (mar 5 2006). March 05, 2006, at 11:14 AM
by -- confirm actuality
Changed line 245 from:
This binary seems to be non-functional at the moment (feb 9 2006). to:
This binary seems to be non-functional at the moment (mar 9 2006). March 04, 2006, at 10:26 PM
by -- mention root:opeNSLUg
Changed lines 331-332 from:
and then when the system boots up with new Slugos firmware update the Debian kernel and reboot into Debian : to:
Note that the account is March 04, 2006, at 10:19 PM
by -- rm /mnt/debinst/.recovery isn\'t required any more
Deleted line 336:
March 04, 2006, at 10:16 PM
by -- .recovery doesn\'t work
Changed lines 320-321 from:
If you prefer to remain seated while upgrading then it is probably best not to use to:
If you prefer to remain seated while upgrading then it is probably best not to use Changed lines 324-327 from:
to:
Changed lines 331-332 from:
then once the system boots up in Slugos to:
and then when the system boots up with new Slugos firmware update the Debian kernel and reboot into Debian : Changed lines 335-336 from:
to:
Changed lines 337-339 from:
to:
Deleted lines 342-353:
and then when the system boots up with new Slugos firmware update the Debian kernel and reboot into Debian : (:table border=0 width=80% bgcolor=#eeffee:)
(:cell:)
March 01, 2006, at 09:12 PM
by --
Added lines 297-298:
(:cellnr:) udev (:cell align=left:) hotplug / udev filesystem February 26, 2006, at 01:22 PM
by --
Added line 331:
February 22, 2006, at 07:13 PM
by --
Changed line 332 from:
to:
February 22, 2006, at 07:12 PM
by --
Added line 333:
February 16, 2006, at 09:54 PM
by -- Added fdisk instructions
Changed lines 19-21 from:
Setup the filesystem and swap: to:
Partition your harddisk if you haven't done it yet Changed lines 25-28 from:
mke2fs -j /dev/sda1 # ext3 is a safe choice mkswap /dev/sda2 sync; sync; sync swapon /dev/sda2 to:
fdisk /dev/sda n #(add new partition) p #(primary) 1 #(1st partition) 1 #(start sector) +3G #(end sector/partition size; this adds a partion of 3GB size which will be mounted as /) n p 2 #(2nd partition) 1 +512M #(our swap partition (512MB should be enough)) w #(write partition table) q #(quits fdisk) Changed lines 40-41 from:
Mount the harddrives filesystem: to:
Adjust the partition size to your needs. You might have to reboot. Setup the filesystem and swap: Changed lines 46-49 from:
mkdir /mnt/debinst mount /dev/sda1 /mnt/debinst mkdir /mnt/debinst/work cd /mnt/debinst/work to:
mke2fs -j /dev/sda1 # ext3 is a safe choice mkswap /dev/sda2 sync; sync; sync swapon /dev/sda2 Changed line 53 from:
Grab the debootstrap .udeb from a debian mirror: to:
Mount the harddrives filesystem: Changed lines 57-60 from:
wget http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb to:
mkdir /mnt/debinst mount /dev/sda1 /mnt/debinst mkdir /mnt/debinst/work cd /mnt/debinst/work Changed line 64 from:
Extract the debrootstrap udeb: to:
Grab the debootstrap .udeb from a debian mirror: Changed lines 68-69 from:
ar -x debootstrap-udeb_0.3.3_arm.udeb zcat data.tar.gz | tar xv to:
wget http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb Changed line 72 from:
Run debrootstrap with your choice of debian distro and mirror: to:
Extract the debrootstrap udeb: Changed lines 76-77 from:
export DEBOOTSTRAP_DIR=/mnt/debinst/work/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/ to:
ar -x debootstrap-udeb_0.3.3_arm.udeb zcat data.tar.gz | tar xv Changed line 81 from:
Copy in some important configuration files: to:
Run debrootstrap with your choice of debian distro and mirror: Changed lines 85-88 from:
cd .. cp /etc/resolv.conf etc/resolv.conf cp /etc/hosts etc/hosts cp /etc/hostname etc/hostname to:
export DEBOOTSTRAP_DIR=/mnt/debinst/work/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/ Changed line 90 from:
Copy in the kernel modules: to:
Copy in some important configuration files: Changed lines 94-97 from:
cp -Ra /lib/modules/* lib/modules to:
cd .. cp /etc/resolv.conf etc/resolv.conf cp /etc/hosts etc/hosts cp /etc/hostname etc/hostname Changed line 101 from:
Mount the proc filesystem: to:
Copy in the kernel modules: Changed line 105 from:
mount -t proc proc /mnt/debinst/proc to:
cp -Ra /lib/modules/* lib/modules Changed line 109 from:
Chroot into your new Debian environment: to:
Mount the proc filesystem: Changed lines 113-114 from:
cd / chroot /mnt/debinst to:
mount -t proc proc /mnt/debinst/proc Changed line 117 from:
Put a working fstab file into place (you may need to tweak this config and add extra partitions depending on your partition layout): to:
Chroot into your new Debian environment: Changed lines 121-124 from:
cat > /etc/fstab /dev/sda1 / ext3 defaults 1 1 /dev/sda2 swap swap defaults 0 0 proc /proc proc defaults 0 0 to:
cd / chroot /mnt/debinst Changed lines 125-127 from:
followed by a ^D (control-D) to get out of cat. Edit /etc/inittab to disable the tty[1-6] entries and add the following serial console entry: to:
Put a working fstab file into place (you may need to tweak this config and add extra partitions depending on your partition layout): Changed lines 130-133 from:
S0:2345:respawn:/sbin/getty 115200 ttyS0 to:
cat > /etc/fstab /dev/sda1 / ext3 defaults 1 1 /dev/sda2 swap swap defaults 0 0 proc /proc proc defaults 0 0 Changed lines 136-138 from:
Edit /etc/network/interfaces. to:
followed by a ^D (control-D) to get out of cat. Edit /etc/inittab to disable the tty[1-6] entries and add the following serial console entry: Added lines 142-150:
S0:2345:respawn:/sbin/getty 115200 ttyS0 @] (:tableend:) Edit /etc/network/interfaces. February 11, 2006, at 03:56 PM
by --
Changed line 226 from:
(If you installed nslu2-utils before, this will replace the binaries with the scripts used during boot from flash) to:
(You have to February 11, 2006, at 01:49 AM
by -- added reboot after leds/beep copy workaround
Changed lines 236-238 from:
to:
The leds should be operating as expected after rebooting the slug. February 09, 2006, at 05:22 PM
by --
Changed lines 221-222 from:
The status led will continue to flash amber. There is a nslu2-tools debian package under development that will contain a leds binary that will switch it back to green. to:
The status led will continue to flash amber. There is a nslu2-tools debian package under development that will contain a leds binary that will switch it back to green. Changed lines 225-228 from:
If you are in a hurry then you can find the support files in Kernel modules to:
To use the leds anyway, execute the following commands: (If you installed nslu2-utils before, this will replace the binaries with the scripts used during boot from flash) Changed lines 229-234 from:
to:
cp /initrd/sbin/leds /usr/sbin/leds cp /initrd/etc/default/functions /etc/default/functions cp /initrd/etc/init.d/zleds /etc/init.d/zleds cp /initrd/bin/beep /bin/beep Added lines 236-242:
Kernel modules February 09, 2006, at 04:24 PM
by -- Changed instructions to make it cleaner
Changed lines 282-283 from:
If you prefer to remain seated while upgrading then it is probably best not to use to:
If you prefer to remain seated while upgrading then it is probably best not to use Changed line 286 from:
to:
February 06, 2006, at 12:22 PM
by --
Changed lines 282-283 from:
It is probably best not to use to:
If you prefer to remain seated while upgrading then it is probably best not to use February 06, 2006, at 12:20 PM
by -- added an upgrade firmware howto (as well as tip on how to use the leds and buzzer)
Changed lines 8-9 from:
to:
Changed lines 221-222 from:
The status led will continue to flash amber. There is a nslu2-tools debian package under development that will contain a leds binary that will switch it back to green. to:
The status led will continue to flash amber. There is a nslu2-tools debian package under development that will contain a leds binary that will switch it back to green.
Added lines 276-310:
Upgrade DebianSlug to newer firmwareBETA INSTRUCTIONS!
(:table border=0 width=80% bgcolor=#eeffee:)
(:cell:)
then once the system boots up in Slugos (:table border=0 width=80% bgcolor=#eeffee:)
(:cell:)
and then when the system boots up with new Slugos firmware update the Debian kernel and reboot into Debian : (:table border=0 width=80% bgcolor=#eeffee:)
(:cell:)
February 01, 2006, at 08:23 AM
by -- sorry, last change not necessary
Deleted line 80:
mkdir -p lib/modules February 01, 2006, at 08:08 AM
by -- lib/modules didn\'t exist for me.
Added line 81:
mkdir -p lib/modules January 25, 2006, at 02:03 PM
by --
Changed line 216 from:
Add your name to the DebianSlugUsers? list. to:
Add your name to the DebianSlugUsers? list. (And you might wanna rm -rf /work after you've rebooted ;-) January 25, 2006, at 01:07 AM
by -- Added some starting packages in the tips-section
Added line 6:
Changed lines 230-231 from:
Chage / etc/shadow problems to:
.rmrecovery problems Changed lines 235-236 from:
chage: the shadow password file is not present@@ @@chage failed with return code 15, shadow not enabled, password aging cannot be set. Continuing. to:
Changed lines 237-245 from:
when .rmrecovery problems to:
Changed lines 241-258 from:
to:
(:table border=1 cellspacing=0 width=60%:) (:cellnr:) samba (:cell align=left:) SMB File- & Print-server (:cellnr:) less (:cell align=left:) Program for viewing textfiles (:cellnr:) joe (:cell align=left:) Program for editing textfiles (aiming toward less experienced users) (:cellnr:) psmisc (:cell align=left:) contains killall (:cellnr:) apache (:cell align=left:) Apache 1.3x webserver (:cellnr:) libapache-php4 (:cell align=left:) PHP4 for Apache 1.3x (:cellnr:) proftpd (:cell align=left:) FTP Server (:tableend:) January 24, 2006, at 07:15 AM
by -- /usr/SHARE/doc/nslu2-utils
Changed lines 246-247 from:
to:
January 22, 2006, at 06:37 PM
by --
Added line 210:
apt-get install locales January 22, 2006, at 06:33 PM
by --
Added lines 244-246:
Tips
January 22, 2006, at 06:30 PM
by --
Changed lines 164-166 from:
NOTE The following step is deprecated. Install nslu2-utils instead. Update /etc/init.d/checkroot.sh to have it delete /.recovery on each successful boot (look for the line where it deletes /dev/shm/root around line 344, there are two and this is the second) and put it after that line: to:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. Installing openssh-server takes a couple of minutes. Deleted lines 166-172:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. Installing openssh-server takes a couple of minutes. (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) Changed lines 237-240 from:
Debootstrapping SargeReplace modutils with module-init-tools (being in the chroot) : to:
.rmrecovery problems Changed lines 241-245 from:
dpkg -P modutils rm /etc/rcS.d/S20modutils apt-get install module-init-tools to:
Added lines 244-256:
Debootstrapping SargeReplace modutils with module-init-tools (being in the chroot) : (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) dpkg -P modutils rm /etc/rcS.d/S20modutils apt-get install module-init-tools (:tableend:) January 22, 2006, at 06:23 PM
by --
Changed line 173 from:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. to:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. Installing openssh-server takes a couple of minutes. Changed line 180 from:
apt-get install ssh to:
apt-get install openssh-server January 22, 2006, at 05:59 PM
by --
Changed line 165 from:
to:
NOTE The following step is deprecated. Install nslu2-utils instead. Changed line 179 from:
apt-get install anacron popularity-contest to:
apt-get install anacron popularity-contest nslu2-utils January 21, 2006, at 10:14 AM
by -- Added pwconv into the chain of instructions
Changed line 184 from:
Set the root password so you can get in when you SSH into it after reboot, and exit the environment: to:
Create /etc/shadow, and set the root password so you can get in when you SSH into it after reboot, and exit the environment: Added line 188:
pwconv January 20, 2006, at 05:07 PM
by -- Added note about chage/ etc/shadow when apt-getting
Changed lines 236-239 from:
Debootstrapping SargeReplace modutils with module-init-tools (being in the chroot) : to:
Chage / etc/shadow problems Changed lines 240-244 from:
dpkg -P modutils rm /etc/rcS.d/S20modutils apt-get install module-init-tools to:
chage: the shadow password file is not present@@ @@chage failed with return code 15, shadow not enabled, password aging cannot be set. Continuing. Changed lines 243-257 from:
to:
when
Debootstrapping SargeReplace modutils with module-init-tools (being in the chroot) : (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) dpkg -P modutils rm /etc/rcS.d/S20modutils apt-get install module-init-tools (:tableend:) January 20, 2006, at 04:29 AM
by --
Added line 244:
rm /etc/rcS.d/S20modutils January 18, 2006, at 06:01 AM
by --
Changed line 229 from:
Currently there is no debian-specific feed, so you'll have to build your own kernel using the MasterMakefile (if you haven't already) and copy the relevant ipk files to your slug. You can find the kernel modules in to:
Currently there is no debian-specific feed, so you'll have to build your own kernel using the MasterMakefile (if you haven't already) and copy the relevant ipk files to your slug. You can find the kernel modules in January 18, 2006, at 04:51 AM
by -- some more details on installing kernel modules
Changed lines 225-232 from:
Debootstrapping SargeReplace modutils with module-init-tools (being in the chroot) : to:
Status leds Kernel modules Changed lines 232-235 from:
dpkg -P modutils apt-get install module-init-tools to:
Changed lines 234-247 from:
to:
This will report an irrelevent dependancy error on 'update-modules', the kernel module should be ready to modprobe etc.
Debootstrapping SargeReplace modutils with module-init-tools (being in the chroot) : (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) dpkg -P modutils apt-get install module-init-tools (:tableend:) January 16, 2006, at 04:40 PM
by -- gateway more likely to be *.254 rather than *.1
Changed lines 159-160 from:
gateway 192.168.1.1 to:
gateway 192.168.1.254 January 16, 2006, at 04:13 AM
by -- Formatting
Changed lines 3-4 from:
The first set of instructions on this page are relevant to the unstable ("Sid") Debian distribution. For the stable Debian distribution, see the last part of this page. Please do not get the two sets of instructions mixed up. to:
ContentsNote The first set of instructions on this page are relevant to the unstable ("Sid") Debian distribution. For the stable Debian distribution, see the last part of this page. Please do not get the two sets of instructions mixed up. Changed lines 223-228 from:
NOTE: The status led will continue to flash amber. There is a nslu2-tools debian package under development that will contain a leds binary that will switch it back to green. NOTE2?: You might want to install additional modules. Currently there is no debian-specific feed, so you'll have to build your own kernel and copy the relevant ipk files to your slug and install them locally using dpkg. dpkg is able to handle .ipk files. to:
Notes
January 16, 2006, at 01:46 AM
by --
Changed line 158 from:
Update /etc/init.d/checkroot.sh to have it delete /.recovery on each successful boot (look for the line where it deletes /dev/shm/root (around line 344, there are two and this is the second) and put it after that line: to:
Update /etc/init.d/checkroot.sh to have it delete /.recovery on each successful boot (look for the line where it deletes /dev/shm/root around line 344, there are two and this is the second) and put it after that line: January 16, 2006, at 01:44 AM
by -- the second, not the first rm -f /dev/shm/root needs to be followed by rm /.recovery
Changed line 158 from:
Update /etc/init.d/checkroot.sh to have it delete /.recovery on each successful boot (look for the line where it deletes /dev/shm/root (around line 150) and put it after that line: to:
Update /etc/init.d/checkroot.sh to have it delete /.recovery on each successful boot (look for the line where it deletes /dev/shm/root (around line 344, there are two and this is the second) and put it after that line: Changed lines 161-164 from:
rm -f /dev/shm/root # this line is already existing; next line needs to be added rm -f /.recovery to:
January 15, 2006, at 11:47 AM
by -- anacron needs to be killed to umount /mnt/debinst
Changed line 193 from:
killall syslogd to:
killall syslogd anacron January 15, 2006, at 09:57 AM
by -- added dpkg info
Changed lines 103-104 from:
followed by a ^D (control-D) to get out of cat. to:
followed by a ^D (control-D) to get out of cat. Changed lines 186-187 from:
type ^D (control-D) to drop out of the chroot done a lot earlier. to:
type ^D (control-D) or exit to drop out of the chroot done a lot earlier. Added lines 221-222:
January 15, 2006, at 04:31 AM
by -- exit followed by ctrl-d is two exits
Deleted line 182:
exit January 14, 2006, at 01:23 PM
by --
Added lines 219-221:
NOTE: The status led will continue to flash amber. There is a nslu2-tools debian package under development that will contain a leds binary that will switch it back to green. January 14, 2006, at 01:16 PM
by -- Added blurb about locales
Changed lines 209-213 from:
Add your name to the DebianSlugUsers? list. Debootstrapping SargeReplace modutils with module-init-tools (being in the chroot) : to:
To get rid of the annoying LC_ALL, LANG etc. errors when running perl (and other apps): Changed lines 213-214 from:
dpkg -P modutils apt-get install module-init-tools to:
dpkg-reconfigure locales Added lines 217-229:
Add your name to the DebianSlugUsers? list. Debootstrapping SargeReplace modutils with module-init-tools (being in the chroot) : (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) dpkg -P modutils apt-get install module-init-tools (:tableend:) January 14, 2006, at 08:44 AM
by -- changed order, first reboot to verify work; then add name to users list
Added lines 207-208:
Reboot into Debian. Deleted lines 210-211:
Reboot into Debian. January 14, 2006, at 08:38 AM
by -- added example for static IP
Changed lines 113-114 from:
Edit /etc/network/interfaces and use the following as an example: to:
Edit /etc/network/interfaces. Changed line 133 from:
Update /etc/init.d/checkroot.sh to have it delete /.recovery on each successful boot (look for the line where it deletes /dev/shm/root (around line 150) and put it after that line: to:
Instead if you want to use a static address (highly recommended) use the following as an example (replacing the address and gateway with the address you want to use). Changed lines 137-138 from:
rm -f /dev/shm/root # this line is already existing; next line needs to be added rm -f /.recovery to:
auto lo iface lo inet loopback
auto eth0 iface eth0 inet static pre-up modprobe -f ixp400
pre-up modprobe -f ixp400_eth
address 192.168.1.77
netmask 255.255.255.0
gateway 192.168.1.1
Changed lines 156-158 from:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. to:
Update /etc/init.d/checkroot.sh to have it delete /.recovery on each successful boot (look for the line where it deletes /dev/shm/root (around line 150) and put it after that line: Changed lines 162-165 from:
apt-get update apt-get dist-upgrade apt-get install anacron popularity-contest apt-get install ssh to:
rm -f /dev/shm/root # this line is already existing; next line needs to be added rm -f /.recovery Changed line 167 from:
Set the root password so you can get in when you SSH into it after reboot, and exit the environment: to:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. Changed lines 171-172 from:
passwd exit to:
apt-get update apt-get dist-upgrade apt-get install anacron popularity-contest apt-get install ssh Changed lines 178-180 from:
type ^D (control-D) to drop out of the chroot done a lot earlier. Unmount your filesystems: to:
Set the root password so you can get in when you SSH into it after reboot, and exit the environment: Changed lines 182-184 from:
umount /mnt/debinst/proc killall syslogd umount /mnt/debinst to:
passwd exit Changed lines 187-189 from:
Make the external drive with Debian on it your boot device: to:
type ^D (control-D) to drop out of the chroot done a lot earlier. Unmount your filesystems: Changed lines 193-195 from:
turnup disk /dev/sda1 -t ext3 to:
umount /mnt/debinst/proc killall syslogd umount /mnt/debinst Added lines 199-206:
Make the external drive with Debian on it your boot device: (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) turnup disk /dev/sda1 -t ext3 (:tableend:) January 13, 2006, at 11:49 AM
by -- added killall syslogd to the instructions; added ^D to drop from chroot, added ^D to close cat >/etc/fstab
Changed lines 103-104 from:
to:
followed by a ^D (control-D) to get out of cat. Added lines 161-162:
type ^D (control-D) to drop out of the chroot done a lot earlier. Added line 168:
killall syslogd Deleted lines 172-173:
Note: I had to do a January 13, 2006, at 11:37 AM
by -- added request to say yes on enabling popularity-contest
Changed line 140 from:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. to:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. In order to promote nslu2 and arm you are kindly requested to say "yes" to enabling popularity-contest. January 13, 2006, at 11:29 AM
by -- some small correction for /etc/init.d/checkroot.sh
Changed line 131 from:
Update checkroot.sh to have it delete /.recovery on each successful boot (look for the line where it deletes /dev/shm/root and put it after that in /mnt/debinst/etc/init.d/checkroot.sh): to:
Update /etc/init.d/checkroot.sh to have it delete /.recovery on each successful boot (look for the line where it deletes /dev/shm/root (around line 150) and put it after that line: Changed line 135 from:
rm -f /dev/shm/root to:
rm -f /dev/shm/root # this line is already existing; next line needs to be added January 13, 2006, at 11:18 AM
by -- added initial password
Added lines 7-8:
Boot your just reflashed image and log in using ssh as root. Note that the initial password is opeNSLUg (and not e.g. something like debiaNSLUg). Actually the bootstrap image is a little endian openslug image. January 12, 2006, at 08:05 AM
by -- corrected typo, added note about problem umounting target disk
Changed line 163 from:
umount /mnt to:
umount /mnt/debinst Added lines 167-168:
Note: I had to do a January 08, 2006, at 12:50 AM
by --
Deleted line 98:
usbfs /proc/bus/usb usbfs defaults 0 0 January 08, 2006, at 12:36 AM
by --
Changed line 51 from:
./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/debian/ to:
./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/ January 08, 2006, at 12:11 AM
by --
Changed line 130 from:
to:
Update checkroot.sh to have it delete /.recovery on each successful boot (look for the line where it deletes /dev/shm/root and put it after that in /mnt/debinst/etc/init.d/checkroot.sh): January 08, 2006, at 12:11 AM
by --
Changed lines 1-4 from:
Now you have a little endian DebianSlug image that can be used to bootstrap the offical Debian arm port. Debian Bootstrapto:
Now you have a little endian DebianSlug image that can be used to bootstrap the offical Debian arm port. Here's how to do it. The first set of instructions on this page are relevant to the unstable ("Sid") Debian distribution. For the stable Debian distribution, see the last part of this page. Please do not get the two sets of instructions mixed up. Debian "Sid" (unstable) BootstrapJanuary 08, 2006, at 12:04 AM
by --
Changed line 137 from:
Update the Debian distro and install cron, gpg, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. to:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. Changed line 143 from:
apt-get install anacron popularity-contest gpg to:
apt-get install anacron popularity-contest Changed line 180 from:
Replace modutils with module-init-tool (being in the chroot) : to:
Replace modutils with module-init-tools (being in the chroot) : Changed line 185 from:
apt-get install module-init-tool to:
apt-get install module-init-tools January 08, 2006, at 12:02 AM
by --
Changed line 35 from:
Extract the debrootstrap udeb to:
Extract the debrootstrap udeb: Changed line 44 from:
Run debrootstrap with your choice of debian distro and mirror. to:
Run debrootstrap with your choice of debian distro and mirror: Added line 53:
Copy in some important configuration files: Changed line 64 from:
Copy the kernel modules to:
Copy in the kernel modules: Changed line 72 from:
Mount the proc filesystem to:
Mount the proc filesystem: Changed line 80 from:
Chroot into your new Debian environment to:
Chroot into your new Debian environment: Changed line 89 from:
Put a working fstab file into place. You may need to tweak this config and add extra partitions depending on your partition layout. to:
Put a working fstab file into place (you may need to tweak this config and add extra partitions depending on your partition layout): Changed line 109 from:
Edit /etc/network/interfaces and use the following as an example. to:
Edit /etc/network/interfaces and use the following as an example: Deleted lines 121-125:
Added line 123:
pre-up modprobe -f ixp400 Deleted line 124:
pre-up modprobe -f ixp400 Changed line 128 from:
to:
Changed line 137 from:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. The gpg line adds the 2006 repository key to your keychain so that packages do not give an error about verification on install. to:
Update the Debian distro and install cron, gpg, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. Changed line 148 from:
Set the root password so you can get in when you SSH into it after reboot, and exit the environment. to:
Set the root password so you can get in when you SSH into it after reboot, and exit the environment: Changed line 157 from:
Unmount your filesystems. to:
Unmount your filesystems: Changed line 166 from:
Make the external drive with Debian on it your boot device. to:
Make the external drive with Debian on it your boot device: Changed line 180 from:
to:
Replace modutils with module-init-tool (being in the chroot) : January 07, 2006, at 11:57 PM
by --
Changed line 49 from:
./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/ to:
./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/debian/ Added line 56:
cd .. Deleted line 59:
cp /etc/defaultdomain etc/defaultdomain Changed line 63 from:
Mount the proc filesystem to:
Copy the kernel modules Changed line 67 from:
mount -t proc proc /mnt/debinst/proc to:
cp -Ra /lib/modules/* lib/modules Changed line 71 from:
Chroot into your new Debian environment to:
Mount the proc filesystem Changed lines 75-76 from:
cd / chroot /mnt/debinst to:
mount -t proc proc /mnt/debinst/proc Changed line 79 from:
Put a working fstab file into place. You may need to tweak this config and add extra partitions depending on your partition layout. to:
Chroot into your new Debian environment Changed lines 83-87 from:
cat > /etc/fstab /dev/sda1 / ext3 defaults 1 1 /dev/sda2 swap swap defaults 0 0 proc /proc proc defaults 0 0 usbfs /proc/bus/usb usbfs defaults 0 0 to:
cd / chroot /mnt/debinst Changed line 88 from:
Edit /etc/inittab to disable the tty[1-6] entries and add the following serial console entry: to:
Put a working fstab file into place. You may need to tweak this config and add extra partitions depending on your partition layout. Changed lines 92-96 from:
S0:2345:respawn:/sbin/getty 115200 ttyS0 to:
cat > /etc/fstab /dev/sda1 / ext3 defaults 1 1 /dev/sda2 swap swap defaults 0 0 proc /proc proc defaults 0 0 usbfs /proc/bus/usb usbfs defaults 0 0 Changed line 100 from:
Edit /etc/network/interfaces and use the following as an example. to:
Edit /etc/inittab to disable the tty[1-6] entries and add the following serial console entry: Added lines 104-111:
S0:2345:respawn:/sbin/getty 115200 ttyS0 @] (:tableend:) Edit /etc/network/interfaces and use the following as an example. (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) [@ Changed line 132 from:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. The gpg line adds the 2006 repository key to your keychain so that packages do not give an error about verification on install. to:
Changed lines 136-141 from:
apt-get update gpg --keyserver subkeys.pgp.net --recv-keys 084750FC01A6D388A643D869010908312D230C5F ; gpg --export 084750FC01A6D388A643D869010908312D230C5F | apt-key add -; apt-get update apt-get dist-upgrade apt-get install anacron popularity-contest gpg apt-get install ssh to:
rm -f /dev/shm/root rm -f /.recovery Changed line 141 from:
Set the root password so you can get in when you SSH into it after reboot, and exit the environment. to:
Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. The gpg line adds the 2006 repository key to your keychain so that packages do not give an error about verification on install. Changed lines 145-146 from:
passwd exit to:
apt-get update apt-get dist-upgrade apt-get install anacron popularity-contest gpg apt-get install ssh Changed line 152 from:
Unmount your filesystems. to:
Set the root password so you can get in when you SSH into it after reboot, and exit the environment. Changed lines 156-157 from:
umount /mnt/debinst/proc umount /mnt to:
passwd exit Changed lines 161-163 from:
Set the sytem clock to the correct time. example: January 4th 2006, 14:55, type to:
Unmount your filesystems. Changed lines 165-166 from:
date 010414552006 to:
umount /mnt/debinst/proc umount /mnt Changed lines 180-181 from:
[jeanfabrice's note] Debootstrapping a Sarge distro, I also had to :
to:
Reboot into Debian. Debootstrapping Sarge
Changed lines 188-189 from:
cp -Ra /lib/modules/* /mnt/debinst/lib/modules to:
dpkg -P modutils apt-get install module-init-tool Deleted lines 192-211:
(:table border=0 width=80% bgcolor=#eeffee:) (:cell:) dpkg -P modutils apt-get install module-init-tool (:tableend:)
(:table border=0 width=80% bgcolor=#eeffee:) (:cell:) rm -f /dev/shm/root rm -f /.recovery : exit 0 (:tableend:) [end of jeanfabrice's note] January 07, 2006, at 11:25 PM
by --
Changed lines 1-2 from:
Now you have a little endian OpenSlug image that can be used to bootstrap the offical Debian arm port. to:
Now you have a little endian DebianSlug image that can be used to bootstrap the offical Debian arm port. January 07, 2006, at 11:24 PM
by --
Changed line 6 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 17 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 28 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 36 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 45 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 53 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 64 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 72 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 81 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 93 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 101 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 125 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 138 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 147 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 158 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 166 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 177 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 185 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) Changed line 194 from:
(:table border=0 width=100% bgcolor=#eeffee:) to:
(:table border=0 width=80% bgcolor=#eeffee:) January 07, 2006, at 11:23 PM
by --
Added lines 1-203:
Now you have a little endian OpenSlug image that can be used to bootstrap the offical Debian arm port. Debian BootstrapSetup the filesystem and swap: (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) mke2fs -j /dev/sda1 # ext3 is a safe choice mkswap /dev/sda2 sync; sync; sync swapon /dev/sda2 (:tableend:) Mount the harddrives filesystem: (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) mkdir /mnt/debinst mount /dev/sda1 /mnt/debinst mkdir /mnt/debinst/work cd /mnt/debinst/work (:tableend:) Grab the debootstrap .udeb from a debian mirror: (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) wget http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3_arm.udeb (:tableend:) Extract the debrootstrap udeb (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) ar -x debootstrap-udeb_0.3.3_arm.udeb zcat data.tar.gz | tar xv (:tableend:) Run debrootstrap with your choice of debian distro and mirror. (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) export DEBOOTSTRAP_DIR=/mnt/debinst/work/usr/lib/debootstrap ./usr/sbin/debootstrap --arch arm sid /mnt/debinst http://ftp.debian.org/ (:tableend:) (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) cp /etc/resolv.conf etc/resolv.conf cp /etc/hosts etc/hosts cp /etc/hostname etc/hostname cp /etc/defaultdomain etc/defaultdomain (:tableend:) Mount the proc filesystem (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) mount -t proc proc /mnt/debinst/proc (:tableend:) Chroot into your new Debian environment (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) cd / chroot /mnt/debinst (:tableend:) Put a working fstab file into place. You may need to tweak this config and add extra partitions depending on your partition layout. (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) cat > /etc/fstab /dev/sda1 / ext3 defaults 1 1 /dev/sda2 swap swap defaults 0 0 proc /proc proc defaults 0 0 usbfs /proc/bus/usb usbfs defaults 0 0 (:tableend:) Edit /etc/inittab to disable the tty[1-6] entries and add the following serial console entry: (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) S0:2345:respawn:/sbin/getty 115200 ttyS0 (:tableend:) Edit /etc/network/interfaces and use the following as an example. (:table border=0 width=100% bgcolor=#eeffee:) (:cell:)
# /etc/network/interfaces
# configuration file for ifup(8), ifdown(8)
#
# The loopback interface
auto lo
iface lo inet loopback
#
# The NSLU2 built-in ethernet
auto eth0
# Automatically generated from /etc/default/sysconf
# The pre-up option must always be supplied, regardless
# of configuration, to set the hardware correctly.
# Severe network problems may result if this option is
# removed.
iface eth0 inet dhcp
pre-up modprobe -f ixp400_eth
pre-up modprobe -f ixp400
(:tableend:) Update the Debian distro and install cron, ssh and popularity-contest. Popularity-contest reports what architecture and packages you are using back to the Debian community anonymously to help in deciding where to put developer effort. The gpg line adds the 2006 repository key to your keychain so that packages do not give an error about verification on install. (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) apt-get update gpg --keyserver subkeys.pgp.net --recv-keys 084750FC01A6D388A643D869010908312D230C5F ; gpg --export 084750FC01A6D388A643D869010908312D230C5F | apt-key add -; apt-get update apt-get dist-upgrade apt-get install anacron popularity-contest gpg apt-get install ssh (:tableend:) Set the root password so you can get in when you SSH into it after reboot, and exit the environment. (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) passwd exit (:tableend:) Unmount your filesystems. (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) umount /mnt/debinst/proc umount /mnt (:tableend:) Set the sytem clock to the correct time. example: January 4th 2006, 14:55, type (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) date 010414552006 (:tableend:) Make the external drive with Debian on it your boot device. (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) turnup disk /dev/sda1 -t ext3 (:tableend:) Add your name to the DebianSlugUsers? list. [jeanfabrice's note] Debootstrapping a Sarge distro, I also had to :
(:table border=0 width=100% bgcolor=#eeffee:) (:cell:) cp -Ra /lib/modules/* /mnt/debinst/lib/modules (:tableend:)
(:table border=0 width=100% bgcolor=#eeffee:) (:cell:) dpkg -P modutils apt-get install module-init-tool (:tableend:)
(:table border=0 width=100% bgcolor=#eeffee:) (:cell:) rm -f /dev/shm/root rm -f /.recovery : exit 0 (:tableend:) [end of jeanfabrice's note]
view ·
edit ·
print ·
history ·
Last edited by fcarolo.
Based on work by fcarolo, Robert Nocera, Chris Emerson, Sinclair, Peter Enzerink, Steve G, Eltator, David Barroso, Petr Jakes, madbull, akent, drone, TylerOderkirk, henning, max, Dave Hrynkiw, shiyeeshiyeedk, Marc-André, ST, Tom Gross, es, jamesphasespacecom, Lionel, Rob Lockhart, emm_is, ediaz, Brian, 1234, jackson, Maarten Ditzel, Don Lubinski, PatrickSchneider, Peter Hartzler, jr, Zak, Hartmut Goebel, Ryan Cresawn, mayhan, Jim Drash, rwhitby, hmn, Paul, Sinclair73, jens, Patrick Schneider, Miro Dietiker, bwalle, Angua, joschkopf, SimonJosefsson, repvik, ajday, and eFfeM. Originally by rwhitby. Page last modified on November 19, 2007, at 04:36 PM
|