You are not logged in.
Yeah. I have no idea how that happened! I ssh'd in. Deleted my rsa_id keys as I was going to regenerate them to allow password-less logins.
Its gone. Totally gone. The only thing left is the ssh folder, purely because I tried restoring the few files I deleted (literally only the id_rsa.pub files) from Thunar's wastebasket.
Ideas?
I still have SSH access for now, though I havent properly set up the SSH keys, so im keeping this connection for as long as possible. I just dont know what to do! I have no idea how this happened.
There's too much important stuff in there to restore. This server contains media that took ages to get on the server, so id like to fix this without wiping. But I know that thats just impossible. Is this a job requiring a reinstallation..?
OMG
http://kneedeepinnix.wordpress.com - A linux blog
Offline
Don't think I'll be able to do anything tonight.
Only thing I can do is learn from this, and plan the reinstallation tomorrow. I have a small XP partition on it. I can backup some of the media onto that.
Any ideas on a partition strategy? I originally had a 120GB HD set out as follows:
30GB XP (just incase)
1GB Swap
And the rest for /. Just arch in general. Thought this mad backups a bit daunting. Ive heard that having /etc/ and /home/ on seperate partitions is quite useful. Ideas?
http://kneedeepinnix.wordpress.com - A linux blog
Offline
Wow. I found an /etc directory inside my /boot directory. I may have accidentally dragged it into the boot directory with a swipe of the touch..
Wow. Panic averted. Although I was quite excited at the thought of redesigning my setup..
Last edited by pritchard92 (2009-08-09 20:31:47)
http://kneedeepinnix.wordpress.com - A linux blog
Offline
Glad it worked out for you. You should edit the subject to say [solved]
Last edited by bostonvaulter (2009-08-09 21:41:49)
Offline
For future reference, you can't put /etc on a separate partition. It has to be on / since fstab is there. How would the boot process know where to mount /etc from since the file describing the mount points lives in /etc ?
Putting /home on a separate partition, OTOH, is a really good idea, and many people here do that.
Offline
be like breunig and get your /etc back even after rm -rf it.
Offline
/etc/ partitions rock.
How large do you make your /etc/ partitions? And which FS do you recommend?
EDIT: my /etc/ is currently only 6.9MB lol.
Last edited by dezza (2009-08-11 17:39:22)
Offline
An entire partition for /etc is probably overkill. But if you're going to go through with it, ten to twelve megabytes and ext2 (with the -m0 argument, so there is no space being wasted for root reservation) is [more than] enough.
Last edited by Wintervenom (2009-08-11 15:11:03)
Offline
An entire partition for /etc is probably overkill. But if you're going to go through with it, ten to twelve megabytes and ext2 (with the -m0 argument, so there is no space being wasted for root reservation) is [more than] enough.
But where do you hide your pr0n if /etc/sshd/config/setup/conf/.pr0n is so small!?
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline