/srv/irclogs.ubuntu.com/2020/01/26/#ubuntu.txt

tomreyntangarora__: which firmware that's not already included in ubuntu's but is included in debian's separate firmware archive do you need then?00:06
celphianyone can help me install ubuntu? I keep getting a purple screen and cant get passed that00:12
compdoccelphi, what sort of computer is it?00:13
celphicompdoc: brand new computer: intel i7-9700k00:13
celphiasus00:14
celphiGL12CX00:14
tomreynwhich ubuntu version? which graphics card?00:15
celphiNvidia00:15
celphinewest version00:15
tomreynchoose failsafe graphics from the boot menu00:16
celphii did usb install- i completed the entire process of installing it but when i boot w/o the usb i just get a purple screen00:16
celphii logged into my account once and did apt-get update && apt-get upgrade and rebooted00:17
celphiafter reboot i just have blank purple screen00:17
tomreyn!recovery | celphi00:17
ubottucelphi: If your system fails to boot normally, it may be useful to boot it into recovery mode. For instructions, see https://wiki.ubuntu.com/RecoveryMode00:17
celphirecovery does same results00:17
celphiill screenshot it sec00:18
tomreynrecovery boots to a purple screen before it shows the recovery menu?00:18
celphihttps://usercontent.irccloud-cdn.com/file/VkGuKzYe/1579997946.JPG00:19
celphiif i choose any option it gives purple screen00:19
celphithis is what i get after rebooting machine with no usb stick00:20
compdocUbuntu 19.10? try 18.04.3 LTS instead00:21
celphiok be back later after i create iso00:22
compdocis there an internal vid card? in the cpu?00:22
compdocmaybe its displaying to the wrong port00:23
celphicompdoc: it's basically this https://www.bestbuy.com/site/asus-gaming-desktop-intel-core-i7-9700f-16gb-memory-nvidia-geforce-rtx-2060-1tb-hard-drive-256gb-solid-state-drive-iron-gray/6363858.p?skuId=6363858&ref=212&loc=1&extStoreId=254&ref=212&loc=DWA&gclid=CjwKCAiA66_xBRBhEiwAhrMuLYXPiQ9LImfXzRhRdegWHjlzrwDZvBbFcrs4FHpivZBaumgHxGF1LhoC63oQAvD_BwE&gclsrc=aw.ds00:23
celphicomputer ^ from best buy00:23
compdocyes00:23
celphiexcept it's RTX208000:23
compdocno Integrated graphics00:24
compdocnm00:24
tomreynwhat this image shows is the grub menu00:26
tomreyncelphi should be able to navigate this menu, i assume?00:26
celphii can navigate menu00:26
celphiin grub00:26
celphiim dd older version right now on mac00:27
tomreynthen it's unclear what doesn'T work00:27
jimwhich one?00:27
celphibut yeah - if i pick 1st option i get purple screen, if i go advance options and select any item i get purple screen00:27
celphiit gives me a pure purple screen if i select any grub menu item00:28
jimcelphi, which version behaves that way?00:28
tomreynokay so you're saying you can't boot to recovery menu on an installed ubuntu 19.10, booting in uefi mode.00:28
celphicorrect tom00:28
celphi19 jim00:29
jimwhich cpu do you have00:29
jim?00:29
celphijim: https://www.bestbuy.com/site/asus-gaming-desktop-intel-core-i7-9700f-16gb-memory-nvidia-geforce-rtx-2060-1tb-hard-drive-256gb-solid-state-drive-iron-gray/6363858.p?skuId=6363858&ref=212&loc=1&extStoreId=254&ref=212&loc=DWA&gclid=CjwKCAiA66_xBRBhEiwAhrMuLYXPiQ9LImfXzRhRdegWHjlzrwDZvBbFcrs4FHpivZBaumgHxGF1LhoC63oQAvD_BwE&gclsrc=aw.ds00:29
celphibut it's rtx-208000:29
celphibought it yesterday00:29
tomreynjim: "intel i7-9700k", "asus GL12CX", "nvidia rtx-2080"00:30
jimso it's an i700:30
celphiyes jim00:30
jimtomreyn, any of those problematic for the version of ubuntu he tried to install?00:31
tomreyninstalled, rebooted, came up fine, installed pending updates, rebooted, can't access desktop00:31
celphiim about to try and reinstall older version00:31
celphisee if that works00:31
tomreynjim: i'm not sure, i guess both the cpu and graphics card may be00:32
celphihttps://usercontent.irccloud-cdn.com/file/02MbEWIY/1579998803.JPG00:33
celphiim going to try with nomodeset00:33
tomreynthe "recovery" options from grub's advanced menu would already have set recovery00:35
tomreynthe "recovery" options from grub's advanced menu would already have set nomodeset00:36
tomreyn!bootlog | celphi00:36
ubottucelphi: To get a more verbose log of the boot process, remove "quiet" and "splash" from the kernel boot parameters and add "debug systemd.log_level=info". For info on editing kernel boot parameters, see https://wiki.ubuntu.com/Kernel/KernelBootParameters00:36
celphii downloaded a new iso with version 18.04.0300:36
celphiand used nomodeset with installing option00:37
celphii got passed that graphics thing00:37
celphiinstalling now00:37
celphi-- but after install ill get stuck on grub-,. so ill reply back in here once im done with install00:37
celphishould i select the option "Install third-party software for graphics and WiFi hardware and additional media formats"?00:38
celphithnx ubottu ill try that00:38
celphijim: do i check that box or leave unchecked?00:39
celphihttps://usercontent.irccloud-cdn.com/file/C9il3wcV/1579999196.JPG00:39
tomreynif you don't mind proprietary software, and since you acquired an anvidia card to be used with linux, you apparently don't, i'd say yes00:40
celphitomreyn: can i just download it using apt-get?00:40
celphior is this best way to do it00:41
tomreynyes, after installation, if the installation works then00:41
tomreyn"best" is very subjective00:41
celphisure00:41
celphiill do unchecked this time around00:41
jimwe had some success before (correct me if I'm wrong), before the updates were installed... so I'd suggest the experiment of unchecking it, and then rebooting into that, and go from there00:41
celphik00:42
celphifiles are copying over-- ill ping ya when it's done00:43
jimthen we could try: installing some backup software, and making an image with the backup program on it (maybe borg is good choice), back up once it comes up, then try installing updates one at a time until it dies00:43
jimonce it dies, restore from backup, try again, lather, rince repeat00:44
tomreyni suspect it's probably just a bad bios which wasn't upgraded, yet00:46
jimdo we dare trying to flash it? :)00:46
celphialright here we go00:47
celphitomreyn: what do you mean by that?00:47
graphicsvDo any of you have a L380 Yoga and uses it with Ubuntu?00:47
celphihttps://usercontent.irccloud-cdn.com/file/G5rTiLDr/1579999655.JPG00:47
celphiok i booted and got that00:47
celphiim going to restart it00:47
jimthat's poiple00:48
tomreyncelphi: often firmware is only tested against windows before hardware is sold. compatibility with other OS such as linux is often only tested after market release, and sometimes if problems are reported then there are bios updates to fix them.00:49
jimI wonder if the ubuntu that is installed has anything interesting in the logs00:49
celphiok it booted and worked this time00:49
celphiand im at desktop!00:49
celphiwhat do i need to install to get my drivers right?00:49
tomreynif you want proproietary drivers you could run: sudo ubuntu-drivers autoinstall00:50
celphiwould that detect my nvidia ones?00:50
jimcelphi, sudo apt install netcat; sudo ls -CF /var/log | nc termbin.com 999900:51
celphinc as in netcat?00:51
tomreynnc is installed by default00:51
jimyeah00:51
jimoh ok00:51
jimthen get rid of everything up to and including the first ;00:52
tomreynsudo ubuntu-drivers list       Show all driver packages which apply to the current system.00:53
celphiwhat does that do?00:53
jimthis test is: "did it make any logs, if so which general areas", it pastebins the output of ls -CF /var/lotg00:53
tomreynsudo ubuntu-drivers devices      Show all devices which need drivers, and which packages apply to them00:53
celphiok i did it00:53
tomreyncelphi: jim's command would either have returned a warning or a http address00:54
tomreynthat's unless the system is not online, yet00:55
celphihttps://usercontent.irccloud-cdn.com/file/kvY6OP4Q/IMG_0732.JPG00:55
jimubuntu does try to get on the net at boot though, right?00:55
tomreynyes00:56
celphisee my image? i did command right - i think00:56
tomreynhmm yes you did, not sure why it didn't work00:57
celphitomreyn: do i need to get teh driver xserver-xorg-video-nouveau?00:57
TheSonOfPeterDoes anyone else have issues with Bluetooth randomly dropping devices. Using some samsung wirless earbuds and will have to every now and then disconnect and reconnect. Using Ubuntu 18.04.3LTS00:57
tomreyncelphi: i assume you want the recommended one.00:58
celphitomreyn: do you see in my list, that it's listed? does that mean i have it installed already?00:58
jimno, don't install the nouveau thing00:59
celphik00:59
celphigoing to use update & upgrade then00:59
jimyou want to try the proprietary drivers?00:59
tomreyncelphi: your output doesn't say which one is in use currently. it lists "driver: nvidia-driver-435" as recommended00:59
jimnono, hold off on that too00:59
celphicrap- already did update01:00
celphibut not upgrade01:00
jimupdate is ok, just don't upgrade yet01:00
celphik01:00
celphiwhat do i do next01:00
jimyou want the proprietary drivers?01:00
jimfor the video01:01
celphisure01:01
jimok... the next thing to do is install them: sudo apt install nvidia-driver-43501:01
celphik01:02
tomreyncelphi: before you reboot again, please post the output of    journalctl -b | grep DMI:01:02
tomreynit's just one line01:02
celphisure01:03
user217_hello. is someone use type-c hub with vga input?01:03
celphiis ubuntu-drivers list the same as lshw01:03
celphibut specific to drivers01:04
tomreyncelphi: no01:04
tomreyn!man | celphi01:04
ubottucelphi: The "man" command brings up the Linux manual pages for the command you're interested in. Try "man intro" at the  command line, or see https://help.ubuntu.com/community/UsingTheTerminal | Manpages online: http://manpages.ubuntu.com/01:04
celphiCool thank you01:04
celphijim: ASUSteK COMPUTER INC. ROG Strix GL12CX/GL12CX, BIOS GL12CX.307 07/05/201901:05
jimis that after doing the install?01:05
celphi"ASUSTeK"01:05
celphii did that one line for you01:05
celphiyes01:05
tomreynactually for me01:05
celphioh sorry01:06
celphiso i installed the drivers01:06
jimok, does the screen still work?01:06
celphido i reboot now?01:06
jimok, does the screen still work?01:06
celphiyes- but i didnt reboot yet01:06
celphishould i reboot now jim ?01:07
jimok, trying a reboot is probably a good idea, subject to tomreyn's approval01:07
celphi do i do upgrade 1st?01:07
jimno01:07
celphik01:08
jimbecause we want to see if the screen works after booting01:08
celphik01:08
celphiill standby until he gives word01:08
jimif it does, I would assume it's safe to do the upgrades01:08
=== user217_ is now known as user216_
tomreynmy theory was wrong, that's the latest "bios" https://www.asus.com/Tower-PCs/ROG-Strix-GL12/HelpDesk_BIOS/01:09
=== user216_ is now known as user217_
celphik cool. right now i only have 2 monitors plugged in right now- 2 of 4. Should i wait before plugging them in?01:09
tomreynno need to wait for me with anything01:09
celphiok rebooting with just 2 for now01:10
=== user217_ is now known as user216_
tomreynuser216_: problems?01:10
jimhe seems to be on a yoyo diet01:11
celphiit worked!!01:11
celphiok quick question-- how do i get into root?01:11
jimok, plug in the others01:11
celphibc i dont recall making a password for root01:11
jimsudo -i01:11
tomreyn!root01:11
ubottuDo not try to guess the root password, that is impossible. Instead, realise the truth... there is no root password. Then you will see that it is 'sudo' that grants you access and not the root password. Look at https://help.ubuntu.com/community/RootSudo01:11
jimbut of course, you have all the power, be -careful-01:12
celphiso ubuntu doesnt use root as a user?01:12
celphiok plugging in other monitors01:12
tomreynyou didn't read properly01:13
user217_tomreyn: yep. with type-c hub01:13
jimthere is root, but not access to root01:13
jimhaving said that, sudo -i should get you a root shell01:13
tomreynuser217_: okay, i was just wondering about the nickname changes01:14
celphiah that link explained it perfectly-- thanks tomreyn01:16
celphiso it seems i only have 2 monitors01:16
celphithe hdmi -> display port cord isnt registering on my monitor01:16
jimall four connected now?01:17
celphijust the display port -> display port cord is working which has two01:17
celphithere's two display ports, 1 hdmi and one iphone looking port01:17
celphii still have to get the adaptor for the iphone looking one, but the hdmi -> monitor one is not working01:18
user217_can somebody help with type-c hub ?01:18
celphijust the display port 2x -> monitor is working01:18
tomreyn!details | user217_01:19
ubottuuser217_: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel.01:19
user217_tomreyn: I cam use usb input but when I use vga input nothing happend01:20
celphiis there a command to type to see which version i would download if i download vim01:21
quadrathoch2celphi, apt show vim-nox for example01:21
jimapt-cache policy vim?01:21
tomreyncelphi: there's the "ubuntu-drivers" PPA which can provide newer but not officially supported proprietary nvidia drivers. you could give this a try. but before you do that, i guess you'd want to install all pending updates and reboot. but jim should drive this.01:21
celphiI really appreciate it both of you- ive spent two days on this01:22
celphiapt-cache policy doesnt show me if it would be vim version 8.101:23
jimwell, he's got drivers, and his screens seem to work... how would he install the updates?01:23
celphiim trying to see if it would be 8.1 before installing it01:23
tomreynjim: using apt, i guess? i think you had celphi hold back on apt upgrades before, no?01:24
tomreyncelphi: apt list vim-nox01:24
jimI can almost always predict the score of a football game before it starts...01:24
celphiwhat will the SF vs KS be jim?01:25
jimcelphi, before it starts, 0 - 001:25
celphilmao01:25
jimsaw I right?01:25
celphiyeah apt list vim-nox doesnt say version01:25
quadrathoch2as I said, apt show vim-nox01:26
tomreyncelphi: weird, it should have01:26
jimtomreyn, just to make sure about the drivers, yes. he can choose either to back up, or to move on to installing the updates01:27
celphihttps://usercontent.irccloud-cdn.com/file/uFABM6yw/1580002036.JPG01:27
quadrathoch2tomreyn, it will only show you if you have the package installed01:27
celphinope01:27
tomreynjim: oh ok, i forgot you had suggested taking backups.01:27
quadrathoch2celphi, you will install version 8.001:28
jimcelphi, how much disk space you have?01:28
tomreynquadrathoch2: not really, no01:29
celphi1 TB if i remember correctly01:29
celphiyeah df says 1tb01:29
jimin one drive?01:29
celphiyes. and i also have another drive but it's weird looking01:29
quadrathoch2tomreyn, oops, tried to list a package that I accidently misspelled01:30
tomreyn;)01:30
celphihttps://usercontent.irccloud-cdn.com/file/hQ6tDjG3/1580002220.JPG01:30
tomreyncelphi: 1 TB HDD, 256 GB SSD01:30
celphiLooks like a chip but it’s another hard drive01:30
tomreynor nvme rather01:30
tomreynthis is ram01:31
celphiLmao oh ?!01:31
celphiWhere the hell they put the drive then01:31
jimdang, what the heck is it?01:31
dman777using xenial.... is tigervnc viewer available?01:32
jimcan the bot answer that question?01:32
celphiWhat kind of ram is this?01:32
jimplastic ram?01:33
celphiLmao01:33
tomreyncelphi: actually not ram, i guess. it's some proprietary storage apparently. "It features the ROG-exclusive DIMM.2 module with support for dual SSDs that can..."01:33
jimI dont -even- know01:33
tomreynit's an M.2 riser card01:33
tomreynhttps://www.techpowerup.com/229448/asus-dimm-2-is-an-m-2-riser-card01:34
jimso it's probably an ssd?01:34
Bashing-om!info tigervnc-viewer bionic | dman77701:34
ubottudman777: tigervnc-viewer (source: tigervnc): Virtual network computing client for X. In component universe, is optional. Version 1.7.0+dfsg-8ubuntu2 (bionic), package size 158 kB, installed size 460 kB01:34
tomreynjim: maybe01:35
jimI wish he had a spinning hd01:35
jimanother one that is01:35
celphii do actually i saw it on bios01:36
jimoh it's in the machine?01:36
celphii think so but i think it's below the bottom case let me see01:36
jimthere should be stuff in /dev for it01:36
dman777ugh....on xenial though01:37
celphiubuntu has weird tree01:37
jimcelphi, could you run: ls /dev/sd[a-z]01:37
celphijust /dev/sda01:38
celphiso i guess i dont01:38
jimok, so I guess that's a no01:38
celphiwhere are iptables stored at01:38
celphiused to seeing it in /etc/sysconfig/iptables01:39
jimcelphi, thing about iptables, it doesn't exist in hewer kernels... BUT there's a compatibility layer, when you make an iptables rule, the compatibility layer turns it into an nftables rule01:40
jimnewer not hewer01:40
celphiawe- that stinks01:41
tomreyncelphi: they are stored in kernel memory. if you are looking for a way to persist rules across reboots you can install     iptables-persistent01:41
jimthere used to be a debian package that would calculate ipmasq firewalls01:42
jimcelphi, ok... so:01:43
tomreynif you'd liek to post a lit of all disks / storages (incl. loop ones), this could help find your other storage: sudo fdisk -l 2>&1 | nc termbin.com 999901:43
jimcelphi, yeah, run that :)01:44
jimnc will talk to termbin.com, and will print a url01:44
celphioh i do have it sad1 and sad201:45
celphisda*01:45
celphisda1 has efi system 512m01:46
celphiand sda2 has linux filesysetm01:46
jimso sda2 is mounted on /?01:46
jimrun: mount | grep sda201:46
tomreynthose are partitions on disk sda.01:47
jimnot two separate drives01:47
celphioh ok01:47
celphitermbin.com/zylu01:48
celphiwhat are all these loops?01:48
jimdunno01:48
jimbut your sda2 is the whole rest of your drive01:49
celphik01:49
tomreynthe loop devices are snaps01:49
celphiso i guess i shuld put this ram back in then lol01:49
tomreyn!snap01:49
ubottuSnaps are containerised software packages similar to flatpaks or appimage. For more info, see https://snapcraft.io01:49
jimthat much space will keep you happy for a -very- long time01:49
celphi:D01:49
celphigoing to read this01:50
jimdo you want to continue with updates?01:50
jimcelphi, do you want to continue with updates?01:51
celphioh i did the upgrade part01:51
celphiis there more?01:51
celphiis there dist-upgrade too?01:51
jimlet's find out...01:51
jimthere might be01:51
celphishould i try it?01:52
jimtry apt dist-upgrade01:52
jimit will tell you what it wants to do01:52
celphisomething about autoremove01:52
celphithat's it01:52
jimwhat does it want to remove?01:53
celphilibllvm801:53
celphisays it's no longer required01:53
dman777ubuntu wiki is down... what is the end of life for xenial lts 16.04?01:53
jimyou can remove it if you want, by running sudo apt autoremove01:54
tomreyncelphi: the ssd is actually hot swappable from the front, behind a triangular cover.01:54
tomreyn!xenial | dman77701:54
ubottudman777: Ubuntu 16.04 LTS (Xenial Xerus) was the 24th release of Ubuntu. Download at http://releases.ubuntu.com/16.04/ - Release Info: https://wiki.ubuntu.com/XenialXerus/ReleaseNotes01:54
celphihot swapable?01:54
celphii see the triangle cover01:54
tomreyndman777: oh that doesn't say, sorry. but it's 5 years since release. and 16.04 was releases in 04/16 (thus the name)01:55
celphihttps://usercontent.irccloud-cdn.com/file/URvXglvM/1580003718.JPG01:55
dman777tomreyn: the link gives internal server error01:55
jimbefore you do that... if you've upgraded already, try rebooting, see what happens01:55
dman777tomreyn: oh..ok. thakns01:55
celphihttps://usercontent.irccloud-cdn.com/file/aidV9vQG/1580003749.JPG01:55
celphiK01:56
celphishould i open my computer first and place this ssd in?01:56
jimno01:56
jimreboot first, see if it comes up...01:57
jimdo that now-ish, so I know01:57
celphik01:58
celphilol01:58
celphipurple screen of death01:58
tomreynlooks liek no ssd installed there01:58
celphii used reboot command-- ill try turning computer off and see if any different result01:59
jimok, I need to take care of things irl for awhile01:59
jimwait01:59
celphicrap02:00
celphipurple scrreen again02:00
celphilmao02:00
celphiso it was either from me removing that package or the upgrade02:01
dman777does anyone use tightvnc or tigervnc on xenial for client? I can't seem to get ether  one. I have xtightvncviewer but it doesn't have any options in the gui...not the same one I see on the tightvnc website02:01
celphii also installed vim02:01
tomreyncelphi: which packages did you remove?02:01
celphithe one autoclean suggested for me to remove02:01
jimthe libllvm thing02:01
celphiyeah02:01
tomreynoh ok, that's fine,. installing vim wont have caused it either.02:02
celphiso it was probably the upgrade02:02
jimthat's the only thing left02:02
tomreynyes, it would seem so02:02
celphii have to reinstall it again?02:02
celphihow am i going to be able to pinpoint the culprit in upgrade?02:03
jimI wonder if you want to install an earlier verion02:03
tomreynyou could try getting more logs, as suggested earlier02:03
tomreyn!bootlog02:03
ubottuTo get a more verbose log of the boot process, remove "quiet" and "splash" from the kernel boot parameters and add "debug systemd.log_level=info". For info on editing kernel boot parameters, see https://wiki.ubuntu.com/Kernel/KernelBootParameters02:03
celphiok ill try that02:03
jimI'm out for awhile... these things won't wait02:04
tomreynok jim, ttyl02:04
celphitomreyn: i tried that still just purple screen02:04
celphithanks jim!02:04
celphiit's "debug systemd.log_level=info" after `ro` right?02:05
tomreyncelphi: yes02:05
celphitwo spaces02:05
celphiyeah nada02:05
tomreyncelphi: one or more02:05
celphitry it in the recovery mode?02:06
tomreyncelphi: try dis_ucode_ldr02:06
tomreynthat's also a kernel command line option02:06
celphiok restarting02:06
celphiam i doing these commands on ubutunu normal or the recovery one02:07
tomreynrecovery02:07
celphioh i wasnt doing that02:07
tomreynif that works we can try normal, too.02:07
celphioh! the dis_ucode_ldr worked!02:08
celphiwth02:08
celphilol02:08
tomreynmeh02:08
celphidude you're like a miracle worker02:08
tomreyndis_ucode_ldr disables cpu microcode updates, meaning you're bypassing online CPU updates02:09
tomreynmeaning the system gets no protection against some CPU vulnerabilities.02:09
tomreynso that's not a great situation, but at least it boots02:09
celphiso can i now rollback the upgrade?02:10
tomreynhmm, you could do this. but before you do we should try to understand better what the current state is.02:11
celphiok02:11
tomreynboot the main kernel option with the extra dis_ucode_ldr option now if you haven't02:11
tomreynsee if this works02:11
celphiwhat do you mean02:12
celphioh the non-recovery one?02:12
celphii did02:12
tomreynyes, ok02:13
tomreynplease show the output of     apt list intel-microcode02:13
celphitermbin.com/wsk702:14
celphioh wait- didnt work02:14
celphitermbin.com/8jla02:15
tomreynand:   cat /proc/cpuinfo | grep -m1 ^microcode02:16
celphi0xae02:16
tomreynthat's shorter than i expected, but can be right02:17
celphihaha i have no idea what's going on02:17
tomreynso i gess you could file a support request with your computer vendor about their system failing to boot linux with the 20191115 intel microcode update02:18
tomreynand they'll respond "go away, we only support windows"02:18
celphi:(02:18
tomreynbut maybe not, you could try.02:19
celphii have no idae how to do that02:19
tomreynhttps://www.asus.com/us/ROG-Republic-Of-Gamers/ROG-Strix-GL12/HelpDesk/02:20
tomreynthere's live chat, but probably also some e-mail from somewhere.02:21
celphiok cool.,  so how do i roll-back upgrade?02:21
=== zbenjamin is now known as Guest86068
=== zbenjamin_ is now known as zbenjamin
celphisince that sounds like a better option02:21
tomreynsudo apt install inteöl-microcode=3.20180312.0~ubuntu18.04.102:22
tomreynsudo apt install intel-microcode=3.20180312.0~ubuntu18.04.102:22
tomreyn^ typo fixed02:22
tomreynsudo apt-mark hold intel-microcode02:23
celphiis that a `~`?02:23
celphitilda02:23
tomreynyes. also you can just copy and paste02:23
celphiim talking to you via macbook02:23
tomreynsorry to hear this02:24
celphi:D02:24
celphidoes the hold command lock in the microcode?02:24
tomreynthe "apt-mark hold ..." command will prevent this system from installing any upgrades to this package, ever, until you undo it.02:24
celphiok is that safe?02:25
tomreynwhich is a smaller but can become a larger security issue over time. it could also prevent installation of other packages in the future.02:25
celphik02:26
tomreyni would appreciate you reporting a bug, too02:26
celphishould i reboot now?02:26
tomreynyes, you can reboot02:26
celphiok ill fill it out right now02:27
tomreyn!bug02:27
ubottuIf you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.02:27
tomreynso ubuntu-bug intel-microcode02:27
tomreynplease include     ASUSteK COMPUTER INC. ROG Strix GL12CX/GL12CX, BIOS GL12CX.307 07/05/2019    if this doesn't happen automatically.02:28
cgiHow can I detect if sudo apt install XX - will install anything without needing to be root?02:28
lotuspsychjecgi: installing packages need sudo02:30
tomreyncgi: file alteration monitoring, i guess, or a host intrusion detection system, ir debugfs on a journalled ext3/4 file system. but this seems way too much work unless you have any reason to assume such could be possible.02:31
user217_Can I get help with  support of type-c hub?02:32
celphitomreyn: how do i add that line02:33
tomreyncelphi: later on, after you reported, you can comment02:33
celphiim trying to verify my email but it keeps saying my link is stale02:34
celphihttps://usercontent.irccloud-cdn.com/file/9VluJKp5/IMG_0737.PNG02:34
cgitomreyn, I was trying to avoid asking sudo password if a certain package is already installed - from a user02:35
starcurvehuh. ubuntu one is still around?02:36
tomreyncelphi: maybe you accidentially clicked twice and it worked the first time? i think you can go to https://sso.ubuntu.com and login there and re-request e-mail address validation, then re-report the bug.02:36
lotuspsychje!discuss | starcurve02:36
ubottustarcurve: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks!02:36
tomreyncelphi: sorry that's https://login.ubuntu.com02:37
starcurverip02:37
lotuspsychjeuser217_: we advice if you have an ubuntu issue, to just ask it with all details into the support chat02:37
cgitomreyn, perhaps use dpkg --list and query the package as a user?02:37
celphitomreyn: when i re-report bug it says im still on step 202:37
celphito verify my email02:37
tomreyncgi: dpkg-query or apt list --installed02:38
tomreyncelphi: did you try to re-verify the e-mail address first, though?02:38
celphican i type "system failing to boot linux with the 20191115 intel microcode update"02:38
celphiwith vendor02:39
celphiis that good enough?02:39
tomreyncelphi: yes, i guess so, if you can also provide them with system details02:39
tomreyni.e. hardware model, bios version, bios release date, ubuntu 18.04.3 amd6402:40
cgitomreyn, thanks02:40
celphitomreyn: yeah same problem02:40
celphitomreyn: prompts me to either verify email (click link) or to enter my email for verfication details02:41
tomreyncelphi: and you didn't receive more e-mails?02:41
celphiif i do either i get an email- which sends me an email., and when i click link in email it says stale link02:41
tomreyncelphi: can you provide the first part of the link from your e-mail, not the stuff after "?"02:42
tomreyni.e. no IDs no numbers etc,02:43
celphilogin.launchpad.net02:43
tomreynhttps://login.ubuntu.com/+emails is where you can manage e-mail addresses, just one needs to be verified02:43
celphiok but it seems the bug reporting in the terminal doesnt work02:44
tomreynwell, i suggest you try again tomorrow, since systems seem to be a bit overloaded currently, maybe there's a problem on the backend02:44
celphiwhen i do the +emails page02:45
celphiit shows Unverified (with my email address) (Verfiy link)02:46
celphiAnd Add email address02:46
celphii clicked link and that's when i get email,. and the link in the email states it's broken02:46
celphibut ill try it tomorrow02:46
tomreynthere's also "Contact" down here for support with the ubuntu + launchpad login https://help.ubuntu.com/community/ISD02:48
celphioh this requires me setting up smtp settings and such-- ill try to do this tomorrow02:50
celphii came into work on a weekend to get this linux thing going -- im very much in debt to you helping me -- thank you02:51
tomreynyou're welcome. :)02:52
tomreyncelphi: did you reboot with the downgraded microcode, yet?02:52
tomreyni'm not sure you had said so, so this would be a good thing to verify befroe we wrap it up.02:53
celphisure ill do that now02:54
celphiyup im good02:56
tomreynand please take note that you did the    "sudo apt mark hold intel-microcode"    earlier somewhere where you'll find it in half a year or a year02:56
celphiwhen i do apt-get upgrade it shows02:56
celphias a package held back02:56
tomreynah good02:56
celphibtw-02:56
celphievery new user i make02:56
celphihas the ability to use sudo?02:57
tomreynno. by defauöt only the first user created is added to the "sudo" group and thus can02:57
celphiso if i want to add a user02:57
celphii have to do sudo -i02:57
celphi?02:57
tomreynadduser thisnewuserijustcreated sudo02:57
celphithat gives that user sudo ability?02:58
tomreynyes, still needs to provide password, though, just like the first user02:58
tomreynthat's *their* individual accoutn password02:58
celphisays user does not exist02:58
tomreynwhich user does not exist?02:59
celphii did02:59
celphi`adduser shawn sudo`02:59
celphi`adduser: THe user 'shawn' does not exist'`02:59
tomreynhmm did you create this user, though?03:00
celphii was trying make first then give sudo03:00
celphioh so adduser also grants privilegees03:00
tomreyngetent passwd    will list existing users.03:00
tomreynadduser adds a user to a group03:00
celphiso i need to make user first03:00
celphicreateuser ?03:00
tomreynusers in the sudo group get system admin privileges via sudo03:01
celphiok- i dont have a user named shawn03:01
celphihow do i add it- and then give sudo priv03:01
tomreynyou can also create users on the GUI, and make them admins there, too03:01
tomreyn!users03:01
ubottuTo add new users to your Ubuntu system, follow the instructions at https://help.ubuntu.com/community/AddUsersHowto - For administrative privileges, users need to be made members of the group "sudo" - See !sudo03:01
celphii figured it out thanx!03:02
tomreynhmm the graphical approach depicted there is indeed outdated03:02
celphiany books  you can recommend?03:02
celphii want to get better with terminal03:03
tomreynle petit prince03:03
tomreynoh, about the terminal03:03
tomreyn!temrinal03:03
celphilike you know so much about linux03:03
tomreyn!terminal03:03
ubottuThe linux terminal or command-line interface is very powerful. In Unity or GNOME, search the dash for "terminal" and press ENTER. Other desktops: Applications -> System Tools -> Terminal (MATE), K-menu -> System -> Konsole (KDE), or Menu -> Accessories -> LXTerminal (LXDE). Guide: https://help.ubuntu.com/community/UsingTheTerminal03:03
celphithnx man- have a great night!03:04
tomreynthat's a good start there. when you get bored because you read it all come back here or memorize all of    man bash03:05
tomreynyou, too03:05
tioxHeard of a thing called grab for Linux, but it's not in eoan?03:07
celphioh tomreyn you still there?03:11
tomreyncelphi: yes, but i'm sure that's not your actual question03:12
celphihow do i add 3rd monitor?03:12
celphiis it supposed to be automatic?03:13
tomreyncelphi: i guess think so, but i'm not too familiar with nvidias' proprietary drivers, so i suggest you read up on their abilities / limitations03:13
celphik03:14
tomreyn-think03:14
lotuspsychjetiox: there's a package grabc is that what you need?03:29
tioxMaybe.03:31
tioxI just need something to run in terminal temporarily.03:31
tomreynhow about "cat"03:32
celphiwhat's the easiest way to rename the part in front of `@` symbol?03:32
celphiie03:32
celphichangethispart@mydomain.com03:32
celphion the main user account03:33
celphido i have to create another account just to do it?03:33
tomreyncelphi: do you run the mail server that serves as the MX for mydomain.com?03:33
celphiyes03:33
tomreynif you're using system users instead of virtual users for mailboxes, then that's probably a 'yes'03:34
tomreynbut that's not a very common setup nowadays, and how to set it up generally depends on the MTA you use03:35
tomreynor MDA rather03:35
celphii use PHPMailer to send emails from our server, but i want to be able to SMTP to my linux machine and have emails come from my computer03:36
tomreynhmm this sounds like you have not yet learnt how to operate a mail server.03:37
tomreynmaybe read up on postfix or exim03:38
celphii know very little03:38
nerdjonesgood evening everyone, im having trouble getting a hard drive to automount at boot, i went through the instructions here https://www.binarytides.com/ubuntu-automatically-mount-partition-startup/ but that didnt seem to work, i got a little hung up on if i should use the device uuid, which is way shorter than the example, or the partition uuid, so i03:38
nerdjonestried both but neither seemed to work, i can pastebin my fstab if that helps, but is that line outdated in some way i should know about?03:38
celphiim a programmer but many of the linux commands i dont know- just know basics03:38
tomreyncelphi: operating a mail server s definitley not the easiest thing to get started with, more like one of the more difficult tasks. i suggest you try something else first if you're only getting started with linux03:39
celphiwell im not getting started, but compared to your experience it is lol03:40
jimhmm... how'd it go?03:40
lotuspsychje!fstab | nerdjones03:40
ubottunerdjones: The /etc/fstab file indicates how drive partitions are to be used or otherwise integrated into the file system. See https://help.ubuntu.com/community/Fstab and http://www.pclosmag.com/html/Issues/200709/page07.html and !Partitions03:40
celphihi jim03:40
celphiThere was an issue03:40
celphibut tomreyn found it03:40
tomreynjim: dis_ucode_ldr helped, we then downgraded intel-microcode03:40
tomreynand makred it as held03:41
Bashing-omnerdjones: fstab is pretty straight forward. Please pastbin your fstab file along with the results of ' sudo blkid -c /dev/null ' .03:41
jimnerdjones, also you might be interested in the difference between filesystems in partitions versus filesystems in lvm... with partitions, you make partitions using a partition tool, format them with a filesystem directly, and mount the partition with the filesystem. with LVM, instead of putting filesystems in partitions directly, you put 'LVM physical volumes' in partitions, then you make a 'volume group' (which is just a list of physical volumes), and03:43
jimput physical volumes in the volume groups, then you can make 'logical volumes', and these are what you would format and mount, and they got allocated from a volume group.03:43
nerdjonesjim: is lvm enabled by default? it seems like i remember (in older installs, i dont remember if it asked during the install tonight) there was an option for that during the install03:46
jimwell the kernel module should be there (it's called the device mapper)03:46
lotuspsychjejim: how is an lvm discussion related to an uuid question?03:47
nerdjonesalso, if it helps, this is an exfat filesystem i made in windows 10, i have installed the packages that let me manually mount it. i dont know if that matters for mounting it with fstab so i thought i would mention it03:47
nerdjonesfstab looks like this right now, but i have also tried it with the partition uuid https://pastebin.com/pjti9gU303:48
nerdjonesand blkid is https://pastebin.com/3fuf8ujq03:51
nerdjonessorry for putting them in 2 pastes03:51
tioxBefore I give up completely, I want to ask here; how can I trap the mouse cursor to centre with a bounding box smaller than display resolution?03:51
jimnerdjones, do you have a package called lvm2?03:52
tioxBecause I don't want to play a game on fullscreen for frames' sake on this crappy-ass compooper but I also don't wan to lose focus.03:52
lotuspsychje!language | tiox03:52
ubottutiox: Please avoid any language that may be considered offensive, including acronyms and obfuscation of such - also see https://wiki.ubuntu.com/IRC/Guidelines || The main channels are English only, for other languages, see https://wiki.ubuntu.com/IRC/ChannelList03:52
jim(also note... I don't think you can put an exfat filesystem into lvm, since windows doesn't have lvm03:53
jim)03:53
tomreynexfat-utils can probably still create this file system, just.. using it on linux only probably doesn't make much sense03:54
tomreynand generally don't expect this FUSE driver to work too well03:55
tomreynnerdjones: ^03:55
tioxFifteen years. Fifteen years of Ubuntu and nobody had figured out an easy way to trap the cursor in a specific region to a specific size easily? No GUI tool? No stupid-simple bulletproof Bash script? Nothing?03:57
tioxThe hell?03:57
nerdjonesno lvm203:57
lotuspsychjetiox: this sint the complaints channel, just be patient until someone answers your question please03:58
lotuspsychje*isnt03:58
nerdjonestomreyn: my pc is dual boot for now, its just my storage drive with movies and whatnot on it i created in windows 10, whats the goto filesystem for sharing files between win and ubuntu?03:59
jimif you're curious about lvm, you can put your linux filesystems into lvm, and it's easy to make those lvm containers (they're called logical volumes or lvs) to become larger, and you can add drives and use that space for them if you want03:59
tomreynnerdjones: there is none at this time, but exfat will probably be in the future.04:00
jimbut it doesn't make any sense to put ntfs, or any kind of fat filesystem onto an lv in the hope of using it in windows04:01
lotuspsychjejim: can you stop doing that please, you are not being helpful04:01
tomreyn? sure he is04:02
lotuspsychjehows that04:03
jimlotuspsychje, I'll also challenge that... the OP was clearly interested and/or curious04:03
tomreynnerdjones had mentioned lvm and exfat almost at the same time so that it looked like they meant to combine the two. so it makes sense to me to point out that combining the two isn't going to be useful.04:04
tomreynjim: i don't think lvm is currently being used below the exfat file system, though, at leats based on https://pastebin.com/raw/3fuf8ujq04:05
tomreyn(but i was also wondering about the purpose of combining the two)04:05
lotuspsychjetomreyn: the original question was about fstab and uuid, it was when jim started to mention lvm himself, nerdjones started to wonder about04:05
nerdjonescurious, yes. but i dont know enough to know if lvm is by default related to fstab or auto-mounting on boot04:06
tomreynlotuspsychje: oh, yes, you're right, i hadn't noticed that jim brought up lvm first.04:06
jimwe clearly told him that wasn't goting to be a current use... still, it's an interesting technology that pretty much anyone can make use of... and so, my comments were just meant to introduce it04:08
tomreynnerdjones: you're not using lvm at this point, so i don't think you need to consider it.04:08
nerdjonesanywho, what would be the best approach, should i format a spare drive with another fs and move everything over there? my end goal is to have my plex server on windows and ubuntu start up on boot and have all my media online regardless of which os i boot into, as of now is the only way to do that to have 2 copys on 2 different filesystems?04:09
lotuspsychjejim: intoducing technologys can be taked about in #ubuntu-discuss if you like, when the user wants to04:10
lotuspsychjeẗalked04:10
jimhave you ever seen me force anything on anyone?04:10
nerdjonesthis is pushing me closer to get rid of windows altogether if not for steam i would already be down that road04:11
jimok, as a ##linux staffperson I sometimes have to, but I have no such power here04:12
statusf90nerdjones: With proton and dxvk you should still be able to play most of your windows games :) It's always getting better.04:13
jimnerdjones, before you do that, you'd want to make sure that everything you do under windows can be replicated under linux... very likely, you should do this by actually replicating it. if you need something for work, tread carefully04:13
tomreynnerdjones: about the file system, if exfat works for you, i guess you can just keep using it.04:14
nerdjonestomreyn: thats the thing thought, i cant get it to auto mount just yet, haha04:15
nerdjonesand if its going to be the best/only way to share files in the future i wouldnt mind being ahead of the curve04:16
jimwhat kind of device is it on?04:16
nerdjonesjim: wd hdd04:16
jimnerdjones, which lives in your machine?04:16
nerdjonesyes04:16
tomreynnerdjones: i have very little first hand experience with it, but know that an in-kernel driver for linux is under development and will probably make it easier to use a common file system on those OS's in the future. about auto mount not working, i'd check system logs, and read the man user space file systems' man page04:17
tomreynscratch the first "man" in this sentence, please.04:18
tmgis it unheard of for a WiFi device not to show up in lspci output?04:21
=== mrinfinity is now known as sonofsorrow
nerdjonesman, the system logs make my head hurt, filled with audits for chrome. cant really find anything for all that clogging everything up, but i will look into the man pages. thanks for the help04:27
nerdjonesgot it working, got it working with the options here https://customerhelp.co.za/linux/ubuntu/correctly-auto-mount-seagate-exfat-external-usb-drive-ubuntu-permanent-mounting.html instead of the ones i was using, also uncapped fat in exfat, dont know which one worked but it did, thanks for all the help everyone04:41
nerdjonesi was looking around on reddit the other day and saw a few people hating on snap packages, i cant remember the argument but i think the jist was snap = bad, is that the case?04:43
lotuspsychje!discuss | nerdjones04:43
ubottunerdjones: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks!04:43
nerdjonessorry, and thanks04:44
jimnerdjones, I never figured out (or heard) what has you using exfat?04:50
nerdjonesjim: i dual boot with win10, and it has all my plex media on it, i want to have plex server on both windows and ubuntu so no matter which i boot to the plex server will be up04:51
nerdjoneswhen i formatted the drive it was ntfs, exfat or another one i cant remember, i didnt think ntfs worked in ubuntu at all, but i could be wrong about thats so i went with exfat04:53
jimis plex a replication framework for postgres?04:53
nerdjonesplex media server04:53
jimoh ok04:54
nerdjonesis that correct that ntfs doesnt work at all with ubuntu? or would that have been the more sane choice? haha04:55
jimwell you have to consider how people built linux support for ntfs...04:56
jimbasically they experimented and reverse engineered it, they eventually got it mounting and reading, then later finally they got writing to work... but remember they did it by successive guessing and evaluating and refining each guess until they got things working04:58
jimso, yes, right now it does work (but note, m$ could easily pull the rug out)04:59
jimso it's not an fs that I'd consider stable under linux... and, maybe, right now it is04:59
ryuonerdjones: you shouldn't use fat/exfat/ntfs under Linux except for data interchange with something that doesn't support something better.05:00
jimso bottom line answer, it's usable right now05:00
ryuounix like systems need a proper posix filesystem which these filesystems are not really05:01
nerdjonesryou: so in the case that i need to share files between the two os's (win10 and ubuntu ) is there a better alternative?05:02
nerdjonesryuo rather, sorry05:02
ryuoOOB? not really, at least if it has to be directly exposed. there is samba for network file sharing which makes these details irrelevant to either side.05:03
ryuothere's experimental drivers for ext4 and such for windows but those aren't installed by default so it's impractical to rely on.05:04
jimis samba and the underlying smb stuff based on real information?05:04
ryuojim: yes. as part of the anti-trust stuff in the EU, the samba folks got access to internal documentation on SMB.05:05
ryuothough this was never made public, the actual files afaik05:05
jimso samba internal devs need to agree to ndas?05:07
ryuono idea. i only read about it in passing.05:07
jimok thanks05:08
ryuojim: https://arstechnica.com/information-technology/2007/12/antitrust-pact-payoff-samba-gets-protocols-from-microsoft/05:08
nerdjonesguess ill be setting up an old laptop as a smb server then, thanks for the words ryuo05:13
ryuonerdjones: you can use them just fine, they just don't store unix permissions very well.05:14
jimryuo, thanks! appreciate your time05:28
anonwhy does alt + f2 not work for me05:46
ScriptGeekI think I'm having relationship problems with Ubuntu... we don't cuddle like we used to05:53
jimanon, try ctrl alt F206:00
ScriptGeekI'm trying to run a shell command as the root user through a php script. I tried changing the sudoers file to give permissions to the www-data user to run the command, but it doesn't seem to do anything still. I'm getting no output in any way from the php script in regards to the shell command. When running the command as the www-data user I get a message saying the www-data user is unavailable.06:03
limekmagI have a Surface Laptop, which has only 1 USB port and a keybard that doesn't work with the stock kernel.  I was able to install 19.04 using the on-screen keyboard, but upgrading to 19.10 crashed, leaving Ubuntu unbootable.  I c09:14
limekmagI tried using the 19.10 installer, but the on-sceen keyboard doesn't come up even after enabling it09:15
limekmagis this a known bug?09:15
magic_ninjawhere are the nvidia xorg configs stored by default?09:20
limekmag The on-screen keyboard shouldn't have substancially changed between 19.04 and 19.10, right?09:27
=== alarm1 is now known as dropheaders
tangarora__tomeryn: I need to have as many firmware drivers as possible. I am making installation media that will automatically install, encrypt, and setup a machine for a user. This needs to work over wifi as well. I got it to work on debian, but am struggling to make it work with ubuntu.10:20
tangarora__In this test case I am using an intel wifi on a T400 laptop. Its actually amazing how well linux runs on this laptop from 2008!10:21
tangarora__As an experiment I have invested in a small sata ssd 256GB. It is insane how well it works now.10:23
tangarora__RAM was allready maxed out at 8 GB.10:23
lotuspsychjetangarora__: tomreyn is currently afk10:23
tangarora__<lotuspsychje> OK... timesones I assume.10:24
tangarora__I have had a lazy morning... :) and now I am all active again...10:24
quadrathoch2Is it really worth it, as ubuntu will drop the mini.iso tangarora__?10:25
tangarora__<quadrathoch2> They are? Why?10:25
tangarora__Its really slick and small...10:26
quadrathoch2because they will only have subiquity for 20.0410:26
tangarora__OK10:26
quadrathoch2or the live10:26
tangarora__Ofcourse now that I have the perfect preseed file that does it all...10:26
tangarora__It there a non painful way to convert the preseed to ubuquity?10:27
quadrathoch2tangarora__, for now there is no alternative, but they are working on it, there is a bugreport somehwere10:27
tangarora__<quadrathoch2> Tangarora think that wierd... could they really plan on forcing everyone to sit an load that stuff manually?10:28
quadrathoch2tangarora__, https://discourse.ubuntu.com/t/please-review-design-for-automated-server-installs/1192310:29
tangarora__Felling like doing the Haka... :)10:30
tangarora__<quadrathoch2> Thanks, I will review it...10:30
quadrathoch2tangarora__, yw :)10:30
__raven__update to 19.10 disabled multi monitor mode using two monitors on nvidia and additional two on internal intel915 onboard.c how to expand nvidia view to internal graphics again?10:36
lotuspsychje__raven__: do you want to switch between intel and nvidia on an optimus card?10:41
__raven__i want to have 4 simultaneous displays like it has been before10:42
lotuspsychjeoh10:42
lotuspsychje__raven__: doublecheck nvidia-settings and/or systemsettings/devices/screen10:44
__raven__lotuspsychje: i did. bios first/second activate settings too. internal screens show boot up but then they get blank and the nvidia screens start the x11:02
lotuspsychje__raven__: wich nvidia card are you on, with wich driver version please?11:03
__raven__gt620 with 34511:03
lotuspsychjehmm11:04
lotuspsychje__raven__: wich drivers are listing at: ubuntu-drivers list11:05
__raven__lotuspsychje: i tried with newer drivers (anything in 400th) and older. cannot set it up any more11:45
lotuspsychje__raven__: can you pastebin xrandr please?11:54
__raven__have to wait few days11:55
lotuspsychje__raven__: how about a plug out/back in your screen cables can do magic too sometimes11:55
__raven__i did change the combinations11:56
davangerany routing experts around?12:50
lotuspsychjedavanger: you might wanna try ##networking for that, unless you think its an ubuntu issue?12:51
davangerok12:51
giacoI am on bionic but I need an higher version of qemu. It is not present in bionic-backports so I have to try compiling it myself. What's the suggested route? Add higher version src, apt build-dep qemu, apt -b source qemu?12:52
oerheksgiaco, you can, from source or git , see https://www.qemu.org/download/#source12:56
giacooerheks: thanks13:02
BluesKajHowdy folks13:12
pizzaiolohello BluesKaj13:16
BluesKajhi pizzaiolo13:16
mycrap75help13:30
mycrap75not letting me register13:31
oerheksjoin #freenode for register issues13:31
mycrap75i have done that 3 times13:31
oerheksgood luck!13:31
mycrap75I registered yesterday and followed the instructions sent to my email.13:32
BluesKajthink i recall he was trying to run the register commands in the chat rather than the server/server page13:37
BluesKajfreenode/server page13:37
AnnigoHello. I was suggested to install i3wm on Ubuntu Server yesterday for my touchscreen kiosk app. So far things do work as expected, but I need help creating a systemd service unit that will autostart as soon as i3wm starts. Here's what worked for me in Ubuntu Desktop (gnome3): https://pastebin.com/g4hBDA6s , but doesn't seem to be triggered at all13:38
mycrap6not letting me use my registered name ... why13:38
Annigonow (service is enabled). Manual run (systemctl --user start browser.service) do work as expected.13:38
mycrap6I am getting this message and don't know why ... ⚠ Nickname mycrap is already in use.13:43
mycrap6maybe I am signing in wrong? I don't know13:43
oerhekswhats in a name...13:44
oerheksyou seems to be identified13:45
mycrap6anyways I need someone who know the process to install Intel graphics card drivers13:47
jeremy31mycrap6: should already be installed13:47
oerheksintel is good supported in the kernel, i91513:47
BluesKajyup, check your package manager13:48
oerhekssudo lshw -c video13:48
mycrap6it is not working13:49
BluesKajhow do you know13:49
oerheksshare the output of that command on paste.ubuntu.com13:49
mycrap6 *-display                        description: VGA compatible controller       product: Intel Corporation       vendor: Intel Corporation       physical id: 2       bus info: pci@0000:00:02.0       version: 03       width: 64 bits       clock: 33MHz       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom       configuration:13:51
mycrap6driver=i915 latency=0       resources: irq:128 memory:a0000000-a0ffffff memory:90000000-9fffffff ioport:f000(size=64) memory:c0000-dffff13:51
BluesKajmycrap6, next time use paste.ubuntu.com and post the url here not the text13:52
mycrap6sorry13:53
BluesKajyour i915 driver is installed13:53
mycrap6I have a message that device is not working13:53
BluesKajthen , give us some details13:54
jeremy31Sounds like driver manager13:55
BluesKajmycrap6, laptop or pc?13:56
mycrap6asus laptop13:56
mycrap6had win 10 and  I put 18.04 on it.13:57
jeremy31mycrap6: does the message appear in driver manager?13:58
mycrap6software and updates13:59
jeremy31mycrap6: what dkms file does it want to use?  backport-iwlwifi-dkms?13:59
mycrap6have no idea14:00
jeremy31mycrap6: post URL from terminal for>   ubuntu-drivers list | nc termbin.com 999914:01
mycrap6hang on ....14:01
mycrap6returns nothing14:02
oerheksexpected, intel i915is already loaded14:03
oerhekswhere does it say it does not working?14:03
oerheksan older intel might not be strong enough for youtube...14:03
mycrap6https://paste.ubuntu.com/p/VmSffVk8Bv/14:03
jeremy31mycrap6: It has nothing to do with your display driver, if your wifi is working don't even bother looking at the driver manager14:04
mycrap6jeremy31 , you know what my question is , right?14:05
mycrap6I dont care about wifi14:05
jeremy31mycrap6: you asked about installing intel video and mentioned that you saw something about a device not working14:06
mycrap6my graphics are messed up and looking how to fix14:06
tatertotsmesssed up?14:06
mycrap6computer is extremely lagging and hanging up14:06
tatertotsmycrap6: in terminal>     inxi -Fxxprzc0|nc 5.39.93.71 999914:07
mycrap6I do know that in Synaptic Package there is  a SFX something or other that can be installed but I can not remember because I never wrote it down14:08
tatertotsmycrap6: if it's not installed it'll instruct you how to install it...then run the command above and share url/link here14:08
Guest45988Hi,14:08
mycrap6tatertots: returned a url14:09
Guest45988How can I reinstall the application completely including the config files? I was experimenting with xfce4-panel and made some mistakes. Tried every way to renistall I could find on web and it still starts with the messed up config.14:09
tatertotsmycrap6: share url/link here14:10
BluesKajtatertots, i915 is installed, we already determined that14:10
mycrap6https://termbin.com/dhm4j14:10
tatertotsBluesKaj: good job...netbooks with bay trail or cherry trail chipsets don't perform well...so while it's great you identified his gpu this is a more "big picture" view ..and he has a lil celeron cpu14:12
tatertots2GB RAM14:15
tatertotsonboard graphics have to share system memory also14:15
tatertots1.3GB used out of 2GB...14:16
tatertotsmaybe a lighter desktop like MATE or something would allow you to squeak out a lil more performance14:16
mycrap6like I said somewhere in Synoptic Package Manager there is SFX (something) that will overide the graphics and run smoother and faster, If I had wrote it there would be no problem14:17
tatertotsoverride?14:18
mycrap6i dont know the proper language sorry14:18
BluesKajmycrap6, check this out https://www.notebookcheck.net/Intel-UHD-Graphics-600-GPU.271820.0.html14:19
mycrap6once installed you log out and log back in under the SFX thing.14:19
mycrap6not a gamere so I dont think that will help14:20
tatertotsthat's not a gaming laptop....so even if you were a gamer....14:20
mycrap6I use it for graphics GIMP and Inkscape14:21
tatertotsgaming laptops usually have a discrete GPU from AMD Radeon or NVIDIA..just FYI..and those are much more powerful than onboard intel graphics14:21
BluesKajit's telling that your gpu probly isn't meant for a full gnome desktop, maybe a lighter flavor of ubuntu is in order14:21
mycrap6ok, which one?14:22
tatertotsmaybe a lighter desktop like MATE or something would allow you to squeak out a lil more performance14:22
BluesKajit's up to you to explore them14:22
mycrap6I think this machine is 64 bit , will 32 bit mate run?14:23
tatertotssure..all you got is 2GB RAM anyway so..14:24
mycrap6ok thanks14:24
mycrap6thats all... have a great day all.14:25
tatertotsyou also14:25
tatertotsor ditto14:26
TrukHi i have some problems to connect my hyper-v ubuntu to internet14:42
TrukCan anyone please help me ?14:42
oerhekshyper-v .. oh wait, windows issues ..14:42
Trukno it's a VPN issue14:43
Trukwith resolv.conf14:43
TrukI am connectiong to my wifi, and then to my VPN, at home14:43
Trukand I work on a Ubuntu machine under Hyper-V14:44
Trukat work the Ubuntu machine can connect to internet14:44
Trukbut in my home it doesnt14:44
TrukI setted the DNS servers inside my wifi connection, on the Ubuntu machine14:44
tatertotshow did you get the VM from work (where it functions as expected) to home?14:44
TrukI am working on remote today14:45
Trukin my house14:45
Trukusually I work at my work office14:45
Trukand I dont need the VPN connection at my work office14:45
Trukbut in my home I use it14:45
Truk(the VPN connection)14:45
tatertotsso much of your setup is not purely ubuntu ...it'll be a little dicey trying to get help here14:46
Trukok, what channel then ?14:46
tatertotsthe conversation would involve so many non ubuntu things ..it's bound to ruffle some feathers here14:47
tatertotsunfortunately it wouldn't be just one channel with as many pieces of the puzzle that's involved, and you'd still have to be able to take what help you get from the different channels related to the different puzzle pieces, and be able to then look at the larger big picture..Windows hyper-v is involved, the network at home and at the office and then finally ..ubuntu...14:53
tatertotsup hill battle in front of you lol14:53
tatertotsweekend is about over so you could just wait until you are physically back at the office/work where ubuntu VM just works as expected14:55
tatertotsor optionally get corporate IT involved to help you be productive working from home aka telecommuting14:56
HelenahIn the past, I've installed nvidia driver via APT but it has installed a load of things I don't want such as a DM. How do I install the driver only?15:30
lotuspsychjeHelenah: ubuntu-drivers list shows your driver versions available for your system15:31
HelenahOh I should be asking in ubuntu-server channel or?15:32
HelenahI don't use the desktop version as it comes with loads of things I don't want.15:32
lotuspsychjeHelenah: do you use ubuntu-server?15:32
HelenahYes15:32
lotuspsychjeHelenah: sure, you can ask in #ubuntu-server15:33
oerhekssudo ubuntu-driver list15:33
oerhekswonder why one needs nvidia driers on a non gui install15:33
HelenahBecause it isn't non-gui15:33
HelenahI just don't wanna remove a load of graphical crap that I wont use. Crap to me I mean.15:34
HelenahI know which driver package I need, but I don't want the DM and everything else installing.15:34
oerheksthen don't install nvidia, use the basic nouveau driver15:34
oerheks* already installed15:34
HelenahI'm using the basic nouveau driver but it makes Minecraft look awful.15:34
lotuspsychjeoO15:35
BluesKajwell, difficult to have it both ways then15:35
HelenahLook, I like Ubuntu, I really do, excluding DEs and DMs. I install the server then i3wm.15:35
HelenahOkay15:35
HelenahI'll download the driver from the nvidia website.15:35
HelenahThanks guys15:35
oerheksminecraft is just a fiels of blocks15:35
oerheksc/field15:36
BluesKajHelenah, not a good idea15:36
oerheksreally interesting though15:36
HelenahI think the nouveau driver is causing performance issues, in the past the nvidia driver corrected them.15:36
BluesKajthe site driver will break at the next kerenel upgrade15:36
BluesKajkernel even15:37
HelenahI saw a package nvidia-*-headless which sounds like it may be suitable for headless systems.15:37
HelenahI know I'm not on a headless system15:37
HelenahBut it sounds like it wont install a load of GUI stuff.15:38
lotuspsychjeHelenah: what kind of computer brand/type is this anyway?15:38
Helenahlotuspsychje:15:39
HelenahWoops15:39
HelenahEr... qemu KVM vfio VM on an i7 system15:39
Helenahwith a GT 710 card15:39
HelenahI can play Minecraft and it performs well but hurts my eyes when using the nouveau driver.15:39
HelenahBecause it flickers slightly and I remember nvidia driver correcting it in the past.15:40
BluesKajwhat's a little bit of gui stuff on an i7 cpu gonna do...practically nothing15:40
oerheksso you run minecraft server, and connect from a desktop, and you hurt your eyes?15:40
lotuspsychjelol15:40
HelenahBluesKaj: I simply do not want it. It's like if I want a cup of coffee without vanilla in there, I'm not going to add vanilla anyway. Common logic.15:41
BluesKajI disagree, using a site driver isn't worth the risk of breaking your system15:41
leftyfbHelenah: https://askubuntu.com/a/8079415:53
peter22222hi folks.. anybody knows where the network manager stores the vpnc setting files? it is not in /etc/vpnc/15:54
jeremy31peter22222: check /etc/NetworkManager15:54
peter22222thank you! :-)15:56
mustmodifyI recently purchased a Dell Inspiron 7591. I burned a CD. Wifi didn't work but I found a link with a driver. But this leads me to think there will likely be other drivers I should be installing / updating that aren't "standard". How would I find parts that don't have drivers but aren't ... like ... stopping normal operation? How do I keep them updated?16:12
mustmodifyI see this but it doesn't say "here are links to drivers". :) https://certification.ubuntu.com/hardware/201903-2688016:13
Guest_78939I'm researching how to improve ubuntu scrollwheel interactions. I have difficulty describing the problem I'm trying to fix, but the following links may help:16:15
Guest_78939https://www.reddit.com/r/kde/comments/9cbema/mouse_wheel_changes_sliders_and_drop_down_menus/16:15
Guest_78939https://unix.stackexchange.com/questions/345344/difference-between-xorg-and-gnome-kde-xfce16:15
Guest_78939behavior, GTK3, QT5, X, or the Linux kernel.16:16
oerheksmustmodify, go into software/updates, section drivers, and see what pops up?16:33
mustmodifyoerheks: So that's sort of my point. Apparently the nic driver isn't known to default Ubuntu. So I'm concerned that other drivers wouldn't be known either.16:34
leftyfbmustmodify: we can help with anything ubuntu-related not working with your machine. Let us know when you come across one.16:35
mustmodifyok. Final question -- device already has Windows 10. I want to set up dual-boot. Someone suggested to me that there are a few right ways and a bunch of wrong ways ... any suggestions or hints about what to do / avoid doing / etc for Dual Boot?16:38
mustmodifyand when I say final question, I mean "for now". :P16:38
oerheksuse windows to make free space16:39
oerheks!dualboot16:39
ubottuDual boot instructions: x86/AMD64: https://help.ubuntu.com/community/DualBoot/Windows - Macs: https://help.ubuntu.com/community/MacBookPro https://help.ubuntu.com/community/YabootConfigurationForMacintoshPowerPCsDualBoot16:39
mustmodifyThanks.16:39
TryHard01Hey... I just installed Ubuntu 19.10 on my Asus Rog Strix x-570e, has an RTX 2070. Grub bootloader shows up, I pick Ubuntu, then the screen is garbled. I had this same issue when I tried it before installing, but was able to use the graphics friendly mode? I can't remember the name of the boot option but it allowed me to get into Ubuntu. Any ideas?16:54
rfmTryHard01, I think "nomodeset" may be the option you're looking for16:56
TryHard01ok thanks rfm, hate to be a PITA but I'm just learning linux right now and am not sure what to do with that info lol :)16:57
lotuspsychje!nomodeset | TryHard01 adviced by rfm16:58
ubottuTryHard01 adviced by rfm: Systems with certain graphics chipsets may not boot properly out of the box. "Temporarily Add a Kernel Boot Parameter for Testing" as discussed at https://wiki.ubuntu.com/Kernel/KernelBootParameters to add the "nomodeset" parameter there.16:58
lotuspsychjeTryHard01: for big GTX and RTX cards its not uncommon to enter system with nomodeset, then install the latest nvidia driver16:59
TryHard01lotuspsychje: ok great I'll do this...I have been googling furiously for quite a while now with no luck. thanks a ton17:00
lotuspsychjeTryHard01: to see the recommended driver for your card use: ubuntu-drivers list if that doesnt give you latest, visit the ubuntu graphics ppa !nvidia17:12
lapionIs it possible to install ubuntu without snaps..17:13
lapionSeeing as the 19.10 version the core is a snap..17:13
oerheksone could remove the core snap, and stop the snapd service, and uninstall17:19
oerheksand you might want to install via apt: sudo apt install gnome-system-monitor17:20
tomreyn...as well as the other packages which may still be available as debs17:22
oerheksjups, like calculator17:22
lapionWhy does the installer not ask wether you want to have snaps..17:23
oerheksit is locked in ~/snap/  by design17:23
oerhekswithout . to make them invisable17:23
lapionOR why is there not a completely separate installmedia for a snap install17:23
tomreynlapion: design choice17:24
oerhekscompletely separate installmedia ??17:24
lapionDesign push.17:24
tomreynwe can discuss in #ubuntu-discuss17:24
lapionProbably not necessary to be a completely different media..17:25
ScriptGeekI'm trying to call a command as root from a php script, which is executed by the www-data user17:40
=== akemhp_ is now known as akemhp
ScriptGeekBut nothing I try actually works. I tried the sudoers file, su, and sudo17:42
ScriptGeekMaybe I just have yet to discover the secret17:42
absurdistprelinking binaries (apt-install prelink) /etc/default/prelink=yes causes a unusable system on Ubuntu 19.1017:48
absurdistplease remove prelink from the repo or fix it17:48
oerheksabsurdist, add yourself to https://bugs.launchpad.net/ubuntu/+source/prelink/+bug/184761117:56
ubottuLaunchpad bug 1847611 in prelink (Ubuntu) "please remove prelink from focal" [Undecided,Confirmed]17:56
absurdistnot just focal17:57
absurdisteoan17:57
oerheksfocal is LTS, our worries there17:57
oerheksbtw it is prelinking -- sudo sed -i 's/PRELINKING=unknown/PRELINKING=yes/' /etc/default/prelink17:58
oerheksbut i catch your drift17:58
absurdistprelink is fine on slow media e.g squashfs and so on18:01
absurdisthave to chroot into the system and unprelink it18:01
TryHard01So I'm booting now thank you! Wifi and eth are good. I can't see the other windows machines on my network, if I try to ping by their hostname I get "Temporary failure in name resolution". Any ideas?18:56
TryHard01I know in windows you have to enable network discovery, but I'm not sure what the ubuntu equivalent of that is18:58
ioriaTryHard01, ia'm not a specialist about that, but  nope, in general you cannot ping by hostname; you need to edit /etc/hosts or install some dns server or similar19:03
ioriaTryHard01,  and if oyu have on the lan a windows machine you need something like Bonjour and on ubuntu running avahi19:04
oerheksmaybe this page is any help https://askubuntu.com/questions/1047735/ubuntu-18-04-not-recognizing-hostnames-from-router19:05
tatertotsTryHard01: I'd expect you to not be able to ping by name, can you confirm ping by IP is successful?19:08
TryHard01I can ping by IP, I'm able to access the shares, but name resolution isn't working19:08
tatertotsthat's expected19:09
TryHard01it was working in mint for some reason when I was testing Mint19:09
tatertotsbut you can't test mint to compare anymore because you don't have mint right?19:09
TryHard01right I was runnign mint in a vm on my current workstation. its dual boot19:10
TryHard01bit of a pain to flip back and test19:10
TryHard01I think I found something though19:10
TryHard01https://askubuntu.com/questions/236746/how-to-turn-on-network-discovery-and-share-between-computers-with-samba19:11
TryHard01this is looking promising going to try it19:11
tatertotsnot all equipment for residential consumers will "automagically" provide forward/reverse name resolution...if your equipment provides it great consider yourself lucky but it's not required.19:11
TryHard01I should run a backup lol19:11
TryHard01I have an Edgerouter x10, it has dns caching but network discovery doesn't require DNS19:12
TryHard01its a service...hostnames broadcast as long as the service is enabled19:12
TryHard01if this works I'll report back19:12
ioriaTryHard01, so you're not interested in ping hostnames, but in sharing resources ?19:13
TryHard01otherwise static IP for the win19:13
TryHard01Yes I want to see the hostnames when I browse the network19:13
ioriaah19:13
TryHard01and be able to ping those names19:13
ioriaTryHard01, so that could be accomplished with nmdlookup or  or nbtscan19:14
cgiI have a ubuntu server 14.04 lts running. Is there an easy way to upgrade it to 18.04lts? I do have a backup to restore from19:14
tatertots14.04 is EOL19:14
ioria*nmblookup19:15
cgitatertots, so no hope except install everything from scratch?19:15
tatertotsthought i'd mention that ...you're going to hear that echoed in here anytime someone mentions a EOL version of ubuntu19:15
oerheksthere are huge changes in between, 14.04 > 18.04 ,  i would start fresh19:16
tatertotsupgrades are hit or miss anyhow...fresh install is always least headaches19:16
TryHard01ioria, hah that command worked19:16
ioriaok19:16
TryHard01now I just have to figure out how to get it so I can use those names like smb://server0119:17
ioria exactly like that, but with shared folder19:17
tatertotsif you still can't ping by name...smb://nameofpc ain't gonna work either....19:18
oerhekshttps://www.techrepublic.com/article/how-to-enable-samba-connections-via-hostname/19:18
tatertotswhen you can ping by name...all is well19:19
oerheksindeed19:19
oerheksjust enable netbios in smb config19:19
TryHard01ok I think the smb.config file is the key yeah19:19
TryHard01soon as I figure out how to get in the right directory to use nano I'll be golden LOL.19:20
ioriaTryHard01, the simplest is   smbclient -L server_hostname19:20
ioriaTryHard01, right directory, for what ?19:26
TryHard01Well I'm messing around a bit now19:27
TryHard01I had to install smbclient and I'm not sure what exactly that command does...it did connect me to my server through smb but the output was weird19:27
ioriaweird, how ?19:27
TryHard01looks like this...hope this isn't too spammy just two lines19:28
ioriaTryHard01, that cmd shows you the shares19:28
TryHard01Sharename       Type      Comment19:28
TryHard01ADMIN$          Disk      Remote Admin19:29
ioriayeah19:29
TryHard01does that with all the $ shares19:29
ioriaTryHard01, that's all ?19:29
TryHard01well it shows all the $ shares19:29
ioriaTryHard01, ok, so ?19:29
TryHard01When I hope the file manager, I'm hoping to see under "Networks", "Windows Network" -- all the windows machines19:30
ioriaTryHard01,  in general yes, it should work. but first try this :  smbclient \\\\server\\share19:31
ioriaTryHard01,  btw, that's not Nautilus, right ?19:32
eelstrebordo i need to be concerned about this: vnstatd[1408]: Info: Traffic rate for "tun0" higher than set maximum 10 Mbit19:33
TryHard01that smbclient command worked.  I don't think its Nautilus...not sure what you're asking though.19:33
ioriaTryHard01,  'cause nautilus has 'Other Locations' not 'Network'19:34
TryHard01Oh yeah it says +Other Locations19:34
ioriaok19:34
TryHard01insice there it says Windows Network19:34
TryHard01inside*19:34
ioriaTryHard01,  but empty ?19:34
TryHard01yeah well I can see my ubuntu system in there now that I have configured the smb.conf and installes samba services heh19:35
TryHard01sorry the ubuntu server is at the same level as windows network...windows network is empty19:35
ioriaTryHard01,  the point is : can you see in Nautilus your Shares from other Pcs ?19:36
cgiwhat is a good vpn software that I can use so that my network connection goes through a cloud machine?19:36
TryHard01ioria, no I can't see them19:36
ioriaTryHard01,  so shall focus on that19:37
=== sonofsorrow is now known as mrinfinity
ioriaTryHard01,  Other Locations -> (look at bottom) -> Connect to Server and type -> smb://server/share19:38
TryHard01that worked, pretty sure I couldn't use the name before19:39
ioriaTryHard01,  ok, remmeber to set ufw is enabled or your iptables rule19:40
TryHard01ioria, I need a bit of a hint as to how to check that19:40
ioriaTryHard01,  sudo ufw status19:40
TryHard01ioria, inactive19:41
ioriaTryHard01,  leave it alone for now then19:41
TryHard01well this will work, I can just mount them and I think they'll stay there for future reference19:45
TryHard01really appreicate the help!19:45
ioriaok19:48
=== hallo is now known as deww
Bakkarhello, can anyone let me know if possible to convert my HDD from MBR to GPT without losing my installation? :)21:13
BakkarI have both Windows 10 and Linux installed side by side21:14
jeremy31Bakkar: it can be dangerous, best to back up before21:14
BakkarI did backup my data files, but - praying - not to re-install everything again Windows + linux :(21:15
oerheksmaybe this page is a helphttps://www.linuxtopic.com/2017/08/convert-mbr-to-gpt.html --- http://www.rodsbooks.com/gdisk/mbr2gpt.html21:19
Bakkarjeremy31: I have 500MB ready for the bios boot, I can only see creating new partition which i dont want to21:19
Bakkaroerheks: , let me give it a read21:20
oerheksthe efi partition should be at the start, iirc21:20
oerheksand i hope windows is installed in gpt/uefi already??21:21
Bakkaroerheks: no it was installed on MBR i think - this means I might need to reinstall it?21:22
bpromptBakkar:  how big is  your HDD?21:23
Bakkarbprompt: 1TB (but I have Win+2Lin part) and the BIOS boot that I cannot remove - my issue I cannot create the 4th21:24
Bakkarsorry, I meant the 5th21:24
BakkarI will delete this boot partition and I hope it wont break anything :)21:26
bpromptBakkar:  well, GPT is only relevant for HDD ⩾ 2TB, and  you can get a 5th partition, only thing is it won't be a "primary partition", so you'd need to keep 3, and use one as "extended partition" and in the extended one, you can cram as many "logical partitions" that you want, yes, MBR/BIOS mapping is limited to only 4 "primary" partitions21:27
bpromptBakkar:  but more than 4 primary partitions, is not a very good reason to change the HDD mapping to GPT though, unless there's an exigent reason21:28
Bakkarbprompt: I think this is what I need to do21:29
BakkarI will see hhow I can create the Extended partition from gparted21:30
bpromptBakkar:  an extended partition, is pretty much like a "wrapper" for "more than 4 partitions" in a MBR/BIOS mapping, so in that wrapper, you create logical partitions, and that's where any data or installations go, in the logical partitions21:31
bpromptonly thing being that an extended partition, doesn't have any logical partition limits that I know of21:31
Bakkarbprompt: I found what I did wrong .. I had the extended partition sized incorrectly21:33
Bakkarnow I got it fixed - thank you a lot bprompt21:33
bpromptnp21:34
courrierGuys, I have 8x 32GB USB sticks of the same brand/model. One of them is a customized Ubuntu Live I'd like to copy to others.22:15
courrierThey don't have exactly the same size, a few kBytes less or more maybe.22:15
courrierBut I can easily drop 1GB of margin at the end of the source disk22:16
courrierI've resized the last partition so that the last GB is fully free22:16
courrierHow should I now proceed to copy? I know dd isn't smart enough for this22:16
courrierI made a first copy that didn't complain about missing space with bs=8M ... the dd went well ... but the target stick appears to be empty with no partition in the end22:18
bpromptcourrier:  hmm I was going to say "dd", isn't it just a raw write of blobs anyway?22:20
dragonriver[m]I don't see why dd wouldn't work. Make sure it finishes.22:21
oerheks"They don't have exactly the same size, a few kBytes less or more maybe. "  sounds like bad blocks22:21
oerheksput && sync at the end of your command, to be sure that it is done22:22
courrierYes, there are bad blocks on some of them, on the others the dd succeeded with no single error... but still, when plugged in, gparted doesn't find any partition there22:22
oerheksbut basicly, drop the bad ones22:22
courrierAlso is bs=8M too high?22:22
oerheksBS=4M is more common22:23
courrieroerheks: even the good ones are not readable after a successful copy22:23
courrierLemme try 4M22:23
bpromptcourrier:  law of bad blocks or bad clusters or bad sectors, deterioration is directly proportional with passing time22:24
courrierGparted says the GPT backup is corrupt22:24
tomreynif it's a GPT the backup copy at the end of the storage could be cut off22:24
tomreynright22:24
courrierbut it should work even if the backup is drop, right? tomreyn22:24
leftyfbcourrier: first. Make an image of the usb flash drive. Use this tutorial (loosely) to shrink the image down http://www.aoakley.com/articles/2015-10-09-resizing-sd-images.php. Use said image to flash to the rest of the flash drives.22:25
tomreynthat's not much of a problem, you can have it recreated using e.g. sgdisk on the target devices22:25
courrierCurrently it complains but does not see any partition22:25
leftyfbcourrier: also, make sure the flash drives you are writing to are unmounted before using dd to write to them22:25
tomreyni  second leftyfb's approach22:26
courrierleftyfb: I've already kept the last GB of my source disk fully free, is the step "Resizing a partition within an image file" necessary?22:36
courrierTHus I need to copy a 31GB source disk, the the dd will keep make a 32GB destination image22:36
oerheksno, unless you let it expand, but you claim the devices are different sizes .. i wonder if that bad block is in the middle22:37
oerheksthere is only one way to find out, i guess22:38
courrieroerheks:I can get rid of the bad blocks devices for now and focus on the others22:39
courrierbut then my first dd should have worked :(22:39
tomreynthe thing is the GPT backup partition table will always be in the end of the partitionable space, not the partitioned space. so even if you shrink those partitions and leave the rest of the partitioned device empty, the backups parttiiton table is still in there.22:39
leftyfbcourrier: no, you mainly just need to run the truncate. But read through it so you understand what is going on22:39
tomreynbut this shouldn't cause you to loose the main partition table22:40
=== Guest49835 is now known as catalase
dragonriver[m]You could also dd an image of your usb key, i.e. of=/mnt/sdb1.img, then copy that image to your other usb keys. Might be faster too as your .img will be on faster disk.22:41
=== anonimip_ is now known as anonymip
Sir_Letoquestion, I'm setting up a mail server, and I seem to be required to configure a FQDN for this system, if I do this, will my previously set hostname also work? can systems have more than one hostname>23:07
jnewtso, tried to move a directory with ton of subdirectories and files.   didn't think it through, didn't use sudo, and only some moved.  now i have two halves, one in the original location, another in the new location.  how do i move the rest of the files or get the ones i moved back in their original spots?23:15
tomreynSir_Leto: they can have multiple FQDNs resolving to their ip address, multiple MX records pointing to them.23:20
Sir_Letowell, I want to my server to still respond to examplehostname and mail.domain.com at the same time23:21
Sir_Letoexamplehostname would just be a name I use locally23:22
AlexPortableTrying to recover (some) data from an sdcard: `e2fsck: Input/output error while recovering journal of rootfs e2fsck: unable to set superblock flags on rootfs`23:22
Sir_Letochanging it would probably breake stuff23:22
AlexPortableTrying to recover (some) data from an sdcard: `e2fsck: Input/output error while recovering journal of rootfs e2fsck: unable to set superblock flags on rootfs`. `mount: /mnt/sdcard: can't read superblock on /dev/mmcblk0p2`23:22
tomreynSir_Leto: just like a webserver can host multiple "virtual" hosts, a mail server can serve multiple "virtual" mail domains, and different "virtual" users on these.23:24
tomreynAlexPortable: use ddrescue to  create an image of the entire sd card, then create a copy of that and then try to recover data on the copy.23:26
AlexPortable'create disk image' from the 'disks' program?23:26
tomreyn"use ddrescue"23:26
AlexPortablehow are th tools different?23:27
oerheksfsck vs ddrescue vs 2fsck23:28
tomreynddrescue has better techniques than dd (which can only copy sequentially) for restoring data from physically damaged storages.23:30
AlexPortablekinda weird ddrescue isn included then23:31
AlexPortableisn't23:31
tomreynincluded in what?23:31
AlexPortableubuntu GUI23:31
tomreynit's a CLI utility23:31
AlexPortableas what should i save the file? I now put .iso, but not sure how to access it23:31
tomreynit doesn't really matter what yu call the file. i'd use testdisk on the copy of the image as well as e2fsck in read-only mode.23:33
tomreynif it's partitioned, you'll want to losetup -P the copy of the image so you can properly access its partitions, and thus fiel systems on it.23:35
tomreynif you have recent and complete backups in a restorable format, as you should have of all valuable data at any time, you won't need to work with these utilities.23:36
AlexPortablenot recent enough23:36
AlexPortableand tucked away somewhere23:36
AlexPortablethis is easier23:36
AlexPortablepct rescued:  100.00%23:37
AlexPortableI assume i'd have to replace the sdcard?23:39
tomreynif imaging was so fast and without warnings / errors then it may still be ok, but then the question of "how did the file system become broken" remains, and if there is no good explanation for it you may want to prefer replacing the sd card. people working with these professionally generally store data on two copies at a time and destroy them after a certain number of write cycles.23:41
AlexPortablenosetup -P copy.img no such device23:45
AlexPortablelosetup23:45
AlexPortableerror mounting cannot mount read only23:46
tomreynsee the example in the man page on how to use losetup23:46
AlexPortablei can access the image file, but it says bad superblock23:48
AlexPortablee2fsck: Bad magic number in super-block while trying to open23:49
tomreynwas the sdcard partitioned?23:49
AlexPortablei see FAT and ext4 in the disks after mounting the image23:49
tomreynyou don't mount an image, you mount a file system23:50
AlexPortablethe image presents two filesystems23:50
AlexPortablewhen i double click it23:50
tomreynso you losetup the image and got two loop devices?23:51
AlexPortablei double clicked the image23:51
AlexPortableand it gave me two loop devices yes, one of which is boot (which i can access just fine), the other says cannot mount /dev/loop15p2 read-only23:51
tomreynwell do it on the CLI, so you can know what you're doing, and how it's failing.23:52
AlexPortable`losetup -j copy.img` does nothing23:55
AlexPortablemount: /mnt/imgtemp2: wrong fs type, bad option, bad superblock on /dev/loop15, missing codepage or helper program, or other error.23:56

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