Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Creating CDs for networkless install
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
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Sat Apr 26, 2003 8:37 am    Post subject: Creating CDs for networkless install Reply with quote

I will be on a 56k modem all summer, and would like to create some emergency-reinstallation cdrw:s if something happened to my installation or disk.

The cd:s would contain everything I need to install Gentoo, do a full bootstrap and install most I already have.

Could I just gzip my portage tree and then unpack it onto the new installation? Instead of syncing?
I was thinking of downloading all installed packages, with the "fetchonly" option. How do I get a listing of all installed packages? Will also the packages required by the bootstrap process be listed?
Back to top
View user's profile Send private message
idoneus
Apprentice
Apprentice


Joined: 26 Mar 2003
Posts: 243
Location: Graz, Austria

PostPosted: Sat Apr 26, 2003 8:45 am    Post subject: Re: Creating CDs for networkless install Reply with quote

Finnish wrote:
Could I just gzip my portage tree and then unpack it onto the new installation? Instead of syncing?

sure, portage will only try to connect to the outside if a package is missing.

Finnish wrote:
I was thinking of downloading all installed packages, with the "fetchonly" option. How do I get a listing of all installed packages? Will also the packages required by the bootstrap process be listed?

If you never deleted your distfiles directory you should actually still have all source code you ever installed.
You could then do a emerge -f world and you would even have all sources for the update of your system, thus a new install would get newer sources then are installed on your system.
Back to top
View user's profile Send private message
barlad
l33t
l33t


Joined: 22 Feb 2003
Posts: 673

PostPosted: Sat Apr 26, 2003 9:13 am    Post subject: Reply with quote

to see all that is currently installed, you can do
Code:
emerge -ep world

If you already deleted your distfiles, you can grab all of it with a
Code:
emerge -ef world

That will download EVERYTHING, from gcc to your latest tool.
Back to top
View user's profile Send private message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Sat Apr 26, 2003 9:51 am    Post subject: Reply with quote

Ok, that seems simple enough. No, I don´t have any source left on disk, it tends to grow a bit large.
Back to top
View user's profile Send private message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Mon Apr 28, 2003 7:14 pm    Post subject: Reply with quote

One more thing... where is the information about installed packages stored?
I mean, if/when I reinstall, I want the package status to read "N"(new), not "R"(reinstall), or "U"(update).
Is this data stored somewhere under /usr/portage?
Back to top
View user's profile Send private message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Mon Apr 28, 2003 8:04 pm    Post subject: Reply with quote

Finnish wrote:
One more thing... where is the information about installed packages stored?
I mean, if/when I reinstall, I want the package status to read "N"(new), not "R"(reinstall), or "U"(update).
Is this data stored somewhere under /usr/portage?


That information is under /var/db/pkg.
_________________
After Perl everything else is just assembly language.
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