-   Linux From Scratch (
-   -   LFS sytle debian HOWTO (

llmmix 11-06-2005 08:37 PM

LFS style Debian HOWTO
pro: i686-based debian!
con: no more apt, aptitude, but you can use paco( )

i succeed it, and happy, i have been using it.

you have to read/need
2. (==RIP)

NOTE: i have no responsibility for doing this! But you are the best helper for yourself. Don't do this IF you DON'T know what you are doing


1. install minimal debian base system
2. install wget, elinks
3. install Build-essential
4. install gcc into /usr/local through source-compile
5. so do glibc, binutils, gcc, and lfs base components into /usr/local
6. familiarize yourself with kernel compile.
7. install/burn RIP into CD/USB or floppy
8. export PATH=/usr/local/bin:/usr/local/sbin:$PATH
9. export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
10. kernel-compile using newer gcc
11. boot using RIP, change the symbolic links to newer glibc
12. reboot the HDD boot
13. 2/3 utilities will complain like this: " .. while loading *.so.*: no such.."
14. source compile and install glibc, binutils, gcc again into /usr.
15. reboot, and now almost everything should be fine.
16. now you got i686-based linux system.
17. source compile and install Xorg(host.def: #define HasFreetype2 NO), garnome.
18. Done, Enjoy your non-debian linux system. ;)

and one more cheap trick

normally, upgrading latest glibc into /usr is very dangerous,
and system make totally unusable(every command segmentation fault),
but, then reboot with RIP,
change symlink to newer glibc shared libraries in the /lib/tls ,
it save the system again.

All times are GMT -5. The time now is 09:39 PM.