LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-16-2024, 05:33 AM   #16
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454

Quote:
Originally Posted by Keith Hedger View Post
I agree about rust, but what do you use instead of GIMP? Some things can be done with Imagemagick, but I do quite a bit of graphics work so would be interested in somthing to replace GIMP.
No, you misunderstood me. I used to use LFS as an alternative day-to-day system but for the last couple of years I've just used it as a rescue system for emergencies. No applications needed.
 
Old Yesterday, 09:21 AM   #17
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
OK, it builds. Whether it will boot or not is another matter. It's a long time since I built a kernel and I may have lost the knack of it. The point is that I didn't see any weirdness along the way and I didn't have to carry out any unauthorised patching.

Mind you, I'm talking about basic LFS only. I'll have to put in some bits and pieces from the early chapters of BLFS, but I'm not building this system for daily use as I used to do in the good old days, only as an emergency rescue device.

I agree with @derguteweka that the pip/wheel/python stuff is an unpleasant nuisance. You copy those commands over and then you look at them and think, "wtf does all that mean??" The whole point of LFS used to be that once you'd done it, you understood exactly how a Linux system was put together. I don't think that's the case any more.
 
Old Today, 04:28 AM   #18
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
I can't boot it! Usually with a bad kernel, it boots and then panics. But this one won't boot at all. I select it from the elilo menu, the kernel appears to load and then it halts and buzzes at me: dum-dum-dum-daaaa. Over and over. I wonder what that means; I've never heard it before on this machine.

Some time when I have the energy, I'll try a hybrid boot with my Slackware kernel and initrd. Right now, I'm cheesed off.

Further info: Just found this in a Lenovo manual on POST beep symptoms:

BEEP SYMPTOM
3 short beeps followed by 1 long beep.
BEEP MEANING
Memory not detected.
SUGGESTED ACTIONS
Investigate memory subsystem. Ensure that any memory module(s) are properly seated in the connectors.

Now that is nonsense! Slackware and AntiX both use the memory normally. And in this case, the pattern isn't occurring at POST but after a kernel has loaded, so it must be a kernel config problem. This version of LFS sets a number of kernel config parameters that I never messed with before but afaik I followed those instructions religiously.

Last edited by hazel; Today at 04:38 AM. Reason: Further info
 
Old Today, 06:41 AM   #19
bryan_S
Member
 
Registered: Aug 2014
Location: N. Florida
Distribution: Linux-from-Scratch
Posts: 108

Rep: Reputation: Disabled
Oh, the dreaded 'beeps' - that's not good. I always use a config from a previously built LFS that i know works on this machine so not (much) drama on 1st boot. It's just 'make oldconfig', then answer (usually No) on any new config options/hardware drivers. Good idea to try the Slack kernel (i think i would try the 'huge' variant if they still do those).
 
Old Today, 07:06 AM   #20
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,309

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Quote:
Originally Posted by hazel
I agree with @derguteweka that the pip/wheel/python stuff is an unpleasant nuisance. You copy those commands over and then you look at them and think, "wtf does all that mean??" The whole point of LFS used to be that once you'd done it, you understood exactly how a Linux system was put together. I don't think that's the case any more.
Ah, yes. I built several LFS, then the (now defunct) HLFS followed by Kevux before I promoted myself to Slackware. You could understand things then. But we have become accustomed to layers of sophistication and complication that the ordinary mortal just takes for granted - until they go belly up.

Twenty years ago, it was 2 hours or reading help and/or google to build a kernel from scratch. Today, it would be three at least. I'd suggest doing it once, as a learning experience. Then when it goes belly up, copy any distro config file (usually in /boot) and use that . It will have safe enough options.
 
Old Today, 07:27 AM   #21
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
Quote:
Originally Posted by bryan_S View Post
I always use a config from a previously built LFS that i know works on this machine so not (much) drama on 1st boot. It's just 'make oldconfig', then answer (usually No) on any new config options/hardware drivers.
I used to do that on my old drive. I had two alternating LFS partitions, one for the current LFS and one for the previous one. The new LFS went onto the latter with the current one as build host. But this new drive is much smaller, so I can only have one LFS partition at a time. I built this new LFS out of Slackware but, like a fool, I forgot to save the kernel config before I cleared the partition. I won't make that mistake again!

I have two irons in the fire now. I can do a hybrid boot with the Slackware kernel and initrd (they're all on the ESP so it's just a matter of tweaking the elilo.config file). But I'm also rebuilding the proper LFS kernel (6.7.4) using a doctored version of my Slackware config. We'll see how it goes.
 
Old Today, 07:57 AM   #22
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,151

Original Poster
Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
I always start with the currently running config:
Code:
gunzip < /proc/config.gz > /path/for/config
A quilck look to see if anything major changed, then boot if it fails go back and try again, usually the running config works fine, especially for minor kernel updates.
Hazel dont know if it matters but I boot from grub no initrd, just a fubar'ed system.
 
Old Today, 08:49 AM   #23
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
Quote:
Originally Posted by Keith Hedger View Post
I always start with the currently running config:
Code:
gunzip < /proc/config.gz > /path/for/config
A quilk look to see if anything major changed, then boot if it fails go back and try again, usually the running config works fine, especially for minor kernel updates.
I usually do that too. I've already explained why I couldn't do the same this time around.
Quote:
Hazel dont know if it matters but I boot from grub no initrd, just a fubar'ed system.
I don't think it makes any difference what bootloader you use. Elilo had already loaded the kernel when the machine halted and the buzzing started. I don't intend to use an initrd either. I never used one in LFS before. It's just a matter of getting a kernel that boots. Then perhaps you can give me some commands that failed for you and I'll try them out.
 
  


Reply

Tags
lfs, runnit, void



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
Good bye data, good bye 8 years worth of stuff. Jeebizz General 44 12-16-2007 02:51 PM
Bye bye, Linux jabbermacy General 203 06-08-2004 01:33 AM
Bye, Bye long filenames garymck3 Linux - Newbie 2 03-30-2003 02:50 PM
Bye, bye NSKL General 12 07-10-2002 07:59 PM
bye bye windows? Nelleh Linux - Newbie 2 05-09-2002 05:01 AM

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

All times are GMT -5. The time now is 02:46 PM.

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