orias | chris4585: how much stuff are yoiu trying to recover? | 00:01 |
---|---|---|
chris4585 | orias, a few gbs | 00:02 |
chris4585 | actually probably more than a few | 00:03 |
chris4585 | orias, I pretty much want to recover everything in ~/ | 00:07 |
orias | ahhh lost ~? | 00:11 |
orias | you can , but its going to be ugly as far as filenames | 00:11 |
orias | you need to ensure that you recover drive A onto drive B, otherwise you risk overwritting data. make sure that the destination drive has plenty of room | 00:12 |
chris4585 | orias, somewhere during upgrading ubuntu, ~/ went missing | 00:13 |
chris4585 | short story, I should have backed up first | 00:14 |
orias | was it on a spereate partition? | 00:21 |
orias | *separate | 00:21 |
chris4585 | nope | 00:22 |
orias | ahh | 00:22 |
orias | youi should always out ~ on a different partition | 00:22 |
chris4585 | personally I don't like doing that | 00:23 |
orias | really? saves alot of heart aches | 00:23 |
orias | especially during upgrades or new installs | 00:24 |
orias | decided on what you want to do? | 00:25 |
chris4585 | usually I do fresh installs, I just copy my files from my external hdd | 00:27 |
chris4585 | well I'm on the phone atm, but I'm going to look up some syntax or how to use it | 00:27 |
orias | photorec is pretty easy, select the correct drive, then go through the options | 00:29 |
chris4585 | do you just run photorec and then get a menu? | 00:31 |
orias | yeah | 00:33 |
orias | sudo photorec | 00:34 |
orias | then select the right drive | 00:34 |
chris4585 | do I have to have it mounted? | 00:34 |
orias | yeah | 00:34 |
chris4585 | ok | 00:34 |
orias | then choose "continue" when it asks about hidden partitions | 00:35 |
orias | then EFI GPT > | 00:35 |
orias | then whole disk> then filetype (ext3/4) | 00:36 |
orias | then *imoortant* make sure you choose the right drive to put the recovered files in :) | 00:36 |
orias | then hit "y" to start the process :) | 00:37 |
orias_ | heh | 00:38 |
chris4585 | hrm okay | 00:38 |
orias_ | you want to | 00:38 |
orias_ | change the file types it looks for, unless you want to get *everything* back | 00:39 |
orias_ | srsly *everything* even little cache files and thumbnails 0.o | 00:39 |
chris4585 | I'm at the part where it says "Disk /dev/sda - 500 GB / 465 GiB (R0) - etc... Unknown. Search? | 00:40 |
orias_ | do you want to get everything back? (takes a while) | 00:40 |
orias_ | or a more targeted approach? | 00:40 |
chris4585 | I want everything in a specific partition / folder | 00:41 |
orias_ | its going to scan for everything it can | 00:41 |
orias_ | g | 00:41 |
chris4585 | so Partition - Unknown ? | 00:41 |
chris4585 | and hit search? | 00:42 |
orias_ | you're at the first menu? | 00:42 |
orias_ | ahh the last menu | 00:42 |
orias_ | did you make sure to chose the correct destination? | 00:42 |
chris4585 | Search - Options - File Opt - Quit | 00:42 |
orias_ | if so then select search and the process will start | 00:42 |
orias_ | you can choose options to narrow your search | 00:43 |
chris4585 | orias_, when it asks for a drive, is that where it wants to search or... destination? its not very clear | 00:43 |
orias_ | but for now if you want choose search, then ext3/3xt4 for file type | 00:43 |
orias_ | first choice is source | 00:43 |
orias_ | ie what you want to look through | 00:44 |
chris4585 | ok | 00:44 |
orias_ | tell me when your done | 00:44 |
orias_ | with that | 00:44 |
chris4585 | ah okay | 00:44 |
orias_ | at the ext screen yet? | 00:44 |
chris4585 | yes | 00:44 |
orias_ | choose ext2/ext3 | 00:45 |
orias_ | new screen? with . | 00:45 |
chris4585 | ok | 00:45 |
orias_ | .. | 00:45 |
orias_ | bin | 00:45 |
orias_ | boot etc? | 00:45 |
chris4585 | its showing me ~/ on the livecd | 00:45 |
chris4585 | but yeah | 00:45 |
orias_ | choose .. | 00:45 |
orias_ | then go under media | 00:45 |
orias_ | and see if another drive is present | 00:45 |
orias_ | choose ..t all the files it finds. | 00:46 |
orias_ | choose wisely | 00:46 |
orias_ | this is where it will put all the files it finds.* | 00:47 |
orias_ | once you find your desired destination, press y to start the process | 00:47 |
=== orias_ is now known as orias | ||
chris4585 | hrm okay | 00:49 |
orias | how goes it? | 00:49 |
chris4585 | I made a dir named RECOVERY on my external HDD, select that dir then hit y? | 00:50 |
orias | yes | 00:50 |
orias | then come back in 3 days | 00:50 |
orias | :p | 00:50 |
chris4585 | interesting, so there's no way to narrow down what folder I want to recover? | 00:50 |
orias | nope | 00:50 |
orias | only thing you can use to narrow it down is file type | 00:50 |
orias | ie | 00:50 |
chris4585 | ah okay, here goes nothing! | 00:50 |
orias | jpeg mp3 txt | 00:50 |
orias | good luck! you did choose the right destination right ? | 00:51 |
orias | 0.0 | 00:51 |
orias | just making sure :) | 00:51 |
chris4585 | yes | 00:51 |
chris4585 | on the external hdd.. | 00:51 |
orias | \0/ | 00:51 |
chris4585 | lol | 00:51 |
chris4585 | orias, thanks for your help | 00:51 |
orias | np | 00:51 |
orias | what region of tn are you in? | 00:51 |
chris4585 | never done this before, hope I get what I want | 00:52 |
orias | you'll get *everything* | 00:52 |
chris4585 | orias, well I moved 2.5yrs ago, but I lived in Kingston | 00:52 |
orias | :) | 00:52 |
orias | where at now? | 00:52 |
chris4585 | orias, right now I'm in Fl, above Tampa | 00:52 |
orias | nice | 00:52 |
chris4585 | orias, will it really take 3 days? lol | 00:53 |
orias | it depends on how big the drive is | 00:53 |
orias | it scans from start to finish :) | 00:53 |
chris4585 | partition itself is 367gbs, and it probably only has 20gbs or so on it | 00:54 |
orias | niceheh | 00:54 |
orias | figure about 15 minutes for 8 gigs | 00:54 |
orias | so.... | 00:54 |
orias | 11.5 hours/ | 00:54 |
orias | ? | 00:54 |
chris4585 | strange, it seems to be recovering files from my windows partition, is that normal? | 00:55 |
orias | it'll get *everything* | 00:56 |
orias | :) | 00:56 |
chris4585 | ok, its a bit strange how it recovers with the odd filenames, anyway it will sort this in the directories they were in? | 00:56 |
orias | nope | 00:59 |
orias | its like dumping out your desk into the bed of a truck | 00:59 |
orias | :) | 00:59 |
orias | but at least you get your stuff back :) | 00:59 |
cyberanger | chris4585: sorry, that's what I get for stopping in the shop on a day off | 00:59 |
cyberanger | drafted | 00:59 |
orias | lol | 01:00 |
cyberanger | orias: thanks, that was more or less the method I had in mind myself | 01:01 |
cyberanger | (I usually use mutiple methods, redundancy never hurt a geek | 01:01 |
cyberanger | after all) | 01:02 |
orias | lol | 01:02 |
cyberanger | orias: I did think it could be a little more selective, to at least a partition | 01:03 |
chris4585 | are there any methods that will retain file names? | 01:04 |
chris4585 | orias, recovery is complete o.O | 01:05 |
cyberanger | chris4585: considering what happened, not really | 01:05 |
cyberanger | the headers are altered, possibiltiy of more than that too | 01:06 |
cyberanger | for the extra hassle, it's usually not worth it for mp3's or pictures | 01:06 |
chris4585 | hrm... | 01:07 |
chris4585 | it only recovered 511 mp3s, I expected about 2,500 | 01:07 |
cyberanger | becuase the ID3 tags should have data in them (and a tool can read the tags and sort them) and pictures usually being random anyhow (DSC1000X and such) | 01:07 |
cyberanger | huh, odd | 01:07 |
cyberanger | chris4585: is there still free space on the drive? | 01:08 |
chris4585 | cyberanger, there should be | 01:09 |
chris4585 | there we go... its getting more mp3s this time | 01:11 |
chris4585 | but that still doesn't save the id3 tags.. | 01:11 |
cyberanger | chris4585: really, no id3 tags | 01:12 |
cyberanger | did you have id3 tags before | 01:12 |
chris4585 | yep | 01:12 |
orias | well its better than a total loss | 01:12 |
chris4585 | is there some sort of special option for that.. ? | 01:12 |
orias | did you soecify any file types? | 01:13 |
chris4585 | mp3s and brute force | 01:13 |
cyberanger | not sure why it has no id3 tags now | 01:14 |
chris4585 | well if I had them, I could simply rename the files | 01:15 |
cyberanger | well, this is progress though | 01:17 |
cyberanger | orias: ever used foremost | 01:18 |
cyberanger | ? | 01:18 |
orias | nopr | 01:34 |
orias | headed to the house... hope you find what you're looking for chris4585 | 01:36 |
chris4585 | orias, thanks for the help | 01:37 |
orias | i wonder how it turned out for Chris... | 02:38 |
cyberanger | unusual for him to part channel | 02:43 |
cyberanger | connection perhaps | 02:43 |
chris4585 | cyberanger, I think I have some very good news | 03:20 |
orias | ? | 03:22 |
orias | how'd it go? | 03:22 |
* orias is thinking about moving to Debian | 03:22 | |
chris4585 | I found a dir in /home named .ecryptfs/chris/.Private and it seems to be ~43gbs | 03:22 |
chris4585 | so I don't think its deleted, just encrypted.. | 03:22 |
chris4585 | not quite sure how to get it unencrypted though | 03:22 |
orias | encrypted home partition? | 03:22 |
orias | sweet | 03:22 |
chris4585 | its whatever ubiquity did to it... | 03:22 |
wrst | glad you got it going chris4585 | 03:23 |
chris4585 | I'm very glad too... now to figure this encryption stuff out | 03:24 |
* wrst is reading the backlogs | 03:24 | |
chris4585 | this is very frustrating | 03:36 |
orias | ? | 03:36 |
chris4585 | I don't know how to get my data unencrypted | 03:37 |
orias | http://www.theirishpenguin.com/2010/09/26/accessing-your-encrypted-home-directory-in-ubuntu/ | 03:38 |
orias | https://help.ubuntu.com/community/EncryptedPrivateDirectory#Recovering%20Your%20Data%20Manually | 03:39 |
cyberanger | chris4585: ok, that's doable then | 03:40 |
cyberanger | shame on it not asking, but that really really makes sense | 03:40 |
cyberanger | and you might just need to login to it to unlock it (it's supposed to be tied to that and scripted) | 03:41 |
cyberanger | orias: again, thanks for being speedier than me | 03:41 |
orias | we're all here to help, in any way we can :) | 03:41 |
cyberanger | orias: and about moving to Debian, it's my job to suggest otherwise, but that's gotten harder for me to try lately | 03:42 |
orias | hah | 03:42 |
wrst | orias: why considerng moving to debian? | 03:42 |
orias | been thinking about crunchbang as well, but i dunno | 03:42 |
cyberanger | since I've gotten more debian loyal than ubuntu now | 03:43 |
orias | I want to keep learning | 03:43 |
chris4585 | this is giving me a headache | 03:43 |
cyberanger | crunchbang is nice, I've made my own build like it off ubuntu | 03:43 |
chris4585 | I've tried: ecryptfs-unwrap-passphrase /home/.ecryptfs/ubuntu_user/.ecryptfs/wrapped-passphrase | 03:43 |
chris4585 | but then it asks for a passphrase.. | 03:43 |
cyberanger | as has chris4585 (it's just openbox nitrogen conky & tint2 ) | 03:43 |
orias | didi you ever save the passphrase it generated during the orignal install? | 03:43 |
orias | heh | 03:44 |
cyberanger | orias: that assumes it did give it to him, which sounds highly unlikely | 03:44 |
orias | :/ | 03:44 |
chris4585 | orias, it was saved I believe | 03:44 |
cyberanger | chris4585: did you try your username password there? | 03:44 |
cyberanger | your login account | 03:44 |
chris4585 | cyberanger, yeah no go | 03:45 |
cyberanger | ugh | 03:45 |
* cyberanger hands chris4585 a glass of vodka, raises a toast to the perfect and sometimes elusive upgrade | 03:45 | |
orias | which guide did you try to use? | 03:45 |
orias | wanna go through he second guide step by step? | 03:46 |
chris4585 | right now I'm looking at this http://www.theirishpenguin.com/2010/09/26/accessing-your-encrypted-home-directory-in-ubuntu/ | 03:46 |
orias | try the one from ubuntu's help docs | 03:46 |
orias | https://help.ubuntu.com/community/EncryptedPrivateDirectory#Recovering%20Your%20Data%20Manually | 03:46 |
cyberanger | chris4585: that one has better luck | 03:46 |
chris4585 | alright | 03:47 |
cyberanger | chris4585: you'll need another step for that too | 03:48 |
cyberanger | https://help.ubuntu.com/community/EncryptedPrivateDirectory#Recovering%20Your%20Mount%20Passphrase | 03:48 |
cyberanger | to get the mount passphrase | 03:48 |
cyberanger | shoot | 03:48 |
chris4585 | give me a few minutes | 03:49 |
chris4585 | agh, today has just been a big headache | 03:49 |
cyberanger | chris4585: this should NOT work anyhow /home/.ecryptfs/ubuntu_user/.ecryptfs/wrapped-passphrase should NOT exist | 03:49 |
cyberanger | /home/ubuntu_user/.ecryptfs/wrapped-passphrase | 03:50 |
chris4585 | cyberanger, I took the steps to do it correctly on my system | 03:50 |
chris4585 | I'm getting off the livecd and booting up.. | 03:50 |
cyberanger | ok | 03:50 |
chris4585 | this might have been my problem all along.. | 03:51 |
cyberanger | (just noticed though, that would explain ecryptfs-unwrap-passphrase not working as expected) | 03:51 |
chris4585 | :/ got a kernel panic | 03:51 |
chris4585 | cyberanger, well I figured that, thats why I'm trying from the install.. | 03:51 |
chris4585 | but looks like I might have to chroot.. | 03:51 |
cyberanger | how long till you get cable? | 03:51 |
chris4585 | cyberanger, about a week or so | 03:52 |
cyberanger | ouch, was thinking if you could run live, backup everything now, everything clear at least (vs encrypted) and then come back to this with a netinstall | 03:52 |
chris4585 | cyberanger, would chrooting into my borked up system possibly yield results with ecrypt? | 03:52 |
cyberanger | just nuke the issue | 03:53 |
chris4585 | the issue right now is I'm getting a kernel panic.. | 03:53 |
cyberanger | chroot from the live disc and try? | 03:54 |
chris4585 | yeah | 03:54 |
cyberanger | could | 03:54 |
chris4585 | lets find out.. | 03:54 |
cyberanger | did ecryptfs-unwrap-passphrase /home/user/.ecryptfs/wrapped-passphrase not work? | 03:54 |
cyberanger | (note that is a different filepath than what you put above) | 03:55 |
cyberanger | orias: I have never seen ubuntu write that mountprase to stout | 03:56 |
cyberanger | so one could write that down | 03:56 |
cyberanger | idk if that's ubuntu dumbing down or a bug (I'll settle for both) | 03:57 |
orias | i remember the installer asking me to take note of a long string, i sent it to myself to make sure | 03:58 |
chris4585 | I think my system is very borked | 04:02 |
chris4585 | apt-get: command not found | 04:02 |
chris4585 | :| | 04:02 |
cyberanger | well, the usual idea is to take the path of least resistance (aka KISS) | 04:05 |
cyberanger | and I do agree, back up what you can, reinstall | 04:05 |
chris4585 | yes, this is becoming a bit of a hassle | 04:05 |
cyberanger | just a bit ;-) | 04:06 |
chris4585 | cyberanger, I have an idea, if the password is the same on a similar system could I copy the .ecryptfs dir to the similar system and try? | 04:06 |
cyberanger | no, since the password should still be decrypting that file now | 04:07 |
cyberanger | but did you get the right file, /home/user/.encryptfs/wrapped-passphrase | 04:07 |
chris4585 | yes I have that file.. | 04:08 |
cyberanger | cause before you ran the command differently, to a nonexistent path | 04:08 |
orias | keep fighting the good fight :) | 04:08 |
cyberanger | if ecryptfs-unwrap-passphrase /home/username/.ecryptfs/wrapped-passphrase doesn't work, sorta screwed | 04:09 |
cyberanger | your login password unlocks that, which has the mount password to unlock the rest | 04:10 |
cyberanger | a two step | 04:10 |
chris4585 | cyberanger, well I have the files, but they're on a borked system | 04:11 |
cyberanger | and that's where this gets to be an issue, it's not system and files, and afaik, changing your password with a tool like passwd isn't enough in itself | 04:11 |
cyberanger | well, backing them up doesn't hurt | 04:12 |
cyberanger | just a matter of how borked they are, what they'll be good for | 04:12 |
chris4585 | I'll let you guys know if I get something going.. right now I'm going to install 10.10 on the same system to do some repairage | 05:01 |
chris4585 | I think I'm getting somewhere | 08:02 |
cyberanger | chris4585: at three hours I'll let you tell me if that's good or bad | 08:05 |
chris4585 | cyberanger, lol well I think I have everything I need.. its a bit confusing though | 08:06 |
chris4585 | fallowing that guide, all I'm able to do is mount my .Private encrypted folder somewhere else, and its not un-encrypted then.. | 08:06 |
chris4585 | I'm trying to figure this out | 08:06 |
cyberanger | well, we're here to help, just so long as you don't cut the blue wire, we'll be good | 08:07 |
cyberanger | ;-) | 08:07 |
chris4585 | cyberanger, it took 3hrs to install a fresh ubuntu on my desktop :P | 08:07 |
chris4585 | partitioning this drive takes a while | 08:08 |
cyberanger | ouch | 08:09 |
chris4585 | it seems I'm not having an issue with the passphrases but its not decrypting anything :/ | 08:11 |
cyberanger | so you have your mount passphrase, used it to mount the encrypted folder, and nada | 08:13 |
cyberanger | ? | 08:13 |
chris4585 | yeah it mounts, but not decrypts.. | 08:13 |
chris4585 | that is what appears to be happening | 08:14 |
cyberanger | chris4585: chance there is nothing to decrypt | 08:21 |
cyberanger | nuked home, then created encrypted home | 08:21 |
cyberanger | or copied home, created encrypted home, snafu goes here | 08:22 |
chris4585 | cyberanger, that doesn't explain the ~40gbs the .Private folder is showing | 08:23 |
chris4585 | darn, looks like I"m going to have to resize this partition.. | 08:31 |
chris4585 | fun | 08:31 |
chris4585 | bbiab | 08:31 |
chris4585 | setting up the partitions will take all night, I might as well sleep | 08:38 |
wrst | morning Xpistos | 14:47 |
vychune | o/ | 15:39 |
cyberanger | wrst: might I ask a favor | 20:19 |
wrst | sure cyberanger | 20:20 |
wrst | what can i do for you? | 20:20 |
cyberanger | I might not be at tommorow's meeting, celbrating a birthday a day late | 20:20 |
cyberanger | if I'm not, and nobody gets the memo (email to the list, typing it now) let them know | 20:21 |
wrst | ok need me to send an email cyberanger? | 20:28 |
cyberanger | no, just if your at the meeting, or anyone else that's briefed (which should be everyone on the list, you and our leaders seperate) and someone wonders, let them know | 20:30 |
cyberanger | I'm getting us an adgenda for once | 20:30 |
* cyberanger hasn't been the best leader on matters of documentation | 20:30 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!