Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unique installing way/problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Coximus
n00b
n00b


Joined: 07 Mar 2005
Posts: 17

PostPosted: Wed Mar 09, 2005 12:39 am    Post subject: Unique installing way/problem Reply with quote

I Have successfully installed Gentoo on my personal PC, while using various kind people’s internet connections....
The problem simply is, My pc isn’t often connected to the internet, (and when it is its 56k) and due to various problems my computer crashes due to power fluctuations (im saving for a UPS, which will never happen - im a student), and id like to know if its possible, immediately after a fresh install to back up the entire new install to a DVD, and then use Knoppix or similar to copy back to the computer, after such an incident, as this would save alot of time and would be usefull in future as an easy way of carrying around a pre-configured system.
any help on the technicalities of this would be appreciated.
thanks
Back to top
View user's profile Send private message
acasto
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 236
Location: Durka-Durka-Stan

PostPosted: Wed Mar 09, 2005 2:48 am    Post subject: Reply with quote

I have a directory named /archive in /, in there I have this script. You can modify the --exclude's to fit your system, but it works. The "-L 696320" flag just breaks the tar down into chunks that fit on CD-Rs. You can probably remove that if you are using a DVD. Also, if you are using a DVD, you may want to insert the -z flag in there to do compression. I left it out for the multi-volumn tar to work. Check out the man page on tar, there is all kind's of usefull things there.


Code:

#!/bin/sh

tar -L 696320 -cvpf /archive/glacier_system_3-01-05.tar         \
        --directory /                   \
        --exclude=home/*                \
        --exclude=mnt/*                 \
        --exclude=proc/*                \
        --exclude=*/lost+found          \
        --exclude=usr/portage           \
        --exclude=usr/src/kernels       \
        --exclude=usr/src/linux-2.6.8.1-ck9     \
        --exclude=.ccache               \
        --exclude=archive               \
        --exclude=sys/*                 \
        --exclude=dev/*                 \
        .


exit 0



- Adam
_________________
Leerrroooooyyyyyyyy JENKINS!!!!1111...................

"You know the Nazi's had pieces of flare.. that they made the Jews wear."
Back to top
View user's profile Send private message
Coximus
n00b
n00b


Joined: 07 Mar 2005
Posts: 17

PostPosted: Wed Mar 09, 2005 7:42 am    Post subject: Reply with quote

thanks, thats pretty much what i needed!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum