Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 09-15-2004, 11:34 AM   #1
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Rep: Reputation: 15
making a LFS-installation CD/DVD


another question that comes into my mind is...

Once I have my LFS system installed... what if.. I want to make a CD or in my case a DVD just to be able to put it on the DVD drive and being able to perform a FULL-RESTORE of my system?

I mean... restore my partition information, copy all my installed software, from Linux to XFree passing through GNOME, all my installed packages like X-Chat, Firefox, Evolution, and so on?

Is there any way to perform this? to be able to make this 'kind' of CD/DVD able to regenerate in a complete way all my system data? I ask this because I've just read several posts down a thread called 'Lfs live cd' but I'm not interested in making a LiveCD in the 'usual' way of having the system running from the CD/DVD, just an installation CD or backup CD/DVD... you name it...

Any help would be appreciated and, as always, Thanks in advance for any answer...

Old 09-15-2004, 04:01 PM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
What I do is reboot into the host system and make a tarball of the lfs partition (currently it weighs in at 480Mb) and then burn that to CD.

cd /mnt
tar cjf lfs.tar.bz2 lfs

To untar it, first reformat the lfs partition then remount it on /mnt/lfs then

cd /mnt
tar xjfp lfs.tar.bz2

Of course, this means that to untar it you need to install a version of linux to untar it with, but you don't have to live with it. You can delete it when you've reinstalled LFS.
Old 09-17-2004, 06:02 AM   #3
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Originally posted by Andrew Benton
Of course, this means that to untar it you need to install a version of linux to untar it with, but you don't have to live with it. You can delete it when you've reinstalled LFS.
Not necessarily! You could use a rescue floppy like Tom's root/boot to mount the CD, copy and extract your lfs tarball. Then you just chroot and run lilo, eject the floppy and reboot into LFS.

--- Cerbere


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
Making a Distro with LFS rmckayfleming Linux From Scratch 7 10-30-2005 02:59 AM
Making an installation DVD from CDs? rustynailz Linux - General 1 11-27-2004 10:26 PM
partitions/making room for LFS silverback011 Linux From Scratch 6 08-15-2004 11:22 AM
Thinking about making my LFS as my final project for master degree? chinaundead Linux From Scratch 4 04-06-2004 06:39 AM
Error compiling Perl (making LFS system 3.3)... MatMan5959 Linux - Software 0 06-02-2002 04:36 PM

All times are GMT -5. The time now is 08:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration