/srv/irclogs.ubuntu.com/2018/11/18/#ubuntu.txt

OnionnionHi all, can someone point me to what the deb-src URI is for 18.04? Googling around I'm having trouble finding it..00:08
Onionnionjust trying to do a `build-dep samba`00:08
guivercOnionnion, it's the same as your binary line (with exception of '-src' addition00:10
OnionnionAh `deb-src http://archive.ubuntu.com/ubuntu bionic main` ?00:10
OerHeksjust enable source code in software/updates?00:11
OnionnionServer, no GUI00:11
guivercyep - I use a mirror & have universe etc. as well, but yeah00:11
Onionnionaaaand in this fresh install, there are no commented options either which is weird00:11
Onionniondidn't it used to include that?00:11
Onionnionall the other main repos just commented out00:11
OnionnionLooks like I also need universe and I don't have the exact string to memory00:12
OerHeksoh, just edit /etc/apt/sources.list and uncomment the deb-src sources..00:12
OnionnionI can't00:12
guivercOnionnion, i know some have it, but some like maybe minimal have reduced it to reduce size00:12
OnionnionMine doesn't have it00:12
OerHekssure it has00:12
OnionnionYeah this isn't even an explicit minimal install, just a standard 18.04.1 server install00:13
Onionnionhas no commented lines00:13
OerHeks...00:13
OnionnionSurprisingly difficult to find what the "full" sources.list file is on google00:13
guivercif you add a ' universe' after your main it's fine..  (it doesn't need its own line)00:13
OerHeksi am sure your sever has those entries00:14
OnionnionI does not anywhere in /etc/apt/00:14
guivercthere are some utiltiies that remove comments (i know one that finds you're fastest, it re-writes file with only it's new info - which is annoying) - it may have been lost post-install00:15
OerHekshttps://help.ubuntu.com/lts/serverguide/configuration.html.en00:15
OnionnionAha there's a full list00:15
OnionnionThough again, they are not preexistent00:15
Onionnionon a fresh 18.04.1 install00:16
recjHi all00:16
recjWhen I try to change my theme, the top and side bar stay the same and I don't see an option to change it00:16
OnionnionFeel free to try yourself in a VM and take a look, I know it used to be there for previous installs I did00:16
fengshaunOnionnion, my /etc/apt/sources.list is full00:17
recjok I see now00:24
recjit won't let me change my shell theme00:24
=== DrWatson_ is now known as DrWatson
X-RobOnionnion: Don't use the live ISO. It's broken. Or if you do, https://bugs.launchpad.net/subiquity/+bug/1783129/comments/2702:27
ubottuLaunchpad bug 1783129 in subiquity "Only "main" component enabled after install" [High,Confirmed]02:27
OnionnionInteresting02:37
OnionnionThough the ISO I downloaded was named “live” but it went right to install02:37
OnionnionAren’t the live ones usually where they bring you into a user space?02:37
=== daniel is now known as Guest21348
raidensnakedoes anyone know how to force grub to rin on a specific display output?02:44
raidensnakemy output always switches to hdmi output02:45
WoC-raidensnake, which video card?03:02
=== WoC- is now known as WoC
raidensnakeIntel i915 built into the4 z835003:03
raidensnakeI'm running a 7 inch display03:03
downer06dose anyone know how to to get two nvidia graphics cards with 4 displays to work in 18.04 with gnome? I can only get it to work with XFCE4. I really want the stock desktop.  If i do get it to work its with the novea driver not the nvidia and i get allot of screen tearing even with just web browsers.03:06
raidensnakehey woc03:59
OnionnionX-Rob: can you say which ISO should be used to install?04:31
Onionnionfor 18.04 Server04:31
OnionnionIf there is a different one from the "live"04:32
X-RobOnionnion: http://cdimage.ubuntu.com/ubuntu/releases/18.04/release/04:32
OnionnionHow are these different from the live?04:32
X-RobThey work.04:33
Onionnion¯\_(ツ)_/¯04:33
X-RobThey were, historically, the images that were distributed. Someone had the  brilliant idea to 1. Break the -live ISO, and 2. Hide the normal one04:33
X-RobIt may not have been in that orde.r04:33
OnionnionThe "live" I know for desktop gives you a user environment to use before installing but the server live appears to be the normal install04:35
OnionnionEh regardless I'll replace my install ISO with this one04:35
Onionnionthanks04:35
X-RobIt is different. You'll see when you use it.04:35
X-RobI don't understand what the point of a'live' server ISO is, when it doesn't actually do any live stuff.04:35
=== capella|away is now known as capella
OnionnionYeah04:36
cfhowlett!ping04:36
ubottupong!04:36
Guest52831hello my acer 471g laptop with 3rd gen intel is randomly rebooting (cold reboot)... it started about a week back maybe once a day or something, but now it doesn't last 5 minutes... It happens in both windows and ubuntu (including terminal mode, seems to last bit longer in terminal mode) Tried using different power outlets, plugpoints, tried a charger from a different laptop. tried removing and reinserting the ram module...04:37
Guest52831what could be most likely culprits .. I am wondering faulty CPU, mobo, keyboard, hdd, ram, ram slot... my laptop is optimus with a discrete nvidia gpu but i disable it...04:37
adikwokhello seniors, how to add /dev/sda7 to add space for my root at /dev/sda5 ?04:37
lotuspsychjemorning cfhowlett04:38
cfhowlettyowza ^3 lotuspsychje04:38
lotuspsychjeGuest52831: if it does on multiple Os, might be hardware issue04:38
OnionnionAhh yeah the installer is the more classic one04:39
lotuspsychjeGuest52831: update bios, reset cmos, try reset bios to defaults04:39
Guest52831lotuspsychje, ok thanks will try that... but its a 5 year old laptop... would bios update really help? i am bit afraid of it rebooting and bricking during bios update04:41
X-RobGuest52831: It sounds like the power regulators that drive the CPU, if it's a 'cold' boot. This is not something that's fixable. Time to go to ebay and grab a new laptop.04:42
lotuspsychjeGuest52831: i would advice opening a tail -f /var/log/syslog and see at wich point your system freezes/hangs/shutsdown04:42
lotuspsychjeadikwok: explain your end goal a bit to the channel, volunteers might help think04:44
Guest52831X-Rob, ah thanks ... was afraid of hearing something like that... So faulty RAM, HDD, a bad capacitor isn't likely the culprit? And this isn't something a mobo technician can fix?04:45
Guest52831lotuspsychje, i will try that too..04:45
X-RobGuest52831: Faulty RAM will normally cause a freeze or a crash.  A short circuit in a HDD could, potentially, cause a cold boot, but it's unlikely.  A capacitor on a modern laptop is not something that can be replaced without surface-mount soldering skills.04:46
X-RobHowever, if you want to check if it's the CPU, Boot the machine, and go into the BIOS. Just sit there, and see if it crashes.04:46
adikwoklotuspsychje: ok, i have /dev/sda5 89% used, and need to add extra space. my /dev/sda7 is almost not used. how to combine those /dev/sda5 /dev/sda7 to get more space for dev/sda5 which i used as / .. here is the pastebin .. http://paste.ubuntu.com/p/TB7ddQxK6J/04:46
X-RobIf it does (which it should), physically remove the HDD, and repeat the experiment.04:47
Guest52831X-Rob, if it does crash.. that means its not cpu?04:47
X-Robuh04:47
X-RobSorry, I meant HDD04:47
X-RobDunno why I typed CPU04:47
X-Robif you want to check if it's the HDD...04:47
Guest52831ah ok nice.. that is very helpful.. i felt it lasts longer in grub menu (but i think it rebooted once in grub too)04:48
lotuspsychjeadikwok: can gparted help you?04:48
adikwoklotuspsychje: here is the df -h .. http://paste.ubuntu.com/p/T2bxPbwqzQ/04:50
Guest52831how do i copy this chat window in hexchat so i can save it for reference04:52
Guest52831ah nvm found it04:52
adikwoklotuspsychje: excuse me lotus, i got to do housekeeping of my home. . brb. thanks and please excuse04:53
pilgrimmHi! I'm trying to set up a Diamond VC500/OTG102 dongle and it isn't working for me. I used linuxtv build sources to set up the drivers but it doesn't do much and disabled my webcam too, any idea what's the matter?05:12
pilgrimmMy hardware is lenovo yoga 720 on version 18.04.1 lts05:14
=== dspell is now known as DogBarq
=== dspell is now known as DogBarq
lotuspsychjepilgrimm: open a tail -f /var/log/syslog and plug your device in, pastebin the output to the channel, so volunteers can take a look05:37
=== DogBarq is now known as Dansible
pilgrimmlotuspsychje: https://pastebin.com/ZtP4bu9j05:40
=== Dansible is now known as doinkable
=== doinkable is now known as noidman
AngelKdepilgrimm,  you have problem whit your usb ?05:42
=== noidman is now known as DogBarq
pilgrimmAngelKde: why do you ask? is it the usb 1-2.2 that you're asking about?05:43
AngelKdepilgrimm,  sorry i look your pastebin05:45
superguestOnce upon a time multi-monitor setup was setup through the traditional configuration of /etc/X11/xorg.conf.  It is now primarily done through ~/.config/monitors.xml05:46
superguestQuestion: What system/program suite is  ~/.config/monitors.xml a part of?05:47
superguesti.e. which program(s) maintain(s) ~/.config/monitors.xml ?05:48
=== patr0clus is now known as s3nd1v0g1us
Avion18.04 wont book. Here's the screen. i dont understand. something about uefi.  https://m.imgur.com/JFgSXyS05:56
DogBarqUnified Extensible Firmware Interface05:57
Avionthe bios settings, check. win10 machine. i lovged out of ubuntu properly, win 10 to check wifi receptuin, back to 18.0405:58
cfhowlett!uefi05:58
ubottuUEFI is a specification that defines a software interface between an operating system and platform firmware. It is meant as a replacement for the BIOS. For information on how to set up and install Ubuntu and its derivatives on UEFI machines please read https://help.ubuntu.com/community/UEFI05:58
AvionDogBarq: hope you can help. bashing_om said I need someone familiat with that.05:59
Avionas I said, I checed yhe bios and iy was as before.05:59
DogBarqConsider this...05:59
DogBarqhttps://ubuntuforums.org/showthread.php?t=238070005:59
DogBarqPost #6 on that page may be the solution you seek.06:00
AvionDogBarq: i will look. just to check I booted up on a live usb. off to biew yr link. thanks.06:10
AvionDogBarq: no luck. (i dont have a standard secure boot option. i tried 16 ways ok maybe 10 or 11.  i tried various things, secure boot on, off. (tried innovating: cant turn off uefi without turning off legacy boot order)  I tried the prev ubuntu kernel version even.) i am still stuck.06:34
sub526HI All, apt-get update stuck at "0% [Connecting to in.archive.ubuntu.com", any idea what could be the reason? But i'm able to ping to in.archive.ubuntu.com06:39
lotuspsychjesub526: can you pastebin us the output plz06:47
sub526lotuspsychje: i just disabled the ipv6 and it worked fine, thanks06:49
=== caravena_ is now known as caravena
Avionno answe for me, sigh. dogblabla is gone06:55
Avion18.04 wont book. Here's the screen. i dont understand. something about could not get uefi db list  &  error* failed to blank crtcl    https://m.imgur.com/JFgSXyS06:56
Avionwony boot afte i visited win 10 pert.06:57
mikeasaurusI have ubuntu 18.04 installed on a new hp computer. Everything was working fine then I updated the bios on the computer and the drivers. Now ubuntu won't load, I've tried selecting ubuntu normal, ubuntu safemode with 4.15.0.39-generic, safe, .38 generic, safe, but after that screen the screen goes black and I see a blinking _ forever06:57
cfhowlettwin 10 partitions?06:57
Avionwhat if I installed ubuntu on another partition. i have about 8 more partitions ready to go. i can use the same swap part I suppose. heh.06:58
AvionI divided the entire Windows drive into a set of partitions so that I could start with the back one first06:58
cfhowlettAvion, if you partitioned with windows after installing ubuntu, it is quite easy to confuse/break.  thus the best practice of 1. install/configure windows. 2. THEN install ubuntu.07:00
Avioncfhowlett: i did not. 8 partitioned with win10 before installing ubuntu07:06
* Avion is best (notrump)07:07
cfhowlett[15:57:20] <Avion> wony boot afte i visited win 10 pert.  <<< Did you make some change via win10?07:07
Avioni cant write on my ubunpart from the liveusb, sigh.07:07
Avioncfhowlett: all i did was look at what wifi signals win could seen(since win10 sees 16 to 20 while ubuntu only sees 2)  I also rclicked 9n the taskpar but chose nothing. i was wrking with the specteum provider qho changef my wifi channel feom 1 to 11. That seems unrelated.07:10
cfhowlettyep.  seems completely unrelated.07:11
Avionmotr weird: os=liveUSB . when I pluhnin another flash drive (to back up my data on) the sysyem does not see it.07:16
Avionmoar weird. i cant thpe worth syte07:17
Avionsyit07:17
Avionplug in another flash drive.07:17
Avionubuntu 6 never failed me once even07:18
Avionme sobs then came 11 and 12 and the worldaxis shifted.07:18
mikeasauruslol virtual box changed my VM to ubuntu 32 bit, I had to change it back to 64 bit, in case anybody runs into that problem07:26
=== capella is now known as capella|away
adikwokhello, my / space is 89% used.07:58
adikwokplease guide, what programs can be deleted safely to gain more space?07:58
adikwoki dont know how to add /dev/sda7 to my /dev/sda5 which is 89% used07:58
guivercadikwok, how can we advice you on what programs you don't use, and what programs you can remove in order to gain space?08:01
adikwokguiverc: here is the pastebin http://paste.ubuntu.com/p/TTpyMBsS3W/08:01
guivercadikwok, 14gb is < 25gb (the recommended space - ie. https://help.ubuntu.com/community/Installation/SystemRequirements) - I'd suggest increasing size of partition08:02
adikwokguiverc: i dont know what must be kept, since i dont use many yet. only: firefox, thunderbird, libreoffice, for work08:02
adikwokguiverc: i had unused partition, but dont know how to combine it. here is the fdisk -l . http://paste.ubuntu.com/p/GhQ73xkkjP/  . i have /dev/sda7 can be used .. /dev/sda6 still need to recovered, .its my old win 7 files.08:04
adikwokguiverc: and here is df -h http://paste.ubuntu.com/p/ckg46Vjckp/08:08
guivercif you have free space next to a partition you want to delete, you can expand the partition in `gparted` (which is pretty easy as long as it's unmounted).  to get it easily umounted, just use a 'live' system (ie. install media).  your link however doesn't make it look like the space provided if sda7 was deleted would be next to sda508:08
guivercyou could i supposed mv your /usr, /home to the sda7 -- but it's messy & you may not like it in the future..   easier could be just moving /home (user data) to sda7 - but sda5 will still be small & a hassle next do-release-upgrade..08:10
adikwokguiverc: my root is /dev/sda5 .. /dev/sda6 is needed to recovered. /dev/sda7 is my old ubuntu.. so how can i use gparted to add more space for root using /dev/sda7 /dev/sda5 .. because there is /dev/sda6 in the middle of it08:12
guivercyou mentioned "dont use many yet" adikwok implies to me the system is new, I'd be tempted to clean install with newer partitions (ie. delete sda5 & 7; move sda6 to end or start & then re-create new... but it's up to you).  if you delete sda7; you could mv middle partition to end of extended; then expand... - i gotta go sorry08:13
adikwokguiverc: thx for advise and your time,08:14
adikwokguiverc: i am learning to clean re-install without losing system settings and data. just like system restore. when i re-install i can restore old setting to new installed system. yet hadnt found the way that could be understood easily for noob like me. ..08:17
adikwokguiverc: see you. and thank you.08:18
Avionok... where does hexchat store its logfiles? (am backing up   my data)08:29
Avionyes i have googled and altered search terms08:29
Ben64Avion: ~/.config/hexchat/logs08:35
Avionthanks Ben6408:37
TJ-Ben64: yikes really? under .config/ !? should be under .local/ !08:37
Avioni am an android girl for tonight. tomorrow, backed up, i think i will reinstall ubuntu and see if the error vanishes.08:39
Ben64TJ-: yep thats where hexchat put it on my system08:39
Ben64Avion: error?08:39
Aviontired bye (but mentionin my nick alerts me woth a special hissing sound.) cheers08:40
AvionBen64: will repeat08:41
AvionBen64: ubu18.04 wont boot. Here's the screen pastebin.. i dont understand it.  Something about Could not get UEFI db list  &  *ERROR* failed to blank crtcl    https://m.imgur.com/JFgSXyS08:43
TJ-Avion: which ubuntu release is that?08:51
=== Class7_ is now known as Class7
sam_wongDoes the latest version of ubuntu support M.2 SSD08:58
Ben64yes08:58
sam_wongBen64: any capacity?08:59
Ben64sam_wong: sure09:00
sam_wongBen64: thanks09:00
NokajiI have suspicions a proggie available on ubuntu, is dodgy, something was trying to download something after I installed it - does this need reporting anywhere so wiser minds can check it out?09:04
Nokaji it's a search proggie, but it kept popping up screens asking me to click 'acccept file', several screens after a coupla minutes, all with v. long alphanumeric, nonsense file names09:04
TJ-Nokaji: what was the specific application, or package, you suspect?09:07
NokajiTJ-: It's called "Speedy Duplicate Finder"...09:07
Nokajinote also that there are several other proggies with differnet names that seem to be the exact same proggie, also when you install, it tells you it is crippled and payware09:08
acheronukpackage name?09:09
acheronukor is this a snap?09:10
Nokajiubuntu software09:10
TJ-Nokaji: that sounds like a Snap package09:11
Nokajigives the link - http://qiplex.com/software/speedy-duplicate-finder/09:11
Nokajiyup, snap store 113MB09:11
Nokajideveloper qiplex - I can't find the other similar programmes but I did see them some months ago09:11
TJ-Nokaji: this one https://snapcraft.io/speedy-duplicate-finder09:11
Nokajiyeah, that looks identical09:12
TJ-" ... will help you to find the duplicates in a simple click and free up gigabytes of wasted disk space..." I call foul; rarely is that possible09:12
Nokajimaybe in windows?09:13
Nokajisays it works on win,mac and linux09:13
TJ-Nokaji: Only if you keep duplicating cat video files all over!09:13
Nokajiyup, prolly - I'm thinking temp files etc09:13
TJ-Nokaji: the problem you have here, Snaps are not supported by Ubuntu nor Canonical. It's a case of 'buyer beware'09:14
Nokajithe message screen was something like "you have chosen to open application octet stream" and with accept/cancel buttons09:15
TJ-Nokaji: we're having an increasing problem because the Software Center doesn't make it clear that the applications you install are not part of Ubuntu, don't have the rigorous quality control and review of our developers, and are not supported09:15
NokajiTJ-: I see, didn't realise that, I thought they were more secure/sandboxed09:15
TJ-Nokaji: That doesn't sound good; application/octect-stream usually points to a binary executable, or pure data file possibly09:15
acheronukif you have good grounds to think an app in the snap is malicious then you can raise an issue @ https://github.com/canonical-websites/snapcraft.io/issues09:15
TJ-Nokaji: well, in theory they are sandboxed, but it depends on what privileges the developer of the application requests in order to access the rest of the sysmte09:16
NokajiTJ-: a trojan, that can later be executed once on drive? - tha was my thinking, yup09:16
Nokajiit automatically installed with two privileges, one was sound, the other iirc was drives09:17
TJ-Nokaji: I have a particular problem with the way Snaps are presented in Ubuntu since Canonical deliberately makes it difficult to know ahead of time the source of the package in Software Centre.09:17
Nokajiacheronuk: I'll take a look, thanks09:17
TJ-Nokaji: right; it'd need the drives privilege to scan the system. So the question then would be does it have read and write access? no write access would prevent it dropping a payload, but read access means it can exfiltrate your data09:18
NokajiTJ-: They were billed as an improvmeent and a way of faster updates - my problems were huge file size and each creates a drive partition all of its own - maybe I'll reverse my thinking on them from now09:19
Nokajithanks for your input, guys09:21
Nokajiand don't forget there were several proggies, different names, but same programme09:22
TJ-!info fdupes | Nokaji last time I needed that functionality I used09:23
ubottuNokaji last time I needed that functionality I used: fdupes (source: fdupes): identifies duplicate files within given directories. In component universe, is optional. Version 1:1.6.1-1 (bionic), package size 18 kB, installed size 47 kB09:23
NokajiI didn't remember that until after I had issues but I flagged the 'multies' in here at the time - ironic when it is a duplicate 'finder'09:24
Nokajiubottu: I was looking at command line options but needed something in a hurry at the time, I'll add fdupes to things to try09:25
ubottuNokaji: I am only a bot, please don't think I'm intelligent :)09:25
NokajiAh ... silly me09:25
Nokajithanks TJ- :)09:25
NokajiI don't have a github account so I'll have to delay filing it right now, will look later09:26
NokajiTJ-: here it is under another name 'Large Files Finder'09:29
JimBuntu!cookie | TJ-10:13
ubottuTJ-: Wow! You're such a great helper, you deserve a cookie!10:13
TJ-JimBuntu: I just realised exfiltration of data should be a major concern with snaps... what is your opinion?10:14
JimBuntuI don't know much about snaps and avoid them as I don't like their premise. I would imagine they can only steal information as much as any other installed program could. Do you know of something that makes them special compared to other applications?10:15
TJ-JimBuntu: The fact that the code can be proprietary so we have no way to vet the source10:23
JimBuntuTJ-, oh, for sure. If it's not opensource there is always a high risk. Heck, even if it's opensource but you rely on pre-compiled binaries is basically a bad idea... but not many of us have time/desire to build from peer reviewed source10:25
solsTiCeI would like a comparison of the install size of a system installed with only snaps and a "normal" based package system. I guess it will goes from 15G to 150G, no ?10:27
andaiSometimes my laptop doesn't resume from suspend. Screen is black and completely unresponsive & I need to do a hard reset. But most of the time it works fine. How can I find out what's going wrong?10:31
TJ-andai: hope that it logged something, and review the previous boot log ("journalctl -b -1")10:33
solsTiCethere is something wrong on uk-mirros.eowose.com ubuntu mirror https://paste.ubuntu.com/p/nz9Td9WDf3/10:33
andaiTJ-: last thing in there is systemd-sleep[4035]: Suspending system...10:35
TJ-andai: so it didn't manage to log on resume. Trial and error in that case10:36
andaiTJ-: actually there are some clues in the suspend procedure itself, I will run some tests. Thank you10:36
TJ-andai: It is likely a firmware ACPI issue10:36
TJ-JimBuntu: it seems that for snaps, if the package declares "confinement: classic" then: "... Snaps declaring their confinement as “classic”, have access to the rest of the system, as most legacy (debian packages for example) packaged apps do"10:40
TJ-I don't like the way "legacy" is used in that sentence, either!10:40
andaiTJ-: thing is, it only happens rarely, so I don't know how to check if it's fixed10:41
TJ-andai: Do you think it is only after multiple  suspend/resume cycles without a shutdown? i've seen that in the past with buffy firmware10:41
TJ-s/buffy/buggy/10:42
andaiTJ-: i found some suggestions about telling linux to lie to the bios that it's actually windows, so more acpi features will be exposed10:42
TJ-andai: yes, I wrote the book on that. Here, have a read: http://iam.tj/prototype/enhancements/Windows-acpi_osi.html10:42
andaiTJ-: oh that's a good point, yeah i typically never shutdown if i can get away with it, just suspend constantly10:42
andaioh neat, thanks10:42
Greyztargot a hardrive which i think is longing for the hardrive cemetary,i saw from bootup ata5 is failing,when i do ls -al /sys/block/sd* i see sde is connected ata5,would that be offending disk then?10:44
bipulSomebody please do update this documentation as well https://help.ubuntu.com/community/InstallCDCustomization10:45
Greyztarreason i ask is all these sdX is changing all the time so its hard to keep track of what is what10:45
ducassebipul: that's on the wiki, you can edit it yourself10:47
TJ-Greyztar: yes. sysfs shows the currently detected hardware10:48
GreyztarTJ-: ok,i got a raid controller pci inside there also,so that would not come up as ataX seems only pci followed by numbers and those with ata distinction would be onboard then?10:49
bipulThank you will do that10:49
GreyztarTJ-: thanks for help figured it out10:51
TJ-Greyztar: if it is hardware RAID the device it presents would usually be SCSI, but could be ATA10:51
GreyztarTJ-: ok,i just reckon it was regarding all had equal numbers in part of path and correspond to amount of disk :)10:52
TJ-Greyztar: translation: "sda -> ../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda" = PCI root bus / PCI device 1f.2 /  {P,S}ATA controller 1 / (SCSI emulation from now on) SCSI host 0 / SCSI target LUN / block device / kernel Scsi Device (SD) name10:56
Greyztar!cookie | TJ-10:57
ubottuTJ-: Wow! You're such a great helper, you deserve a cookie!10:57
GreyztarTJ-: cheers!10:58
=== SysGhost is now known as discard
=== discard is now known as SysGhost
Greyztarhttps://paste.ubuntu.com/p/gcv4d3xV5c/  its just continue with 90% short test then interrupt,seems ready garbage no11:10
TJ-Greyztar: the disk is likely fine; the issue there is the command timeout likely interrupts because the test lasts longer than the the timeout.11:25
TJ-Greyztar: e.g. here's an issue reported for smartmontools and an explanation https://www.smartmontools.org/ticket/30311:26
GreyztarTJ-: ill have a read thanks11:27
GreyztarTJ-: that was interesting i didnt know that,however i think the the disk or atleast another is toast because theres noticable clicking nois while bootup is halted and have to do hard reset,ubuntu threw me into some maintenance shell no ssh and needed console11:32
GreyztarTJ-: but the post you refer to migh aswell explain the timeout i get on bootup though,i had a few which ubuntu told me ata something is slow to respond11:33
TJ-Greyztar: that'd be the initialramfs (initial RAM disk) busybox shell, which implies the device with the root file-system on had problems (initialramfs is used to prepare the root file-system before the full OS system can be started)11:33
GreyztarTJ-: that explains it hehe11:35
BluesKaj'Morning all11:50
hwpplayer1BluesKaj : hi welcome11:51
BluesKajhi hwpplayer111:52
acresearchpeople i want to make a shortcute ctrl+alt+F   to open my home directory    how?   what command should i use in the keyboard shortcuts?11:55
fallenourHey everyone! Im working on a series of scripts to automate compliance for Ubuntu 18.04 & 16.04LTS, Im looking to get some community input on what Ive made so far, and help improving everything. Would anyone be interested in helping with the project?12:00
ducassefallenour: ask in #ubuntu-discuss, it's a more proper place than here12:03
fallenourducasse: Roger!12:04
fallenourIs there a channel for server hardware? ANd why is it so hard to find M3 screws for drives? much sadness12:11
fallenourI found them! OOH GANDOLF I FOUND THEM! 1000 screws for 20 bucks!12:16
Greyztaro.012:30
bipulI'm facing an issue while installing Ubuntu server 18.04 with preseed method. I would be thankful if somebody points out where i'm doing mistake here https://paste.ubuntu.com/p/w338ZcGTVt/12:52
Sven_vBacresearch, sh -c 'setsid xdg-open "$HOME &"13:20
Sven_vBacresearch, nah, sorry, sh -c 'setsid xdg-open "$HOME" &'13:20
Sven_vBbipul, what observation did you make to conclude "bad luck"?13:23
bipulI think preseed.cfg file is not working.13:25
bipulI have to still interact with installation.13:25
bipulOr might be i 'm missing more settings at isolinux/txt.cfg and in /boot/grub.13:27
StrykarHi, I've just installed Ubuntu Desktop and would like to add some programs on startup. How do I get the full path and arguments to Launch apps that show under 'Ubuntu Software'?13:43
moabhello13:46
moabhow are you all?13:46
TJ-Strykar: generally you don't; what you do is copy a FreeDesktop .desktop file for the application to the user's autostart directory, which - depending on desktop environment - is usually somewhere under $HOME/.config/13:46
enzotib.config/autostart for every DE compliant with FreeDesktop guidelines13:50
StrykarTJ-, 'sudo find . / -name *.desktop' shows me two example files, are these .desktop files auto-generated by the application?13:51
StrykarI read https://help.ubuntu.com/community/AddingProgramToSessionStartup but it doesn't list 18.1013:53
enzotibStrykar: you put two dirs in find, and you found two identical results, I think13:54
Strykarenzotib, wouldn't / indicate root and search all sub dirs?13:55
enzotibStrykar: you also say "."13:57
bipulSven_vB, Any idea?13:57
enzotibwhich is definitely included under /13:57
Sven_vBbipul, nope, that's why I asked for an observation.13:58
Sven_vBbipul, what did you expect to happen, and what happened instead? might there even be some error message?13:58
bipulYou know any link or blog where somebody has already done such installation?13:58
Sven_vBnope14:00
bipulI'm expecting that without any user interaction, my Virtual machine get installed. As i have already define the input in the file /usr/share/virtualbox/UnattendedTemplates/ubuntu_preseed.cfg14:00
adikwokhello, please help, how to combine /dev/sda/5,6,7 into one /dev/sda5 to add space for my root at /dev/sda5 .. if possible using cfdisk .14:01
tomreynbipul: i'd very much recommend you separate those two steps before combining them: first make the preseed file work the normal way, then see if you canintegrate it with virtualbox. your current issue is probably complexity, and you're not getting help here since this combination of virtualbox and preseeding debian-style installations is very new.14:03
tomreynadikwok: do you care about the data stored on these partitions?14:04
bipulYes, even i'm think to finish preseed installation first14:04
adikwoktomreyn: i did move data that needed to be recovered to ext-hdd. ( even i dont know how to recover it yet )14:05
__0xbad_hello14:05
__0xbad_on ubuntu v16 Xenial there are broken dependencies14:05
__0xbad_sudo apt-get install g++-5-multilib14:05
tomreynadikwok: how do you mean the data "needed to be recovered"?14:05
__0xbad_and g++-multilib14:05
adikwoktomreyn: i used photorec to move, /dev/sda6 to ext-hdd .14:06
Strykarenzotib, 'sudo find / -name *.desktop' doesn't show others14:06
Sven_vBtomreyn, I'd think the primary reason noone managed to help bipul is the lack of an error report.14:06
__0xbad_https://pastebin.com/XmiAuSRr14:06
__0xbad_what should I do?14:06
tomreyn__0xbad_: run "sudo apt update", then "apt-get policy <package>" against each of these packages, and check which repository they were installed from.14:07
adikwoktomreyn: so, i guess, i got that data now in ext-hdd . ( later need to learn how to recover it )14:07
tomreyn* "apt-cache policy <package>"14:07
tomreynadikwok: so you're dealing with a situation of data loss?14:07
__0xbad_user@user-VirtualBox:~/Downloads$ sudo apt-get policy g++-multilib14:08
__0xbad_E: Invalid operation policy14:08
tomreyn__0xbad_: see my correction above14:08
__0xbad_https://pastebin.com/v7YK7naN14:08
tomreynSven_vB: bipul has a tendency to respond to questions for more information with different questions, i agree.14:09
adikwoktomreyn: /dev/sda6 used to my windows file, when im using dual-boot for the first time i  learn ubuntu, friend told me to use dual-boot with ubuntu 18.14:09
adikwoktomreyn: since first time, i know ubuntu bionic-beaver, i fell in love with this ubuntu 18.04.1 lts14:10
tomreynadikwok: please, first of all, note that there is neither "ubuntu 16" nor "ubuntu 18", there is ubuntu 16.04 LTS, there was ubuntu 16.10, there is ubuntu 18.04 LTS and there is ubuntu 18.1014:10
adikwokthen you and seniors here, told me to try lubuntu, ( for i am using old laptop, acer 4315 )14:11
__0xbad_so... now what?14:11
tomreynadikwok: in "Ubuntu 18.04 LTS", "Ubunut" is the name of the linux distribution, "18" refers to the year this version was released in, "04" refers to the month it was released in, and "LTS" stands for long term support (5 or 3 years as opposed to just 9 months)14:12
tomreynadikwok: please ensure you have complete backups of all data before you start modifying partitions.14:13
StrykarIs there an updated page to add programs to startup other than https://help.ubuntu.com/community/AddingProgramToSessionStartup ?14:13
tomreyn__0xbad_: please show the output of "apt-cache policy" without further options, as well as the output of "sudo apt update" and "sudo apt -f install"14:15
tomreyn__0xbad_: feel free to address me by name when you posted these outputs14:15
=== stoffepojken_ is now known as stoffepojken
tomreyn__0xbad_: please also show all output of "sudo apt install g++-5-multilib"14:16
tomreynStrykar: https://specifications.freedesktop.org/autostart-spec/latest/ar01s02.html14:18
adikwoktomreyn: later i know that ubuntu 18 .. is called with ubuntu 18.04 lts bionic-beaver, 18.10 cosmic cuttlefish. .. 18.04.1 lts. . i chose to  upgrade to 18.04.1 lts14:19
adikwoktomreyn: i did backup /dev/sda6 to external .. /dev/sda7 is my previous linux installation14:20
adikwoktomreyn: i am sure, i can combine those /dev/sda5, 6, 7 now. if you guide me how.14:21
tomreynadikwok: i don't need to know the details of what you backed up how, i'm just saying you need to ensure you did backup any data you may still need before you start modifying partitions.14:21
Strykartomreyn, what if the application doesn't create a .desktop file?14:21
tomreynStrykar: which application exactlyß14:21
tomreyn?14:21
adikwoktomreyn: i am sure, thx for attention.14:22
tomreynStrykar: if you're on 18.04 or 18.10 and want an X application to autostart on login and it doesn't provide a system scope desktop file you can edit / copy to your home directory and customize, then you'll need to create this desktop file on your own and make it autostart14:24
Strykartomreyn, all from the 'Ubuntu Software' app: Telegram, Hexchat, Discord and BitTicker14:25
Strykarok, I just assumed it'd be easier to autostart apps installed from the app14:25
StrykarIm on 18.1014:25
tomreynadikwok: so your goal is to combine the storage currently allocated to partitions /dev/sda{5,6,7} into a single partition. can you show the output of "sudo parted /dev/sda print"14:26
tomreynStrykar: hexchat already provides a desktop file, you i'd start with this.14:27
tomreynyou can also use the gui there if you want14:28
adikwoktomreyn: yes, tom. .. here is 'sudo parted /dev/sda print' . http://paste.ubuntu.com/p/84YBPZfHDF/14:28
tomreynthe others i don't know. i assume that if you installed them via gnome / ubuntu software they'll also provide one14:28
tomreynadikwok: okay, so you just need to delete partitions 5 to 7 on sda. the order in which you do so does not matter. then create a new partition in the extended area (which will become the new sda5) and crete a file system on it.14:30
adikwoktomreyn: ok, i delete 5 to 7 .. what about my root now? its in /dev/sda514:31
Strykartomreyn, can't seem to locate it, 'sudo find / -name hexchat.desktop' shows no results, same using 'locate'14:32
cedxai cant find on the internet how to check my disk storage14:32
tomreynadikwok: you said you no longer need the data in 5,6,7. your fault.14:32
Strykarcedxa, in a terminal try: df -h14:32
tomreynadikwok: if you haven't exited the partition editor, yet, then you can quit it without saving changes.14:33
adikwoktomreyn: no, its not deleted,.yet . i meant if delete 5 to 7. i will lost my root too, i guess. so if it could, just combine 6,7 to /dev/sda5 .14:33
tomreynadikwok: the system youare currently running, did it boot off /ev/sda5 ?14:34
adikwoktomreyn: boot is at /dev/sda114:35
tomreynadikwok: okay, but / is /dev/sda5 for the running system?14:35
adikwoktomreyn: please guide on this,. http://paste.ubuntu.com/p/3nxCxw5VBv/14:36
tomreynadikwok: okay, so you should never modify the partitions holding file systems of a running system, neiher /boot nor /14:36
tomreynadikwok: this is unreadable, please use parted.14:36
tomreynadikwok: in fact i think you should just use the ubuntu 18.10 instller / live cd and install gparted there and use its nice gui to make these changes14:37
adikwoktomreyn: i had gui gparted too14:38
tomreynadikwok: the point is you need to boot from elsewhere.14:38
adikwoktomreyn: oo ..14:38
tomreyndont touch partitons on sda while you're bootined off the same disk14:39
tomreynthere are ways to do so but it's not for beginners14:39
tomreynand booting form the live iso is easy enough, isnt it?14:39
blackswanthink of it as an electrician working on live wires...14:40
tomreynonce you've booted off it the process is this: start gparted (may need ot be installed first), select disk sda, delete partitions 6 and 7 (but not 5). grow partition 5 (and the file system onit, which should be automatic).14:40
adikwoktomreyn: my thunderbird gor irc .. is using icloud mail. and my icloud mail is troubled. so i must use 2 steps verification, which i must receive phonecall from apple. .. if there is a way to combine /dev/sda6,7 without live cd. please help.,14:42
adikwoktomreyn: i note this step first. prepare if i went offline. once you've booted off it the process is this: start gparted (may need ot be installed first), select disk sda, delete partitions 6 and 7 (but not 5). grow partition 5 (and the file system onit, which sh14:43
tomreynadikwok: ...ould be automatic).14:46
tomreynadikwok: there is more to it, you'll also need to edit the /etc/fstab file on the /dev/sd5 file system and place sda5's new UUID in there, since it will likely change with the above modifications14:47
adikwoktomreyn: once you've booted off it the process is this: start gparted (may need ot be installed first), select disk sda, delete partitions 6 and 7 (but not 5). grow partition 5 (and the file system onit, which should be automatic ..14:48
adikwoktomreyn: there is more to it, you'll also need to edit the /etc/fstab file on the /dev/sd5 file system and place sda5's new UUID in there, since it will likely change with the above modifications14:48
B1ack0phi14:49
tomreynadikwok: right. i think you're going to need help with the non gparted part, though. come back here and have soemone instruct you doing it then14:49
B1ack0pi installed Opera on 18.04 but everytime it gets update flash doesnt work to watch videos14:49
B1ack0phow can i fix that?14:49
tomreynflash, whats that again?14:50
B1ack0pflash player14:50
tomreynare you sure this service requires it?14:50
crmltB1ack0p: don't use flash :-)14:50
B1ack0por html514:50
OSAMAdotBINanyone familiar with the color palettes of the utility gogh for the terminal?14:50
B1ack0pi dont know but videos dont stream14:50
crmltB1ack0p: its 201814:50
crmltB1ack0p: which service?14:50
B1ack0pafter every update opera gets14:50
B1ack0popera browser crmlt14:51
crmltIt was working quite good for me.14:51
tomreynblackswan: html5 is definitely the better option. if $some_service "doesn't work" thenyo should talk to $provider_of_some_service first of all14:51
B1ack0pcrmlt: it was working for me too but after every updates i dont know why videos dont stream14:51
tomreynoops i mean B1ack0p , sorry blackswan14:51
B1ack0plol14:52
crmltB1ack0p:14:52
crmlthttps://deb.opera.com/manual.html14:52
crmlttry this14:52
B1ack0ptomreyn: i think it is because of flash player14:52
crmltB1ack0p: well disable flash player?14:53
B1ack0phow can i check if flash installed or not?14:53
B1ack0pon ubuntu?14:53
tomreynB1ack0p: well opera is not part of ubuntu, and this streaming video service you have not named so far is not either, so i dont think we're the right party to help unless you have better details14:53
crmltB1ack0p: which service exactly?14:53
B1ack0pubuntu 18/04 ?14:53
B1ack0pah random14:54
B1ack0prandom video service14:54
B1ack0pnot specific14:54
tomreynname 114:54
B1ack0pyoutube working14:54
tomreyn...which does not work14:54
B1ack0ptomreyn it is local website14:55
crmltB1ack0p: this https://forums.opera.com/topic/24768/problem-with-flash-player/9 ?14:55
B1ack0pto watch movies online14:55
crmlthttps://www.ubuntu18.com/install-adobe-flash-player-ubuntu-18/14:56
tomreynB1ack0p: well this wont enable us to check whether they depend on adobe flash or can work with html, and you dont know exactly, so...14:56
ducasseB1ack0p: is there a reason you won't tell us which site?14:57
zaggynlnature movies!14:57
tomreynjust installing the flash browser plugin when you dont actually need it does you a disservice14:57
crmltzaggynl: lol14:57
zaggynlfor flash you can use firefox esr14:58
B1ack0pok i will check14:58
zaggynlhad to use that for some horrible old work application that uses jre14:59
B1ack0pi got it14:59
B1ack0pcodec was missing14:59
B1ack0pthx crmlt14:59
UBuxuBUgood morning linux technicians15:02
zaggynlhah, if only15:03
UBuxuBUyeah we need some in here15:12
zaggynlcan you get certified in ubuntu?15:13
ducassei don't think there are any official certification programs, if that's what you're after15:18
ducasseyou should really ask canonical, though, not us15:19
Greyztarnow ubuntu isnt complaining and is booting faster than ever,smartmontools was really helpfull in this matter,though disk is now resting with fishes,luckily this was just a spare disk with nothing in it15:20
UBuxuBUfor me starting over and doing the minimal install worked best15:21
UBuxuBUthe adding only what i needed back into the system15:22
acresearchpeople i keep being prompted for  a password everytime i close my laptop's lid, how do i stop that?   or how to stop password when laptop sleeps?15:24
zaggynlit's by design acresearch15:28
acresearchzaggynl: oh so i can't get rid of it?15:28
zaggynlyou can but I wouldn't, it's a security feature15:28
=== dspell is now known as DogBarq
IarlaHow can I repair an NTFS partition? The error when mounting is that the "signature" is missing. I've tried attaching it to a WinXP VM but it doesn't assign a drive letter for it and the disk manager there only shows an option to delete/format.15:32
zaggynlsounds like a missing or kaput partition15:32
IarlaYes. I've tried tnfsfix on Ubuntu too15:33
zaggynlcheck if the disk is faulty by smartctl15:33
zaggynlotherwise you can run something like testdisk15:34
IarlaSmartctl isn't available on this disk. It's 3.5" but I think it's because it's connected via USB.15:34
IarlaI'll try test disk, thanks.15:34
zaggynlI'd not try to recover on a possibly faulty disk15:34
IarlaYou mean it could just fail again?15:35
zaggynlwhat's the equivalent of hdtune on linux again, badblocks?15:35
zaggynlthere's a chance more sectors would be going back, making it a lengthy process15:35
zaggynl*going bad15:35
IarlaSo it could be bin material. I'll find a way to test it after recovery. It could just have been too much time in the attic.15:36
Bilzhi all. I edited my .bashrc folder to add a some folder path to PATH. the "some folder" has symbolic links to various scripts. I want to be able to run these scripts from the alt + f2 menu, without having to make symbolic links from the bin directory. is this possible?15:52
fribanyone have an idea any idea as to how it might be possible to use google translation from terminal using offline language packs?15:52
adrian_1908frib: I'm pretty sure those google services are online only - it's part of their business model.15:55
fribadrian_1908, they offer offline translation for smart devices though15:55
fribadrian_1908, which means it is entirely possible15:55
fribadrian_1908, I've already downloaded the language pack I need I just need to figure out how to utilize it on linux15:55
fribadrian_1908, https://forum.xda-developers.com/showthread.php?t=2234606&page=215:56
adrian_1908No idea frib, I hope you find a way. I'd love to use that too. Always assumed the stuff isn't publicly available, since it's quite an asset for Google.16:01
fribadrian_1908, I'm asking in android channels16:01
fribadrian_1908, follow there16:01
Iarlatestdisk has finished analysing and (deeper scan). I can select the 'partitions' it lists, but if I press enter it just starts the scan again ... how do I recover data? Using 'p' to list files gives an error.16:05
OnkelTemHi guys16:07
joop_Hey16:08
OnkelTemDoes anybody understand how GRUB/kernel video/text modes interact?16:08
OnkelTemI just cannot get any appropriate result on my PC with ordinary nVidia GTX 980 Ti16:08
OnkelTemI'm reading GRUB documentation (info pages) and also googling a lot16:09
OerHeksOnkelTem, https://help.ubuntu.com/community/Grub2/Displays#Changing_Menu_Resolutions16:09
OerHeksfrom https://help.ubuntu.com/community/Grub2#Boot_Display_Behavior16:10
OnkelTemOerHeks: yeah yeah, that I read16:11
OnkelTemit doesn't help really16:11
OnkelTemfirst - vbeinfo doesn't work iiric16:11
OerHeksonkel, hint: the arch wiki notes: Earlier versions of the NVIDIA proprietary driver (tested with GeForce GTX 970, driver: nvidia 370) accepts GRUB_GFXMODE in format <width>x<height>-<depth> (e.g. 1920x1200-24, but not 1920x1200x24 ) >> https://wiki.archlinux.org/index.php/GRUB/Tips_and_tricks#Setting_the_framebuffer_resolution16:12
OerHeks- depth16:12
OnkelTemHm, interesting16:12
OnkelTemyeah, I got it16:12
OnkelTemOerHeks: I read this article either, I just didn't believe it :)16:13
OnkelTemOk, let me try it.16:13
OerHeksplease let us know, if it works16:14
OnkelTemSure. Actually I created a question yesterday, https://askubuntu.com/questions/1093753/how-to-show-boot-text-instead-of-the-splash-or-blank-screen-on-ubuntu-kubuntu-1816:14
OnkelTemBut it seems the problem is in video modes16:15
OerHekshmm, did you changed it to  GRUB_CMDLINE_LINUX=”text” ?16:16
OerHeksor jump to console http://ubuntuhandbook.org/index.php/2014/01/boot-into-text-console-ubuntu-linux-14-04/16:17
OnkelTemOerHeks: No, not this time (I did it before). Gonna try different video modes first and gfxpayload first16:19
OnkelTembrb16:19
OnkelTemWell, setting GFXMODE with GFXPAYLOAD made absolutely nothing - just blank screen16:22
OnkelTemand no way to see anything like text16:22
arndffHi. I have a very annoying problem, so I'll be glad if someone help me!16:22
arndffI'm running Ubuntu 18.04.1 LTS with Broadcomm wireless card. I have a portable audio speaker: Sony SRS-X11. It works perfectly on Windows 10. However, it can't be paired here at Ubuntu.16:23
OerHeksOnkelTem, then i have no clue :-(16:23
OerHekstoo new gpu, i guess16:23
bipulHi, How to install Ubuntu server 18.04 via preseed method.16:24
arndffWill anyone answer me? Thanks.16:25
OerHeksarndff, maybe the last answer works for you, a newer bluez version https://askubuntu.com/questions/1040497/bluetooth-problem-ubuntu-18-04-lts ( if that speaker is BT, not wireless)16:26
bipularndff, You have to be bit patience here :( unfortunately.16:26
arndff@bipul, sorry then. @OerHeks -- yes, it's a bluetooth one.16:27
DogBarqSTATUSBAR RESET16:32
=== daniel is now known as Guest95674
=== bitethebulleit is now known as raven
=== raven is now known as Guest37013
bipulHi, How to install Ubuntu server 18.04 via preseed method. [repeat]16:43
za1b1tsuHey folks, if you can give some recommendations. I'm a noob installing Ubuntu 18.10 on a Macbook pro, and getting drivers to work is a real pain. What backup software do you recommend to use? I want my system to be as clean as possible, and getting drivers to work can get messy for me. If I can't simply make it work, or decide I don't want this driver anymore, I can live without that certain functionality, I16:50
za1b1tsuwould like to revert easily to be previous saved state. But because I'm talking about drivers, I need to backup /. Thank you16:50
Richard_Cavellza1b1tsu, mate I'm a Mac fan and an Ubuntu fan.  Virtualize!16:51
za1b1tsuRichard_Cavell: no, I need/want/desire bare metal linux16:52
Richard_CavellIt solves all your compatibility problems and gives you backup options that are much better16:52
tatertotzhis requirement is to run Linux on the "bare metal"16:52
Richard_CavellI run Ubuntu on the bare metal of an iMac, and used to run Ubuntu on MacBooks, but it's becoming more and more difficult16:53
Cheezi prefer my metal clothed16:53
vasuviI have a separate Linux and Windows drive, and am booting UEFI.  Ubuntu put its boot files in the ESP for Windows, but I want to keep them separate, so I moved them to the ESP on the Linux drive and used efibootmgr to point the firmware to the right place.  Unfortunately, now GRUB can't seem to find any of its files.  I even tried reinstalling GRUB with the instructions on the Arch wiki, and still the same problem.  What is the proper Debian/Ubuntu way16:57
vasuvito reinstall GRUB?  Or is there any other way to get it working?16:57
vasuvi(FWIW, using the 'configfile' command from another distro works fine, )16:58
vasuvi(but I'd rather be able to use the firmware's bootloader for each distro)16:58
TJ-vasuvi: are you doing "grub-install /dev/sdX" where X is the Linux drive?16:58
za1b1tsuno recommandations for backups utiliies :(16:59
vasuvirub-install --target=x86_64-efi --efi-directory=esp --bootloader-id="Ubuntu MATE"16:59
Nexilvarub install16:59
vasuvi*grub install16:59
Nexilvalike you rub salt on steak!16:59
vasuvilol, just a bad copy16:59
Nexilvainstall the salt on the steak. :D rub install16:59
Nexilva:D16:59
Nexilvahaha16:59
TJ-vasuvi: "--efi-directory=esp" ??17:00
vasuviTJ-: Full corrected command: grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=17:00
vasuvi"Ubuntu-MATE"17:00
TJ-vasuvi: ahhh, that is better! "esp" had me wondering :D17:01
vasuvipretty sure that I actually did it correctly when I ran the command, but I could do it again if there's a chance that I messed up when typing it as I did when pasting it here :P17:01
TJ-vasuvi: but you're giving it the /dev/sdX as the Linux drive ?17:01
vasuvino; you need to when installing UEFI?  If so, I could put in /dev/nvme1n117:02
TJ-vasuvi: indeed, because that is the drive GRUB looks on for the EFI-SP to use17:02
vasuviTJ-: ok, worth a try; thank you!17:02
TJ-vasuvi: and as grub-install also calls efibootmgr it should set everything up correctly17:02
Greyztarhow come when using lshw -class disk some disk doesnt show that fdisk -l do?Also is there any one way to to get uuid and disk product name at same time?17:07
TJ-Greyztar: you want a device UUID or a partition's file-system UUID?17:11
GreyztarTJ-: heya,i would like the device uuid,im having some issues,normally thing works great mapping uuid in fstab and things work,but find it little cumbersome when disk fail to get information of what disk is actually failing,sorry i might have should rephrase question17:14
TJ-Greyztar: for the /disk/ ID you can do "D=/dev/sda; echo $(blkid -o value -s PTUUID $D) $(cat /sys/block/${D##*/}/device/model)"17:14
TJ-Greyztar: but it looks like you want the file-system UUID17:14
GreyztarTJ-: i think i might was little fast asking ,i think i need to rethink what i actually need,ill be back again let me see what i can with this command tohugh thanks17:15
vasuviTJ-: No luck, even with a reinstall specifying /dev/nvme1n1.  Any other ideas to get GRUB working?17:18
vasuviIt gets to the GRUB prompt alright, so I assume that means that SHIMX64.EFI is working correctly, and handing control off to GRUBX64.EFI.  GRUB just doesn't seem to know what to do from there, despite that the search.fs_uuid in the ESP's grub.cfg seems to be pointed to the correct partition.17:20
GreyztarTJ-: what i wanted was to fast identify what disk gone bad when stuff hit the fan to say,i think an easy solution to this woul maybe be to just do as ive done with uuids and all but this time use lshw or other to find model then do manual comments in fstab so when disk dissapear or trouble with mountpoint i can just check fstab with comments?17:24
GreyztarTJ-: i mean to comment in modelinfo ive got form other apps like lshw and such17:25
Greyztaralways annoyed me my drive got little tags but none corresponds to what i get in ubuntu,rather then just comment in those tags in fstab with uuid (,")17:29
TJ-vasuvi: did you also do "update-grub" to re-write the config file?17:29
dkdkHello17:34
kostkondkdk, hi17:34
dkdkI am looking for help to update a ppa package I created on my launchpad account. Is this the right place to ask?17:35
vasuviTJ-: No, I did not; I suppose that it couldn't hurt to try17:37
OerHeksdkdk, just ask away, if you cannot find the answer on https://help.launchpad.net/Packaging/PPA/Uploading17:39
dkdkOerHeks, thanks. I followed this tutorial: http://packaging.ubuntu.com/html/packaging-new-software.html17:40
dkdkOerHeks, now I have my code in Bazaar. I did some small changes so Ubuntu build servers are able to build the package for several Ubuntu releases.17:41
OerHeksdkdk, i am not the best help in this, but what is your actual problem?17:41
dkdkOerHeks, Builds are ok, and I can install the package with apt after a add-apt-repository. So far so good. But now I have a _new version_ of my software. The wiki does not explain how I should update the Bazaar repo for that :/17:42
vasuviTJ-: Still no luck17:43
dkdkI tried bzr builddeb but builddeb is looking for tarball, which does not exist as it was only there to setup the initial version.17:43
dkdkI could destroy everything and follow again the tutorial, but it seems overkill17:44
dkdkOther tutorials on the Web did not match my use-case, or I did something wrong17:45
dkdkUpdating a package with a new upstream source looks like a mundane operation, as there are tousands of package in Ubuntu :) But unfortunately I can't find enough help on the topic :/17:46
OerHeksi find this old 14.04 page https://sitano.github.io/2014/08/10/rebuild-ubuntu-bzr-package/17:47
dkdkOerHeks: thank you, I'm taking a look at it17:48
=== SimonNL is now known as SimonNL_Afk
snowveilDoes anyone have experience with, or can recommend, a utility to manage .AppImage files?  I want to lock an AppImage program to the launcher menu17:51
ioriasnowveil, why dn't you write a .desktop file ?17:54
TJ-vasuvi: is the firmware loading GRUB from the Linux device, or the other device?17:54
OerHekssnowveil, make a launcher yourself?  https://linuxconfig.org/how-to-create-desktop-shortcut-launcher-on-ubuntu-18-04-bionic-beaver-linux17:55
snowveilOerHeks and ioria, didn't think of that...thanks :)18:02
ioriasnowveil, ok18:02
OerHeksthere is an official wiki, but that does not clearly show how to trust your launcher, https://help.ubuntu.com/community/UnityLaunchersAndDesktopFiles18:06
OerHeksor tell that warning is oke, as it is a security feature18:07
=== capella|away is now known as capella
vasuviTJ-: In case you're curious, since nothing I did even came close to working, I just uninstalled Ubuntu's GRUB and then compiled vanilla GRUB from source (git version, as I like to live on the edge).  It works perfectly, no adjustments needed.  Now, I lose the nice splash screen and secure boot capability (that I wasn't using anyway), but I can live with that to have a working bootloader.18:40
CarlFKdkdk: this might help - but it's pretty sloppy: https://help.ubuntu.com/community/UpdatingADeb18:42
TJ-vasuvi: I'm wondering if it was using the grub-efi-amd64-signed packages - the prebuilt presigned grubx64.efi may be missing modules that system needs. A local built would detect/include them18:43
vasuviTJ-: I think that Ubuntu's GRUB is trying to be too fancy in its booting procedure; I don't have any problem with the way that Gentoo, Arch, Fedora, or even Debian itself do things.  All of the others just have a plain grubx64.efi (or shimx64.efi in the case of Fedora) that somehow knows how to find grub.cfg on the correct partition.  Ubuntu is the only one to put a grub.cfg in the ESP that (tries to) load the real grub.cfg.18:46
vasuviTJ-: So if the presigned version in Ubuntu isn't working, it should try to see what Fedora is doing differently to make it work alright18:47
stormbardAnyone here familiar with setting up a zfs root pool with a mirror? I'm trying to figure out the what/how on installing grub?18:47
mattflyIs anyone able to hibernate using latests nvidia's propretary drivers on ubuntu 18.04?18:51
vasuviTJ-: Anyway, thanks for all your help anyway! :)18:52
=== Tara_t is now known as Tara
CarlFKI need a "wait for internet" script ... like while not ping 1.1.1.1 - is there a 'nice' way?18:58
irwisswhat if your route to 1.1.1.1 works but your actual route doesn't? ;) better check your actual destos19:02
CarlFKirwiss: please answer in bash ;)19:02
CarlFKI need some script lines, not more problems :p19:03
mousesCarlFK: while ! ping -c 1 -W 1 1.2.3.4; do19:03
mousesecho "Waiting for 1.2.3.4 - network interface might be down..."19:03
mousessleep 119:03
mousesdone19:03
CarlFKthanks19:03
mousesno problem19:04
dkdkOerHeks: the page you linked helped me, thanks. However at some point I got stuck again about the "builddeb" command, but after googling a bit, I discovered a Launchpad bug that gives the correct command.19:04
CarlFKbtw - 1.1.1.1 is handled by cloud flair, which may handle more traffic than anything, so maybe the best host to check19:04
mousesyeah, I use cloudflare for mouses.xyz and other things19:04
mousessuperuseful19:05
dkdkOerHeks: just in case another peson gets stuck: when you update the source code of a package and commit everything in Bazaar, you should use call "bzr builddeb -S --split" <-- "--split" was missing19:05
dkdkOerHeks: nowhere I could see that option mentioned, but the guy on Launchpad was having the same error than me. I am going to thank him too :)19:06
OerHeksdkdk, thanks for the feedback, have fun!19:11
=== SimonNL_Afk is now known as SimonNL
ph88hey guys, i connected my bluetooth speaker to my laptop. But it's not showing up as sound device. how can i fix this ?19:18
=== capella is now known as capella|away
TheCowboyph88: what's it showing up as?19:55
DbuggerTJ-, hello man19:57
DbuggerDoes anyone know how to force Ubuntu 18.04 to use the 5Ghz frequency for wifi?19:59
ph88TheCowboy, actually nvm .. it doesn't work on my laptop running ubuntu 16.04 but it works on my computer running ubuntu 18.10 .. so i guess it was it was fixed at some point20:04
ioriaDbugger, https://ubuntuforums.org/showthread.php?t=239510220:04
TheCowboyph88: in my experience bluetooth audio can be weird, sometimes you have to connect things in a certain order, or disconnect, reset something, etc.20:05
Dbuggerioria, i read that already, but I did not understand it -_-20:06
ioriaDbugger, enter your router  config20:07
Dbuggerok20:07
someone235__Hi, I used this cmd for encryption "openssl aes-256-cbc -a -salt -in secrets.txt -out secrets.txt.enc" and this one for decryption "openssl aes-256-cbc -d -a -in secrets.txt.enc -out secrets.txt.new" but then I replaced a computer and it stopped working. Someone knows why?20:08
Dbuggerioria, and now?20:09
ylel9hallo20:09
ylel9leute20:09
TheCowboyI want to increase swap size on 18.04. I keep reading that it's a file and you can change the size on the fly, but it looks like my install has swap as a partition. I have disk encryption enabled with the default settings. Is it going to be a pain to increase the swap under this setup? It'd be nice to avoid having to do a fresh install.20:09
ioriaDbugger, idk your router, find the settings and fallow the link i posted20:10
ioria*follow20:10
Dbuggerioria, i do not understand what is spoken in that thread20:10
ioriaDbugger, try to20:10
Dbuggertry to understand what i do not understand20:11
Dbugger?20:11
Dbuggeraha20:11
TJ-ioria: Dbugger the issue is not the AP, it is the PC. It has a Broadcom 802.11ac device using the 'wl' driver, and it doesn't see the 5GHz SSID the AP is offering20:11
ioriaah, ok20:11
DbuggerTJ-, hi man20:11
TJ-ioria: we spent a lot of time digging into it yesterday :)20:11
ioriaTJ-, i see :þ20:12
DbuggerTJ-, yeah, sorry. I think I fell offline after resetting the router, no?20:12
TJ-ioria: the PC claims to be able to use the 5GHx channels the AP is using, and indeed it can 'scan' and see another, neighbouring, 5GHz AP, but it doesn't see Dbugger's own AP!20:13
DbuggerTJ-, you mean that the channels with 5Ghz I see are not mine?20:13
TJ-ioria: I suspect the 'wl' broadcom driver - we checked if it had any module parms we could tweak for that, but it doesn't20:13
ioriaTJ-, yeah20:14
TJ-Dbugger: no, I mean we saw that "o2-???" AP SSID on 5GHz which you said wasn't your FritzBox20:14
DbuggerTJ-, can you remind me the command to see that?20:14
TJ-Dbugger: and you showed us a screenshot of the AP's wireless setting, showing it was using channel 5420:14
TJ-Dbugger: "sudo iwlist scan"20:15
TJ-Dbugger: we also saw that in the 2.4GHz band, there were 5 or 6 other APs all using channel 11, same as your AP20:15
Dbuggerright, this is my scan right now20:16
Dbuggerhttp://paste.ubuntu.com/p/2wYVZXRnf3/20:16
TJ-Dbugger: looks like your AP is on channel 1 in the 2.4GHz band today20:17
Dbuggercorrect20:18
Dbuggershould I set the channels manually?20:18
TJ-Dbugger: notice that "o2-WLAN16" is on channel 44, and is the only 5GHz AP detected20:18
DbuggerThis is what my router shows me20:20
Dbuggerhttps://paste.pics/45FW120:20
DbuggerSorry, this: https://paste.pics/45FW920:20
TJ-Dbugger: that proves the PC's Broadcom device/driver is missing lots!20:21
Dbugger:-/20:21
DbuggerI was getting also bad performance in Windows, until I installed the driver from ASUS20:21
TJ-Dbugger: that suggests a lot!20:21
Dbuggeryes?20:21
TJ-Dbugger: yes; that broadcom device and driver is terrible20:22
Dbuggerand I guess there are no alternatives.... ?20:23
TJ-Dbugger: this might give us a confirmation/clue... about 75% down the thread, a comment by d_r_benway, https://www.reddit.com/r/linux/comments/76o1k9/broadcom_wireless_on_linux/20:27
TJ-Dbugger: "If you have the B43 chipset, which is what I have in a 2013 Macbook avoid using the open source kernel driver, its not useable for the majority of people, for a start you cannot see any 5Ghz or 40Mhz networks."20:28
Dbuggerlet me guess... my card uses that chip?20:28
TJ-Dbugger: and the last comment seems to be about the same device you have, BCM4356 isn't it?20:29
Dbuggermine is ASUS PCE AC5620:29
TJ-Dbugger: no, that's the brand. The device is Broadcom20:30
TJ-Dbugger: "lspci -nnk -d ::280"20:30
DbuggerBroadcom Limited BCM4352 802.11ac20:30
Dbuggeryep20:31
TJ-ahhh, 435220:31
DbuggerTJ-, but same problem :(20:32
TJ-Dbugger: oooo a clue. Apparently the Broadcom driver ABSOLUTELY requres WMM extensions to be enabled on the AP20:32
TJ-Dbugger: can you find that on the AP's control panel?20:32
DbuggerTJ-, I dont know what WMM is....20:32
TJ-Dbugger: https://en.wikipedia.org/wiki/Wireless_Multimedia_Extensions20:33
TJ-Dbugger: if it is there, it will be called "WMM" - probably a checkbox to enable it20:33
DbuggerLets see if I can find it20:33
TJ-Dbugger: it may be enabled by default since it is required for certification20:34
TJ-Dbugger: in which case there might not be an option for it20:34
DbuggerTJ-, it seems that way, in the specifications for the AP20:35
DbuggerThe page with the drivers is great.. there are only Windows drivers20:37
Dbuggereven for Vista20:37
ioriahttps://wikidevi.com/wiki/ASUS_PCE-AC5620:39
TJ-Dbugger: annoyingly I cannot find a manual for the 7362, only the 7360, which it only details 2.4GHz channels20:39
Dbuggerioria, so... there is option :(20:39
ioriano clue20:40
Dbuggerwait wait20:40
Dbuggerthe router is not the 736220:40
TJ-Dbugger: it's not?20:40
Dbuggeri just kept the WIFI with the old name, which was with a 7362 router20:40
TJ-Dbugger: oh doh!!!!20:40
Dbuggerso that I did not have to re-configure all the devices at home :P20:40
TJ-Dbugger: trying to catch me out :)20:40
TJ-Dbugger: so what is the make/model?20:40
DbuggerMine now is the 749020:40
TJ-Right! got that manual... off to read20:41
TJ-page 105+20:43
Dbuggerlet me see if I can find the link again20:44
Dbuggerfound20:44
Dbuggerno wait, this one has only 17 pages20:45
Dbuggernow20:45
DbuggerTJ-, are you reading it in english?20:45
TJ-Dbugger: yes20:45
Dbuggeri only find it in German, can you show me the link?20:46
TJ-Dbugger: https://en.avm.de/fileadmin/user_upload/EN/Manuals/FRITZ_Box/Manual_FRITZ_Box_7490_en.pdf20:46
DbuggerTJ-, what should I be find in there?20:47
OerHeksmy router has 2 passwords, 2.4 and 5 ghrz ..20:47
TJ-Dbugger: show us the full output of "lspci -nn -d ::280"20:49
TJ-Dbugger: We need the exact PCI device ID20:49
Dbugger05:00.0 Network controller [0280]: Broadcom Limited BCM4352 802.11ac Wireless Network Adapter [14e4:43b1] (rev 03)20:49
Dbuggerthat is the output20:49
TJ-So the device is 14e4:43b120:49
TJ-Even the Broadcom site's Linux driver for the BCM4352 doesn't list that device ID (43B1) as supported. Not surprising as it is dated 201520:50
OnkelTemHi all. Does anybody know how to get Plymouth logo back?20:54
OerHekspage 107 of that manual, and on ..20:54
OnkelTemCurrently I see only black screen20:54
OerHeksOnkelTem, you compiled grub from source, a while back?20:54
OerHeksnot the ubuntu one?20:55
TJ-Dbugger: We may have an alternative driver20:55
OnkelTemOerHeks: no no, I haven't compiled anything :) I was trying to understand the most confusing thing on Linux - GRUB20:57
TJ-Dbugger: I've just noticed, there are two (DKMS) packages; "bcmwl-kernel-source" which I seem to recall is the one your PC has, but there is also "broadcom-sta-dkms". Now, what is problematic is both these packages contain source-code for the 'wl' module, so we need to figure out which should be the preferred and test that if it isn't the one in use20:57
OerHeksoke, see the grub manual, quiet splash20:57
OerHeks!grub20:57
ubottuGRUB2 is the default Ubuntu boot manager. Lost GRUB after installing Windows? See https://help.ubuntu.com/community/RestoreGrub - For more information and troubleshooting for GRUB2 please refer to https://help.ubuntu.com/community/Grub220:57
tomreynOnkelTem: what does "cat /proc/cmdline" return?20:57
DbuggerTJ-, the first one is the one I am using20:58
OnkelTemtomreyn: BOOT_IMAGE=/boot/vmlinuz-4.15.0-39-generic root=UUID=72e199b0-d746-4c44-9646-cede3bac0556 ro quiet splash nomodeset vt.handoff=120:58
OnkelTemtomreyn: but honestly nomodeset didn't change anything so I'm going to remove it20:58
tomreynOnkelTem: what were you trying to achieve with nomodeet then?20:59
OnkelTemtomreyn: I have no idea. I was trying to do anything. Because there is no any well organised information about GRUB20:59
tomreynthis has nothing to do with grub21:00
OnkelTemso with GRUB I feel quite like a monkey21:00
tomreynand nomodeset is documented21:00
TJ-Dbugger: ahhh, both packages are based on the same Broadcom source version. I think the broadcom-sta-dkms came in via Debian, whereas the bcmwl-kernel-source is packaged by Canonical21:00
OnkelTemtomreyn: well, ok. I don't really know... at least it didn't help me21:00
tomreyn!nomodeset | OnkelTem21:01
ubottuOnkelTem: A common kernel (boot)parameter is nomodeset, which is needed for some graphic cards that otherwise boot into a black screen or show corrupted splash screen. See http://ubuntuforums.org/showthread.php?t=1613132 on how to use this parameter21:01
tomreynremove it then21:01
tomreynwhich may also bring back thesplash screen21:01
OnkelTemtomreyn: sure, I did it already, haven't rebooted yet though21:01
TJ-OnkelTem: is that with an Nvidia GPU?21:01
OnkelTemTJ-: positive21:01
OnkelTemtomreyn: no, it won't help as I've been trying to get something sensible from GRUB and kernel configuration for about 5 hours21:02
OnkelTemi.e. before I didn't use nomodeset21:02
OnkelTemI put it there just 10 minutes ago probably21:02
DbuggerI guess Ill have to give up21:03
OnkelTemTJ-: btw, I tried text mode and it worked as you said. But I get some weird error at the very beginning - when countdown timer is counting: "error: no video mode activated"21:06
OnkelTemI googled for it and found very old message recommending to copy some fonts into /boot... which I regarded as a bad thing21:07
TJ-OnkelTem: you can ignore that, it's because it stays in text mode21:08
TJ-OnkelTem: the gruib.cfg has some commands that try to do something with the modes, but no grpahics modes are in use since GRUB is using the plain text-mode21:09
OnkelTemTJ-: you see, no matter I use text mode for grub or not, it switches to a graphical mode of 800x600 later. This is done by efifb... of which I tried to read right in the kernel sources but found nothing useful21:10
OnkelTemDocumentation/fb/efifb.txt says something about... Macbooks!21:10
TheCowboyWould it be fine if I switched to using a swap file on the root partition (encrypted) instead of the too small swap partition under 18.04?21:11
=== WoC- is now known as WoC
OnkelTemTJ-: the only "workaround" to get something better than 800x600 in ttys I found so far - is to use graphical mode in grub and set gfxmode to 1024x768, and keep it21:13
tomreynTheCowboy: it'll obviously slow things down since you'll be swapping and suspending (if to disk) toan encrypted disk.21:14
nZacI am running into an issue with the server installer which is not creating a user for me to login with.21:14
nZacAnyone had an issue like that before.21:15
tomreynnZac: which server installer (file name)? also note there is also #ubuntu-server21:15
TheCowboytomreyn: cpu has the encryption instruction set if that matters, and I'm using a mSATA SSD drive21:15
nZactomreyn I can go there if that is the correct place. 18.04.1 is the installer21:16
tomreynTheCowboy: what is your current swap partition too smll for actually?21:16
tomreynnZac: "18.04.1" is not a server installer iso filenme21:17
nZactomreyn: my apologies didn't know it had to be that specific, ubuntu-18.04.1-live-server-amd64.iso21:17
TheCowboytomreyn: I'm getting 100% kswapd freezing up my system very frequently, I found a bug report for 18.04 with encryption where other people were complaining about that issue as well21:17
TJ-OnkelTem: the graphics-mode switch is done by plymouth once linux has started - that can be prevented by switching to use plymouth-theme-ubuntu-text21:18
TheCowboyI have 16gb of memory and didn't have this issue with 14.xx21:18
tomreynnZac: thanks. there are different ones, so i was asking.21:18
nZacNP, make sense, I just wasn't thinking straight.21:18
TheCowboythe swap partition is 1gb under 18.0421:18
tomreynnZac: the installer would usually prompt you for the user t create, and its password. did this not happen?21:19
nZacIt indeed does, however I can't login after the restart.21:19
nZacI have even gotten it down to u: nzac p: password just so I can't be fat fingering.21:19
tomreynTheCowboy: maybe just reduce the swappiness then21:20
tomreynTheCowboy: i'm not aware of this very issue. if oyou can point to a bug report this may help21:20
tomreynnZac: could still be an issue with the keyboard layout. but this issue is new to me.21:21
tomreynnZac: whats the installer language and keyboard layout you chose in steps 1 and 2 o the installation?21:21
nZacI seem to have selected the correct layout. Its a standard US keybard.21:21
nZacEN-US21:21
tomreynnZac: can you boot to recovery and to the root console?21:22
TheCowboytomreyn: https://bugs.launchpad.net/ubuntu/+source/partman-auto/+bug/176729921:23
ubottuLaunchpad bug 1767299 in partman-auto (Ubuntu) "Ubuntu 18.04 Installer creates swap partition too small" [Undecided,Opinion]21:23
TheCowboytomreyn: it affects different users in different ways, if you look at response #22 it perfectly describes the issue i've been having21:23
tomreynnZac: then you could check whether this user was created (in /etc/passwd) and its password was set properly (in /etc/shadow)21:23
TheCowboyit's bad enough that i've considered ditching 18.04 and i've lost work before because of it21:23
nZacwilco21:23
Perdellianso, the partitioning setup in the installer... is that supposed to apply changes immediately or only when "install" is clicked?21:24
Perdellianalso, how is one supposed to set up encrypted LVM in the manual partitioner?21:24
OerHeksodd, my fresh 18.04 gives 2.1 gb swap file21:24
Perdellianit lets me set a partition as a physical volume for encryption but then nothing else after that21:25
nZactomreyn I can'21:26
nZacI can't seem to get it into recovery21:26
Perdellianmy current plan is to set up the LUKS container and LVM manually, since I've done so before for Arch and Gentoo, so I'm fairly confident in my ability to do so21:26
nZacshift doesn't work and a live CD doesn't give me the option21:26
nZacI am booting with UEFI21:26
Perdellianbut I also want to be sure that the installer will actually pick that up afterwards21:26
TJ-Perdellian: partitioning is done when you move on from that step21:27
=== tatertotz is now known as RoscoePColtrane
tomreynTheCowboy:  so this was a preseeded installation?21:27
TJ-Perdellian: yes, you can drop to a shell, create the LUKS container/LVM manually. One caveat, after install is completed you'll need to chroot into it and "apt install lvm2 cryptsetup" and create a /etc/crypttab21:28
PerdellianTJ: so when you hit the install button after only designating the /boot and encryption partitons?21:28
TheCowboytomreyn: no, it's just the default installation iso for 18.0421:28
Strykardoes 18.10 setup TRIM for SSDs on its own?21:28
tomreynnZac: try hitting escape repeatedly after POST21:28
OerHeksStrykar, yes, it creates a cronjob21:29
PerdellianTJ-: so it should also work completely within the GUI with an extra step after the manual partitioner?21:29
TJ-Perdellian: and then "update-initramfs -uv" and possibly "update-grub". If you've encrypted GRUB's /boot/ then you'll need to add GRUB_ENABLE_CRYPTODISK=y" to /etc/default/grub and "grub-install ..." too21:29
StrykarOerHeks, cronjob with systemd?21:29
tomreynTheCowboy: oh sorry you pointed to comment #22, not #2, which i rea21:29
tomreynd21:29
PerdellianTJ-: I've never done encrypted /boot (probably should at some point), but another caveat is that I'm doing dual-boot with an unencrypted windows10 installation (frelling coworker gamers and their fracking peer pressure)21:30
OerHeksStrykar, see: systemctl status fstrim.timer21:31
OerHekshttps://askubuntu.com/questions/1034169/is-trim-enabled-on-my-ubuntu-18-04-installation21:31
StrykarOerHeks, ty21:31
PerdellianTJ-: any guide recommendations for setting up encrypted /boot? (I'm on the Kubuntu live image if that makes a difference, but #kubuntu referred me here for installer questions)21:32
tomreynTheCowboy: well try the swap file approach, try decreasing swappiness, see if either improve it. if not, do a full backup of any relevant data then reboot to the same version and architecture live/installer cd and resize partitions using gparted21:32
tomreynTheCowboy: also, if you were using the 18.04.0 installer, re-try 18.04.121:33
TJ-Perdellian: makes sense to make /boot/ a seperate file-system. Then all you need do is ensure it has an entry in /etc/fstab and /etc/crypttab, and add GRUB_ENABLE_CRYPTODISK=y as previously mentioned21:34
foodSurprisehey guys21:34
foodSurpriseshouldn't this command: sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 3000 make something show up when I type sudo iptables -L21:35
PerdellianTJ-: so have it on /dev/sda5 still, and encrypt it separately from the LVM on /dev/sda6?21:35
PerdellianI'd rather not have to type two passphrases in at startup, though21:35
TheCowboytomreyn: thanks, i think that sounds like a good approach, i'm not sure if i used 0 or 1 to be honest so i can't really speak to that (multiple computers, multiple installations)21:35
tomreynTheCowboy: actually gparted may not work ith encrypted partitions. you may need to do it manually then or reinstall21:36
TJ-Perdellian: right. The way I do it (all my systems have had encrypted GRUB for about 8 years now) ... is I embed a keyfile inside the initramfs that is used to unlock the rootfs, so only need a pass-phrase for GRUB21:36
Perdellianactually, if this is a separate encryption thing, I'm guessing it could be set up later? a <1GB /boot is trivially easy to back up if reimaging is needed21:36
tomreynTheCowboy: /var/log/installer/lsb-release shouold tell21:37
Perdellian(which is also how I've gotten away with unencrypted root: if I'm worried at all, I can just reimage/regenerate my /boot)21:37
TheCowboytomreyn: that file doesn't exist but media-info says "Ubuntu 18.04 LTS "Bionic Beaver" ..." so it might be 021:40
tomreynTheCowboy: yes i think it's been .0 then.21:41
TheCowboyi checked another system, it says 18.04.1, so yep21:41
tomreynTheCowboy: so if you'll reinstall be sure to use the latest released installer image (18.04.1 at this time) and make sure you manually partition or edit the automatically created partition scheme to increase the swap size (if desired).21:41
tomreynIMO, unless you'll swap to disk, or lack ram a lot, 1 GB can actually be enough, though.21:42
TheCowboytomreyn: will do, thanks for the feedback21:42
tomreynyw21:43
Perdellianlvm++ for easy resizing21:43
nZactomreyn no luck. I am going to try a 16.04 install and see if it is something else.21:44
tomreynnZac: whats the hardware, anything special?21:46
nZacIt is a relatively new XPS21:46
tomreyndell xps? a laptop?21:46
nZacIt has a NVMe HD. I tried taking that out of the equation by using a different SSD. It is a desktop. I don't remember the exact model. It has a Nvidia 4000 in it.21:47
tomreynnZac: this? https://www.videocardbenchmark.net/gpu.php?gpu=Quadro+4000&id=154921:49
nZacUEFI, with secure boot. I tried turning off secure boot but I couldn't get it to boot that way.21:49
nZactomreyn https://www.pny.com/nvidia-quadro-p400021:49
tomreynoh this is newer ;)21:50
tomreynwell, but none of this schould stopyou from bringing up the grub menu by either repeatedly pressing the esc key or by holding down left shift after POST21:51
nZacI got to grub, there was no recovery. :(21:52
nZacI tried to boot manually with "linux ...." but grub wouldn't show me the available HD's.21:53
nZacMaybe I am missing something.21:53
TJ-For UEFI boot, shift key held down won't work (UEFI doesn't give EFI modules access to the state of the shift/ctrl/alt keys)21:54
nZacThe ubuntu 16.04 ISO has a rescue option, I am going to try this.21:54
TJ-nZac: When you say you got to GRUB, did you see a menu, or it drop you into a shell?21:54
nZacTJ- Shell21:55
foodSurprisecan you guys help me set up port forwarding21:55
TJ-nZac: which means it didn't find the grub.cfg, which might imply GRUB is confused if you've more than 1 device there (I think you said NVMe and other SSD? )21:56
nZacTJ- correct. This all started with the server 18.04 installer is not creating the user I enter from the installer menu. I just booted into that drive and indeed it is not there when I `cat /etc/passwd`21:57
TJ-nZac: weirdly, I recall something similar from about 10 years ago!21:57
nZacWhen I look in /etc/passwd, the only user who has a a shell is root.21:58
nZac(well, a shell that isn't "nologin"21:58
tomreynTJ-: thanks for the shift key info, wasn't aware21:59
nZacI am looking at both the NVMe and the SSD I have on board. Both are showing the same characteristics of no user.21:59
tomreynnZac: on our installed system*s grub menu, there should be "advanced" which opens a submenu which then contains the 'recovery' kernel options22:00
tomreynoh you have no menu, sorry22:00
nZacI will reboot and double check...22:00
tomreynhitting escape again after ou got the menu may drop you to the shell22:01
tomreynnot sure22:01
nZacI am in the menu, I have "Ubuntu" "Advanced options" and "System Setup"22:01
TJ-nZac: I suspect the missing user is due to many bugs in the subiquity installer (the 'live' server installer)22:01
TJ-nZac: I see some reports of failed user-account creation with its console-conf tool22:02
nZacI am using the live installer.22:02
TJ-nZac: "Advanced options" takes you to a sub-menu where Recovery and so on are22:02
nZacTJ- Yep, just saw that.22:02
TJ-nZac: System Setup is the UEFI firmware config provided by the PC22:03
nZacI am guessing I can just make the user here in the root prompt and all will be well again?22:04
OerHeksfoodSurprise, from your router to your machine, or what?22:04
TJ-nZac: yes, as long as you've remounted the root-fs read/write22:04
foodSurpriseOerHeks, i want to take incoming port 80 and send it to localhost 300022:04
foodSurpriseon the same machine22:04
TJ-nZac: although you'll have to ensure the user is added to the admin groups22:04
nZacAre there other installers than the "live"?22:05
PenguinPerkJust wanted to verify, to install the NRPE client packages you need the following (nagios-nrpe-server nagios-plugins). This will not install the Nagios server components, correct?22:05
tomreynnZac: there is the alternativ server installer, and the desktopinstaller22:05
OerHeksi would do that in the router, easy .. but depends on the router how to do that22:06
nZactomreyn I wonder if I should use the alternative one...22:06
TJ-nZac: I generally edit /etc/adduser.conf and remove the comment # from front of EXTRA_GROUPS= and ADD_EXTRA_GROUPS= first, then do "adduser <username>"  then "adduser <username> sudo" and "adduser <username> adm" as a bare minimum22:06
tomreynnZac: ...and the server-live installer, which is now the default server installer. and the mini.iso, and debootstrap22:06
foodSurpriseOerHeks, i'm using aws22:07
Perdellianis btrfs recommended for stuff these days or still stick to ext4?22:07
OerHeksfoodSurprise, oh, reask in ##aws here on #freenode ?22:08
OerHeksyou posted earlier a iptables line, not sure that is correct22:08
foodSurpriseyeah22:08
foodSurpriseim not sure22:08
tomreyni think foodSurprise just wants to do this: https://askubuntu.com/questions/444729/redirect-port-80-to-8080-and-make-it-work-on-local-machine22:08
tomreynno need to change aws security settings then22:09
foodSurprisewell I want to be able to take port 80 from the outside world and direct it to 3000 that is listening only on localhost22:10
tomreynnZac: the 'alternative' used to be the default one, known as the debian installer. it is the most stable and tested installer22:11
tomreynalso most featureful22:11
Perdelliantomreyn: so should I be using that one for my fancy dual-boot + encrypted LVM needs?22:12
tomreynfoodSurprise: right, this is what this iptables command does, if for destimatiom port 8000, not 3000. i assume you can change those numbers.22:13
foodSurpriseok. do i need to delete the old commands i gave it22:13
tomreynPerdellian: if you intend not to oerwrite whats already on the target storage, you'll have to22:14
Perdelliantomreyn: damage already done on a previous attempt22:15
Perdelliantomreyn: the dual-boot requirement is new, though22:15
tomreynfoodSurprise: wgat are "the old commands [you] gave it", and what is 'it'?22:15
Perdelliansince I decided that, so long as my harddrive is hosed, I might as well take that 60GB or so for windows gaming22:15
foodSurprisesudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 300022:16
Perdelliantomreyn: so you say the alternative installer is also needed for dual-boot with LVM to not destroy the existing windows partition?22:16
Perdellianif I understand you correctly?22:16
tomreynfoodSurprise: yes, you may want to delete this one.22:17
foodSurprisehow do you delete them22:17
foodSurprisealso I keep getting  unable to resolve host ip-xxx-xxx-xxx: Resource temporarily unavailable22:18
tomreynPerdellian: i'm saying that the disk you install to using the server-live installer will be purged, and only the new ubuntu installation will be on it once your installation ends.22:18
Perdelliantomreyn: ah. I'm using the kubuntu live installer, not server, so maybe apples to pears comparison?22:19
foodSurprisethat resource temp. unavailable happens everytime22:20
foodSurprisealthough it didn't do that at first. im going to try to flush the tables22:20
foodSurprisestill get the same message even when I do sudo iptables -F INPUT22:21
tomreynfoodSurprise: to delete i think it's: sudo iptables -t nat -D PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 300022:21
tomreynfoodSurprise: "unable to resolve host ip-xxx-xxx-xxx: Resource temporarily unavailable" may be an entirely different issue. hard to tell.22:21
thyriaenHi, i would like to install Windows :( on my machine - i have currently a linux setup with 3 SSDs - ( my windows iso is too big for my usb stick ) - can i somehow mount the iso file to a temporary partiion and then boot from it, and install it on my 3rd ssd ( to essentially dual boot Linux / Windows ) ?22:21
tomreynPerdellian: indeed, sorry, i think the desktop installer will work fine for dual boot.22:22
Perdelliantomreyn: the trick is to get dual-boot and encryption :/22:23
Bashing-omthyriaen: That ^^ sounds like a ##windows question .22:23
__0xbad_thyriaen: I dont think you can22:24
tomreynPerdellian: not an issue as long as you don't move the windows installation into the encrypted / lvm area and as long as you have grub boot22:24
thyriaen__0xbad_, i feel like that is the default question anything regarding windows "i dont think you can " xD22:25
thyriaenBashing-om, thanks ill try22:25
Perdellianalso, any particular views on btrfs vs. ext4?22:25
__0xbad_thyriaen: try it with rufus22:25
PerdellianI'm defaulting to ext4, but if someone wants to make a case for btrfs22:26
__0xbad_and select the partition instead of the flash drive22:26
tomreynPerdellian: nice and calm here, isnt it?22:27
Perdellianeh?22:28
tomreynPerdellian: i noticed no one came forward to make the case for btrfs ;)22:28
Perdellian:)22:29
__0xbad_ONE JUST SIMPLY DOES NOT COMPARE THE BOTH!22:29
__0xbad_jk ;)22:29
nZactomreyn & TJ- that was it. Switching to the alternate installer fixed the problem22:33
tomreyn:)22:34
tomreyni'm not aware of the bugs TJ- has spotted regarding improperly created user acounts there22:35
tomreynin case those have not yet been reported it would be good if you could do so, nZac22:35
tomreyni guess we should have done so before, though, my bad22:35
tomreynbut even now it'd still help to poit it out and maybe add what TJ- has found22:36
nZacIs there a particular bug tracker for the installer? I wouldn't want to put them in the wrong spot22:36
tomreynnZac: https://bugs.launchpad.net/ubuntu/+source/subiquity/+filebug22:38
nZacThanks tomreyn. I will do my best to describe the problem. i am not sure I fully understand the issue.22:38
tomreynme neither, but thanks for doing so. if you'll post the bug id i'll see if i can add anything22:39
* Perdellian hits install22:41
PerdellianTJ-: here's hoping22:41
foodSurprisei fixed the issue but https://askubuntu.com/questions/444729/redirect-port-80-to-8080-and-make-it-work-on-local-machine still isnt working22:41
foodSurpriseis there a way i can look at the logs to see if any traffic is going to it22:41
foodSurprisei have the port open in AWS22:41
PerdellianI did jot dawn the things you mentioned in case it doesn't work out of the box22:41
foodSurpriseand its connectiong via SSH so why wouldn't port 80 work22:41
* Perdellian is typing from tmux+weechat on the server in the closset22:42
Perdellian-s22:42
=== daniel is now known as Guest36235
nZactomreyn https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/180390422:44
ubottuLaunchpad bug 1803904 in subiquity (Ubuntu) "User not created during 18.04.1 live installation" [Undecided,New]22:44
tomreynnZac: thanks, looks good, i dont thinki have anything to add22:45
nZac:+1: thanks for the help and the pointers. It got me up and running.22:45
tomreynhappy to help22:45
vimarHi22:54
OnkelTemGuys, how to get the current video mode of the tty2 for example?22:56
squaresandcubesany advice on how to make things look sharper on my 4k display?23:04
squaresandcubesI have text scaling @ 1.00 and the "Scale" @ 100%23:05
Bashing-omsquaresandcubes: Have you seen: https://wiki.archlinux.org/index.php/HiDPI ; https://askubuntu.com/questions/472262/adapt-ubuntu-to-a-high-dpi-resolution-screen ?23:06
Perdellianso TJ- recommended chrooting into the new system before reboot and making sure cryptsetup and lvm2 were installed (they are), making a crypttab, and updating the initramfs23:10
* Perdellian sees no crypttab and doesn't feel like hand-making one23:10
* Perdellian looks to see if there's a proper way to automatically generate a crypttab23:13
tomreynPerdellian: the format is pretty simple, did you check the man page?23:15
Perdellianyeah, I'm glancing at it now23:16
Perdellianbut waitaminute... if this crypttab is going to be inside the LUKS+lvm setup...23:17
Perdelliandoes this play into initramfs generation?23:17
tomreynhere's a real-world desktop example: sda3_crypt UUID=c2b0657c-7119-44be-bd13-b6d595198446 none luks,discard23:17
tomreynyes, it goes into the initramfs, so you'll need to update-initramfs -k all -u23:18
tomreyn(or maybe drop -k all if you only want to modify the initrd of the currently running kernel)23:19
th_any good software for designing speaker enclosures?23:20
Perdellianokay, so: landroval-crypt /dev/sda623:20
Perdellianshould do it?23:21
Perdellianpreferably UUID, though, I take it?23:21
tomreynPerdellian: i dont know what "landroval-crypt" is.23:21
* Perdellian is halfway tempted to just reboot and see what happens23:21
Perdelliantomreyn: actually, yah, sda6_crypt would do23:22
PerdellianLandroval is the laptop23:22
PerdellianI gather that naming is rather arbitrary, so long as the admin knows what's what23:23
tomreyndashes willl need to be doubled IIRC, thus underscore is usually preferred.23:23
tomreynbut maybe doubling is just on the filesystem, not in crypttab23:23
Perdellianokay, update-initramfs -uv has been run23:30
Perdelliannow to reboot and see23:30
tomreyngood luck, i got to go23:39
Perdellianwell narf that with a dull, rusty spoon23:41
PerdellianI think I might know what I did wrong23:48
* Perdellian makes sure to mount /boot this time23:48
Perdelliannope23:55

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