LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-08-2007, 11:26 PM   #1
rhb327
Member
 
Registered: May 2004
Distribution: Slackware Current
Posts: 161

Rep: Reputation: 30
Regenerate Slack12 var directory


During my Gparted fiasco (see separate thread), I hosed my /var. I've built it enough by hand to get by; however, I'd like to have Slack12 "regenerate" it. Is this possible? I've review the FHS and have manually created enough folders/etc to be running.

Thanks,
Rich
 
Old 07-09-2007, 02:22 AM   #2
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
You can recover most of it by reinstalling the entire package tree. That will restore your /var/log/packages directory correctly, which is required to do future package upgrades. Any custom packages you had installed will also need to be reinstalled.
 
Old 07-09-2007, 06:05 AM   #3
rhb327
Member
 
Registered: May 2004
Distribution: Slackware Current
Posts: 161

Original Poster
Rep: Reputation: 30
Thanks. That's what I ended up doing. I formatted the swap, /var, /usr and /tmp partitions during an "over-write" install. Did a "full" install and I always blow away 4 or 5 packages afterwards. This kept my /home, /data, /backup, /, /boot (didn't have to reconfigure the generic smp, recommended kernel) and /usr/local as they were. I then did an installpkg on ALL of my downloaded packages. The /usr/local partition was in tact . I think I'm good to go a /var came up with multiple items and I saw no errors on reboot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
deleted my /var/log directory TuxLives Linux - Distributions 2 05-07-2007 09:02 PM
Files in /var/lib/dpkg directory kushalkoolwal Debian 3 05-04-2007 02:05 PM
Solaris 9 /var directory is at 100% rust8y Solaris / OpenSolaris 4 05-05-2006 05:54 PM
Umm... yeah, I deleted my /var directory. 8-bitDesigner Linux - Software 6 02-21-2006 08:36 PM
DVD - regenerate .ifo files from .vobs? Moebius Linux - Software 1 08-01-2004 05:48 AM


All times are GMT -5. The time now is 01:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration