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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
08-05-2011, 02:32 PM
|
#16
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
Hi,
I partially understand the above and I do have a question: What did you use to start with (step 1 from the article: 1. Boot from an existing Linux distro or any live-cd)?
I'm asking because I'm not sure if steps 15, 16 and 17 mentioned in the article will work when using a (LFS) liveCD.
I just created a blog entry about all this, you might want to have a look.
Hope this helps.
|
|
|
1 members found this post helpful.
|
08-05-2011, 11:05 PM
|
#17
|
|
Member
Registered: Jul 2011
Location: beside of andromeda
Distribution: LFS , Fedora , Debian , Redhat , TC , Slitaz , Suse , ....
Posts: 52
Original Poster
Rep: 
|
Dear druuna ,
I used BackTrack ( ubuntu base ) for step 1 and you guessed correct for steps 15,16,17 .
I appreciate you because of your excellent blog entry because i saw a helpful texts about LFS by hard booting .
I'm downloading your suggest blog iso and then will boot from it and test it , Maybe solved my problem .
TNX alot...
Last edited by mbzadegan; 08-05-2011 at 11:10 PM.
|
|
|
|
08-06-2011, 07:53 AM
|
#18
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
You're welcome 
|
|
|
1 members found this post helpful.
|
08-06-2011, 11:06 AM
|
#19
|
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 2,900
|
just a question, why are you copying the lfs live cd to the hard drive? the point of the lfs live cd isn't to be an installable system, but rather to provide a platform to bootstrap an lfs installation, that is:
1) partition/format hard drive
2) mount hard drive
3) build temporary system
4) chroot into temporary system
5) build/install actual system
6) build/install kernel/boot loader
7) reboot, customize, build/install any additional software (BLFS)
the LFS live cd really only has enough just to do that, nothing more, nothing less.
if building an lfs system isn't what you're after wouldn't a binary based minimum distribution be a better solution?
|
|
|
|
08-07-2011, 06:40 AM
|
#20
|
|
Member
Registered: Jul 2011
Location: beside of andromeda
Distribution: LFS , Fedora , Debian , Redhat , TC , Slitaz , Suse , ....
Posts: 52
Original Poster
Rep: 
|
Dear druuna :
when i booted from LFS_livecd and follow your blog steps while i run bellow command i get an ERROR :
mount -o ro,loop lfslivecd-x86-6.3-r2145-nosrc.iso /mnt/LFS.cd2hd/iso
ERROR :
mount: unknown filesystem type 'iso'
and then i added -t iso9660 but still have ERROR :
ERROR :
mount: wrong fs type
|
|
|
|
08-07-2011, 07:31 AM
|
#21
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
Hi,
What linux distro are you using to do these steps? I tried the procedure using lfs (6.8) and just now tried it using Debian (6.0.2) and both work.
Does your kernel have iso9660 support? ( cat /proc/filesystems and check if iso9660 is present)
One other thing that comes to mind: Is your lfs image corrupt? Run the following command: md5sum lfslivecd-x86-6.3-r2145-nosrc.iso the output created should be: 763faec4c00647a41b3987fc371e3821 ( LFS liveCD md5 sums). If the output differs: You have a corrupt image, re-dwonload it.
Hope this helps.
|
|
|
|
08-07-2011, 08:01 AM
|
#22
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
Hi again,
I just noticed the following (overlooked that in my previous reply):
Quote:
Originally Posted by mbzadegan
when i booted from LFS_livecd and follow your blog steps while i run bellow command i get an ERROR :
|
As stated multiple times in my blog article and in post #16: The procedure will _not_ work when you use a liveCD as host.
Hope this helps.
BTW: I do hope you understood what was said in post #6 and #19. To quote frieza
Quote:
|
.. the point of the lfs live cd isn't to be an installable system, but rather to provide a platform to bootstrap an lfs installation ..
|
I assume you have a (good) reason to want to "install" the LFS liveCD onto a HD, but that isn't clear from your posts.
Last edited by druuna; 08-07-2011 at 08:03 AM.
Reason: fixed typo
|
|
|
1 members found this post helpful.
|
08-08-2011, 12:29 AM
|
#23
|
|
Member
Registered: Jul 2011
Location: beside of andromeda
Distribution: LFS , Fedora , Debian , Redhat , TC , Slitaz , Suse , ....
Posts: 52
Original Poster
Rep: 
|
Dear druuna ,
I booted from your lfslivecd-x86-6.3-r2145-nosrc.iso and its MD5 is TRUE .
I did't want to install LFS on my Hard AT ALL , My project goal is to set LFS on a PXE server that my LAN clients could booted from Lan boot rom and load LFS .
Also , if i can load LFS ( [ kernel+initramfs+root.ext2 ] on my hard partition ) , i solved my problem .
because the solve of PXE server depend on hard disk booting of LFS .
Anyways , I'm so glad if you have an idea to solve my goal ( Boot from PXE ) .
Thanks so much .
|
|
|
|
08-08-2011, 06:12 AM
|
#24
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
Hi,
Quote:
Originally Posted by mbzadegan
I did't want to install LFS on my Hard AT ALL , My project goal is to set LFS on a PXE server that my LAN clients could booted from Lan boot rom and load LFS .
Anyways , I'm so glad if you have an idea to solve my goal ( Boot from PXE )
|
This is a different problem then the one I understood when looking at your thread title and posts you made thus far. My PXE knowledge is basic at best and therefore I cannot help you with that.
My feeling says that what you want to do is not possible. You cannot install LFS using the LFS liveCD. It, the LFS liveCD, is meant to be a perfect platform to build(!) LFS. I'm not sure if this is possible when the liveCD resides on your PXE machine. But like I said before, that is a feeling, not based on facts!
I hope for you that someone else sees this thread and proves me wrong!
|
|
|
1 members found this post helpful.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:23 AM.
|
|
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
|
|