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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-04-2002, 09:31 AM
|
#1
|
Member
Registered: Sep 2002
Location: usa
Posts: 41
Rep:
|
lfs is a success, well alsmost!
I switched the base distro to redhat 7.3 and the installation of the base lfs system was successful. I was able to boot it through the base's lilo. There was one error but I was able to fix it. The error is when I install glibc the first time, it mentioned something about the "dvips" which fortunately after I downloaded the tetex-devips and installed it, it worked.
One thing still doesn't work. The ping failed. It should be easy to fix if I know the file to write the nameservers of my dsl provider?
And I can't wait to start with the next step.
Another question is, is there a way to make an image of the base system of lfs instead of going through all the long long ( and suspenseful ) procedure again?
Last edited by blackcat; 09-04-2002 at 09:32 AM.
|
|
|
09-04-2002, 09:40 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you can presumably use dd to make an image, assuming you have faith in that base system. check the manpage.
nameservers are normaly written in /etc/resolv.conf, but if you're on dsl then your ISP's connectino data should normally overwrite the data with it's one servers anyway.
|
|
|
09-04-2002, 10:06 AM
|
#3
|
Member
Registered: Sep 2002
Location: usa
Posts: 41
Original Poster
Rep:
|
re: ping
The problem is cat /etc/resolv.conf gave so such file or directory. Does it mean that the file isn't there or I made some errors in the installation?
|
|
|
09-04-2002, 10:14 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well i've never even touched lfs, so it may well be an lfs issue, but try just creating the file. i would also guess that your interface is not being bought up correctly. is it definitely up? if the isp was going to provide you with it's ns list then i don't think it would think twice about creating a non-existant file, but it *might* need to already exist. try "touch"ing it anyway... can't hurt.
|
|
|
09-04-2002, 10:30 AM
|
#5
|
Member
Registered: Sep 2002
Location: usa
Posts: 41
Original Poster
Rep:
|
re: lfs
1. I mounted lfs from the base distro and I found the /etc/resolv.conf
2. during the boot, it said" mounting file system as read only", what does it mean? something wrong?
3. How do I do the "touch lfs" from the base distro?
|
|
|
09-04-2002, 10:37 AM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
1. uh huh
2. not as long as it says it's remounting them read-write later on. (check their state with "mount")
3. nah, that's not what i meant, forget that bit.
|
|
|
09-04-2002, 11:00 AM
|
#7
|
Member
Registered: Sep 2002
Location: usa
Posts: 41
Original Poster
Rep:
|
The problem is after I ran the touch $LFS/etc/lfs-3.3, the file /etc/resov.conf disappeared from the base distro?
>if you're on dsl then your ISP's connectino data should normally overwrite the data with it's one servers anyway.
no. I use linksys router and the isp only deals with the router, not the individual computers within the network. I have to set the resov.conf myself.
Last edited by blackcat; 09-04-2002 at 11:17 AM.
|
|
|
09-04-2002, 11:41 AM
|
#8
|
Member
Registered: Sep 2002
Location: usa
Posts: 41
Original Poster
Rep:
|
Well. I created a new file /etc/resolv.conf and wrote the dsl nameservers and voila, the ping worked like magic.
But, dear me. When I was in the base distro, I did a terrible misktake: I wipe out the whole /usr/src directory of the $LFS. The lfs system still boot but no source.
Well. I just copied all those source files from another driectory to src.
Last edited by blackcat; 09-04-2002 at 12:01 PM.
|
|
|
All times are GMT -5. The time now is 06:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|