LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-29-2017, 12:32 AM   #1
hariskar
Member
 
Registered: Feb 2017
Distribution: Gentoo, Linux From Scratch
Posts: 53

Rep: Reputation: Disabled
Is anyone using LFS as their only operating system?


I just finished with LFS installation. Of source I learned a lot.
I am wondering, is anybody using LFS as his only every day use os?
I would be happy if I found a way that I could make it easier.

Last edited by hariskar; 10-29-2017 at 04:31 AM.
 
Old 10-29-2017, 02:37 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi
I use it all the time i have Lxde, Mate, Xfce, Lxqt as
desktops. I have installed all that i need for my use,

Once you have built it a few times it tends to get easier
just the compling of big packages takes the time. There is an
automated version to build lfs.
 
1 members found this post helpful.
Old 10-29-2017, 03:07 AM   #3
hariskar
Member
 
Registered: Feb 2017
Distribution: Gentoo, Linux From Scratch
Posts: 53

Original Poster
Rep: Reputation: Disabled
I would like to use it too, no problem with compilation times (I used Arch and now Gentoo). But what partly discouraged me is that if I want to install a package, I have to install also the required and recommended dependencies and also the required and recommended dependencies of these dependencies? How do I keep track of the updates of all these?

Also if I do all above and have a usable system, I understand it is easy to update eg chromium or mplayer, but if I want to update the base system do I have to run the whole LFS installation again and then install all the BLFS programs again?

Thank you!

Last edited by hariskar; 10-29-2017 at 03:30 AM.
 
Old 10-29-2017, 03:36 AM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
I do a rebuild wben certain packages are updated, you could look in to package managers, afew people use them but that is not described in lfs/blfs, if you look through the posts
here i,m sure there will be advice and pointers. Arch's manager is an option to look into
 
2 members found this post helpful.
Old 10-29-2017, 04:20 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
hariskar, i think it's very unlikely that soemone uses LFS as their sole OS.
it is much more likely that they have more than one computer.
also you might want to include women as well, yes?
maybe rephrase the question to "Is anyone using LFS as their main operating system?"
 
1 members found this post helpful.
Old 10-29-2017, 05:49 AM   #6
hariskar
Member
 
Registered: Feb 2017
Distribution: Gentoo, Linux From Scratch
Posts: 53

Original Poster
Rep: Reputation: Disabled
Sorry ondoho, I corrected that. I didn't mean to exclude women.
 
1 members found this post helpful.
Old 10-29-2017, 06:17 AM   #7
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,154

Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
I Use lfs as my main os full desktop, dependencys are not too much of a problem once you get a system to hqndle them set up for your self, I for instance use a my own pakage manager, others just have short install scrupts that install all the needed dependencys etc, remember, your lfs is your own so you only need to install what ( optional ) dependencys you need/use I rarely install all the optional deps for a package, its up to you.
 
1 members found this post helpful.
Old 10-29-2017, 08:00 AM   #8
plasmonics
Member
 
Registered: Jan 2009
Distribution: Fedora, Gentoo, LFS
Posts: 224

Rep: Reputation: 69
It's not my main OS, but I do use lfs regularly to play mp3 music using rhythmbox or parole and watch youtube videos using firefox. I also use it to edit LaTeX documents using emacs.

As to your question about the upgrades, the book recommends rebuilding lfs for each new glibc. That means you will have to rebuild blfs as well.

However, I upgrade in place, somewhat like a rolling release. I came up with a recipe to upgrade in place, but it is not foolproof. If anything goes wrong, I am on my own. No problems so far.

LFS took me a week to build and troubleshoot. BLFS another two weeks. That is why I don't want to repeat the build process. I guess you could write a bash script to automate the process.

You can build faster if you have a fast computer with a lot of cpu cores.
 
1 members found this post helpful.
Old 10-29-2017, 08:17 AM   #9
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,659
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
I have three OS's on my main computer, but LFS is the main one, the one I boot up most days.
 
