LinuxQuestions.org
Review your favorite Linux distribution.
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-03-2007, 08:33 AM   #1
Pharisee
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
How to convert a LFS to an installable CD


After playing around with Linux on and off for the last couple years and getting more and more comfortable with it I have decided to create a LFS system sometime in the near future.

I was wondering how would I go about turning my LFS system (more specifically I guess a BLFS system) into a installable CD. So instead of each time I go through it, compile and do this and that I just put in a CD with my customizations and it installs just like any other distro. However this would just be for personal use, and for perhaps giving to friends.

If I can't do it with LFS could someone give me an idea of how to go about it. Right now I am not concerned with knowing exactly what to do in detailed instructions, just basically a quick description of what needs to be done.

I have tried searching in Google, but either there is no guides or I am not using the correct key words

Thanks for the help.
 
Old 09-03-2007, 04:04 PM   #2
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 37
Check out http://www.linux-live.org/
 
Old 09-10-2007, 04:37 AM   #3
ashmita04
LQ Newbie
 
Registered: Aug 2006
Posts: 18

Rep: Reputation: 0
I'm Facing The Same Problem. I Want To Make A Bootable Installable Cd Of Lfs Just Like Any Other Distro. If You Got Some Solutions Than Plz Send The Details. Thank You
 
Old 09-11-2007, 04:36 AM   #4
zidane_tribal
Member
 
Registered: Apr 2005
Location: chained to my console.
Distribution: LFS 6.1
Posts: 143

Rep: Reputation: 18
Lightbulb there really is a way....

there is a way to automate an lfs build, however it will produce an automatic lfs/blfs build. so rather than the cd just copying over all the compiled stuff, it will automatically build an entire lfs and blfs system for you. (i make this point because a "distro" generally just copies over precompiled files, lfs compiles all the packages from scratch).

you need two things....

1) an alfs system from http://www.linuxfromscratch.org/alfs/
personally, i use the nalfs system because i think it is better and more mature than the ever-changing jhalfs, however with nalfs you do have to create your own build instructions (its actually pretty easy to do it and a set comes with nalfs to give you a starting point).

2) your very own customised lfs cd (or dvd, if you are building a big lfs/blfs system you might want to create a bootable dvd rather than a cd so you have lots of extra room for the packages).
to get your lfs live cd/dvd, see here: http://www.linuxfromscratch.org/livecd/index.html
to get details on how to cstomize the cd/dvd see the file "lfscd-remastering-howto.txt" on the cd (usually in the /root/ directory).


now, this isnt much of a howto, more of a couple of pointers.

you will need to......

1) create the nalfs profile for the packages you want to build. this bit is easy, but boring. its basicly copy/paste the build instructions from the book into the xml documents that nalfs uses to build the packages.

2) once you have your nalfs profile, take your shiny lfs livcd and customise it, put all the packages you need in there and nalfs in there too.

3) you might want to test it at this point, lfs and blfs will build just fine in vmware or something similar.

4) tadaaaa, you have your very own custom lfs distro. boot from the cd, start nalfs and let it compile for a couple of hours. you can even have nalfs start automatically if you tinker around with it a little.

it is actually a remarkably simple process, just little boring making the nalfs profile. however, once its done it is very easy to keep up to date and very easy to use. this is how i created my own automated lfs installer cd and its pretty damn awesome.


apologies for the late reply, just got back off holidays
 
Old 09-11-2007, 10:51 AM   #5
Pharisee
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the tips, I appreciate it I will be building my first LFS system in the next couple weeks, just to lazy at the moment :P
 
  


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
After completing LFS convert on to LIVE CD calling_u3 Linux From Scratch 11 07-10-2007 11:25 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
My LFS 'installable' Distro ? decentpakistani Linux From Scratch 13 09-17-2005 07:22 PM
Creatng an Installable CD after building LFS chakkaradeepcc Linux From Scratch 5 03-30-2005 01:28 PM
How to convert xml version of LFS-5.1.1 book to txt format? jml75 Linux From Scratch 1 06-18-2004 06:51 PM

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

All times are GMT -5. The time now is 05:59 AM.

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