LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Some doubts in BLFS system & books. (https://www.linuxquestions.org/questions/linux-from-scratch-13/some-doubts-in-blfs-system-and-books-4175529378/)

paletroxz 12-27-2014 09:28 PM

Some doubts in BLFS system & books.
 
Hello guys I've successfully built the LFS 7.6 system but after getting to BLFS 7.6 I'm having plenty of doubts... I hope I could get answers for all my questions.

1. I cleared the login page of my BLFS system & now it seems like there is some failure so to see the log, is there any inverse command like noclear or something?

2. Is it necessary that I have to install Console Kit because it's got plenty of dependencies?

3. And could I jump to the packages which I feel is required(incl. recommended & required for those packages) & skip the rest?

4. Actually I'm doing BLFS for the second time since the first build had an issue with firewall, iptables, gdm etc.. So I always got the error that gdm has failed to start(Sorry I couldn't remember the error properly neither do I have the log) & as for the internet connectivity I couldn't even ping it says server is not available etc.. So to fix this I reinstalled all these packages like iptables, firewall config files, dhcp & gdm but nothing showedup. Is there a solution for this?

Kindly help me out mates.

Thanks in advance!

spiky0011 12-28-2014 04:37 AM

Hi

To the answer to Q1 do you have quiet splash or quiet on the kernel line that will remove a lot of text from boot screen.

It,s upto you if you install console kit but if it,s a dependecie of a package then it will be required.

You would need to do chapters 1,2,3 of blfs 1st, but after that install what you want.

paletroxz 12-28-2014 04:49 AM

Quote:

Originally Posted by spiky0011 (Post 5291468)
Hi

To the answer to Q1 do you have quiet splash or quiet on the kernel line that will remove a lot of text from boot screen.

It,s upto you if you install console kit but if it,s a dependecie of a package then it will be required.

You would need to do chapters 1,2,3 of blfs 1st, but after that install what you want.

First I sincerely thank you for quick reply bro but I couldn't get what you mean by quiet splash or quiet on the kernel line. All I did was clear > /etc/issue and now somethig's gone wrong therefore I couldn't get what the error is. Alternatively is there any log file that keeps startup records??

paletroxz 12-28-2014 04:52 AM

And I've been doing LFS 7.6 for the 5th time but I screw things up only after coming to BLFS .

Keith Hedger 12-28-2014 05:55 AM

your clear command just wiped your /etc/issue file , why did you do that?, anyway just recreate it

spiky0011 12-28-2014 05:57 AM

Hi

move /etc/issue to /etc/issue-old that should give back what you are missing
Also /var/log has alot of log files maybe look kern.log

stoat 12-28-2014 08:37 AM

Quote:

Originally Posted by paletroxz

And I've been doing LFS 7.6 for the 5th time but I screw things up only after coming to BLFS .

For that, consider backing up your LFS partition before proceeding on to BLFS. Then, it's a simple matter to reformat, restore from the backup, and carry on. This issue becomes almost mortally serious regarding a BLFS project. So, also consider backing up the BLFS system periodically while building it, especially right before preceding with something with a high risk of troubles and issues (e.g., something unfamiliar, or complex, or that involves a large tangle of dependencies, etc.)

stoat 12-28-2014 09:00 AM

Quote:

Originally Posted by paletroxz

And could I jump to the packages which I feel is required(incl. recommended & required for those packages) & skip the rest?

That's often possible. I sometimes don't install every optional package, especially when it leads into a dependency mess that I am not interested in, or if it's an external package (not in the book). But gradually, I learned to add more and more optional packages and many that are not in the book. Some examples of this are VLC and ffmpeg which both have many optional and external dependencies. Both can be built without many of those, but they can do more things if more optional dependencies are built for them.

paletroxz 12-28-2014 08:56 PM

Thanks for the tips and advice by all of you guys....

But did any of you mates come across this network issue?
It's like I'm not getting my eth0 to work. I get it worked when on host when I use ip link I see he loopback & eth0. When I boot up LFS I get this error message saying "face eth0 does not exist" & when I check "ip link" instead of eth0 I get sit0. So I changed the dhcp client config file to ifconfig.sit0 and now I get the warning "dhcp does not seem to be meant for sit0".... I got the others solved but this is really annoying me.... So I need your tips, advice etc. on this issue too mates...

spiky0011 12-29-2014 03:37 AM

Hi

I expect you need the drivers for it, Sit0 is not the eth0 connection.
From host post
Code:

lspci
Is lfs built in a VM?

paletroxz 12-29-2014 08:00 AM

Some doubts in BLFS system & books.
 
First I did it in VirtualBox now I'm installing it physically and I get this this issue. So should I Google the drivers or is it available with the kernel?? Of available with the kernel could you tell me the module name and it's location?

spiky0011 12-29-2014 08:25 AM

Hi

To be honest most wired interfaces work on physical "real hardware"

paletroxz 12-29-2014 09:15 AM

Quote:

Originally Posted by spiky0011 (Post 5291944)
Hi

To be honest most wired interfaces work on physical "real hardware"

Yep. Point accepted... It's starting to get on my nerves. I'll try sorting it out. If not sorted I'll keep trying it again and again until it's fixed... Thanks for you help mate.

ReaperX7 12-29-2014 10:29 AM

A good tip for BLFS...

Start with Chapter 3 first, then skip down and build Xorg, and get a decent Windows Manager or Desktop going. Never build anything unless required or recommended, though do take care with Linux-PAM (I suggest if it's your first successful build, skip it). After that, just add as needed.

paletroxz 12-29-2014 11:20 AM

Quote:

Originally Posted by ReaperX7 (Post 5292003)
A good tip for BLFS...

Start with Chapter 3 first, then skip down and build Xorg, and get a decent Windows Manager or Desktop going. Never build anything unless required or recommended, though do take care with Linux-PAM (I suggest if it's your first successful build, skip it). After that, just add as needed.

Thanks mate. I'm doing it add you've mentioned. Everything seems to be going well except for the eth0 issue.


All times are GMT -5. The time now is 10:13 PM.