LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-04-2002, 09:31 AM   #1
blackcat
Member
 
Registered: Sep 2002
Location: usa
Posts: 41

Rep: Reputation: 15
Question 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.
 
Old 09-04-2002, 09:40 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 09-04-2002, 10:06 AM   #3
blackcat
Member
 
Registered: Sep 2002
Location: usa
Posts: 41

Original Poster
Rep: Reputation: 15
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?
 
Old 09-04-2002, 10:14 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 09-04-2002, 10:30 AM   #5
blackcat
Member
 
Registered: Sep 2002
Location: usa
Posts: 41

Original Poster
Rep: Reputation: 15
Question 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?

 
Old 09-04-2002, 10:37 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 09-04-2002, 11:00 AM   #7
blackcat
Member
 
Registered: Sep 2002
Location: usa
Posts: 41

Original Poster
Rep: Reputation: 15
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.
 
Old 09-04-2002, 11:41 AM   #8
blackcat
Member
 
Registered: Sep 2002
Location: usa
Posts: 41

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
My success: Dell Inspiron 2200, LFS. raskin LinuxQuestions.org Member Success Stories 13 09-13-2008 12:05 PM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 05:03 AM
cannot login as user 'lfs' [su - lfs] mayasedai Linux From Scratch 2 07-26-2005 06:10 AM
LFS 3.2 book, but LFS packages 3.0 CragStar Linux From Scratch 2 04-07-2002 03:15 PM

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

All times are GMT -5. The time now is 06:24 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