1 members found this post helpful.
Old 11-01-2017, 10:13 PM   #10
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
Also using [B]LFS as my main system, though I can't say it is my only os, since I do multi-boot with windows (for games) and there is still the previous Linux (which if all goes to plan, will be the partition where I put the *next* LFS system ).

Last edited by jr_bob_dobbs; 11-01-2017 at 10:14 PM. Reason: i keep typing LFS as FLS
 
1 members found this post helpful.
Old 11-02-2017, 07:45 PM   #11
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Rep: Reputation: 89
I also use B/LFS as my only system. Dependencies can be a little difficult to handle at first. What I did was break the BLFS part down into smaller sections (think networking, X, printing, sound, and so on). Take an hour or so and write out on paper what the dependencies are for each of the individual packages. You will probably have a messy hodgepodge of lines and arrows drawn all over the place, but when you're done, write the packages all out in a linear order and keep the list handy. I did this originally for BLFS 7.5, and when it came time my most recent build, I pretty much stuck to my original list, and that saved considerable time and effort.

Another thing to consider is making a backup each time you finish building one of the smaller "sections," that way if you mess up, you don't have to start at the beginning again.

It depends what is meant by "update the base system" whether everything should be rebuilt too. As long as glibc isn't updated a full rebuild shouldn't be necessary - but rebuilding would be safer. Making your own "rolling release" BLFS would only be as stable and backward-compatible as the packages you are building.
 
1 members found this post helpful.
Old 11-06-2017, 01:11 AM   #12
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16
I use [CB]LFS as my main system, but I am an outlier (and have 15 years worth of makefiles, build scripts and custom packaging to drive it).
If you want to be on the cutting edge, you have to mitigate the bleeding.

The best advice I can give is
a) Make sure you run a snapshotable (is this even a word) filesystem (ie: zfsonlinux)
b) script your build (and push them to github/elsewhere).
c) always DESTDIR install (and tar up/package) your package builds, then merge into your current root (or your new image).
 
1 members found this post helpful.
Old 11-10-2017, 11:06 PM   #13
hariskar
Member
 
Registered: Feb 2017
Distribution: Gentoo, Linux From Scratch
Posts: 53

Original Poster
Rep: Reputation: Disabled
I also use LFS as my only operating system. Yesterday I moved LFS partitions in place of gentoo partitions!

Last edited by hariskar; 11-21-2017 at 01:13 AM.
 
Old 11-22-2017, 10:09 AM   #14
hariskar
Member
 
Registered: Feb 2017
Distribution: Gentoo, Linux From Scratch
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ordealbyfire83 View Post
I also use B/LFS as my only system. Dependencies can be a little difficult to handle at first. What I did was break the BLFS part down into smaller sections (think networking, X, printing, sound, and so on). Take an hour or so and write out on paper what the dependencies are for each of the individual packages. You will probably have a messy hodgepodge of lines and arrows drawn all over the place, but when you're done, write the packages all out in a linear order and keep the list handy. I did this originally for BLFS 7.5, and when it came time my most recent build, I pretty much stuck to my original list, and that saved considerable time and effort.
How did you do it? Writing all dependencies in my case with programs like chromium, webkit seems extremely difficult, because there are many required/recomended programs and dependencies that go many levels deep.. Where did you write them finaly? In a *.doc?
 
Old 11-22-2017, 03:54 PM   #15
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
I use my own OS based off LFS, not quite LFS, but very close. I use this OS on my main PC as well as my car's in dash computer.
 
1 members found this post helpful.
  


Reply



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
problem operating command with DUAL operating system with ubuntu & windows 7 gne Linux - Newbie 2 02-01-2015 08:12 AM
sudo halt stops aborts the operating system but the system fan keeps running pittendrigh Linux - Server 2 06-30-2014 11:11 AM
LXer: The non-operating system operating system LXer Syndicated Linux News 0 06-26-2010 05:42 PM
'Operating system not found' Any operating system installed wont work. TechniSlave Linux - Newbie 55 02-09-2009 11:02 AM
My grub is not loading on dual operating system with windows Xp Pro causing my system marlene tack Linux - Newbie 2 03-17-2008 07:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:04 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
Open Source Consulting | Domain Registration