LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 03-31-2006, 07:34 AM   #1
Casanogab
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Rep: Reputation: 0
i moved my /etc to an other folder (/home)


Hi all

i moved my /etc folder to the /home folder....

when i restart the server i can log in with the S for single-user mode....

the problem is i cant move back my folder to the original place.

i try to do

mount -uw /
mount -o remount,rw /

i try to boot from the rescue mode from install cd but i cant do chroot /mnt/sysimage

my system is in read-only mode.... how can i move my /etc back is original place....

THX
 
Old 03-31-2006, 07:47 AM   #2
amon
Member
 
Registered: May 2004
Location: UK
Distribution: Debian, Ubantu, CentOS
Posts: 146

Rep: Reputation: 17
live cd?

Have you tried using a live CD and just copying/moving the files back by hand?
 
Old 03-31-2006, 08:00 AM   #3
Casanogab
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Original Poster
Rep: Reputation: 0
i try to boot with knoppix 4.0 i cant acces to drive....
i try with simply mepis same there....
 
Old 03-31-2006, 08:04 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by Casanogab
Hi all

i moved my /etc folder to the /home folder....

THX
Why???

Note: Better to put this in Linux-Newbie or Linux-General

Where you are is more like the riff-raff or blowhard section--take a look at some of the topics....
 
Old 03-31-2006, 09:11 AM   #5
Casanogab
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Original Poster
Rep: Reputation: 0
sorry i will rewrite this question in an oder topic ... im a bit stress i have like 1200 user.... and nothing works....
 
Old 03-31-2006, 11:12 AM   #6
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
I'd like to try and help but your posts are really thin on details about the actions that you have taken e.g. how did you try to access the drive, what errors you got when the process failed etc. By the way why would you want to move /etc to /home particularly on an important server? Your system won't work properly if important files in /etc are not found.

Last edited by reddazz; 03-31-2006 at 01:13 PM.
 
Old 03-31-2006, 12:14 PM   #7
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,684

Rep: Reputation: 54
If you can log in - even only in single user mode - you can copy/move it back.
Error messages when and what you try could help.
 
Old 03-31-2006, 01:24 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,966
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Quote:
Originally Posted by pixellany
Why???

Note: Better to put this in Linux-Newbie or Linux-General

Where you are is more like the riff-raff or blowhard section--take a look at some of the topics....
Please don't encourage users to cross-/ double post. If
you want to give sensible advise tell them to ask a mod
to MOVE their post to a more suitable forum.


Cheers,
Tink
 
Old 03-31-2006, 07:21 PM   #9
Casanogab
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Ok
i found my answer
i write it in the general linux forum
thx again to all
 
Old 03-31-2006, 07:36 PM   #10
Casanogab
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Original Poster
Rep: Reputation: 0
hi all

moderator have close my other thread sorry again.
it was my first time i post in a forum....

the only distribution finally able to see my drive was the ubuntu live cd 5.10

i make a directory in the with command makedir /mnt/driveplz
i go in terminal
i rewrite the /etc/fstab in the ubuntu (sudo gedit /etc/fstab)
add this
/dev/VolGroup00/LogVol00 /mnt/driveplz ext3 defaults 1 1
save file
sudo mount -a ( in terminal)

my drive mount in the /mnt/driveplz

after i open i open two nautilus with sudo nautilus

and finally drag my /mnt/driveplz/home/etc folder to the /mnt/driveplz/etc

reboot and was able to log in

Now my ldap server is ok
my samba server is ok
but my nfs server is down....

i will try to found a solution maybe with the transfert of /etc some file was lost....

Thx to all in both thread
 
Old 04-01-2006, 12:20 AM   #11
nilleso
Member
 
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

Rep: Reputation: 31
Glad to here you got it straightened out Casanogab
 
  


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
Moved /home... problems robbow52 Debian 3 03-28-2006 05:44 PM
Moved /home can't mount reiserfs Sigkill(9) Linux - Hardware 28 11-02-2005 12:57 PM
moved /home - now it seems everythings gone! aes canis Linux - General 4 05-10-2005 03:16 PM
moved home: permission denied mtb Linux - Software 4 12-17-2003 06:09 AM
/home has been successfully moved jeremy LQ Suggestions & Feedback 3 08-18-2000 05:25 PM


All times are GMT -5. The time now is 03:56 AM.

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