Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

Lost /etc

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
steima
n00b
n00b
User avatar
Posts: 18
Joined: Sat Sep 27, 2003 5:40 pm
Location: Austria
Contact:
Contact steima
Website

Lost /etc

  • Quote

Post by steima » Thu Oct 30, 2003 11:23 am

Hello out there I am in panic!

:twisted:

When playing around with my new PCMCIA WLAN card my gentoo crashed.
Im using JFS so why worry about the filesystem? BUT after reboot the init process said it doesnt find a /etc/inittab file.

Booting in single mode I started to cry my /etc directory was lost!

So coudl anyone send me a /etc directory or tell me how to recover the lost one?

Regards Matthias
www.steinbauer.org is a LAMP server ;-)
Top
beejay
Retired Dev
Retired Dev
User avatar
Posts: 924
Joined: Thu Oct 03, 2002 3:58 pm
Location: Flensungen (das liegt neben Merlau)
Contact:
Contact beejay
Website

Re: Lost /etc

  • Quote

Post by beejay » Thu Oct 30, 2003 12:10 pm

steima wrote:Hello out there I am in panic!

So coudl anyone send me a /etc directory or tell me how to recover the lost one?
I think sending you a /etc is quite useless since this directory differs from system to system.

How to get back your /etc ? - Well, just playback the appropriate part of your latest backup :idea:

I don't get it why people don't create backups of /etc since it really is the smallest directory after /boot - and having a backup of it can prevent a lot of painful work - as you are going to have it now :cry:
Dort wo schwarzer Rauch aufsteigt, sich alsbald ein Fehler zeigt.
www.paludis-sucks.org | www.gentoo.de | www.gentoo-ev.org | www.gentoo.org
Top
steima
n00b
n00b
User avatar
Posts: 18
Joined: Sat Sep 27, 2003 5:40 pm
Location: Austria
Contact:
Contact steima
Website

Backup

  • Quote

Post by steima » Thu Oct 30, 2003 12:30 pm

Sure I don't have any backup!

But it doesn't make sense to me at the moment. There is no place where I could backup to.

And be sure I could manage to get my gentoo running again if someone sent me an /etc directory.

Of course I would prefere one from a new installed Gentoo 1.4!

Regards Matthias
www.steinbauer.org is a LAMP server ;-)
Top
steima
n00b
n00b
User avatar
Posts: 18
Joined: Sat Sep 27, 2003 5:40 pm
Location: Austria
Contact:
Contact steima
Website

Help is near

  • Quote

Post by steima » Thu Oct 30, 2003 5:52 pm

A friend sent me his /etc in .tgz.

If I'm successful I will post a HOWTO.

Cu
www.steinbauer.org is a LAMP server ;-)
Top
mmike
n00b
n00b
Posts: 19
Joined: Fri May 02, 2003 8:33 am

  • Quote

Post by mmike » Thu Oct 30, 2003 6:17 pm

good luck!



süße ente *g*
--
there is no save distance
Top
steima
n00b
n00b
User avatar
Posts: 18
Joined: Sat Sep 27, 2003 5:40 pm
Location: Austria
Contact:
Contact steima
Website

Yes it did work!

  • Quote

Post by steima » Thu Oct 30, 2003 6:59 pm

I could save the /etc dir as etc.tar.bz2 on my win xp (im sorry).
When rebooted with gentoo it again asked me for a runlevel.

s brings you in single user mode and starts root bash

unpacked the stuff in /root
moded it to /

reboot->
BANG! of course you should know the root password! the good friend who sends you his etc should reset it first.

next thing ist that you useradd your old users and then make presents.
with chown user.users /home/user so that the users can access their home dirs again

... sure i did not need some services and had to adjust some things but now i needed about 30 minutes to see my X again.

now im playing with the idea of doing something like a backup.

regard matthias
www.steinbauer.org is a LAMP server ;-)
Top
Zeitgeist
Apprentice
Apprentice
User avatar
Posts: 165
Joined: Thu Mar 13, 2003 12:06 am
Location: Ouagadougou, Burkina Faso

  • Quote

Post by Zeitgeist » Thu Oct 30, 2003 7:41 pm

"something like a backup"

You should always make backups of important directories.
I have a crontab running that backs up my /etc, /root, weekly, one that backs up my music monthly, (did do my movies too.. but that dir is so big now..) and one that backs up my schoolwork hourly.

They are backuped up onto an 80gig firewire drive, but I am sure you could get a cheap usb drive or something now a days too
Top
Post Reply

7 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic