LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices



Reply
 
Search this Thread
Old 11-06-2005, 08:37 PM   #1
llmmix
Member
 
Registered: Jun 2005
Posts: 73

Rep: Reputation: 15
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.

Last edited by llmmix; 11-07-2005 at 06:59 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
debian sarge + lfs + blfs good idea? FireFox8173 Linux From Scratch 3 08-03-2006 09:16 AM
HOWTO configure debian Stimz Linux - Newbie 1 08-20-2005 08:36 AM
Sytle Themes djabbot Mandriva 3 01-12-2005 01:19 PM
LFS install trouble -- using debian sarge as host gremesh Linux From Scratch 1 11-23-2004 07:53 PM
LFS,Gentoo, Slackware, Debian: Whose cuisine reins supreme? orpheus Linux - Software 3 06-24-2003 04:44 PM


All times are GMT -5. The time now is 10:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration