[14:01] <valoaivo> Onko Xubuntussa mitään tapaa estää Bluetoothin päälle meno käynnistyksen yhteydessä?
[14:02] <valoaivo> Ja saako akun prosentit näkymään Xubuntun kirjautumis- ja lukitusnäyttöön?
[14:07] <Laodikea> Molempiin: kyllä
[14:08] <Laodikea> Sitä en sitten tiedä, miten, mutta joku toinen voi tietää
[14:08] <valoaivo> XD
[14:09] <valoaivo> Kiitos kuitenkin
[14:10] <ninnnu> "sudo systemctl disable bluetooth" vois olla ekan ratkaisu
[14:10] <valoaivo> Ekan ympäri olen päässyt laittamalla rfkillin sulkemaan bluetoothin käynnistäessä, mutta indikaattori laittaa sen päälle kun kirjaudun sisään
[14:13] <valoaivo> Indikaattorin poistaminen session autostartista korjasi ongelman, mutta nyt bluetoothin laittaminen päälle on mutkan takana
[14:14] <valoaivo> Nojoo, ehkä mä teen siihen kivan skriptin
[14:14] <valoaivo> Mut mites akun varauksen saa kirjautumisruutuun?
[14:18] <eoinp> hey does anyone know about lux in here?
[14:18] <valoaivo> lux as in the screen color thingy or what?
[14:19] <StockAntenna> The lux (symbol: lx) is the SI unit of illuminance and luminous emittance, measuring luminous flux per unit area.
[14:20] <valoaivo> eoinp What do you need to know about lux?
[14:21] <eoinp> I'm having an issue (please hear me out before thinking i am simply trying to crack an encryption!)
[14:22] <valoaivo> Cracker detected! Call the internet police!
[14:23] <eoinp> Linux 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 drive
[14:23] <eoinp> I tried reinstaling mint without the encryption on the OS and i could still not open it
[14:24] <valoaivo> Have you got hit by ransomware?
[14:24] <valoaivo> Has the drive worked before?
[14:24] <valoaivo>  Please tell me you had backups
[14:24] <eoinp> I can't understand how this could happen, when this 2nd laptop hardrive was removed from the laptop during the installation/encryption process... physically removed
[14:24] <Akuli> is there something important on the drive or do you just want to install an operating system and use it?
[14:24] <Akuli> ?
[14:25] <eoinp> This WAS my backup!
[14:25] <Akuli> hmm :(
[14:25] <eoinp> which is why im trying to hard to solve this
[14:25] <valoaivo> Well then you have no problem at hand
[14:25] <valoaivo> Just erase the drive
[14:25] <eoinp> i backed everything up from windows... ran the live image from the botable usb.. here i was able to access the 2nd hd
[14:26] <valoaivo> Are you telling me the only copy was on your backup drive?
[14:26] <eoinp> sorry 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] <valoaivo> Ouch
[14:26] <eoinp> yep
[14:26] <eoinp> balls thoroughly busted
[14:26] <valoaivo> You know, a backup stops being a backup when it is the only copy
[14:27] <valoaivo> Having a backup means having at least two separate copies
[14:28] <valoaivo> Sorry to be so harsh to you, but it's important you learn your lesson
[14:28] <eoinp> yea, yea... i messed up
[14:28] <valoaivo> So: data rescue
[14:28] <eoinp> there 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 hardrive
[14:28] <Akuli> maybe the drive is just broken rather than being actually encrypted?
[14:29] <valoaivo> What format was the drive in?
[14:29] <eoinp> i didn't change any format on the linux side. It came from a windows computer, so i would assume ntfs
[14:29] <valoaivo> Install testdisk and see if you can find your lost partition
[14:29] <Akuli> does it show up in lsblk?
[14:30] <eoinp> what makes you think it is "lost"?
[14:30] <eoinp> i think it does show in lsblk
[14:30] <valoaivo> If not, see what photorec can dig up
[14:30] <Akuli> eoinp, can you mount it?
[14:30] <Akuli> sudo mount /dev/yourpartition /mnt
[14:31] <valoaivo> I think it's "lost" if you can't access it and the data inside
[14:31] <eoinp> NAME                MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
[14:31] <eoinp> sda                   8:0    0   1.8T  0 disk
[14:31] <eoinp> ├─sda1                8:1    0   512M  0 part
[14:31] <eoinp> ├─sda2                8:2    0   488M  0 part  /media/min
[14:31] <eoinp> └─sda3                8:3    0   1.8T  0 part
[14:31] <eoinp>   └─luks-8a615622-600a-4d84-ba21-69ac3c3eac0e
[14:31] <eoinp>                     252:0    0   1.8T  0 crypt
[14:31] <eoinp>     ├─mint--vg-root 252:1    0   1.8T  0 lvm
[14:31] <eoinp>     └─mint--vg-swap_1
[14:31] <eoinp>                     252:2    0   7.9G  0 lvm
[14:31] <eoinp> sdb                   8:16   0 232.9G  0 disk
[14:31] <eoinp> └─sdb3                8:19   0   7.9G  0 part
[14:31] <eoinp> sdc                   8:32   1   7.3G  0 disk
[14:31] <eoinp> └─sdc1                8:33   1   7.3G  0 part  /cdrom
[14:31] <eoinp> loop0                 7:0    0   1.5G  1 loop  /rofs
[14:31] <Akuli> älkää potkasko sitä vielä... varotetaan ensin :)
[14:31] <eoinp> gotcha
[14:31] <Akuli> eoinp, next time you might as well use a pastebin :)
[14:31] <Akuli> lsblk | nc termbin.com 9999
[14:32] <eoinp> when i try mount it, it asks for my passphrase
[14:32] <Akuli> oh
[14:32] <Akuli> and that makes you think its encrypted?
[14:32] <eoinp> the only passphrases i WOULD have used do not work, neither does just pressing empty
[14:32] <ninnnu> Akuli: Well, the partition list says "LUKS" on it
[14:32] <valoaivo> lol
[14:32] <eoinp> the password was only numbers and letters so i doubt that keyboard layout between live/installed would have made a difference?
[14:32] <valoaivo> Have you tried your account password?
[14:32] <eoinp> and sorry, next time i'll pastebin
[14:32] <Akuli> eoinp, try this: sudo echo hello
[14:33] <ninnnu> eoinp: It could matter, if you used e.g :
[14:33] <Akuli> eoinp, do you have the same password asking problem?
[14:33] <ninnnu> i.e letters that are in different location when comparing FI and US keyboards
[14:34] <eoinp> with mountit says: sudo mount /dev/yourpartition /mnt
[14:34] <valoaivo> You could try switching your keyboard layout from input settings
[14:34] <eoinp> sorry: dev/sda is already mounted or /mnt busy
[14:35] <valoaivo> Wait
[14:36] <valoaivo> Can you copy the exact command and tell me which letter (as in /dev/sdX) is your second drive?
[14:36] <eoinp> yes
[14:37] <eoinp> sda
[14:37] <valoaivo> SDA
[14:37] <eoinp> sda is the 2tb hd
[14:37] <valoaivo> sda should be the drive your install is on
[14:37] <eoinp> akuli: sudo echo hello prints helow as expected
[14:38] <Akuli> maybe we're looking at the wrong drive
[14:38] <eoinp> volaoivo: currently i don't even have mint instaled, currenlty boting from live image
[14:38] <Akuli> eoinp, i thought you were getting stuck at sudo's password asking and you thought the drive was encrypted lol :)
[14:38] <valoaivo> Can you open Disks app and confirm the drive?
[14:39] <eoinp> currently, in my file manager, all drives have dissapeared. theonly folder i see is "file system" this happened abut an hour ago..
[14:40] <eoinp> akuli: 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 anyways
[14:40] <valoaivo> Does Mint have the Disks app on the live CD?
[14:40] <eoinp> vol: will open disks now, 1 sec
[14:40] <Akuli> eoinp, can you tell which of the things showing up in lsblk is your drive?
[14:41] <Akuli> i'd guess sdb
[14:41] <valoaivo> Yeah
[14:42] <valoaivo> sda partitioning looks like an encrypted Mint install
[14:42] <hahlo> muistu mieleen kun joku "löysi" macin meni istoreen kyseleen miten saa auki
[14:43] <valoaivo> (Has root and swap there)
[14:43] <eoinp> it must be this:<eoinp> sda                   8:0    0   1.8T  0 disk
 ├─sda1                8:1    0   512M  0 part
 ├─sda2                8:2    0   488M  0 part  /media/min
 └─sda3                8:3    0   1.8T  0 part
   └─luks-8a615622-600a-4d84-ba21-69ac3c3eac0e
                     252:0    0   1.8T  0 crypt
     ├─mint--vg-root 252:1    0   1.8T  0 lvm
     └─mint--vg-swap_1
