UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old January 12th, 2005, 11:48 AM
andy11983 andy11983 is offline
Newbie wannabe extrodanaire
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: stoke
Posts: 310 andy11983 User rank is Corporal (100 - 500 Reputation Level)andy11983 User rank is Corporal (100 - 500 Reputation Level)andy11983 User rank is Corporal (100 - 500 Reputation Level)andy11983 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 8 h 25 m 2 sec
Reputation Power: 6
no /etc dir

CALLING ALL GURU'S

can some one please tell me how to retrieve my deleted /etc dir, i deleted it by mistake

HELP

thanks

andy

Reply With Quote
  #2  
Old January 12th, 2005, 09:25 PM
guggach guggach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Middle Europa
Posts: 1,083 guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 19 h 49 m 57 sec
Reputation Power: 9
welcome in club.
the only way
boot single from cd
start a shell
mount root cdpartition
copy /cdpartition/etc to /etc

Reply With Quote
  #3  
Old January 13th, 2005, 03:52 AM
andy11983 andy11983 is offline
Newbie wannabe extrodanaire
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: stoke
Posts: 310 andy11983 User rank is Corporal (100 - 500 Reputation Level)andy11983 User rank is Corporal (100 - 500 Reputation Level)andy11983 User rank is Corporal (100 - 500 Reputation Level)andy11983 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 8 h 25 m 2 sec
Reputation Power: 6
Quote:
Originally Posted by guggach
welcome in club.
the only way
boot single from cd
start a shell
mount root cdpartition
copy /cdpartition/etc to /etc


thanks for your help - this is solution garuanteed to work?
thanks for your help again

Reply With Quote
  #4  
Old January 13th, 2005, 04:16 AM
guggach guggach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Middle Europa
Posts: 1,083 guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 19 h 49 m 57 sec
Reputation Power: 9
Quote:
Originally Posted by andy11983
thanks for your help - this is solution garuanteed to work?
thanks for your help again


yes (at least on bsd, solaris), but you will lose all coustomized data.
whitch OS are you on?

Reply With Quote
  #5  
Old January 13th, 2005, 04:34 AM
andy11983 andy11983 is offline
Newbie wannabe extrodanaire
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: stoke
Posts: 310 andy11983 User rank is Corporal (100 - 500 Reputation Level)andy11983 User rank is Corporal (100 - 500 Reputation Level)andy11983 User rank is Corporal (100 - 500 Reputation Level)andy11983 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 8 h 25 m 2 sec
Reputation Power: 6
Quote:
Originally Posted by guggach
yes (at least on bsd, solaris), but you will lose all coustomized data.
whitch OS are you on?


sunOS 2.6 but i just found out its not a simple restore theres raid involved so that, we can get to sngle user mode but cnt find the files that we are after (6 disks) so were stuck is there any other way

cheers

Reply With Quote
  #6  
Old January 14th, 2005, 08:06 AM
andy11983 andy11983 is offline
Newbie wannabe extrodanaire
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: stoke
Posts: 310 andy11983 User rank is Corporal (100 - 500 Reputation Level)andy11983 User rank is Corporal (100 - 500 Reputation Level)andy11983 User rank is Corporal (100 - 500 Reputation Level)andy11983 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 8 h 25 m 2 sec
Reputation Power: 6
more updated info

All solaris rescue gurus out there ....

I've a Solaris 2.6 E450 on which my sysadmin guy has deleted every file (not sub-directories) from the /etc directory.

The machine is (was) running Vxvm with the root volume encapsulated.

I've tried booting from CDROM, mounting the root volume directly, and copying the contents of the etc directory back into place then editing the /etc/system file to forceload drivers and put in Vxvm entries to get the root volume up but the system fails to forceload the drivers then panics with a mutex error.

A'm I going about this the right way, or is there a better way?

I need to get some data off one of the other Vxvm-managed volumes.

Problem is that /usr /var and /opt were all seperate volumes and have been encapsulated under volume manager. The / volume is not big enough to hold the whole OS and

We've patched enough of the etc directory back together to get the machine running off the rootvol but then the machine has no /usr contents and hence no commands to do anything..

The boot proess is falling apart every time I try to add back the VX config into the /etc/system file to allow boot with Volume Manager enabled, either because it can't do the focreload of the vx drivers.

Does anyone kno why (how to) when I'm booted from CD, how to eject the OS CD so that I can insert the Vol Manager install CD and try tools on there?

thanks for your help guys/gals

andy

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > no /etc dir


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway