Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lost my /var drive--Can I emerge system?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
flashingcurser
n00b
n00b


Joined: 25 Mar 2004
Posts: 34

PostPosted: Thu Jul 22, 2004 9:51 pm    Post subject: Lost my /var drive--Can I emerge system? Reply with quote

I'm just a home user and havent made any backups -- oops. Anyway the drive that had /var on it died.

Can I simply emerge system?

I have installed a new drive -- partitioned -- made files systems -- updated fstab. I would kind of like to re-emerge my proggies and keep my config files as they are (I cant even remember where they are all at lol)

The system gives a few complaits when starting hehe, but other than that I am able to do most things.

The email and web server are toast -- and anything that needs to log craps out.

Amazingly stable linux!!! -- it still boots :)

Before I type "emerge system" then "emerge world" is there anything else I should know? or is this the totally wrong approch?

Please if you have any thoughts please speak up-- my wifes resume is on the server
Back to top
View user's profile Send private message
oumpah-pah
Guru
Guru


Joined: 18 Jul 2004
Posts: 575
Location: Lausanne, Switzerland

PostPosted: Thu Jul 22, 2004 10:12 pm    Post subject: Reply with quote

I'm affraid it won't work, since emerge also uses stuff located in /var. Anyway, if you want to give it a shot, the appropriate command would be :
Code:
emerge -vea system

Or maybe world instead of system.
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Thu Jul 22, 2004 11:48 pm    Post subject: Reply with quote

I believe the world file is in /var...

You'll have to extract the "system" file from a livecd or something. It's somewhere in /var/db/pkg
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Tue Aug 10, 2004 7:08 pm    Post subject: Reply with quote

Moved from Installing Gentoo. Please post any follow ups in https://forums.gentoo.org/viewtopic.php?t=171015
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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