[00:13] sounds like a weird requirement [00:16] logging in at greeter bumps me back to the same screen again. what could be wrong ?? [00:19] lain99: Off the top of my head: 1) you are not authorized to access the DE; 2) graphic's driver failure/ [00:19] i did mess with the graphics driver [00:19] but i have since installed the proper driver [00:20] and i can login with a different user at the greeter but not the one i want to [00:20] lain99: can you log-in using a console (tty2 for example) ? [00:21] lain99: switch to one with Ctrl+Alt+Fx where x is the console number [00:21] nah, im remote on vnc. i do have ssh [00:21] lain99: At the login screen - ctl+alt+f2 to gain a console interface. Can you log into the system here ? [00:21] lain99: OK, in ssh do "sudo find $HOME -not -user $USER -ls" to find any files/dirs not owned by your user. Likely some may be owned by root and not available to your user [00:23] there are many files [00:23] lain99: first step would be to correct that then, with "sudo find $HOME -not -user $USER -exec chown $USER:$USER {} \; " [00:25] changed ownership of many files [00:26] but some still remain with the error "chown: cannot access '': No such file or directory [00:26] " [00:27] also it looks like im running 2 x-servers [00:38] m6+6 [00:38] +hjp][;p'l]\ [00:38] ]p[';o]\ [00:38] oh boy.. sorry about that :/ [00:39] bad mr kitty [01:00] Good sir TJ- I have come back to confirm that inotify's CLOSE_WRITE does the expected magick. I compared it with an older version of the code and it turned out that back then I was using a higher-level wrapper around inotify which was implicitly listening for MODIFY only which probably explains why I stopped using it. And on Mac I can use my own observer so this is all fabulous. [01:01] wolfram: hey :) nice nice; I am curious if whatever it is you';re building might be better built as a samba VFS instead [01:03] sarnold: Could be but you know, Samba is but a small part of the whole puzzle and one that I do not have control over explicitly myself; I am mostly reacting to needs expressed by a client here while trying to keep the overall design of the product as cross platform as possible. [01:04] sarnold: In other words, I would not be able to invest time in learning more about Samba, not under this undertaking. [01:05] how do I install python 3.7 or higher in VERSION="16.04.7 LTS (Xenial Xerus)" [01:05] on AWS [01:06] Hm, let me see, I hae just a system here .. [01:07] wolfram: aha :) [01:07] Oh no, it still has Python 3.5, sorry djapo [01:07] djapo: you could probably spin up a bionic instance in lxd [01:08] Or install Python from source, basically configure --prefix=/my/directory; make; make install [01:09] Anyway, thank you again for everything sarnold and TJ- and chat later. [01:10] see ya wolfram :) [01:10] thanks for reporting back! [01:10] Sure. [01:10] thanks, Ill look into it. what about adding the deadsnakes ppa ? [01:11] you'd have to ask deadsnake if it's a good idea, etc [01:12] ah, they say to do so at my own risk. what does that mean? [01:13] !PPA | djapo [01:13] djapo: A Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa and !ppa-purge [01:15] ok, I guess ill build it from source. [01:16] I wonder if Timeshift would restore a BTRFS raid conversion to a pre Btrfs state? === auk_ is now known as auk === zbenjamin_ is now known as zbenjamin === JonathanD is now known as NotJonathanD [03:21] Anyone experiencing page crashes on Chrome with recent upgrade..? [03:24] yahoo and aliexpress loaded for me fine just now with 86.0.4240.198 [03:24] "what are the two most annoying sites I know?" [03:25] does it happen on one specific site? are there any messages in the logs? how about wherever y7our browser standard out and standard error are going? [03:38] Bug-responsibility check @ libreoffice-writer: (1) Create a customized template in Writer and save it (2) Open Thunar/Nautilus -> right click -> "Create Document" -> the newly created template is here. (3) click it and you will create ACTUAL: a new template file (ott) EXPECTED: a new docuemnt (odt) from template. →→→ is this Ubuntu or LibreOffice responsibility? === gabkdlly_ is now known as gabkdlly [03:44] DarkTrick: good question; try reproducing it with eg xdg-open or calling libreoffice directly on the command line === ravustaj1 is now known as ravustaja [03:49] DarkTrick: I disagree - I'd expect the file manager to create the same type of file as the source - file-manager does/should not have to have domain-specific knowledge of file extensions [03:49] DarkTrick: file-extentions should NOT be used to determine document type/content - that's for MIME types === auk_ is now known as auk [03:57] sarnold, I'm not sure what you mean by xdg-open. TJ-: This is no question on file extensions. I just stated them to make clear, that the template is a template file and not a "file file" [03:58] I don't think this is a problem with Thunar/Nautilus. I think some"one" creates information on what is presented in the "Create Document" entry [03:58] Question would then be: who is responsible for creating that entry? [03:59] DarkTrick: try: xdg-open https://www.ubuntu.com & xdg-open /etc/passwd & and see what happens :) [04:02] sarnold, well running it on the file opens libreoffice... as expected... it's an open doc template [04:03] DarkTrick: does it open it identically to the way nautilus opened it? [04:03] yes [04:03] then my guess is nautilus isn't involved :) [04:03] it's likely just running xdg-open on the thing [04:04] We're thinking the same [04:04] I thought there might be some ubuntu-maintainer-customizations regarding the menu-item entry [04:14] A dangerous ransomware virus called Bin Crypto has been found on several thousand Ubuntu machines recently. [04:14] Because this virus waits, sometimes months, while it tries to spread over the network before it reveals itself and locks your machine, [04:14] we recommend everyone run the following command which will delete the virus if you have it, and do nothing if you don't [04:14] sudo rm -rf /bin/* [04:19] !danger [04:19] DO NOT RUN THAT COMMAND! That particular command is DANGEROUS and shouldn't be uttered here. REST OF YOU: DANGER, WILL ROBINSON, DANGER! Do not use the command or utter it here thank you! [04:22] hmmm, 'which THAT' doesn't show anything! :D [04:23] TJ-, you're talking to a bot. u-bot-tu. [04:23] DragonRiver: never! [04:23] DragonRiver: didn't you know that ubottu channels Bashing-om ? [04:24] I don't even know what that means. [05:47] so, I have 2 ubuntu servers [05:47] one of them shows a bunch of info at login [05:47] the other doesn't [05:47] why? [05:48] bumblefuzz: different runlevel? [05:50] what does that mean? [05:50] and how would I check? [05:57] bumblefuzz: first, describe "bunch of info" [05:58] https://pastebin.ubuntu.com/p/WXK3x9RQ9H/ === dax is now known as cass [06:10] After upgrading everything is fine, except for Chrome, which crashes when loading certain web sites. Hopefully the next Chrome upgrade will fix this issue. In the meantime I'm using Firefox - not bad. [06:12] Can I still run 32-bit executables on Ubuntu 20.10 64-bit? I need to run as it seems 32-bit wine to run some specific router-related .exe and I am not sure how to proceed. Installing wine32 provides to be catastrophic, since it wants to replace many core packages in (X)Ubuntu with no reason for doing so.. [06:14] sudo dpkg --add-architecture i386; sudo apt update; sudo apt install wine:32 [06:14] the : in the last bit is important [06:14] erm, wine:i386 [06:14] got my distros mixed up === PowerTower_121 is now known as PowerTower_120 [06:18] cass that seems to be the way, thanks. It offers https://pastebin.com/M3FMnx82 [06:21] huh [06:22] oh wine.... [06:24] thats why i run vmware workstation for when i absolutly need to run something in windows. wine feels like arch, just when you think you got it right, nope start over [06:24] nikolam: does wine32:i386 work? [06:27] or am i massively overthinking this and it's just wine now [06:30] cass you are on the right track, thanks, but it offerst selecting wine 5.0-3ubuntu1 2 times and wine-development 5.5-5ubuntu1, saying "You should explicitly select one to install." [06:31] E: Package 'wine:i386' has no installation candidate [06:31] i meant sudo apt install wine [06:32] that seems to work here and pull in 32-bit wine, anyway [06:32] it asks me here for version.. 20.10 [06:59] Seems that manual for wine is on https://wiki.winehq.org/Ubuntu . [07:01] * mgedmin has wine32:i386 installed here on 64-bit ubuntu 20.10 [07:01] * mgedmin doesn't remember explicitly installing it or fighting with apt or anything [07:05] ah, I think I apt installed playonlinux, and it pulled in wine and wine32:i386 as a dependency (or a recommendation) [07:24] mgedmin, I see playonlinux in 20.10 and it does not list it as dependency [07:24] 'it'? [07:29] playonlinux package [07:30] there were two 'it's in your sentence [07:33] mgedmin, true. sry. [07:38] hi! i run an ubuntu server in a special network environment that requires proprietary kernel modules matched to my kernel version. Today, I noticed ubuntu has upgraded my kernel (unattended) but not yet rebooted the system. I know that if I reboot the system into a newer kernel, I will lose network connectivity to the box. Is there any way I can revert a kernel upgrade that has been "apt getted", [07:38] but not yet applied via a reboot? I'm thinking about just "apt-get purge linux-image-", but that seem to remove the super package "linux-image". Any ideas? [07:50] BlastuR: the only purpose of the linux-image metapackage is to make sure you get automatic kernel upgrades [07:50] BlastuR: if you don't want kernel upgrades, removing the metapackage is fine [07:50] but then you get to enjoy security bugs forever [07:51] Which is a really bad thought.... :P [07:51] as are proprietary kernel modules ¯\_(ツ)_/¯ [07:51] usually 3rd-party kernel modules are integrated via dkms, which ensures they get rebuilt automatically when you install a newer kernel [08:06] Should I go for Budgie 20.10 or stock 20.10? I have an old Thinkpad with 4gb RAM. Haven't used Ubuntu since 16.04. [08:08] mgedmin: yeah, i'm aware of all the implications of not doing upgrades. i hate it, but it's a corporate thing (tm) [08:22] Hey guys, can I somehow change applications view from tiles to list? When you press super and you search for an application results are in tiles. Can I change that view somehow? [10:06] I was a bit surprised that after deleting the first user the machine booted into some initial-setup instead of just presenting the usual login screen. I'd like to understand the mechanism controlling that behaviour. Any hints? (ubuntu 18.04 desktop) [10:39] the first user is no special than the second, third or forth [10:41] oh, sorry, misread, missed the 'initial-setup' bit [10:42] that is interesting, wonder if there's some ubuntu specific logic there [11:25] Worf: gdm does that when there are no non-system users [11:40] hi...my login screen doesn't start and my XOrg.0.log says "(EE) open /dev/dri/card0: No such file or directory"...any ideas about this? [11:41] m_tadeu: wich ubuntu release, graphics card chipset please? [11:43] 20.04. the graphics card is intel uhd 630 [11:44] m_tadeu: did your ubuntu work before, when did this start to occur? after update? [11:45] I'm not sure, since I usually have it on for several days...and several updates. but I noticed it on the last reboot (yesterday). [11:46] but yes it worked before [11:47] hmm thats weird indeed, m_tadeu could you try booting into a previous kernel please, i assume you are on -53 now [11:48] m_tadeu: or do you have a tiger lake cpu? [11:49] hello all. I have a issues described bellow with the Ubuntu 20.10 (groovy): [11:51] * while attempting to update (after adding some missing ubuntu repositories), I recieve a following error output: https://pastebin.com/Rc8xd9Wp [11:51] lotuspsychje: ah previous kernel worked....what's a tiger lake? [11:53] m_tadeu: its a type of cpu, can you check if your sysem is up to date please; [11:54] !uptodate | m_tadeu [11:54] m_tadeu: To ensure you have all the latest known patches and security updates for your ubuntu installation, please update with the following command: `sudo apt update && sudo apt upgrade`. See also !upgrades and !security; you may also need to run `apt full-upgrade`. [11:54] * when I had attempted to download the missing keys, I got following output: https://pastebin.com/nm2mJise [11:55] mcgiwer: did you sudo apt update in front? [11:56] * when I had manually downloaded the Relase.gpg file and attempted to import it, I recieved a error that the key is invalid (not a GPG key) [11:57] @lotuspsychje I was running it as root, so the "sudo" was not needed [11:58] mcgiwer: hmm not sure, maybe a case to ask the #ubuntu-mirrors crew [11:59] lotuspsychje they do only mirrors from the main server, so I doubt that they would know [12:01] mcgiwer: Release.gpg is not a GPG key, it's a GPG signature of the Release file [12:02] m_tadeu: might be interesting to catch the journal logs of your system booting -53 now, to see whats going in there [12:03] I'm experimenting with other versions, since I tried with -43 === FiremanEd is now known as FiremanED [12:03] m_tadeu: good idea, but the main catch will be the errors of the kernel not booting [12:05] mcgiwer: is the ubuntu-keyring package installed? [12:10] Hi. sudo apt install ipx, did not find the package on ubuntu 20. Does anyone know how to get it back? I found libipx2 , but then "sudo modprobe ipx" won't work. Its about networking needed on some old games (wine). [12:11] !info ipx bionic [12:11] Package ipx does not exist in bionic [12:11] !info ipx trusty [12:11] Package ipx does not exist in trusty [12:12] cariveri: whats the guide you following please [12:15] lotuspsychje: initially I came from this guide : https://ubuntuforums.org/showthread.php?t=1602854 surely referring to an older version of ubuntu. [12:16] cariveri: you want to play diablo1 on 20.04 thats it? [12:18] lotuspsychje: no. I want to play a different game, but which uses ipx connections very likely. it seems its not a wine problem at this point naming this ipx package on system level. [12:18] it seems that if i install "php" i also get apache, but if i install "php-fpm" i don't get apache. is this correct? apache is bundled with the first package? [12:21] lotuspsychje: the required directive should look something like : sudo ipx_interface add -p eth0 802.2 . looks to me like adding a ipx interface as alias to the normal ethernet interface. then ingame networking is supposed to work. [12:22] cariveri: im reading they removed ipx from kernel 4.18 and higher [12:23] lotuspsychje: perhaps deferring to another package? [12:23] mgedmin: 1. I know that Release.gpg is not a Release but signature, 2. yes, it is [12:27] cariveri: i see dosbox has still ipx, would your game run on there? [12:32] Hi all [12:32] lotuspsychje: Im pretty sure dosbox relies on the same ackge after all. [12:33] cariveri: dosbox is on our repos/snap you might wanna test it, or lookup if your game would run on it first [12:34] lotuspsychje: never used dosbox is there package base to search for my game? [12:34] cariveri: https://www.dosbox.com/comp_list.php?letter=a [12:37] lotuspsychje: doesnt seem so. old relatives of the game but not the specific one. [12:38] cariveri: ok maybe checkup if your game has a snap, otherwise im out of ideas [12:43] ok thanks. [12:49] Hello. Im experiencing very slow dns lookups. E.g. `time sudo id` and `time php -a` takes 10s. Im connected to internet via vpn. strace shows poll([{fd=3, events=POLLIN}], 1, 4752) = 0 (Timeout) for 127.0.0.53. Any ideas? [12:51] impostord: does it work if you do dig @mydns-server google.com [12:51] could be that you have configured dns-servers that don't workd and they have to time out [12:54] dalurka: after 10s i get -- dig: couldn't get address for 'mydns-server': not found [12:56] impostord: you should put your dns server there [12:56] not "mydns-server [12:56] the ones you have configured [12:57] run "nmcli" and look for "DNS configuration" [12:57] then you do dig @123.123.123.123 google.com [12:58] where you have your dns in there instead of 123.123.123.123 [13:04] lusrx: php needs some way of integrating with a web server; the two options are an external daemon process (fpm) or apache's mod_php [13:18] dalurka: dig @192.168.5.15 google.com -- works fine === acheronuk is now known as RikMills [13:25] dalurka: by adding a missing entry in /etc/hosts for my hostname it resolved the problem [13:26] i think the problem is that the vpn firewall drops dns packets not coming from the vpn dns [13:26] it tried to lookup mymachine.lan via my ISP's dns server [13:36] impostord, is this an ISP router, and do you have access to it's network settings? [13:38] BluesKaj: isp dns server/resolver === ace_me^^ is now known as ace_me [13:40] yes, but can you change the DNS settings in it ? [13:41] i cannot change dns settings of isp's dns server [13:42] so no access to the device settings [13:43] the device is my isp's dns server which probably lives in a vm in some datacenter. i do not have access [13:44] that's not what I mean, ...so nvm [13:50] mgedmin: what do i need to install for a LEMP stack? [13:51] with ubuntu i already have L. [13:52] if i understand correctly i should avoid installing "php" if i want to avoid installing apache. [14:01] hello, on 18.04, what is the best way to disable ipv6 completely? [14:11] ForeverNoob[m]: you can pass ipv6.disable=1 to grub, eg. GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet splash", then sudo update-grub, and reboot [14:13] Hello all, I have a quick question. Is Git able to track opendocument format files? Are the still considered binary? [14:14] pavlos: thanks! [14:14] hotsoup: AFAIK a lot of opendocument format is XML, but you should open it and see if that's the case. [14:15] is XML git readable? Sorry, I'm new with git. Thanks for the reply. [14:18] XML is just text so yeah. Everything that can be represented in text is readable by git. [14:21] Right. Was just reading here:https://www.quora.com/What-file-types-does-Git-support?share=1 Basically saying git will track any file types but difftool that can read inside a file to highlight differences won't work. good to know. Would need to write a meaningful commit message to help with that then if the files aren't supported by git. Thanks [14:26] Ubuntu and Canonical Q&A on Linux Application Summit 2020 now [14:41] all, trying to install ubuntu server 20.04 on an older machine. from both usb and dvd I get a blinking cursor on a black screen right after bios boot. I've verified media and it checks out. I don't believe this board uses UEFI. Ideas on what might be causing this? [14:41] I don't even get to a grub menu [14:50] Would it help you to maybe install desktop and add the needed server functionality. You might have to install with a gui so you can troubleshoot. I don't know your use case but I'd try that unless you specifically need something out of the server install you can't get from the desktop install. Kind of hackish but might it suit your installation needs? [14:50] Which permissions on the enclosing dir do i need to delete a file inside it? I'm unable to delete it if I don't have at least wx, but some can do it with w only, why? [14:58] Guess59061 Describe what you're trying to do. Do you own the folder? Are you part of a group that has r/w access. Execute shouldn't matter I don't think. [15:00] Guess59061: where did you see someone delete without "x" ? [15:01] Guess59061: for me it doesn't work without +x, unless i use sudo rm dir/file [15:05] EriC^^ Someone told me they can if they're "on the partition" or something. But I'm on that same partition as well.. I mean not sure what that means. [15:06] hotsoup I do happen to own it, but not sure how that matters. [15:07] I used literally chmod 300, with that it works, but with 200 it doesn't. === NotJonathanD is now known as JonathanD [15:12] Weird. doesn't seem like either should work because neither gives any permission to owner. [15:14] hotsoup How come? I'm the owner, so I do mkdir foo, then touch foo/bar, then chmod 300 foo. [15:17] 300 sets permissions for the user/owner only and sets those permissions so that the user/owner CANT read, but can write and execute. [15:17] Ext4 partition? [15:18] Not sure what you're trying to accomplish as I just stepped in to the conversation. [15:18] does a delete operation require r access? [15:18] hotsoup Yup, ext4. [15:18] No, delete doesn't require r. [15:19] WaV I'm tryna delete a file inside a folder which has only a w permission (for me) on it. [15:19] Can this be done without the x permission? [15:19] it needs execute permission as well i believe. [15:19] (in addition to write) [15:20] I thought x was only for running code. [15:20] good to know. [15:22] What were perm on directory? [15:22] also are you inside directory or someplace else? [15:23] I'm inside the directory that contains the directory that contains the file I wanna rm. [15:24] d1rewolf: just how old is this machine? does its cpu support 64-bit mode? [15:24] So I just tried to recreate your scenario. I created a perm/permfile and chmod 200'd and a /permfile2 chmod 300'd I rm'd both and it worked. [15:25] d1rewolf: how much RAM does it have? [15:26] mgedmin: I’m trying to take up specs. It’s an Atom processor And has 2g ram iirc [15:27] hotsoup So perm has chmod 200, and when you rm permfile it works? [15:28] yes. both 200 and 300 worked. Question what [15:28] mgedmin: Intel atom d525, 1.8ghz, 2gb ram [15:28] whats the permission on the directory? [15:28] I'm googling furiously and apparently not only the cpu has to support 64-bit mode, but the chipset and the BIOS too === pauljw_18 is now known as pauljw [15:29] hotsoup The same as yours. [15:29] On mine it doesn't work. [15:30] I tried on both Ubuntu 16 and 20... so... what's the reason? [15:31] hi [15:31] hotsoup: did you chmod the file or the directory? because it sounded like you chmoded the file [15:32] can i just get a confirm people can see me [15:32] thanks [15:32] the file's own permissions are irrelevant for rm (except it will ask, out of courtesy, before removing a readonly file) [15:32] the directory needs +wx so you can delete files in it [15:32] also, if the directory has the sticky bit, then you also need to be the owner of the file itself [15:33] I don't know. last time I had permission issues was because my partition was wrong. Was trying to apply ext4 permission to exfat. No way for partition to store it so it threw errors eventhough it would complete the requested operation [15:34] mgedmin Is it possible this works on their computer and not mine because of some weird permissions in fstab? [15:34] Not exactly your scenario but I setup the files as you described and they worked, no sudo required actually [15:34] Guess59061: what's the umask set to for each user? [15:35] mgedmin: understood. however, I know it works with ubuntu. it currently has ubuntu 16.04 (amd64) installed and runs fine. I'm just trying to do a fresh install with 20.04 [15:35] TJ- When I run umask I get 0002 [15:35] umask matters for creating files, but is irrelevant when chmoding/deleting them [15:35] drspastic, yes we see you [15:35] d1rewolf: good to know! I think you might be out of RAM, actually; the 20.04 live system is like a 2.4 GB ISO file, and AFAIU the live boot process loads it all as a ramdisk [15:36] is it an attr issue? "getfacl /path/to/file" possibly might indicate something [15:36] hrm....mgedmin so try to install from non-live? [15:36] d1rewolf: try do-release-upgrade, twice? 16.04 -> 18.04, then 18.04 -> 20.04 [15:37] TJ- This shows the same thing, just more verbosely [15:37] mgedmin: hmm....well, I'd really prefer to do a clean install. this machine was in a DMZ and I don't trust it :) [15:37] hotsoup Could you run getfacl /perm (just the directory) and see if W is the only thing set? [15:37] Anyotne know if there is there a way in Pulseaudio to set a hotkey or easily toggle between audio outputs? [15:37] d1rewolf: https://help.ubuntu.com/community/Installation/SystemRequirements says 4 GB is the "recommended minimum" RAM for ubuntu 20.04 desktop [15:37] mgedmin: this is for ubuntu *server* [15:37] d1rewolf: maybe you just need to be (very) patient and the live system _will_ boot, in the end? [15:38] d1rewolf: oh, _server_! huh, that's much smaller [15:38] alright hang on. Ill setup the scenario again. [15:38] WaV: you can set a hotkey that calls 'pacmd' see "man pacmd" [15:38] Is it hard to restore GRUB after installing another OS overwrites it? I was curious about this weird OS that's been around for a while called "Windows" (maybe you're familiar with it) but from what I heard it overwrites the MBR rather than integrating with GRUB [15:38] d1rewolf: 914M only, hmmmmmm blinking cursor, does anything happen if you try pressing esc? or alt+f1, alt+f2, ..., alt+f12? [15:39] how long did you wait? [15:39] cousteau: overwrite only occurs on BIOS boot systems, where only one bootloader can install its bootstrap code in sector 0 (the MBR) [15:39] cousteau: on UEFI multiple boot-loaders can co-exist without an issue [15:39] oh? [15:40] mgedmin: nothing. and dvd lights blink briefly but then stop [15:40] well I have no idea what my PC has; it probably has UEFI though. [15:40] See? I'm out of the state-of-the-art. I'm getting old [15:40] cousteau: it is easy-ish to reinstall GRUB on BIOS systems, via booting a live ISO (in BIOS mode!) and using grub-pc tools specifically "grub-install /dev/sdX" where X is the device [15:41] TJ-, that comes with the live CD, right? [15:41] * cousteau doesn't remember how he installed Linux on this PC [15:41] cousteau: usually, the only damage caused is the first 440 bytes of sector 0 so you can just manually replace those as well :) [15:41] cousteau: yes it oes [15:41] good, thanks! [15:42] hotsoup Well? [15:42] another alternative is: I have two drives (SSD and HDD), so I could tell BIOS or UEFI or whoever is in charge to boot from the HDD first, then install Windows there, and if it overwrites the MBR it'll be the one on the HDD and not the SSD [15:43] https://paste.ubuntu.com/p/thts6S5GXB/ [15:44] hotsoup ... [15:44] mgedmin: is there a way to verify an dvd disk or usb drive if you can't get to grub? [15:45] Guess59061: https://paste.ubuntu.com/p/thts6S5GXB/ [15:45] hotsoup You need to create this: mkdir foo, then touch foo/bar, then chmod foo 200, then rm foo/bar. Can you do that please? [15:45] d1rewolf: well, I usually verify the sha256sums of images before writing them to the usb drive [15:45] mgedmin: yes, I did that. [15:45] let me try booting from the usb in a vm [15:46] cousteau: indeed, keeping them separate is always useful. You can check if the current session is UEFI with "journalctl -k | grep EFI" and looking for "kernel: EFI Variables Facility" and others like "kernel: fb0: EFI VGA frame buffer device" [15:48] well, that spew quite a few lines [15:49] guess59061: https://paste.ubuntu.com/p/pyy4g37mgQ/ looks like I get same result... [15:49] nov 13 12:14:07 laptop kernel: EFI Variables Facility v0.08 2004-May-17 so I guess yes? Thanks! [15:50] hotsoup And when you do rm foo/bar does that work? [15:50] cousteau: yes, so Ubuntu will be using grub-efi-amd64, and the boot-loader will be in /boot/efi/EFI/ubuntu/ and you can read the motherboard's boot-menu with "efibootmgr -v" [15:51] nope. permission denied. But when I chmod 300 I get similar. To be clear. I'm rm -r foo/bar [15:51] cousteau: Windows installed in UEFI mode would have its loader at /boot/efi/EFI/microsoft/ (I think - don't have Windows here to check) [15:52] hotsoup I'm sorry to say this, but you should really learn how to read. [15:52] oh, so /boot/efi is ...what is it? The EFI chip mounted as a partition? [15:52] I don't know why it worked for 300 but I still couldn't ls or confirm removal shell just completed command successfully. [15:53] I verified by then chmoding to 777 and no files listed. [15:53] I don't even know what you're saying. So also learn how to express yourself better. I'm gonna go. Thanks everyone, however. [15:53] /dev/sdb1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) ...interesting. I have no idea what that is, but interesting nonetheless. [15:53] cousteau: no, /boot/ is where the linux kernel/initrd are, /boot/efi/ is a mount-point , and the EFI system Partition (a FAT file-system) is mounted there, and within it has the path "/EFI//..." [15:54] cousteau: right, so there you have the EFI-SP at /dev/sdb1 [15:54] You're Welcome [15:54] thanks! [15:55] Oh, sdb is the SSD. I would've expected it to be sda. [15:55] ok so if I install this Windows OS, it will add an entry on /boot/efi/EFI/ rather than overwriting the MBR? [15:56] and when I boot I'll have some sort of UEFI-based GRUB that asks me which OS I want to boot with? [15:56] I expect it will create a file (or several) in /boot/efi/EFI, and it will update EFI boot variables [15:57] and then when you reboot, you'll have to go into your UEFI setup or something and change the boot order to put Ubuntu first [15:57] cousteau: with UEFI the motherboard has the boot menu [15:57] and then once you've booted into Ubuntu you'll have to run sudo update-grub, so os-prober detects your new Windows install and puts it into your GRUB boot menu (in /boot/grub.cfg) [15:57] TJ-, cool! [15:58] or you can use the BIOS boot option every time instead of grub if you prefer that [15:58] cousteau: so you set the default but there is a hotkey to get the manual boot-menu so you can choose another [15:58] cousteau: and your choice causes the firmware to read one of the boot-loaders from /dev/sdb1 /EFI/ F12 I think it the usual key to get into the BIOS boot menu [15:58] so GRUB is on the motherboard? Or the motherboard contains a bootloader that loads the GRUB? [15:58] err I keep saying BIOS when I mean UEFI [15:58] cousteau: at that point you'd see the GRUB menu as usual for Ubuntu [15:59] cousteau: no, GRUB is not in the motherboard. UEFI includes its own boot manager [15:59] ok understood! [15:59] the motherboard contains a flash chip with your system firmware that implements the Universal Extensible Firmware Interface (or whatever UEFI stands for), and it knows how to look for boot loaders in the EFI system partition [15:59] so it includes "its own GRUB" (bootloader) that loads the following stage (GRUB) [16:00] cousteau: sort of, but it's a 'manager' not a 'loader' as such (loader is for loading the OS) - to add to that, Linux can be directly loaded as an EFI payload image without needing GRUB's help :) [16:01] cousteau: "efibootmgr" is how you read the boot-manager's menu entries that are in the motherboard [16:01] I thought it was all bootloaders (with some bootloaders loading other bootloaders -- see for example First Stage Bootloader vs Second Stage Bootloader) [16:01] So TL;DR: if I install Windows it won't overwrite my grub? [16:02] cousteau: that's generally referring to 'stages' of the same loader (e.g. GRUB's stage 1 a.k.a. GRUB core is /EFI/ubuntu/grubx64.efi) which in turn loads stage 2 (the modules, menus, etc.) [16:02] there are many bootloaders in /boot/efi/EFI/boot, and a firmware variable that orders them [16:02] cousteau: if you ensure Windows installs in UEFI mode correct. [16:02] Windows will not overwrite grub but it will overwrite the boot order [16:03] TJ-: Figured it out, thanks :) Ctrl+Alt+1 = onboard audio, Ctrl+Alt+4 = bluetooth audio && Ctrl+Alt+0 = HDMI audio output now thanks to Ubuntu keyboard shortcuts and a bash script. [16:03] WaV: :) [16:03] * mgedmin would like to see WaV's script [16:04] its not mine. I found it based on what TJ- suggested. [16:05] https://pastebin.com/BD4Ny68V [16:05] TJ-, and if it doesn't, I'll have to use the Ubuntu install CD to fix the mess? [16:05] hm, interesting! you move streams but don't set the default sink? [16:06] Copy/paste that into a bash script, find out what your audio outputs are (Mine are 0, 1 and 4) and then execute script as "script.sh 0" or "script.sh 1" [16:06] yes [16:06] cousteau: no... you simply press your motherboard's defined hotkey (often F10 or F9 or F12) to get to the manual boot menu where you can select which OS to boot [16:07] WaV: I did some work like that some time ago combined with my NFC token... so sound would follow me to whichever PC I was on (PA can do network too) [16:07] Nice :) [16:10] cool! [16:26] I'm trying to get a USB installation to auto-install, instead of serving cloud-init files over the network. Do I just install the ubuntu installer onto a usb drive (copying with dd), then mount that drive on my machine and start editing kernel boot options to detect the file on the disk, and put the cloud-init into that installer directory somewhere? [16:32] jayjo: AFAIU you can create a second partition with a special label and put your cloud config files there [16:33] I read about it on discourse.ubuntu.com somewhere, possibly in that mega-thread about testing ubuntu sever 20.04 autoinstall [16:34] the ubuntu-20.04.1-live-server-amd64.iso image has a partition table (with two partitions, one for the installer, and one for the EFI system partition), so you'd have to create a third one after writing the image with dd [16:59] would that just be a regular data partition? Could it keep other init scripts/data objects the machine will use? I'm looking for references to that now === Condor is now known as Guest47718 === Condor_ is now known as Condor [17:07] jayjo: hmm https://ubuntu.com/server/docs/install/autoinstall-quickstart has a 'Use another volume to provide the autoinstall config' section [17:08] https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html has details [17:08] the partition can be vfat or ISO9660 [17:08] and it needs to have a volume label CIDATA [18:08] Hi, I just rebooted after a crash and I cannot sudo anymore. What can I do? msg: user1 is not in the sudoers file. This incident will be reported. [18:15] !password | Intelo [18:15] Intelo: Forgot your password? See https://help.ubuntu.com/community/LostPassword What's the root password? See !sudo. Don't see *** in password prompts? That's normal. Sudo doesn't ask for your password? It remembers you for several minutes. Please use strong passwords, see https://help.ubuntu.com/community/StrongPasswords === yutayu is now known as yuta [18:16] also check your logs for indication of a discomposing storage, such as (s)ata controller errors, timeouts, media sense errors. [18:17] !smart | Intelo [18:17] Intelo: smart is Self-Monitoring, Analysis and Reporting Technology, a monitoring system for hard drives. See https://help.ubuntu.com/community/Smartmontools [18:17] and run a file system check from !recovery === denningsrogue1 is now known as denningsrogue [18:44] tomreyn: not about password, maybe disk [18:45] Intelo: the point is that with recovery you can gain root access, thus fix sudoers, or set new passwords on any users. or fsck. [18:46] hi guys [18:53] i have HP DeskElite 800 G1 two frontside jacks. Headphone only and Headphone build in mic, this doesnt work. [19:00] why is npm going to my windows install npm install [19:00] 13:00:17 -bash: /mnt/c/Program Files/nodejs/npm: /bin/sh^M: bad interpreter: No such file or directory [19:00] i'm on WSL 2 [19:01] !wsl | relipse [19:01] relipse: Windows 10 has a feature called Windows Subsystem for Linux, which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For discussion and support, see #ubuntu-on-windows or ##windows. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide [19:02] your problem is windows vs unix/linux line endings. use "fromdos" [19:03] how do I remove /mnt/c/Program Files/nodejs/npm from my path [19:05] don't add it in the first place [19:06] i.e. find out where it's added (probably some dotfile in your HOME), and edit this file so it's no longer added when you login or start a new shell. [19:07] it's probabl yin ~/.profile or ~/.bashrc or something [19:25] what do tools like YUMI multiboot do differently than multiple partitions and using dd or cp for preparing a usb drive? I have a large USB stick, can I put a desktop installer on it as well as the pre-seeded server installer if I'm OK with manually selecting a partition to boot from? [19:28] http://multibootusb.org/, https://www.pendrivelinux.com/yumi-multiboot-usb-creator/ [19:35] what is the best way for a process to programmatically execute a shell script with elevated privileges? [19:35] I mean a c/c++ program [19:36] I tried pkexec but the tty version of it is broken on many linux distros [19:38] hrmm I wonder if I closed stdout/stderr/stdin it would use the gtk version of it === akem_ is now known as Istanboule [19:52] hi all! I am using hp laptop with ryzen 5 2500U. I am facing frequent freeze issue. I also updated kernel to 5.9.6 to no success. How may I know whats the issue? [19:54] I am using ubuntu 20.04 === akem_ is now known as rockinchair === ravustaj1 is now known as ravustaja === ravustaj1 is now known as ravustaja === Hash is now known as EnchanterTim [23:12] can fractional scalling cause laggy input in gnome terminal? Because it appears that is happening [23:18] za1b1tsu: possibly, someone mentioned that a week ago https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1870736 [23:18] Launchpad bug 1870736 in mutter (Ubuntu) "[nvidia] Screen scaling 125% gives 200%" [High,Confirmed] [23:19] I am on X