LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices



Reply
 
Search this Thread
Old 06-15-2009, 03:04 AM   #1
saivin
Member
 
Registered: Dec 2008
Location: Bengaluru, India
Distribution: CentOS, openSUSE, Mandriva, Slackware
Posts: 111

Rep: Reputation: 19
Taking full hard disk image of Gentoo installation


Hi, as anybody would agree, installing Gentoo is pain although its a good learning experience.

But what do we do if for some reason the harddisk is wiped out and we need to install it from the beginning? With other distros its as easy as installing from current cd iso image and then updating the system (with tools like apt-get update-upgrade or yum update...).

With this in mind I would like to know if there is a method to capture our harddisk install and later use (or install(?) ) it as and when required?

Sorry, if its a dumb question but I don't know how to do it; even could not find a good phrase so as to google.

Last edited by saivin; 06-15-2009 at 03:06 AM.
 
Old 06-15-2009, 03:37 AM   #2
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
I disagree
To install Gentoo is no more "pain" than to install another distro (IMO) - aside from the amount of time it takes to get all the compiling done - which depends on how powerful your machine is.

The process of capturing the contents of the harddisk would be the same as with every other distribution.
I use rsync to do that - and put the archive on a DVD or another harddrive.

There are other ways which might suit your needs better.
(specialised tools, or just tar and any compression tool, or cp, or dd (rather not this one though...)
The Gentoo Live-CD, which you already have, can be used to reinstall the previously captured contents.

HTH
 
Old 06-15-2009, 04:41 AM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,049

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Some people like what they call stage4/stage5 backup.

In gentoo, stages are pre-packaged systems which are numbered depending on how close to a final working OS they are. While the number grows the "generic" nature of the stages diminishes. In ancient times, people used to use stage1 to install gentoo. A stage1 was nothing but a very basic system with a very basic toolchain. So you have to first, bootstrap it to get a working full toolchain, then start compiling the basic system tools. A stage2 was a bootstrapped stage1. A stage3 has the basic system and a fully working toolchain (and it's the only supported method of installation today). Nowadays, stage1 and 2 are not used by the big public, and are meant only for gentoo developers.

In addition to these, some gentoo users created the concept of what they call stage4 and stage5, which are basically fully working systems tailored to their needs, meant to restore the system easily and on a quick way if something bad happens. There's some info about stage4 and stage5 in the gentoo forum, like for example this one:

http://forums.gentoo.org/viewtopic-t-534039.html

However, being as simple natured as I am, I usually just use tar like I'd do on any other linux OS. Simple, easy and portable solution.

PS. I never tried stage4/5 at all.

Last edited by i92guboj; 06-15-2009 at 04:42 AM.
 
Old 06-15-2009, 10:20 PM   #4
d2_racing
Gentoo support team
 
Registered: May 2009
Location: Ste-Foy,Québec,Canada
Distribution: Gentoo
Posts: 115

Rep: Reputation: 17
In fact, the Stage 5 will do the job for sure :P
 
Old 06-16-2009, 04:03 AM   #5
saivin
Member
 
Registered: Dec 2008
Location: Bengaluru, India
Distribution: CentOS, openSUSE, Mandriva, Slackware
Posts: 111

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by d2_racing View Post
In fact, the Stage 5 will do the job for sure :P
Ya, that stage5 script was written by you Read the link posted by i92guboj. Will follow.
 
Old 06-16-2009, 10:13 AM   #6
d2_racing
Gentoo support team
 
Registered: May 2009
Location: Ste-Foy,Québec,Canada
Distribution: Gentoo
Posts: 115

Rep: Reputation: 17
Great :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
my hard disk is suddenly full ????? Linux Fan Linux - Newbie 7 09-24-2008 09:20 AM
The hard disk space is full rahulruns Linux - General 5 04-14-2008 10:04 AM
hard disk is full because of what ? bendani Linux From Scratch 6 02-27-2007 03:11 PM
help! full hard disk! huffboy Slackware 4 10-11-2003 02:07 AM
mandrake hard disk installation from image jang Linux - Software 0 04-01-2003 09:39 PM


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