1 |
On Saturday 27 August 2005 05:27 am, aeriksson@××××××××.fm wrote: |
2 |
> My old Pentium with 32MB ram used as a firewall really dislikes upgrading |
3 |
> glibc. I'm considering replacing it wit uclibc. I've tinkered a bit with |
4 |
> uclibc for a standalone non-gentoo env, but I'd like to know what the right |
5 |
> procedures is for doing this on a live gentoo system. Any gotchas? |
6 |
|
7 |
ive done this once myself ... your best bet is: |
8 |
- install busybox into the glibc system (if you dont already have it) |
9 |
- build up a uClibc chroot somewhere so it has everything you need |
10 |
- tar up the uClibc chroot and move it to your firewall / dir |
11 |
- login to the firewall machine |
12 |
- run `bb` |
13 |
- run something like `rm -rf /bin /etc /lib* /opt /sbin /usr /var` |
14 |
- unpack the uClibc chroot tar into / (make sure to use the p option) |
15 |
- trying starting either dropbear or sshd |
16 |
- make sure you can login to the machine before exiting your bb shell |
17 |
|
18 |
of course you may want to tweak certain details and YMMV :P |
19 |
-mike |
20 |
-- |
21 |
gentoo-embedded@g.o mailing list |