Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Linux From Scratch: The Diary of Madness :)
New Posts  All Forums:Forum Nav:

Linux From Scratch: The Diary of Madness :)

post #1 of 21
Thread Starter 
over the next few weeks, i will be playing around with LFS.

there is a lot of things i still don't know about on linux, and a lot of it is its "base" systems, how it is setup and comes together.

gentoo, slackware, arch, etc, all do a good job in showing how it all pieces together and works, but none of them really touch on the actual gears that make it all run in the first place.


right now i'm reading the LFS book, and gathering the source code to everything i need to get started

will try to keep this thread updated with my progress.

EDIT 1:

i guess i will layout some rudimentary goals that i plan to accomplish.

1. build a complete and bootable "base system"
2. implement a rudimentary "package manager".
3. compile and install xorg
4. compile and install a DE (gnome or kde more than likely.)
5. offer freely any scripts, documents and possiblely a LiveCD of my creation.

EDIT 2:

I've read the complete "linux from scratch" manual today.

i can honestly say there is a lot that i learned, and there is a lot i've had to conjecture, as it is not to clear on some things.

things i learned:

1. arch linux is not a good "medium" to build another linux system from.
2. slackware seems to be optimized for this, as it contains all the lib's and dependencies you need to start everything off, you don't have to go search for some of them like you do in arch linux.
3. GCC is a pita to configure and compile where it doesn't throw errors, and for some reason it throws errors if you are trying to compile an older version of gcc with a newer version LOL, my mistake, i thought the gcc i grabbed was newer than the one i had, i was mistaken.
4. glibc is very difficult to compile to completetion, i've tried 4 times before i got a successful compilation of it, and even then i don't believe it compiled correctly.
5. i was unable to compile anymore of the base system, so i could enter a chroot enviroment on it to complete the rest, as glibc was throwing lib errors and i was getting errors like " Too many levels of symbolic links", i believe that has to do with something i did incorrectly or missed a step on.

i will modify my scripts, and attempt again tomorrow
Edited by Transhour - 1/27/11 at 4:37pm
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #2 of 21
Damn. I looking forward to this. Ad I like your avvy XD
 
Gsvlip Dudyrm
(15 items)
 
Oda'maksv
(9 items)
 
