mshapf
Junior Member
Posts: 74
|
Post by mshapf on Sept 6, 2006 4:15:22 GMT 7
|
|
|
Post by sebiseb on Sept 6, 2006 4:39:04 GMT 7
That's realy interesting !!
If I really understood the described procedure in the howto, it should be possible to setup any kind of server (i.e. nfs server) inside the chrooted debian ??
|
|
mshapf
Junior Member
Posts: 74
|
Post by mshapf on Sept 6, 2006 13:45:05 GMT 7
Yeah, it should be possible to install NFS or whatever else you like. You might need to install some more utilities/deb-packages in the chroot as well as mounting /proc etc. Check out a chroot howto.
Best, Mikkel
|
|
|
Post by N2100Owner on Sept 6, 2006 14:16:52 GMT 7
|
|
|
Post by gunny2k6 on Sept 6, 2006 14:27:25 GMT 7
i guess its down as i cant get it either
|
|
mshapf
Junior Member
Posts: 74
|
Post by mshapf on Sept 6, 2006 17:15:48 GMT 7
The site has been down for a while. I've tried regulary within the last two weeks witout any success.. As a workaround to get cdebootstrap, you can download the following packages, un-deb them with some Linux RPM/dpkg utility and copy them to the N2100 (I used the directory /raid/tmp/debian_bootstrap_install_environment) debootstrap_0.3.11_arm.deb libdebian-installer4_0.44_arm.deb libdebian-installer-extra4_0.44_arm.deb libc6_2.3.6.ds1-4_arm.deb wget_1.10.2-2_arm.deb zlib1g_1.2.3-13_arm.deb libssl0.9.8_0.9.8b-2_arm.deb libgcc1_4.1.1-11_arm.deb (måske ikke nødvendig) Afterwards the cdebootstrap need some more files, so I just copied away until it worked. (remember, it's just a temporary setup to get cdebootstrap running.) cp -r /bin /raid/tmp/debian_bootstrap_install_environment/. cp -r /sbin /raid/tmp/debian_bootstrap_install_environment/. cp -r /usr/ /raid/tmp/debian_bootstrap_install_environment/. cp -r /etc/ /raid/tmp/debian_bootstrap_install_environment/. Then you can enter the temporary chroot and run cdebootstrap: chroot /raid/tmp/debian_bootstrap_install_environment /usr/bin/cdebootstrap -a arm -f minimal sarge /mnt/debian mirrors.sunsite.dk/mirrors/debian/ Good luck, Mikkel
|
|
|
Post by N2100Owner on Sept 6, 2006 17:36:40 GMT 7
:)What do you mean "un-deb"? I am not familiar with Debian If you could write down the command one by one, that would help a lot of people.
|
|
mshapf
Junior Member
Posts: 74
|
Post by mshapf on Sept 6, 2006 18:39:14 GMT 7
With un-deb i basically just meant to unpack/unzip/extract the files from the .deb archives. On a debian the command would be something like dpkg-deb -x *.deb /raid/tmp/debian_bootstrap_install_environment On other linux distributions...i dont really know. Some RPM or alien utility might do the trick? Try to google on how to extract files from debian packages. That's really all I meant with "un-deb". Remember that you also have the option of installing the ready-made chroot as described in the howto. The file is just around 24 megs. Of course that requires you to have a bit of trust in me as well as in the content of the chroot.... Hope it helps. Otherwise let me know. Best, Mikkel
|
|
mshapf
Junior Member
Posts: 74
|
Post by mshapf on Sept 6, 2006 19:12:16 GMT 7
I've googled a bit to see if any utils exist that can extract files from a deb archive. It seems that the "ar" utility (from GNU binutils) will do the trick.
If you are lucky, the "ar" utility might even be installed on the N2100 (cant check since I'm not at home right now). Otherwise there might be a Windows port of the GNU binutils so you can use the "ar" utility on a Windows platform.
To use the command do like this: "ar -x filename.deb" and afterwards use "tar -xvzf data.tar.gz" to get hold of the files.
However, this is getting somewhat tricky now, going a long way, simply to extract cdebootstrap files (and dependencies)....
Again, hope it helps
Best, Mikkel
|
|
|
Post by N2100Owner on Sept 8, 2006 11:26:43 GMT 7
I tried to install SlimServer, but it seems to be very difficult. Is it possible for you to write up a step by step instruction?
|
|
mshapf
Junior Member
Posts: 74
|
Post by mshapf on Sept 8, 2006 14:05:36 GMT 7
Step-by-step instructions are available on www.onbeat.dk/N2100/HOWTO-InstallSlimserverOnN2100.htmlI guess step 2 is what causes confusion. So I'll try to explain more detailed: Use step 2b) instead of step 2a), meaning that you can simply download the ready-made debian chroot from this address: www.onbeat.dk/N2100/debian_arm_minimal_chroot.tar.gzOnce you've downloaded the file, place it on the N2100, say in the directory /raid. This can be done by first copying the file using ftp or the web-interface etc. Then move the file to /raid with the "mv" command. Then untar (extract) the chroot: tar -xzvf /raid/debian_arm_minimal_chroot.tar.gz Then you should have the directory /raid/debian. Now delete the tar.gz file and enter the chroot: rm /raid/debian_arm_minimal_chroot.tar.gzchroot /raid/debianThe continue from step 3 in the howto. I'll try to update the howto so it's a bit more understandable. Hope this clarifies things a bit? Let me know. Best, Mikkel
|
|
|
Post by N2100Owner on Sept 9, 2006 0:08:00 GMT 7
It would be even better if you can create a module for the SlimServer, then people can just download and install it. ;D
|
|
mshapf
Junior Member
Posts: 74
|
Post by mshapf on Sept 9, 2006 1:13:56 GMT 7
Yeah, I see it would be nice for a lot of people. I might have a look at it, but don't get your hopes up too soon....
Did you get it to work though (N2100owner) ?
M.
|
|
mshapf
Junior Member
Posts: 74
|
Post by mshapf on Sept 9, 2006 18:46:25 GMT 7
Hi guys!! I've updated the HOWTO to include more details. Hopefully it's easier to understand now. I'd appreciate if you send some feedback, if you find anything missing or hard to understand. Indeed all feedback is appreciated, even if you just find the HOWTO useful as it is. (I wonder how many people have actually used the HOWTO?) The location is stil the same: www.onbeat.dk/N2100/HOWTO-InstallSlimserverOnN2100.htmlLet me know how it goes. Best Mikkel
|
|
|
Post by N2100Owner on Sept 9, 2006 22:52:57 GMT 7
I was able to download the debian_arm_minimal_chroot.tar.gz from your site. At the end of section 2b) there was a chroot /raid/debian. Should I exit out of the chroot before going into section 3) ?
Where do I run the apt-get update? in the chroot or somewhere else? If you could include the whole path information such as N2100:/raid/debian/usr/bin# ./apt-get update
I think you have to do N2100:/raid/debian# chroot /raid/debian before you can do apt-get
What to do in "Configuring debconf" dialogbox? Just choose the defaults?
I got the slimserver to run finally.
Great job Mikkel.
|
|