LinuxQuestions.org
Visit Jeremy's Blog.
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-15-2004, 12:34 PM   #1
ParticleHunter
Member
 
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

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


Hi,

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...


Julio
 
Old 09-15-2004, 05: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.

su
password
cd /mnt
tar cjf lfs.tar.bz2 lfs

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

su
password
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, 07:02 AM   #3
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Quote:
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.

Enjoy!
--- Cerbere
 
  


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


All times are GMT -5. The time now is 11:14 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration