* [gentoo-embedded] Replacing glibc with uclibc on live system
@ 2005-08-27 9:27 aeriksson
2005-08-27 18:42 ` Mike Frysinger
0 siblings, 1 reply; 2+ messages in thread
From: aeriksson @ 2005-08-27 9:27 UTC (permalink / raw
To: gentoo-embedded
Hi,
My old Pentium with 32MB ram used as a firewall really dislikes upgrading
glibc. I'm considering replacing it wit uclibc. I've tinkered a bit with uclibc
for a standalone non-gentoo env, but I'd like to know what the right procedures
is for doing this on a live gentoo system. Any gotchas?
TIA.
/Anders
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-embedded] Replacing glibc with uclibc on live system
2005-08-27 9:27 [gentoo-embedded] Replacing glibc with uclibc on live system aeriksson
@ 2005-08-27 18:42 ` Mike Frysinger
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2005-08-27 18:42 UTC (permalink / raw
To: gentoo-embedded
On Saturday 27 August 2005 05:27 am, aeriksson@fastmail.fm wrote:
> My old Pentium with 32MB ram used as a firewall really dislikes upgrading
> glibc. I'm considering replacing it wit uclibc. I've tinkered a bit with
> uclibc for a standalone non-gentoo env, but I'd like to know what the right
> procedures is for doing this on a live gentoo system. Any gotchas?
ive done this once myself ... your best bet is:
- install busybox into the glibc system (if you dont already have it)
- build up a uClibc chroot somewhere so it has everything you need
- tar up the uClibc chroot and move it to your firewall / dir
- login to the firewall machine
- run `bb`
- run something like `rm -rf /bin /etc /lib* /opt /sbin /usr /var`
- unpack the uClibc chroot tar into / (make sure to use the p option)
- trying starting either dropbear or sshd
- make sure you can login to the machine before exiting your bb shell
of course you may want to tweak certain details and YMMV :P
-mike
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-27 18:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-27 9:27 [gentoo-embedded] Replacing glibc with uclibc on live system aeriksson
2005-08-27 18:42 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox