Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Building own Stage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
DSeichter
n00b
n00b


Joined: 27 Jul 2002
Posts: 10

PostPosted: Sat Jul 27, 2002 3:19 pm    Post subject: Building own Stage Reply with quote

Hello!
I've yesterday installed the gentoo 1.2 and have compiled on my 233Mhz machine for about 9 or 12 hours (during I've slept very well). Now I want to backup this to a CD or a file on a file-server. How can I make a stage-archive for the current installation?
Is there a problem, because I've installed vim with all dependencies?

Thank you
Daniel Seichter
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sat Jul 27, 2002 4:58 pm    Post subject: Reply with quote

A "stage" is basically a tarball of one's root filesystem. You could boot the CD and tar+bzip2 your root filesystem. However, you would want another hard drive or extra partition to do this on... you could use your swap space, though, if it's large enough. I would try something like this:

Code:
# mkdir /mnt/gentoo
# mount /dev/ROOT /mnt/gentoo
# mount /dev/BOOT /mnt/gentoo/boot
# rm -r /mnt/gentoo/var/tmp/portage /mnt/gentoo/usr/portage/distfiles (cleans up stuff for a smaller tarball)
# mke2fs -j /dev/SWAP (reformats swap as ext3)
# mkdir /mnt/temp
# mount /dev/SWAP /mnt/tmp
# cd /mnt/tmp
# tar cjpvf mystage.tar.bz2 /mnt/gentoo/*

_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
DSeichter
n00b
n00b


Joined: 27 Jul 2002
Posts: 10

PostPosted: Sat Jul 27, 2002 6:17 pm    Post subject: Reply with quote

Thank you

delta407 wrote:
A "stage" is basically a tarball of one's root filesystem. You could boot the CD and tar+bzip2 your root filesystem. However, you would want another hard drive or extra partition to do this on... you could use your swap space, though, if it's large enough. I would try something like this:

Code:
# mkdir /mnt/gentoo
# mount /dev/ROOT /mnt/gentoo
# mount /dev/BOOT /mnt/gentoo/boot
# rm -r /mnt/gentoo/var/tmp/portage /mnt/gentoo/usr/portage/distfiles (cleans up stuff for a smaller tarball)
# mke2fs -j /dev/SWAP (reformats swap as ext3)
# mkdir /mnt/temp
# mount /dev/SWAP /mnt/tmp
# cd /mnt/tmp
# tar cjpvf mystage.tar.bz2 /mnt/gentoo/*
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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