[14:43] <eoinp> sorry i'll pastebin
[14:44] <eoinp> http://pastebin.com/fAbYGL4Z
[14:44] <eoinp> i have a 256gb SSD and a 2TB hardrive
[14:45] <valoaivo> Well, it looks like you have an encrypted Linux Mint installation on your 2TB drive
[14:45] <eoinp> is that not impossible when the drive was physically removed?
[14:45] <valoaivo> If the 2TB drive was your backup drive, it's time for data recovery
[14:46] <valoaivo> Are you sure you removed that drive?
[14:46] <eoinp> yes
[14:46] <valoaivo> The evidence suggests otherwise
[14:46] <eoinp> haha
[14:47] <valoaivo> I don't know how to tell this to you, but you might have your drives messed up
[14:49] <eoinp> but 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 later
[14:50] <Akuli> his full lsblk http://dpaste.com/30R4CVQ
[14:50] <eoinp> would enter a password to access my encryption, then another password for my account... neither of these worked to open the 2nd hardrive int he caddy
[14:51] <eoinp> also, just a quick show of gratitude.. thanks for the help :)
[14:51] <Akuli> are you sure you had the same keyboard layout?
[14:52] <eoinp> no i think it changed.. i chose ireland when installing... (maybe after the encryption stage though?) now i am on live, which would be default
[14:52] <eoinp> it was only alpha-numeric.. so i am not sure if anything would have changed
[14:52] <Akuli> hmm
[14:52] <valoaivo> The password is one thing, but the physically disconnected drive getting partitioned like a Mint install is another
[14:53] <eoinp> now, 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 password
[14:53] <Akuli> we need names for these drives
[14:53] <Akuli> let's call them A and B
[14:53] <valoaivo> How about sda and sdb? :P
[14:53] <eoinp> yes, a can be my primary ssd with the os installed
[14:53] <eoinp> lol
[14:53] <Akuli> eoinp, can you now explain us what exactly you have done with the drives A and B?
[14:53] <eoinp> b would be the 2tb storage drive that was remove
[14:54] <eoinp> drive a constantly left in the pc
[14:54] <valoaivo> Can you remove one now, identify it physically and pastebin lsblk output?
[14:54] <eoinp> drive b easily removed during installation of Mint and reinserted afterward
[14:55] <eoinp> will that work with leaving the laptop running?
[14:56] <eoinp> i have cleared my 256gb ssd and that is why i am now using the live boot image
[14:57] <eoinp> that is why the sdb is showing no mint installation
[14:57] <valoaivo> Yeah, I hotplug drives all the time
[14:57] <valoaivo> Be sure to unmount all partitions and power down the drive
[14:59] <valoaivo> Wait... So you cleared out your SSD?
[15:00] <valoaivo> There *definitely* is an encrypted Mint install on your 2 TB drive
[15:00] <valoaivo> I can prove you
[15:01] <valoaivo> Shut down the computer and boot from the 2TB drive
[15:08] <eoinp> right i will do that
[15:09] <eoinp> ill be back... thanks for the help guys
[15:09] <valoaivo> No problem
[15:10] <valoaivo> Mitä veikkaatte?
[15:11] <Akuli> en tiedä yhtään mitä tapahtuu
[15:11] <valoaivo> Asensiko se Mintun varmuuskopiolevylle?
[15:11] <valoaivo> Ja jos asensi, ei varmaan palaa kertomaan olleensa väärässä
[15:11] <ninnnu> ai siitäkö tässä väännetään
[15:12] <valoaivo> Siltähän tuo vaikuttaa
[15:12] <ninnnu> no ihan selkeesti 2T lätyllä on Mint, ja se kai oli se backup-media
[15:12] <valoaivo> Jep, sama päätelmä
[15:12] <valoaivo> Taisi mennä levyt sekaisin
[15:14] <valoaivo> Osaako joku selostaa testdiskin käyttöä rallienglannilla jos eoinp palaa?
[15:21] <Tomin> ylikirjoittaako LUKS tyhjän tilan?
[15:21] <valoaivo> Ei kai, muuten asennus kestäisi ikuisuuden
[15:24] <valoaivo> ^^ ehkä surkein argumenttini ikinä
[15:24] <Laodikea> Siinä asennusohjelmassa on täppä levyn ylikirjoittamiselle, mutta nyt en muista missä kohtaa se oli
[15:25] <Laodikea> en ole koskaan valinnut sitä
[15:27] <valoaivo> Niin muuten onkin
[15:27] <valoaivo> Mutta eikös se ole format eikä ylikirjoita?
[15:28] <Laodikea> kyllä se on tyhjän levytilan päällekirjoitusvalinta
[15:29] <valoaivo> Ai, no se on eri täppä
[15:29] <valoaivo> Mistä jakelusta me puhutaan?
[15:30] <Laodikea> ubuntusta
[15:30] <Laodikea> !mint
[15:31] <valoaivo> Juu, ubuntusta minäkin
[15:32] <valoaivo> Itse käytän aina englanniksi ja valitsen partitioinnin "Something else"-kohdasta
[15:32] <valoaivo> Siellä on format-täppä
[15:33] <Laodikea> Joo, minä en muista koskaan käyttäneeni sitä something else-kohtaa
[15:37] <valoaivo> mint are you eoinp?
[15:40] <Akuli> mint is mint's default username, i guess he is
[15:42] <mint> YES! i thought i lost this channel forever
[15:42] <mint> sadly.. did not work
[15:43] <mint> i removed it from it's caddy and inserted it where the SSD was
[15:44] <valoaivo> What happened when you tried to boot from the 2TB disk?
[15:44] <mint> iskhttp://imgur.com/a/wBAe5
[15:45] <mint> it just said there was no meida present and returned me to the bios boot menu
[15:45] <Akuli> how does linux detect the partition type?
[15:45] <mint> ?
[15:46] <mint> http://imgur.com/a/hD3Qf
[15:47] <mint> what is interesting if you look at those images
[15:47] <valoaivo> That fat partition on your 2 TB disk (seen on your screenshot) is likely where your /boot is
[15:47] <mint> there are 2 "2TB volumes"
[15:47] <mint> one which has an open lock
[15:47] <mint> under contents it says "LUKS Encryption (version 1) — Unlocked"
[15:47] <mint> unlocked being the interesting part
[15:48] <valoaivo> Well the encrypted LUKS partition is on LVM
[15:49] <mint> Local virtual machine?
[15:49] <valoaivo> Logical Volume Management
[15:49] <mint> ah.. thanks
[15:50] <mint> is there anything that looks out of place with the way it is encrypted
[15:50] <mint> or is that how a standard encryption would actually look?
[15:50] <valoaivo> https://en.m.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)
[15:51] <valoaivo> Well, that looks just like an encrypted Linux Mint installation
[15:51] <valoaivo> Does the encrypted partition show up on your file manager?
[15:52] <mint> when i first start the machine, yes..
[15:52] <mint> now it seems to dissapear after an unsuccessful log in attempt
[15:52] <valoaivo> What programs do you have open?
[15:53] <mint> now? just firefox and hexchat
[15:53] <valoaivo> Gparted, for example makes them disappear
[15:53] <mint> not open now
[15:53] <mint> was before
[15:54] <valoaivo> Anyway, trying to open the encrypted partition is just a waste of your time at this point
[15:54] <valoaivo> If it was a fresh install, there is nothing of interest in there
[15:55] <mint> well it is all my photos and my wifes photos
[15:55] <mint> all the rest i couldn't care about
[15:55] <valoaivo> As you can see from your screenshot, you have overwritten your mbr partition table with GUID partition table
[15:56] <mint> not that it makes a difference, if it is gone it is gone
[15:56] <valoaivo> What you can do now is install photorec and hope for the best
[15:57] <mint> ah ok, can i ask the process with photorec?
[15:57] <valoaivo> https://wiki.archlinux.org/index.php/File_recovery#Testdisk_and_PhotoRec
[15:58] <valoaivo> Also read the man page
[15:58] <valoaivo> (man photorec)
[15:59] <valoaivo> Note that you need a drive to hold the recovered files
[16:00] <mint> can you select the files or is it all or nothing?
[16:00] <valoaivo> All or nothing
[16:01] <mint> like, if there is 500gb of files, and i only care about 1 gig
[16:01] <mint> ahh
[16:01] <mint> ok
[16:01] <valoaivo> It doesn't look at the file system, it reads bits directly from the drive
[16:01] <Tomin> you can choose what filetypes it looks for though
[16:01] <valoaivo> Yes
[16:02] <Tomin> s/what/which/
[16:02] <valoaivo> Ah, I see that you are on the same side as me in the holy editor war
[16:04] <Tomin> well, I think regex is quite universal
[16:04] <Tomin> tosin joo, vimiä tuppaan käyttämään
[16:04] <mint> if i was to pay for data recovery service, would they be able to get it?
[16:06] <valoaivo> Well, I suppose cheap data recovery shops use the same software ;)
[16:06] <mint> lol
[16:06] <Tomin> probably 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 data
[16:06] <Tomin> yeah
[16:06] <mint> also, will the target overdrive be overwritten?
[16:07] <mint> *target hardrive be overwritting
[16:07] <valoaivo> The really expensive ones might get some more data out, because you only overwrote it once
[16:07] <valoaivo> No, photorec will output found files in a folder
[16:08] <mint> and if the target drive runs out of space what will happen then?
[16:08] <mint> sorry for all the questions, just don't wanna fuck shit up on another hard drive
[16:09] <valoaivo> Uh, photorec fails to write and will stop?
[16:09] <mint> then i can just start again?
[16:09] <valoaivo> If you want to be sure, test it with a memory stick
[16:09] <mint> instead of corrupting everything in the process?
[16:09] <mint> cool
[16:10] <Tomin> yes you can try again
[16:11] <valoaivo> It should output files like any other program so the output hard drive should magically explode if it runs out of space
[16:11] <mint> lol...worst case scenario ;)
[16:11] <valoaivo> Lemme find the man page
[16:11] <mint> yea, i just have no idea how sensitive the data is at that point.. never played with data recovery software before
[16:12] <Tomin> you 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 patient
[16:12] <mint> yea, i just have no idea how sensitive the data is at that point.. never played with data recovery software before?
[16:12] <mint> oops
[16:12] <mint> will it show file directories? i would think i would not
[16:13] <valoaivo> I don't think it does
[16:13] <Tomin> it wont
[16:13] <valoaivo> Just invidual files
[16:13] <Tomin> the file system is destroyed so it will be brute force finding of the files
[16:13] <valoaivo> No metadata I guess
[16:13] <Tomin> s/finding/search
[16:14] <valoaivo> Search of the files?
[16:15] <Tomin> well, i mean it will read the disk byte by byte and try to guess if the data resembles a file
[16:15] <Tomin> that's why it needs to know what type the files are
[16:15] <valoaivo> [18:01] <valoaivo> It doesn't look at the file system, it reads bits directly from the drive
[16:16] <Tomin> yes
[16:16] <Tomin> that's what I meant by searching
[16:16] <valoaivo> Looking at the man page, the command you need is "photorec /d *output folder* /dev/sda"
[16:17] <valoaivo> Tomin: I was pointing out your grammar, sorry
[16:17] <Tomin> aa, aivan :D
[16:18] <valoaivo> I really shouldn't since mine sucks as well
[16:19] <Tomin> ihmettelen kyllä miksi kirjoitellaan täällä englanniksi, ehkä ihmisillä on tylsää näin joulun välipäivinä ;)
[16:19] <mint> right, i shall try that then!
[16:19] <mint> thanks again guys
[16:19] <valoaivo> No problem :)
[16:19] <Akuli> mint/eoinp probably doesn't speak finnish
[16:20] <valoaivo> Glad to share my limited knowledge
[16:20] <Tomin> Akuli: yes, but usually we tell non-Finnish people to ask on another channel
[16:20] <Tomin> (well, I don't, but usually somebody does ;)
[16:20] <Akuli> oh i see, i guess he didn't get help on other channels
[16:21] <valoaivo> There wasn't much going on here anyway
[16:21] <Akuli> other support channels are often either big and there's no time to provide help that takes a long time
[16:21] <Akuli> or they're small and nobody knows how to help :)
[16:22] <valoaivo> Well, I don't know that much about stuff but I've installed a few distros and accidentally destroyed countless backups
[16:23] <valoaivo> I'm sick and been lying in bed the whole day so I have time
[16:23] <valoaivo> Today, you, tomorrow me
[16:24] <valoaivo> Uh, please ignore the commas
[16:25] <hahlo> jos joku puhuu noin hyvää lontoota
[16:25] <hahlo> niin ilo sitä lukea
[16:26] <valoaivo> Kiitos <3
[16:31] <Echramath> Toi noin, vissiin usbitetheröinti toimii tätä nykyä sillai ihan luotettavasti ja out of box?
[16:31] <Echramath> Pitäis ehkä kokeilla koota yksi pöytäkone ja asennelle joku ubuntu siihen
[16:31] <Echramath> Eikä tietenkään eetterinettiä
[16:32] <Tomin> ainakin Androidilla nykyään toimii ihan suoraan. Android näkyy tietokoneelle verkkokorttina
[16:32] <Akuli> voit asentaa sen kovalevylle jollain toisella koneella missä on netti ja sitten siirtää kovalevyn siihen ensimmäiseen koneeseen
[16:32] <Tomin> ainakin omalla Nexus 7:lla (joku 4-versio alkujaan ollut)
[16:33] <Tomin> sillä voi yhdistää wlaniinkin, mikä on kätevää, jos vaikka asennusmedialta puuttuu wlanin laiteohjelmistot
[16:33] <Echramath> No niin voisin mutta aattelin näyttää viattomille lapsukaisille miten homma menee
[16:34] <Echramath> Tai siis pistän ne kokoamaan ensin koneen ja sitten asentamaan käyttiksen ja huutelen itse vaan
[16:36] <Laodikea> Joo, Androideilla toimii out-of-the-box, olen käyttänyt paljon. W**10 phonella taas ei saa usb:n kautta nettiä jaettua
[16:38] <Echramath> Tämä tuli huomattua