Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iso of final install?
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
Gr0m1t
n00b
n00b


Joined: 24 Aug 2004
Posts: 37
Location: MN

PostPosted: Mon Sep 20, 2004 2:14 pm    Post subject: iso of final install? Reply with quote

hey guys i finally got everything setup the way i need it on my server...
is there a way to make a backup iso of my install?
thanks :)

(as in if server crashes and i lose everything i want an iso of the install)
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Mon Sep 20, 2004 2:22 pm    Post subject: Reply with quote

Of course, but on what medium did you intend to burn this ?
Code:
df -h

How much GBs are in use for your system ?
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
Gr0m1t
n00b
n00b


Joined: 24 Aug 2004
Posts: 37
Location: MN

PostPosted: Mon Sep 20, 2004 2:35 pm    Post subject: Reply with quote

I wanted to put it on a CD
How do I check how much space I am currently using?
I have a drive with just the OS on it and other drives with data on them. I just want to make an ISO for the OS drive.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon Sep 20, 2004 2:55 pm    Post subject: Reply with quote

df -h will tell you your free disk space...
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Gr0m1t
n00b
n00b


Joined: 24 Aug 2004
Posts: 37
Location: MN

PostPosted: Mon Sep 20, 2004 3:24 pm    Post subject: Reply with quote

Well I guess I'm using 1.8GB
How could I save an image of this in case the HD dies?
I've tried Ghost but it gives me errors reading right away. I know it's not the HD cause ghost gave me the same errors on another Gentoo install on a different HD.
Back to top
View user's profile Send private message
mascer
n00b
n00b


Joined: 19 Sep 2004
Posts: 1
Location: Austria

PostPosted: Mon Sep 20, 2004 6:25 pm    Post subject: Reply with quote

Try this http://www.partimage.org, it is in Portage.
Back to top
View user's profile Send private message
Snooper
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 182
Location: San Antonio, TX

PostPosted: Mon Sep 20, 2004 6:40 pm    Post subject: Reply with quote

just do a tar -cf myimage.tar ./* from the livecd without proc mounted and backup to a tar then bzip2 it and burn to a cd and put it away thats what i do.
_________________
ftp://lila-project.ath.cx
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Sep 21, 2004 7:33 am    Post subject: Reply with quote

Snooper wrote:
Code:
tar -cf myimage.tar ./*

How about
Code:
tar -cjf image.tar.bz2 /mnt/gentoo/*

?
Snooper wrote:
from the livecd without proc mounted and backup to a tar then bzip2 it and burn to a cd and put it away thats what i do.

1.8 GB to one cd ? Neato !

In other words - no, not likely.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
kohno
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2004
Posts: 112

PostPosted: Tue Sep 21, 2004 3:04 pm    Post subject: Reply with quote

I think it's possible to backup to mutiple CDs, I've seen some posts here, but can't seem to find them.
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Tue Sep 21, 2004 4:50 pm    Post subject: Reply with quote

This is how I backup my system:
Boot with your LiveCD or Knoppix, mount the root partition at: /mnt/gentoo. If you have independent
partitions for /boot, /usr, etc, mount them at /mnt/gentoo/boot, /mnt/gentoo/usr,etc respectively. Then:
Code:
# cd /mnt/gentoo
# tar -cz --exclude-from /mnt/gentoo/root/exclude-list -pivO * | split -a 1 -b 700m - /path/to/mybackup.tar.gz-

You'll get several tarballs such as mybackup.tar.gz-a, mybackup.tar.gz-b, and so on, each of them
<=700MB (for CD burning). The file 'exclude-list' should be something like this (your current directory
is /mnt/gentoo):
Code:
usr/portage/distfiles
var/tmp/portage
home/yourusername/music
home/yourusername/video

Note: You should have enough space for the generated tarballs.

To restore, make a filesystem on all the relevant partitions first, mount them properly (as described
above), then:
Code:
# cd /mnt/gentoo
# cat /path/to/mybackup.tar.gz-* | tar xzvpf -

Of course, if you only have one tarball, you may just:
Code:

# cd /mnt/gentoo
# tar xzpvf /backup/gentoo-hda13.tar.gz

If necessary, you may also need to chroot and reinstall grub.
_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!


Last edited by Hauser on Thu Dec 30, 2004 6:18 am; edited 1 time in total
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Tue Sep 21, 2004 8:44 pm    Post subject: Reply with quote

Install mondo rescue. It's in portage and will allow you to make a selective or full backup of your system and store it on bootable CDRs or DVDs. I think that's pretty much what you're looking for.


Håkan
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