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