/srv/irclogs.ubuntu.com/2016/12/27/#ubuntu-fi.txt

valoaivoOnko Xubuntussa mitään tapaa estää Bluetoothin päälle meno käynnistyksen yhteydessä?14:01
valoaivoJa saako akun prosentit näkymään Xubuntun kirjautumis- ja lukitusnäyttöön?14:02
LaodikeaMolempiin: kyllä14:07
LaodikeaSitä en sitten tiedä, miten, mutta joku toinen voi tietää14:08
valoaivoXD14:08
valoaivoKiitos kuitenkin14:09
ninnnu"sudo systemctl disable bluetooth" vois olla ekan ratkaisu14:10
valoaivoEkan ympäri olen päässyt laittamalla rfkillin sulkemaan bluetoothin käynnistäessä, mutta indikaattori laittaa sen päälle kun kirjaudun sisään14:10
valoaivoIndikaattorin poistaminen session autostartista korjasi ongelman, mutta nyt bluetoothin laittaminen päälle on mutkan takana14:13
valoaivoNojoo, ehkä mä teen siihen kivan skriptin14:14
valoaivoMut mites akun varauksen saa kirjautumisruutuun?14:14
eoinphey does anyone know about lux in here?14:18
valoaivolux as in the screen color thingy or what?14:18
StockAntennaThe lux (symbol: lx) is the SI unit of illuminance and luminous emittance, measuring luminous flux per unit area.14:19
valoaivoeoinp What do you need to know about lux?14:20
eoinpI'm having an issue (please hear me out before thinking i am simply trying to crack an encryption!)14:21
valoaivoCracker detected! Call the internet police!14:22
eoinpLinux mint seems to have placed an encryption on a hard drive that should not have been encrypted. For some reason, the system saw this drive as encrypted and the same passwords that worked on the OS itself, would not work on the drive14:23
eoinpI tried reinstaling mint without the encryption on the OS and i could still not open it14:23
valoaivoHave you got hit by ransomware?14:24
valoaivoHas the drive worked before?14:24
valoaivo Please tell me you had backups14:24
eoinpI can't understand how this could happen, when this 2nd laptop hardrive was removed from the laptop during the installation/encryption process... physically removed14:24
Akuliis there something important on the drive or do you just want to install an operating system and use it?14:24
Akuli?14:24
eoinpThis WAS my backup!14:25
Akulihmm :(14:25
eoinpwhich is why im trying to hard to solve this14:25
valoaivoWell then you have no problem at hand14:25
valoaivoJust erase the drive14:25
eoinpi backed everything up from windows... ran the live image from the botable usb.. here i was able to access the 2nd hd14:25
valoaivoAre you telling me the only copy was on your backup drive?14:26
eoinpsorry i mean, everything i backed up onto this hardrive... so there is no back up of the back up .. (i should have gone RAID)14:26
valoaivoOuch14:26
eoinpyep14:26
eoinpballs thoroughly busted14:26
valoaivoYou know, a backup stops being a backup when it is the only copy14:26
valoaivoHaving a backup means having at least two separate copies14:27
valoaivoSorry to be so harsh to you, but it's important you learn your lesson14:28
eoinpyea, yea... i messed up14:28
valoaivoSo: data rescue14:28
eoinpthere was 2 copies, but a window of 1 hour with only 1 copy.. i didn't assume that mint would just throw some random encryption on my 2nd hardrive14:28
Akulimaybe the drive is just broken rather than being actually encrypted?14:28
valoaivoWhat format was the drive in?14:29
eoinpi didn't change any format on the linux side. It came from a windows computer, so i would assume ntfs14:29
valoaivoInstall testdisk and see if you can find your lost partition14:29
Akulidoes it show up in lsblk?14:29
eoinpwhat makes you think it is "lost"?14:30
eoinpi think it does show in lsblk14:30
valoaivoIf not, see what photorec can dig up14:30
Akulieoinp, can you mount it?14:30
Akulisudo mount /dev/yourpartition /mnt14:30
valoaivoI think it's "lost" if you can't access it and the data inside14:31
eoinpNAME                MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT14:31
eoinpsda                   8:0    0   1.8T  0 disk14:31
eoinp├─sda1                8:1    0   512M  0 part14:31
eoinp├─sda2                8:2    0   488M  0 part  /media/min14:31
eoinp└─sda3                8:3    0   1.8T  0 part14:31
eoinp  └─luks-8a615622-600a-4d84-ba21-69ac3c3eac0e14:31
eoinp                    252:0    0   1.8T  0 crypt14:31
eoinp    ├─mint--vg-root 252:1    0   1.8T  0 lvm14:31
eoinp    └─mint--vg-swap_114:31
eoinp                    252:2    0   7.9G  0 lvm14:31
eoinpsdb                   8:16   0 232.9G  0 disk14:31
eoinp└─sdb3                8:19   0   7.9G  0 part14:31
eoinpsdc                   8:32   1   7.3G  0 disk14:31
eoinp└─sdc1                8:33   1   7.3G  0 part  /cdrom14:31
eoinploop0                 7:0    0   1.5G  1 loop  /rofs14:31
Akuliälkää potkasko sitä vielä... varotetaan ensin :)14:31
eoinpgotcha14:31
Akulieoinp, next time you might as well use a pastebin :)14:31
Akulilsblk | nc termbin.com 999914:31
eoinpwhen i try mount it, it asks for my passphrase14:32
Akulioh14:32
Akuliand that makes you think its encrypted?14:32
eoinpthe only passphrases i WOULD have used do not work, neither does just pressing empty14:32
ninnnuAkuli: Well, the partition list says "LUKS" on it14:32
valoaivolol14:32
eoinpthe password was only numbers and letters so i doubt that keyboard layout between live/installed would have made a difference?14:32
valoaivoHave you tried your account password?14:32
eoinpand sorry, next time i'll pastebin14:32
Akulieoinp, try this: sudo echo hello14:32
ninnnueoinp: It could matter, if you used e.g :14:33
Akulieoinp, do you have the same password asking problem?14:33
ninnnui.e letters that are in different location when comparing FI and US keyboards14:33
eoinpwith mountit says: sudo mount /dev/yourpartition /mnt14:34
valoaivoYou could try switching your keyboard layout from input settings14:34
eoinpsorry: dev/sda is already mounted or /mnt busy14:34
valoaivoWait14:35
valoaivoCan you copy the exact command and tell me which letter (as in /dev/sdX) is your second drive?14:36
eoinpyes14:36
eoinpsda14:37
valoaivoSDA14:37
eoinpsda is the 2tb hd14:37
valoaivosda should be the drive your install is on14:37
eoinpakuli: sudo echo hello prints helow as expected14:37
Akulimaybe we're looking at the wrong drive14:38
eoinpvolaoivo: currently i don't even have mint instaled, currenlty boting from live image14:38
Akulieoinp, i thought you were getting stuck at sudo's password asking and you thought the drive was encrypted lol :)14:38
valoaivoCan you open Disks app and confirm the drive?14:38
eoinpcurrently, in my file manager, all drives have dissapeared. theonly folder i see is "file system" this happened abut an hour ago..14:39
eoinpakuli: yea, the drives were showing up in file manager, i would try click to open, and it would promtp me for a password, which there shouldnt have been one anyways14:40
valoaivoDoes Mint have the Disks app on the live CD?14:40
eoinpvol: will open disks now, 1 sec14:40
Akulieoinp, can you tell which of the things showing up in lsblk is your drive?14:40
Akulii'd guess sdb14:41
valoaivoYeah14:41
valoaivosda partitioning looks like an encrypted Mint install14:42
hahlomuistu mieleen kun joku "löysi" macin meni istoreen kyseleen miten saa auki14:42
valoaivo(Has root and swap there)14:43
eoinpit must be this:<eoinp> sda                   8:0    0   1.8T  0 disk14:43
eoinp<eoinp> ├─sda1                8:1    0   512M  0 part14:43
eoinp<eoinp> ├─sda2                8:2    0   488M  0 part  /media/min14:43
eoinp<eoinp> └─sda3                8:3    0   1.8T  0 part14:43
eoinp<eoinp>   └─luks-8a615622-600a-4d84-ba21-69ac3c3eac0e14:43
eoinp<eoinp>                     252:0    0   1.8T  0 crypt14:43
eoinp<eoinp>     ├─mint--vg-root 252:1    0   1.8T  0 lvm14:43
eoinp<eoinp>     └─mint--vg-swap_114:43
eoinpsorry i'll pastebin14:43
eoinphttp://pastebin.com/fAbYGL4Z14:44
eoinpi have a 256gb SSD and a 2TB hardrive14:44
valoaivoWell, it looks like you have an encrypted Linux Mint installation on your 2TB drive14:45
eoinpis that not impossible when the drive was physically removed?14:45
valoaivoIf the 2TB drive was your backup drive, it's time for data recovery14:45
valoaivoAre you sure you removed that drive?14:46
eoinpyes14:46
valoaivoThe evidence suggests otherwise14:46
eoinphaha14:46
valoaivoI don't know how to tell this to you, but you might have your drives messed up14:47
eoinpbut it was physically removed. i had bought a 2tb hardrive and a caddy for the optical bay.. i removed the caddy and installed the OS, put it back in a day later14:49
Akulihis full lsblk http://dpaste.com/30R4CVQ14:50
eoinpwould enter a password to access my encryption, then another password for my account... neither of these worked to open the 2nd hardrive int he caddy14:50
eoinpalso, just a quick show of gratitude.. thanks for the help :)14:51
Akuliare you sure you had the same keyboard layout?14:51
eoinpno i think it changed.. i chose ireland when installing... (maybe after the encryption stage though?) now i am on live, which would be default14:52
eoinpit was only alpha-numeric.. so i am not sure if anything would have changed14:52
Akulihmm14:52
valoaivoThe password is one thing, but the physically disconnected drive getting partitioned like a Mint install is another14:52
eoinpnow, as of a few hours, the drives are no longer visible in the file explorer so i can't even attempt to mount and enter a password14:53
Akuliwe need names for these drives14:53
Akulilet's call them A and B14:53
valoaivoHow about sda and sdb? :P14:53
eoinpyes, a can be my primary ssd with the os installed14:53
eoinplol14:53
Akulieoinp, can you now explain us what exactly you have done with the drives A and B?14:53
eoinpb would be the 2tb storage drive that was remove14:53
eoinpdrive a constantly left in the pc14:54
valoaivoCan you remove one now, identify it physically and pastebin lsblk output?14:54
eoinpdrive b easily removed during installation of Mint and reinserted afterward14:54
eoinpwill that work with leaving the laptop running?14:55
eoinpi have cleared my 256gb ssd and that is why i am now using the live boot image14:56
eoinpthat is why the sdb is showing no mint installation14:57
valoaivoYeah, I hotplug drives all the time14:57
valoaivoBe sure to unmount all partitions and power down the drive14:57
valoaivoWait... So you cleared out your SSD?14:59
valoaivoThere *definitely* is an encrypted Mint install on your 2 TB drive15:00
valoaivoI can prove you15:00
valoaivoShut down the computer and boot from the 2TB drive15:01
eoinpright i will do that15:08
eoinpill be back... thanks for the help guys15:09
valoaivoNo problem15:09
valoaivoMitä veikkaatte?15:10
Akulien tiedä yhtään mitä tapahtuu15:11
valoaivoAsensiko se Mintun varmuuskopiolevylle?15:11
valoaivoJa jos asensi, ei varmaan palaa kertomaan olleensa väärässä15:11
ninnnuai siitäkö tässä väännetään15:11
valoaivoSiltähän tuo vaikuttaa15:12
ninnnuno ihan selkeesti 2T lätyllä on Mint, ja se kai oli se backup-media15:12
valoaivoJep, sama päätelmä15:12
valoaivoTaisi mennä levyt sekaisin15:12
valoaivoOsaako joku selostaa testdiskin käyttöä rallienglannilla jos eoinp palaa?15:14
Tominylikirjoittaako LUKS tyhjän tilan?15:21
valoaivoEi kai, muuten asennus kestäisi ikuisuuden15:21
valoaivo^^ ehkä surkein argumenttini ikinä15:24
LaodikeaSiinä asennusohjelmassa on täppä levyn ylikirjoittamiselle, mutta nyt en muista missä kohtaa se oli15:24
Laodikeaen ole koskaan valinnut sitä15:25
valoaivoNiin muuten onkin15:27
valoaivoMutta eikös se ole format eikä ylikirjoita?15:27
Laodikeakyllä se on tyhjän levytilan päällekirjoitusvalinta15:28
valoaivoAi, no se on eri täppä15:29
valoaivoMistä jakelusta me puhutaan?15:29
Laodikeaubuntusta15:30
Laodikea!mint15:30
lubotu3Linux Mint ei ole Ubuntun tuettu rinnakkaisjakelu. Ole hyvä ja hae tukea kanavalta #linuxmint-help palvelimella irc.spotchat.org15:30
valoaivoJuu, ubuntusta minäkin15:31
valoaivoItse käytän aina englanniksi ja valitsen partitioinnin "Something else"-kohdasta15:32
valoaivoSiellä on format-täppä15:32
LaodikeaJoo, minä en muista koskaan käyttäneeni sitä something else-kohtaa15:33
valoaivomint are you eoinp?15:37
Akulimint is mint's default username, i guess he is15:40
mintYES! i thought i lost this channel forever15:42
mintsadly.. did not work15:42
minti removed it from it's caddy and inserted it where the SSD was15:43
valoaivoWhat happened when you tried to boot from the 2TB disk?15:44
mintiskhttp://imgur.com/a/wBAe515:44
mintit just said there was no meida present and returned me to the bios boot menu15:45
Akulihow does linux detect the partition type?15:45
mint?15:45
minthttp://imgur.com/a/hD3Qf15:46
mintwhat is interesting if you look at those images15:47
valoaivoThat fat partition on your 2 TB disk (seen on your screenshot) is likely where your /boot is15:47
mintthere are 2 "2TB volumes"15:47
mintone which has an open lock15:47
mintunder contents it says "LUKS Encryption (version 1) — Unlocked"15:47
mintunlocked being the interesting part15:47
valoaivoWell the encrypted LUKS partition is on LVM15:48
mintLocal virtual machine?15:49
valoaivoLogical Volume Management15:49
mintah.. thanks15:49
mintis there anything that looks out of place with the way it is encrypted15:50
mintor is that how a standard encryption would actually look?15:50
valoaivohttps://en.m.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)15:50
valoaivoWell, that looks just like an encrypted Linux Mint installation15:51
valoaivoDoes the encrypted partition show up on your file manager?15:51
mintwhen i first start the machine, yes..15:52
mintnow it seems to dissapear after an unsuccessful log in attempt15:52
valoaivoWhat programs do you have open?15:52
mintnow? just firefox and hexchat15:53
valoaivoGparted, for example makes them disappear15:53
mintnot open now15:53
mintwas before15:53
valoaivoAnyway, trying to open the encrypted partition is just a waste of your time at this point15:54
valoaivoIf it was a fresh install, there is nothing of interest in there15:54
mintwell it is all my photos and my wifes photos15:55
mintall the rest i couldn't care about15:55
valoaivoAs you can see from your screenshot, you have overwritten your mbr partition table with GUID partition table15:55
mintnot that it makes a difference, if it is gone it is gone15:56
valoaivoWhat you can do now is install photorec and hope for the best15:56
mintah ok, can i ask the process with photorec?15:57
valoaivohttps://wiki.archlinux.org/index.php/File_recovery#Testdisk_and_PhotoRec15:57
valoaivoAlso read the man page15:58
valoaivo(man photorec)15:58
valoaivoNote that you need a drive to hold the recovered files15:59
mintcan you select the files or is it all or nothing?16:00
valoaivoAll or nothing16:00
mintlike, if there is 500gb of files, and i only care about 1 gig16:01
mintahh16:01
mintok16:01
valoaivoIt doesn't look at the file system, it reads bits directly from the drive16:01
Tominyou can choose what filetypes it looks for though16:01
valoaivoYes16:01
Tomins/what/which/16:02
valoaivoAh, I see that you are on the same side as me in the holy editor war16:02
Tominwell, I think regex is quite universal16:04
Tomintosin joo, vimiä tuppaan käyttämään16:04
mintif i was to pay for data recovery service, would they be able to get it?16:04
valoaivoWell, I suppose cheap data recovery shops use the same software ;)16:06
mintlol16:06
Tominprobably not if you have overwritten the data you need. If you are lucky, then yes. Hard to say, the HDD is quite big, but we don't know where the file system put the data16:06
Tominyeah16:06
mintalso, will the target overdrive be overwritten?16:06
mint*target hardrive be overwritting16:07
valoaivoThe really expensive ones might get some more data out, because you only overwrote it once16:07
valoaivoNo, photorec will output found files in a folder16:07
mintand if the target drive runs out of space what will happen then?16:08
mintsorry for all the questions, just don't wanna fuck shit up on another hard drive16:08
valoaivoUh, photorec fails to write and will stop?16:09
mintthen i can just start again?16:09
valoaivoIf you want to be sure, test it with a memory stick16:09
mintinstead of corrupting everything in the process?16:09
mintcool16:09
Tominyes you can try again16:10
valoaivoIt should output files like any other program so the output hard drive should magically explode if it runs out of space16:11
mintlol...worst case scenario ;)16:11
valoaivoLemme find the man page16:11
mintyea, i just have no idea how sensitive the data is at that point.. never played with data recovery software before16:11
Tominyou should know that it will be slow, it will find files that you don't need and the files won't have correct filenames, so you need to be very patient16:12
mintyea, i just have no idea how sensitive the data is at that point.. never played with data recovery software before?16:12
mintoops16:12
mintwill it show file directories? i would think i would not16:12
valoaivoI don't think it does16:13
Tominit wont16:13
valoaivoJust invidual files16:13
Tominthe file system is destroyed so it will be brute force finding of the files16:13
valoaivoNo metadata I guess16:13
Tomins/finding/search16:13
valoaivoSearch of the files?16:14
Tominwell, i mean it will read the disk byte by byte and try to guess if the data resembles a file16:15
Tominthat's why it needs to know what type the files are16:15
valoaivo[18:01] <valoaivo> It doesn't look at the file system, it reads bits directly from the drive16:15
Tominyes16:16
Tominthat's what I meant by searching16:16
valoaivoLooking at the man page, the command you need is "photorec /d *output folder* /dev/sda"16:16
valoaivoTomin: I was pointing out your grammar, sorry16:17
Tominaa, aivan :D16:17
valoaivoI really shouldn't since mine sucks as well16:18
Tominihmettelen kyllä miksi kirjoitellaan täällä englanniksi, ehkä ihmisillä on tylsää näin joulun välipäivinä ;)16:19
mintright, i shall try that then!16:19
mintthanks again guys16:19
valoaivoNo problem :)16:19
Akulimint/eoinp probably doesn't speak finnish16:19
valoaivoGlad to share my limited knowledge16:20
TominAkuli: yes, but usually we tell non-Finnish people to ask on another channel16:20
Tomin(well, I don't, but usually somebody does ;)16:20
Akulioh i see, i guess he didn't get help on other channels16:20
valoaivoThere wasn't much going on here anyway16:21
Akuliother support channels are often either big and there's no time to provide help that takes a long time16:21
Akulior they're small and nobody knows how to help :)16:21
valoaivoWell, I don't know that much about stuff but I've installed a few distros and accidentally destroyed countless backups16:22
valoaivoI'm sick and been lying in bed the whole day so I have time16:23
valoaivoToday, you, tomorrow me16:23
valoaivoUh, please ignore the commas16:24
hahlojos joku puhuu noin hyvää lontoota16:25
hahloniin ilo sitä lukea16:25
valoaivoKiitos <316:26
EchramathToi noin, vissiin usbitetheröinti toimii tätä nykyä sillai ihan luotettavasti ja out of box?16:31
EchramathPitäis ehkä kokeilla koota yksi pöytäkone ja asennelle joku ubuntu siihen16:31
EchramathEikä tietenkään eetterinettiä16:31
Tominainakin Androidilla nykyään toimii ihan suoraan. Android näkyy tietokoneelle verkkokorttina16:32
Akulivoit asentaa sen kovalevylle jollain toisella koneella missä on netti ja sitten siirtää kovalevyn siihen ensimmäiseen koneeseen16:32
Tominainakin omalla Nexus 7:lla (joku 4-versio alkujaan ollut)16:32
Tominsillä voi yhdistää wlaniinkin, mikä on kätevää, jos vaikka asennusmedialta puuttuu wlanin laiteohjelmistot16:33
EchramathNo niin voisin mutta aattelin näyttää viattomille lapsukaisille miten homma menee16:33
EchramathTai siis pistän ne kokoamaan ensin koneen ja sitten asentamaan käyttiksen ja huutelen itse vaan16:34
LaodikeaJoo, Androideilla toimii out-of-the-box, olen käyttänyt paljon. W**10 phonella taas ei saa usb:n kautta nettiä jaettua16:36
EchramathTämä tuli huomattua16:38

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!