CPUMotherboardGraphicsRAM
3770k @ 4.5 1.312 load Zotac Z77 ITX Wifi GTX 1070 Gaming 2126/2249 w/ Hybrid cooler TridentX 16GB 2400MHz 
Hard DriveHard DriveCoolingCooling
Samsung 850 Pro 1TB Seagate 2TB H105 EVGA Hybrid GPU cooler 
OSMonitorKeyboardPower
Windows 10 Asus MG279Q - 24" 144Hz 1080p Filco Majestic II w/ Cherry Reds Seasonic X 760W 
CaseMouseMouse PadAudio
Bitfelix Prodigy Logitech G400 Razer Goliath AKG A701 
AudioAudio
JDS Labs Objective 2 JDS Labs ODAC 
CPUMotherboardGraphicsRAM
Core i5 750 3.99 (190x21) 1.376v Load ASUS P7P55d-E Pro GTX 670 FTW <- Poor overclocker :( 8GB (4x2GB) G.Skill DDR3 1600 
Hard DriveHard DriveOptical DriveOS
Samsung 830 Evo 128GB 2x 2TB  Some DVD drive OSX 10.10.4 
MonitorPowerCaseMouse
Asus 1080P Crap TX 750 HAF 922 G400s 
Mouse PadOther
Apple Keyboard Xbox One controler 
CPURAMHard DriveHard Drive
C2D 2,26GHz under volted @ .978v 8GB  Crucial M4 64GB SSD 500GB Scorpio Black 
OSMonitorKeyboardMouse
OS X 10.0 1280x800 Built-in Trackpad 
Audio
Built-in 
  hide details  
Reply
 
Gsvlip Dudyrm
(15 items)
 
Oda'maksv
(9 items)
 
CPUMotherboardGraphicsRAM
3770k @ 4.5 1.312 load Zotac Z77 ITX Wifi GTX 1070 Gaming 2126/2249 w/ Hybrid cooler TridentX 16GB 2400MHz 
Hard DriveHard DriveCoolingCooling
Samsung 850 Pro 1TB Seagate 2TB H105 EVGA Hybrid GPU cooler 
OSMonitorKeyboardPower
Windows 10 Asus MG279Q - 24" 144Hz 1080p Filco Majestic II w/ Cherry Reds Seasonic X 760W 
CaseMouseMouse PadAudio
Bitfelix Prodigy Logitech G400 Razer Goliath AKG A701 
AudioAudio
JDS Labs Objective 2 JDS Labs ODAC 
CPUMotherboardGraphicsRAM
Core i5 750 3.99 (190x21) 1.376v Load ASUS P7P55d-E Pro GTX 670 FTW <- Poor overclocker :( 8GB (4x2GB) G.Skill DDR3 1600 
Hard DriveHard DriveOptical DriveOS
Samsung 830 Evo 128GB 2x 2TB  Some DVD drive OSX 10.10.4 
MonitorPowerCaseMouse
Asus 1080P Crap TX 750 HAF 922 G400s 
Mouse PadOther
Apple Keyboard Xbox One controler 
CPURAMHard DriveHard Drive
C2D 2,26GHz under volted @ .978v 8GB  Crucial M4 64GB SSD 500GB Scorpio Black 
OSMonitorKeyboardMouse
OS X 10.0 1280x800 Built-in Trackpad 
Audio
Built-in 
  hide details  
Reply
post #3 of 21
Good Luck have fun!
Turn into a Jet
(13 items)
 
  
CPUMotherboardGraphicsRAM
I5-750 @ 4.0 ASROCK P55 Extreme 9800 GTX+ 4x2GB Ripjaws 
Hard DriveOSMonitorPower
1x40GB Intel SSD, 1x250GB WD HDD Sabayon 19" Hans G Widescreen and 21" CRT Corsair 650Watt 
CaseMouse Pad
MM CYO U2UFO 13 Case Fans None! 
  hide details  
Reply
Turn into a Jet
(13 items)
 
  
CPUMotherboardGraphicsRAM
I5-750 @ 4.0 ASROCK P55 Extreme 9800 GTX+ 4x2GB Ripjaws 
Hard DriveOSMonitorPower
1x40GB Intel SSD, 1x250GB WD HDD Sabayon 19" Hans G Widescreen and 21" CRT Corsair 650Watt 
CaseMouse Pad
MM CYO U2UFO 13 Case Fans None! 
  hide details  
Reply
post #4 of 21
Thread Starter 
alrighty, 5 hours into this, and the toolchain is finally built

it prolly would've taken a lot less time, but i created build scripts for almost every step, and read the documentation on a lot of the toolchain to get a better understanding what i was doing and why i was doing it the way the LFS manual was telling me to.
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #5 of 21
Subbed. Good luck!
Workhorse
(13 items)
 
  
CPUMotherboardGraphicsRAM
965BE C3 Gigabyte 880GA-UD3H Onboard 8gb G.Skill Ripjaws DDR3 
Hard DriveOSMonitorPower
Crucial C300 64gb / 1tb WD1002FAEX Windows 7 Pro x64 HP 2311x Seasonic X-650 Gold 
CaseMouse
Lian Li A-05NB Intellimouse Explorer 3.0 
  hide details  
Reply
Workhorse
(13 items)
 
  
CPUMotherboardGraphicsRAM
965BE C3 Gigabyte 880GA-UD3H Onboard 8gb G.Skill Ripjaws DDR3 
Hard DriveOSMonitorPower
Crucial C300 64gb / 1tb WD1002FAEX Windows 7 Pro x64 HP 2311x Seasonic X-650 Gold 
CaseMouse
Lian Li A-05NB Intellimouse Explorer 3.0 
  hide details  
Reply
post #6 of 21
Yeah I never did LFS just because I didn't want to take the time. I've got a mixer, a guitar, my art, and other **** I can spend my time on now. =P Too many hobbies makes it a problem to focus and enjoy them.

GL! I hope it works out, I've always thought it would be nice to have a LFS though.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #7 of 21
Greetz
Hopefully LFS has evolved and become a little more friendly over the years. It used to give new meaning to "cover your a$$". It would wait till you got in the shower and knock the soap out of your hands

So far so good, transhour. Kudos.
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
post #8 of 21
Good luck! I did this a little over a year ago. It is quite a pit for time
post #9 of 21
Thread Starter 
update:

i had to start over apparently arch linux is not a good candidate to do a LFS from .

so i switched, i moved a spare HDD into my main rig and threw slackware 13.1 x86-64 on it, and began again, am having a lot better success


right now i'm aiming for true vanilla like slackware is, but without any sort of package-management, so everything will be compiled and make install till i get around to either building one, or implementing an existing package-manager.

in the short few hours i've done this, i've prolly absorbed a great deal of information that i didn't know about the construction linux before i started.
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #10 of 21
Thread Starter 
Update:

alright i'm done for the evening, glibc is giving me problems now LOL, don't believe it compiled correctly, i will start again tomorrow

so far this has been quite the expeirence
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Linux From Scratch: The Diary of Madness :)