=== jack is now known as Guest93386 | ||
BugeyeD | argh! please help! | 18:49 |
---|---|---|
BugeyeD | i just squashed /etc on my own box. my home directory is encrypted (ecryptfs). since /etc/ is borked, i can neither su/sudo/ssh. | 18:50 |
BugeyeD | how the heck do i get my stuff outta my encrypted home dir? | 18:50 |
BugeyeD | anyone? | 18:50 |
BugeyeD | i'm checking here: https://help.ubuntu.com/community/EncryptedPrivateDirectory#Recovering%20Your%20Mount%20Passphrase | 18:52 |
BugeyeD | but this stuff requires umounting my home dir, which i do not yet want to do in case i can manage to get this stuff off my machine first. | 18:53 |
internalkernel | BugeyeD: sheeeeettt.... | 18:55 |
internalkernel | what do you mean you squashed /etc? Like it's gone? | 18:55 |
BugeyeD | like i replaced it with /etc from another box. which was running another operating system, if you can believe that. | 18:56 |
internalkernel | ouch... got it, yeah I've had those moments too... | 18:56 |
internalkernel | I've reinstalled an OS, and reused the same encrypted partition... as long as user/pass are the same obviously. | 18:57 |
BugeyeD | i got next to zero sleep, so today has been one long moment. at least it wasn't one of my servers, but i have well-loved stuff on this box. | 18:57 |
internalkernel | lol... I do my best work at 3 am... after about 5 I've learned to go to bed... or somethign bad happens. :D | 18:58 |
internalkernel | What about just mounting a liveCD and rsync /etc - it won't be perfect but should at least get you through the sudo-ing | 18:58 |
BugeyeD | all my stuff is ecryptfs-ed. i fear being unable to decrypt that following a reboot. i'm trying to figure out a way, any way, to get the stuff off first. i'm looking at ftp options at the moment. | 18:59 |
BugeyeD | hmmm ... | 19:01 |
internalkernel | Well, it sounds like anyway you cut this... it's going to require a reinstall to fix. Is /home on a separate partition? | 19:01 |
internalkernel | I've reinstalled over Ubuntu over an encrypted home dir before - /home was separate, didn't partition it and used the same user/pass as the last install... it accessed my ecryptfs just fine... | 19:02 |
BugeyeD | same fs, all root. just the default. | 19:07 |
BugeyeD | i don't mind the reinstall - i just want to back up my stuff first if possible. | 19:08 |
Tracy_P | clone the drive | 19:35 |
=== Tracy_P1 is now known as Tracy_P | ||
BugeyeD | internalkernel_: heh, python saves the day. again ... python -mSimpleHTTPServer | 20:39 |
internalkernel_ | lol... good idea... wasn't even thinking of that... | 20:39 |
BugeyeD | crank up a shell on another box, and wget --recursive myotherhost:8000 ... then go have lunch | 20:39 |
BugeyeD | yeah, i had to think "outta the box" :) | 20:40 |
internalkernel_ | that would do it... no sudo needed... lol... | 20:40 |
internalkernel_ | seriously... that's one for the toolbox. | 20:40 |
BugeyeD | i spun my wheels trying to figure out how to connect outbound when ssh was no longer an option, and was coming up short. i guess i could have used rsync. probably would have been faster, but would have required rsync daemon on the other box first. | 20:40 |
BugeyeD | i use python for stuff like this from time to time, like with adhoc requests for logs and such. no way i'm giving someone a login so that works well. | 20:41 |
Tracy_P | I've had timeout issues with big files. | 20:43 |
Tracy_P | be sure to check the md5sum at both ends | 20:43 |
BugeyeD | hard to do with 90GB of data ... i won't be rebooting this guy for awhile ... | 20:49 |
BugeyeD | i at a minimum want to get my python projects, ~/bin, and .xmonad stuff backed up. there is a lot of python stuff. | 20:50 |
Tracy_P | python script to create an SQLite table holding relative path and md5sum, that you will then use to test other side | 20:50 |
BugeyeD | i may also try the rsync method after the wget completes. rsync checksums, so if i run it a second time and no files are transferred i should be good. the sqlite part is beyond my experience. i support oracle dbas and know a bit of sql, but have never played with sqlite nor python plus any db. | 20:51 |
Tracy_P | if I have to do it more than once, it should be in a quickly accessible script | 20:51 |
Tracy_P | been too long since I was in python to be quick with it. | 20:52 |
BugeyeD | dunno if i even have sqlite support files on this box. will eventually get there, probably. have been thinking of looking sqlite for storage where i'm currently using shelve. | 20:55 |
Tracy_P | I'm sure you could just use a comma delimited file too. | 20:56 |
Tracy_P | just a matter of scanning each entry on the testing side | 20:57 |
=== Moot2 is now known as MootBot |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!