LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS sytle debian HOWTO (http://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-sytle-debian-howto-380614/)

llmmix 11-06-2005 07:37 PM

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

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

you have to read/need
1. http://www.linuxfromscratch.org/lfs/view/stable/
2. http://freshmeat.net/projects/recoveryispossible/ (==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


Code:

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 ld-linux.so.2 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
Code:

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 07:08 AM.