[02:26] gfshsdfgsgsdfg === genii is now known as genii-core [03:12] I have this crontab 00 15 * * * /usr/bin/python3 /root/app/ip.py but it does not get executed everyday at 15hrs. What could be the reason? [03:42] I feel like you're missing a dot somewhere [03:42] oh, no I guess not. hmm [03:46] https://gavinwiener.medium.com/how-to-schedule-a-python-script-cron-job-dea6cbf69f4e <- down at the bottom here they talk about running the script explicitly instead of calling python and pointing it at the script. [03:46] That might help? [03:46] oh, right, tagging people xD dba - that's for you [03:48] thanks Kel, I did some research and I'v learn the crontab does not work if there were some output generated by the script so I did >/dev/null 2>&1 but still does not work [03:49] Oh... huh [03:52] Unfortunately CRON isn't a thing I've had much need for over the years, so I'd be in the same boat as you with looking it up as I go along, and I don't know your full context so I can't really help much I think. [03:52] I will assume you've tested the script and the script works? [03:52] like - perhaps cron is doing what it's supposed to, but the problem is actually the script? [03:54] Kel, the script works fine. I never had issues with cron neither nohup but now also nohup doesnt seems ot be working as well [04:14] dba: where did you put that crontab line, in `crontab -e`, in `sudo crontab -e`, or in /etc/cron.d? === popey2 is now known as popey [08:19] and it won't stop working if there's output. It's just that if there is output, it will mail it to you, so you'll want to avoid it outputting stuff unless there's an error or something else worth mailing you about === ixokani is now known as swinnenb [08:49] Is it possible to get a notification when microphone and webcam are in use by other applications on Ubuntu? === kai3 is now known as kai [11:53] Hi folks [12:08] Hi guys, I don't understand why on my Ubuntu machine Chrome doesn't pin tabs properly. If I close and open again my browser those pinned tabs are not present anymore [12:09] On my Mac it works properly [12:14] is there a way to use the same id_rsa to log onto multiple accounts on the same remote server [12:14] right now my id_rsa works for root@host.com but not user@host.com [12:15] I want to be able to log in to user@host.com as well [12:15] Then you have to put your private key into that user's authorized_keys file too [12:15] Oops [12:15] Public of course [12:16] oh okay, that makes sense [12:19] nice it worke [12:19] worked [12:24] in ubuntu calculator, is there a way to scroll through history using keyboard instead of mouse? [13:26] hey [13:26] anyone got experience with dnsmasq ? i want to run the dhcp server but it says in the log that a dhcp packet received on eth1 which has no address [13:27] i assume this is because i do not have a address currently set on eth1 [13:27] but how do i fix this? [13:27] i know how to set a ip address for example with ifconfig but then dnsmasq can't hand out dhcp anymore [13:28] sys that there is no room in the range or something [13:28] "no address range available" [13:30] Daulity: which version of ubuntu? [13:31] 20.04 [13:36] ducasse: which ip address is on eth1 and please pastebin your /etc/default/dnsmasq and /etc/dnsmasq.conf or if you edited something in /etc/dnsmasq.d/* [13:37] sorry, Daulity [13:37] no address on eth1 [13:38] Daulity: step #1 set a static ip address on the interface you want dnsmasq to listen on (make sure that interface isn't plugged into a network with a DHCP server/router already) [13:38] give me a moment to create the pastes [13:41] leftyfb: step #1 is important [13:41] xD [13:41] I thought dnsmasq would set the interface [13:41] for some reason [13:48] Daulity: you set which interface or address to listen on in the config. There's lots of tutorials on this === thegodsquirrel is now known as Wizard === Wizard is now known as wizard === wizard is now known as thegodsquirrel [14:31] leftyfb: yes i have all that set [14:32] it works [14:32] i had to as you suggested set the ip on the interface first [14:32] i think i made a mistake the first time when trying this probably switched around some number or something [14:34] now i am wondering if i can setup it in such a way that the dhcp server is aproachable through a name rather then a ip address :) (running a webserver on the dhcp server) [14:36] huh? === genii-core is now known as genii [15:13] how would one go about setting up 2 monitors using same desktop but 2 different resolutions? [15:44] I've not managed to do that from the GUI === _miruoy is now known as miruoy [16:21] Hello, still trying to work on my autoinstall setup on 20.04, now ive run into the issue during the install process that only the *.ubuntu.com host via apt seems to be reachable during installation, which hinders me using my own lan apt repo. Anyone know any reason for this? [16:26] hey guys how can i make a shortcut of a .sh-script that will do bash execution on double click === Guest6988 is now known as ubuntuidiot [16:32] did you all die [16:35] Hey guys [16:35] Hey guys. I'm curious if someone here might be able to help me out. I went to the xen irc channel but no one there is responding. I installed xen in ubuntu 20.04.2 LTS but I get an error "panic on cpu 0 + timer doesn't work" [16:39] golden_ticket: it'll be good to explain what you did exactly to get this error message, and what hardware you're running on (CPU and RAM mostly). and of course, your ubuntu version and kernel version. [16:41] tomreyn: I ran "sudo apt-get install xen-hypervisor-amd64" and then rebooted. I'm using asus zenbook. I'm using and i9 processor and idk what kind of ram [16:41] tomreyn: thanks for the input === Ricardus_ is now known as Ricardus [16:43] golden_ticket: your ubuntu release / version and kernel version? cat /proc/version_signature; grep PRETTY /etc/os-release [16:44] Ubuntu 5.11.0-36.40~20.04.1-generic 5.11.22 [16:44] PRETTY_NAME="Ubuntu 20.04.2 LTS" [16:44] vmstat -s | head -1 [16:44] 32684560 K total memory [16:46] golden_ticket: so you got the "panic on cpu 0 + timer doesn't work" error message during installation of the package, or during reboot, or when? [16:46] During reboot. Installation went fine (I assume). As I didn't have to reboot during installation. [16:46] I rebooted after it installed. [16:48] this isn't you, is it? https://askubuntu.com/questions/1271889/why-cant-i-book-xen-hypervisor-on-ubuntu-20-04-1-panic-on-cpu-0-timer-doesnt [16:49] Haha! Yeah that's me all right. I did find a solution a year or so ago from someone on IRC that involved modifying "dogwatch" as I recall. [16:50] there are "watchdogs", i don't know "dogwatch" [16:50] Ah [16:50] Sorry. [16:50] I meant watchdog [16:50] is secure boot disabled? [16:50] tomreyn: I'm not sure. How do I check? [16:51] you grab your mainboard / laptop manual and look it up [16:51] Ah via bios? I can boot into it and check [16:51] I'll have to leave IRC though and come back [16:51] you should get a second computer / smartphone / tab or whatever [16:51] but yeah, give it a try === golden_ticket is now known as golden_ticket_pc [16:53] Okay I'm on via my phone [16:53] Rebooting laptop now [16:54] Secure boot is disabled [16:54] As is fastboot [16:54] in case it persissts, if you can get a screen shot of the error message, that'll get you extra points. [16:54] because "panic on cpu 0 + timer doesn't work" is not an exact quote [16:54] Okay [16:54] The best I can do is a phone pic [16:55] which is fine, just upload it to imgur.com or something and post the link here - 5 or so characters to type. [16:56] https://ibb.co/6mnKZ2P [16:56] Here's a screenshot [16:57] so you were chatting from the same computer here but also got this critical sounding error message,. how did you achieve this? did the system keep booting after it? [16:57] I booted to the normal kernel rather than the hypervisor [16:57] direct link (for anyone following) https://i.ibb.co/zrn351R/20210923-115600.jpg [16:58] Okay I'm booted back in [16:59] so the error message does say what you should try, did you try this? [16:59] journalctl -b | grep DMI: reports what? [17:00] and what's the greater goal in making xen work? [17:00] Sep 23 11:57:42 Nostromo kernel: DMI: ASUSTeK COMPUTER INC. ZenBook Pro Duo UX581GV_UX581GV/UX581GV, BIOS UX581GV.300 08/29/2019 [17:00] I just want to run vm's via terminal. I get that I can do that with virtualbox but I'm partial to xen. I like using the hypervisor [17:00] I did try to boot with napic option, didn't help [17:01] t's "noapic" [17:01] it's "noapic" [17:01] Oh. typo [17:01] Sorry I meant I booted with noapic [17:01] now or when you tried? [17:01] just now [17:02] did you look for bios updates? [17:02] no. Should I try updating bios? [17:02] if virtualization fails with acpi-like errors, that's amongst the first things i would try. [17:03] Ah [17:03] I didn't know that [17:03] let me check bios, thanks [17:03] I'm still here [17:03] Version 308 (release date 2020/07/15) is the latest [17:03] UX581GV.300 will be version 300 [17:04] I have version 300 [17:05] that's what i meant to say, [17:05] Oh I see [17:05] Okay so step one is updating bioa [17:05] Bios* [17:05] the changelogs towards 309 are not useful, just say "Optimize system performance". but this could well cover this. [17:07] https://www.asus.com/us/Laptops/For-Home/Zenbook/Zenbook-Pro-Duo-UX581/HelpDesk_BIOS/ [17:07] you have the ...GV model) [17:08] Thanks [17:10] Should I unzip the file before putting it on the flash drive? [17:10] I think so [17:10] Nvm yeah [17:11] yes most likely [17:11] you'll need to place it on a fat file system. storing it on your existing EFI system partition can also work [17:12] Thanks [17:14] Upgrade in process [17:18] Same error on boot [17:19] golden_ticket: so when you passed the noapic option during boot, how did you do it? which line did you edit, how? [17:20] Now we have a new issue. Booting to the normal kernel does not work. It instead boots into busy box [17:20] Wth [17:20] Why would upgrading bios do this? [17:20] does it say? [17:21] It just gives me a busy box shell [17:21] Ah [17:21] Here we go [17:21] did you make sure to reconfigure the bios like it was before the upgrade? [17:22] https://ibb.co/njZgmT9 [17:22] No [17:22] Good point [17:22] Let me go back and check bios [17:22] direct link to image https://i.ibb.co/x6PCLyW/20210923-122131.jpg [17:25] Hmm [17:25] the cpi error you encountered is not usually fatal, i.e. boot would normally continue [17:25] *acpi error [17:26] Well I modified bios to be back how it was and the issue persists [17:26] It throws this error and boots to busybox [17:26] does this output anything - in busybox: echo $REASON [17:26] Sorry I reconfigured bios, didn't downgrade it [17:27] Yes it does [17:27] and that is? [17:27] It says alert uuid=series of characters does not exist! Dropping to shell! [17:27] So the uuid has changed [17:28] apparently grub is unable to find the configured partition which contains its / file system [17:28] i mean linux's, not grub's [17:29] maybe raid/ahci bios option? [17:29] do laptops have this? [17:29] I don't think my laptop even has more than one hdd [17:29] Or whatever kind of disk drive it is [17:29] well it's worth looking for either way [17:29] Okay [17:29] anything about ahci at all golden_ticket ? [17:30] feel free to take screen shots of any bios screens [17:30] No. Busy box doesn't say anything about ahci [17:30] Okay [17:30] no i mean in the bios options [17:30] I'm about to check [17:32] https://ibb.co/DWcG0Yn [17:33] https://ibb.co/7gm14y5 [17:33] https://ibb.co/NVF7JgC [17:34] https://ibb.co/VWnmtMY [17:34] https://ibb.co/Q9vvGPB [17:35] https://ibb.co/rthZnds [17:35] Those are all of the pictures [17:35] is doing apt-get update everytime is a good thing? [17:35] since yesterday we are facing some slowness in network [17:36] Fdan I don't think doing apt-get update will solve network issues [17:36] it will not solve ofcourse [17:36] I may be wrong [17:36] my guess is will it break stuff [17:36] is it generally a good thing to do apt-get update always [17:36] or does that mean something gets updated and things can turn wrong 10% of the times [17:37] I don't consider that a wise decision from a security point of view. Generally letting software sit for a while and have the latest version tested is the better option. Unless the update is security related [17:37] could someone tell me why we are facing some random network issue [17:37] fdan, i'd say 1% of the times (not 10%) [17:38] we're facing this 2 days now [17:38] tomreyn EriC^^ did you see my bios pictures? [17:39] yeah, they look fine to me [17:40] I thought so. Why would uuid change? [17:40] golden_ticket: did you try booting a different kernel entry in grub? advanced > choose some older kernel [17:40] Hmm I believe that won't work but let me try [17:41] The issue persists with older versions of the kernel as well [17:41] EriC^^ [17:42] fdan: there's #ubuntu-mirrors for know issues on the ubuntu repos if you wanna doublecheck [17:42] golden_ticket: maybe see in /dev or similar dir what disks are there/uuid [17:42] when you drop to the busybox [17:42] Okay. [17:43] How do I navigate busybox? I don't know commands [17:43] Is it the same as Linux kernel? [17:43] yeah it's pretty similar to bash i think, like a compressed bash [17:43] Ah [17:43] Okay thanks [17:44] Okay I'm in /dev [17:44] Now what? [17:45] any sda1,2 etc? [17:45] No [17:46] Let me recheck [17:46] go to /dev/disk [17:46] ls /dev/disk/by-uuid [17:46] No such file or directory [17:46] this may or may not be there/populated, yet [17:47] I see [17:47] according to https://i.ibb.co/yPvhHpJ/20210923-123205.jpg you usually boot off (the EFI system partition, specifically, is on) a Samsung SSD [17:48] Ah [17:48] golden_ticket: anything in "cat /proc/partitions" ? [17:48] a Samsung MZVLB1T0HALR PM981 NVMe 1 TB M.2 PCIe SSD [17:49] so it will be /dev/nvme* [17:49] EriC^^ no [17:49] Let me check [17:50] I don't see any nvme directory [17:50] it won't be a directory [17:50] Or file [17:50] and "nvme" is just part of the name [17:50] Yeah [17:50] Nothing with that in the name [17:51] Sorry for the lack of elaboration on my replies. Hard to text with stupid auto correct [17:51] It keeps messing everything uo [17:51] Up* [17:51] does your bios list the drive? [17:52] check what's in I/O security here https://i.ibb.co/PTH6QCn/20210923-123158.jpg [17:52] Okay [17:52] seems on google the most common problem is MB switched ahci off by default, or having csm legacy enabled [17:53] if there is an "M.2" or "PCI(e)" or "NVM(E)" or "SSD" option this may need to be enabled [17:53] is sata settings here related or not cause of nvme? [17:53] Okay hold on [17:53] sata > ahci stuff [17:54] maybe worth a shot to see what's in the 'sata configuration' menu [17:54] on https://i.ibb.co/d0Cgrk4/20210923-123144.jpg "Intel Rapid Storage Technology" needs to be disabled, if that's an option [17:54] Io seucirty just has HD audio interface, wireless network interface and usb interface security [17:55] Okay hold on let me check [17:55] So I'm under advanced/sata configuration [17:56] Sata mode selection is Intel rst premium with Intel optane system acce [17:56] So I need to set it to ahci? [17:56] try ahci, why not, also see tomreyn 's suggestion on intel rapid storage [17:56] right you have intel RST enabled, that'S the problem. i just noticed it on https://ibb.co/rthZnds as well [17:56] "PCIE RST Controlled Disk" [17:56] Ah [17:57] Booting with ahci noq [17:57] Now* [17:57] Okay it can boot now. Yay! [17:57] Thanks guys [17:58] So now let's get back to the original issue. Booting with the hypervisor [17:58] what does "Booting with ahci now" mean? [18:00] Ahci was a model selection under sata configuration [18:00] AHCI is the native interface of the SATA controller. [18:01] In some BIOS setup utilities, you can select the SATA interface between IDE mode and AHCI mode [18:01] golden_ticket: ah so you were referring to the bios option which eric had hinted at, ok. [18:02] Sorry for not being clearer [18:02] no worries, i was just wondering whether you're setting a kernel option there, or passing one to xen, or something else [18:03] Okay so let's go back to trying to boot with the hypervisor. Where were we tomreyn? [18:03] so your grub record for xen booting, what does that look like now? [18:05] Is there a way to check grub for xen while booted into Linux? I'd rather send you pastes from terminal rather than a shaddy pic [18:06] you can cat /boot/grub/grub.cfg | nc termbin.com 9999 [18:07] or copy and paste just the relevant part to a pastebin [18:07] either works [18:07] Thanks [18:07] One moment [18:08] https://github.com/QubesOS/qubes-issues/issues/5374 can be related. this still looks like an a hardware/system firmware oddity [18:08] Issue 5374 in QubesOS/qubes-issues "Xen causes kernel panic during install - USB boot" [Closed] [18:08] qubes is a linux distribution which makes use of xen [18:08] they have live cd's, so you could use those to test different xen versions [18:08] https://termbin.com/6ovf [18:10] when you passed the "noapic" option, how did you do this exactly? [18:10] tomreyn: Hm. let me check to verify how I did it [18:10] I think I did it correctly but let me check [18:11] it's not in your grub.cfg, so i assume you edited it from the grub menu? [18:11] yes [18:12] when booting with xen, hardware sepcific options such as noapic need to be passed to xen rather then linux, i.e. on the line which invokes the xen HV [18:12] did you pass it there? [18:12] I passed it to the grub entry for the xen hypervisor, yes [18:13] so you edited the line saying multiboot2 /boot/xen-4.11-amd64.gz placeholder ${xen_rm_opts} ? [18:13] If you want I can boot into grub and check specifically where I did it. [18:14] Should I? [18:15] sure, whatever helps [18:16] i don't doubt you, i'm just trying to understand what exactly was done [18:16] I understand lol. I too want to make sure that this is correctly done. It's very possible I made a mistake [18:17] pls hold [18:17] I did it on the line where quiet splash is listed [18:17] I did it in between ro and quiet splash [18:18] I typed acpi=off noapic [18:20] tomreyn does my paste from earlier show that line? [18:22] golden_ticket: which one exactly? [18:23] The termbin paste [18:23] I think there is only one [18:23] "quiet" and "splash" are passed to linux / its initrd, so that's the wrong line. [18:24] Ah so I did do it wrong [18:24] Where should I do it? [18:24] https://termbin.com/6ovf does not contain "noacpi" [18:24] Interesting [18:24] err "noapic", sorry [18:24] it contains neither [18:24] Let me take a pic of what I'm looking at [18:25] https://ibb.co/CJ5B7TG [18:25] Here is a photo [18:25] you need to add "noapic" to the end of the line saying "/boot/xen-4.11-amd64.gz" [18:25] Ahhh [18:25] Okay [18:27] Computer is extremely slow in grub. Pls hold [18:28] Booting now [18:28] Error occured [18:28] It just rebooted [18:28] Same error as before [18:31] can you sudo apt install xen-hypervisor-amd64 [18:31] Yes [18:31] just to make sure we're not missing anything [18:31] does it install additional packages? [18:32] 0 upgraded 0 newly installed [18:32] do you have any "XEN" options in /etc/default/grub ? [18:32] Let me check [18:33] No I don't [18:33] you can add GRUB_CMDLINE_XEN_DEFAULT="noapic" there [18:33] Okay [18:34] i think this still applies https://serverfault.com/questions/299877/how-do-i-add-xen-kernel-boot-parameters-in-grub2 [18:35] try also hpet=0 [18:36] Error persists. Where do I put hpet=0? [18:37] same line on interactive grub, and same (XEN) option on /etc/defaul/grub - see what comes out of it when you "sudo update-grub", at /boot/grub/grub.cfg behind the line saying "### BEGIN /etc/grub.d/20_linux_xen ###" [18:38] Also I updated the grub like you said before but did not "apply" the changes but I did save the file. Do you think that is why it isn't showing up in grub menu? [18:38] yes [18:39] if you edited /etc/default/grub this does nothing until update-grub is run [18:39] I didn't do that. Let me boot back and run update-grub [18:41] Okay a new error occurs [18:41] update-grub is a wrapper around grub-mkconfig, which in turn parses and interprets /etc/default/grub, and creates /boot/grub/grub.cfg from the values sepcified there, using templates stored at /etc/grub/grub.d/ [18:42] actually /etc/grub.d/ [18:43] for xen, it specifically uses /etc/grub/grub.d/20_linux_xen (and notes this in the configuration file it writes to /boot/grub/grub.cfg ) [18:43] It disappears too quickly to take a picture but it says panic on cpu 0 and general_protection_fault [18:43] So now I need to do the additional change you mentioned [18:46] I put hpet=0 next to noapic in grub and upstated grub [18:46] Booting now [18:46] i think it's easier to test these changes by editing them live from the grub menu [18:46] Error persists :/ [18:47] after all you should be able to see where it really belongs now that you put the XEN* option into /etc/default/grub [18:47] can you post your grub.cfg again? [18:47] Sure [18:47] i.e. the generated one [18:48] https://termbin.com/pf4h [18:48] but i think ths really boils down to either needing a newer xen version which has this fix, or a different computer, or more tweaking to work around the bios bug [18:48] Golden tick lol [18:49] Hm [18:49] I tried contacting people in the xen irc room but no one replied :/ [18:49] Let me see if anyone is there now [18:49] channel* [18:50] oh, something else you could try is to switch the default graphics chipset away from nvidia and to intels [18:50] Ohhh yeah [18:50] I didn't do that [18:50] that would need to be done on your bios [18:50] I thought you can do that from within ubuntu though? [18:51] apic_verbosity=debug as a xen option could also help [18:51] you should set it on the bios in this case [18:51] okay let me try real quick [18:51] the graphics chipset priority, that is [18:52] i need to take a food break, bbl [18:53] Thanks [18:57] hello [18:57] tomreyn the fix appears to be booting into legacy mode and not uefi. But my computer cannot do this [18:57] i'm on lubuntu or xubuntu, the former i think, and it would be a 20.04 version then according to /etc/os-release ... i cant find a package when doing this, sudo apt install libcupsys2-dev do you think this is normal? === Tabstar is now known as Tabmow [19:14] ok so libcupsys2-dev has probably changed name or so [19:24] sybariten, what are you trying to install? [19:26] coconut: cups, in one way, and in the long run a rather niche printer [19:27] sybariten, that probably is libcups2-dev now(just checked that for hirsute) [19:27] coconut: i got it in and it seems to be running now [19:27] ok [19:27] thanks coconut [19:27] yw [19:29] I would like to rename core dumps, it is possible to tell Apport to use a different name then `core` ? [19:29] roussinm: why? [19:30] roussinm: you can remove apport and whatever from the system if you wish to do something with the cores yourself [19:31] I don't mind keeping Apport, I'm sure it's useful I didn't really go in-depth into the python script to see what it does, but if I could tell it add timestamp to it, it wouldn't replace already present core dumps [19:39] sarnold: Actually, I think it does not replace an already present 'core' file. [19:40] roussinm: heh, I haven't actually had just simple 'core' files in *ages*, I can't recall how it actually works :) [19:40] roussinm: look up /proc/sys/kernel/core_pattern in core(5), that'll describe how you can name cores with more fields [19:41] Can anyone help me with applying this patch to xen? https://eengstrom.github.io/musings/booting-xen-on-ubuntu-via-grub-with-uefi [19:42] tomreyn: you there? [19:42] I think I found a solution [19:43] sarnold: yes I looked at it, there is a feature inside apport where it can append the pid of process to the name. I guess I will completly override the string inside /proc/sys/kernel/core_pattern [19:47] sarnold: what's the core_pattern are you using? [19:47] roussinm: I think it's just the default, |/usr/share/apport/apport %p %s %c %d %P %E [19:48] So if you generate a core dump it will dump as `core` no? === Osares100 is now known as Osares10 [19:51] sarnold: maybe you modified /etc/sysctl.conf:kernel.core_pattern [19:52] roussinm: that string is straight from /proc/sys/kernel/core_pattern [19:53] Hmm ok, I'm not sure if /etc/sysctl.conf modifies what's being shown in /proc/sys/kernel/core_pattern. [19:54] it probably will, but there's several different mechanisms that all think they own the sysctl setting process, and some might undo the work of others [20:07] <^-^hi> Isn't anyone planning to bring down lubuntu.net? It looks like phishing with its domain being more "normal" than lubuntu.me [20:08] <^-^hi> It made me think lubuntu is dead for a long time, by having no versions newer than 19.10 [20:12] ^-^hi: maybe try #lubuntu [20:32] Release file for http://archiveā€¦InRelease is not valid yet (invalid for another 5h 47m). Updates for this repo will not be applied. - Any ideas how to fix this? [20:33] pycurious: please pastebin the output of the command you are running and it's output [20:39] msg * a [20:50] grub-install: error: /boot/efi doesn't look like an EFI partition [20:50] i keep getting this error [20:50] my grub is broken and i seem to can't find the correct target of where to have grub-install work at [20:52] ghostnik11: try a 'sudo dpkg-reconfigure grub-pc', it'll prompt you with some questions, I think there's a good chance it'll be enough to just get things working.. [20:58] leftyfb: I'm trying to help a friend. [20:58] Release file for http://archive%E2%80%A6InRelease.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 5h 47m). Updates for this repo will not be applied. - Any ideas how to fix this? [20:59] pycurious: we're going to need way more than that. Tell the friend to come here and paste the requested information or get the pasted information from them yourself [20:59] pycurious: also, check the date and time on the machine [20:59] Anyone here use Haskell's bindings to OpenGL? [21:00] Jack: maybe ask in a development channel [21:00] I'm just riffing [21:13] leftyfb: One thing i can see is the datetime is messed up on the system. Is there a command on CLI I can use to fix the date/time on a system (perhaps sync with a good clock online) [21:14] sudo ntpdate -u [21:14] timedatectl [21:15] leftyfb: no ntpdate on this system - and apt isnt working. So that wont work? [21:16] tomreyn: "System clock synchronized: no" - TimeZone is good. Local Time is messed up [21:17] timedatectl set-time TIME [21:17] date -s to set time [21:17] either should work [21:17] you'll need to find out what causes time synchronization not to work. [21:17] systemd-timesyncd would normally do it by default [21:18] firewalling, lack of internet connectivity, and not actually running ubuntu are the main reasons for this not working [21:39] tomreyn: more than likely its a proxy/firewall issue. [21:41] not proxy, unless socks [21:50] ghostnik11: type "ls /sys/firmware/efi" does it show dirs? [22:04] EriC^^: yeah the folder is there and is complete with other files there [22:04] EriC^^ sorry i was helping a friend out. but now i am back [22:06] ghostnik11: wb, try 'lsblk -f | nc termbin.com 9999' and paste the link it gives you (it uploads to termbin.com pastebin) [22:07] EriC^^ https://termbin.com/2is2 [22:09] EriC^^ the /dev/mmcblk1p1 is where i think the esp or uefi is located [22:09] ghostnik11: can you run that again using sudo lsblk -f ? my bad [22:10] ghostnik11: are you booted into the system as normal, or in a live session? [22:11] EriC^^ i booted the system by just using a live usb ubuntu, and then pressing C to drop to grub command prompt and then running the linux ...boot/vmlin and so forth [22:12] ghostnik11: ok [22:12] EriC^^ https://termbin.com/ijfr [22:12] hmm, odd output again [22:13] EriC^^ i am actually in root now b/c i was trying the chmod /mnt method [22:13] EriC^^ you want me to leave root [22:15] ghostnik11: that's fine, try "(cat /etc/fstab; mount; sudo blkid) | nc termbin.com 9999" [22:15] EriC^^ https://termbin.com/ga382 [22:16] thanks [22:16] EriC^^ https://termbin.com/9alv [22:16] EriC^^ thats the last one you asked for [22:17] ghostnik11: type 'sudo umount /boot/efi' [22:18] EriC^^ yep i did so. i did earlier do sudo mount /dev/mmcblk1p2 /boot/efi [22:18] EriC^^ i figured i could link them with the bind feature [22:19] ghostnik11: ok, also 'sudo umount /boot' [22:19] i see [22:19] EriC^^ yep i also mounted that one also [22:20] if no errors, try 'sudo mount /boot/efi' [22:21] EriC^^ yep it went through fine. /boot/efi is mounted [22:22] great! [22:22] ghostnik11: ok, try 'sudo grub-install' [22:29] Eric^^ hey yeah i am on my cellphone because my tablet froze after i ran grub-install [22:29] ghostnik11: the tablet is what had ubuntu? [22:31] Eric^^ has Ubuntu flavor on linux lite. But its basically Ubuntu with xfce or like a Lubuntu. But i am going to power it off and turn it back on. But for whatever reason i think i need to tell it the correct target to install grub to [22:32] Eric^^ also its one of those 2 in 1 tablets that they made with 32 bit uefi on a 64 bit architecture [22:32] One sec i need to see if i can talk to my professor i will be back [22:33] ghostnik11: i see, ok [22:33] ghostnik11: after you're back, try 'dpkg -l | grep grub | nc termbin.com 9999' === ghostnik1139 is now known as ghostnik11 [22:43] EriC^^ hey can you post that last command again i didn't get to copy it from my phone [22:43] ghostnik11: dpkg -l grub* | nc termbin.com 9999 [22:44] EriC^^ https://termbin.com/9g7y [22:45] ghostnik11: seems to have the 64bit grub installed and the 32bit grub semi-installed [22:45] Hey guys, I'm trying to remove a LVM partition in which Fedora was installed. I already used lvremove. So can I safely delete it now with gparted? [22:45] https://imgur.com/wxRYCf8.png [22:45] EriC^^ yeah it freezes when its time to install the 32bit grub-efi [22:46] EriC^^ i think its due to the target of where 32bit grub-efi i should go [22:46] ghostnik11: any error it shows? [22:46] ghostnik11: the target is /boot/efi [22:46] EriC^^ i have the pastebin that i got when i tried to fix it with boot-repair [22:47] Guest61: if I've understood that dialog box correctly, you'll going to destroy your entire LVM configuration [22:47] How do I install xen so that it runs with UEFI? [22:47] ghostnik11: cool, do share [22:47] EriC^^ https://pastebin.com/xjGMcKaf [22:48] EriC^^: I think I know the problem I was experiencing earlier. xen isn't configured to run with UEFI by default. I have to change this. Documents online show that it *can* run with UEFI but none of the information I've been able to pull up online explains how [22:49] @sarnold Will it have any effect? If it will only remove the data I don't care about that since I'm not using that partition. I only want to delete it so I could install Ubuntu in it. [22:49] EriC^^ also these were the instructions i was trying to follow earlier that told me to mount and bind the directories [22:49] ghostnik11: interesting, it looks like it's having a hard time setting the boot order using efibootmgr [22:50] EriC^^ https://askubuntu.com/questions/260297/why-12-04-fails-to-install-grub-efi-to-target/774537#774537 [22:50] ghostnik11: i wonder what is in the end of 'cat /var/log/apt/term.log' it might show what it's freezing on during grub-install [22:52] EriC^^ https://pastebin.com/dtEWprDw [22:53] golden_ticket: I think you want "bios='ovmf'" -- https://wiki.xenproject.org/wiki/OVMF [22:54] Guest61: aha! good good, then that's fine. I was afraid you were going to lose something important :) [22:54] ghostnik11: looks good [22:54] sarnold: Is this compatible with dom0? It kinda implies in the first sentence that it's for domU. Or maybe I'm just reading the sentence incorrectly... [22:55] ghostnik11: ok, let's remove first the 64bit grub as it's not needed, sudo apt-get purge grub-efi-amd64{,-bin} [22:55] golden_ticket: I never got the hang of the xen lingo [22:55] sarnold: dom0 is the "host" and domU are any guests [22:55] golden_ticket: ovmf provides a uefi runtime environment for virutalized guests [22:56] sarnold: but technically speaking dom0 runs alongside of domU making it a guest as well lol [22:57] EriC^^ yeah so i tried to install grub-efi-ia32 and it messed up the apt-install [22:57] EriC^^ so now i get this: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. [22:57] ghostnik11: ok, in case it hangs and stuff, let's try to manually add it, then finally run the grub command [22:58] ghostnik11: type 'ls -lR /boot/efi | nc termbin.com 9999' [22:58] EriC^^ https://termbin.com/wsm2w [22:59] sarnold: So this needs to go in the xl.cfg file but that specific file does not exist. At least yet anyway. [22:59] http://manpages.ubuntu.com/manpages/trusty/man5/xl.cfg.5.html [22:59] ghostnik11: ok, there's a grubia32.efi in /boot/efi/efi/ubuntu, that's our guy [23:00] golden_ticket: hmm, xen isn't exactly supported in the first place, but *trusty* is certainly not going to be a very happy starting point [23:00] ghostnik11: type 'sudo efibootmgr -v | nc termbin.com 9999' [23:00] golden_ticket: can you upgrade to focal? [23:00] sarnold: I'm in ubuntu 20.04.2 LTS are you saying there's a more recent version? [23:00] golden_ticket: oh! [23:00] Oh [23:00] EriC^^ https://termbin.com/hfmw1 [23:00] golden_ticket: the manpage you gave was for 14.04 :) [23:00] ahhh [23:01] Yeah I think we both realized the same thing haha [23:01] sarnold: what's my versions codename? [23:01] focal [23:01] https://manpages.ubuntu.com/manpages/focal/man5/xl.cfg.5.html [23:01] ghostnik11: type 'sudo mkdir -p /boot/efi/efi/microsoft/boot' [23:01] So it looks like it's in the same place sarnold [23:02] EriC^^ yep it went through [23:02] ghostnik11: we can just trick the uefi to load ubuntu since it already has a microsoft entry there [23:02] ghostnik11: ok, type 'sudo cp /boot/efi/efi/ubuntu/grubia32.efi /boot/efi/efi/microsoft/boot/bootmgfw.efi' [23:03] EriC^^ okay it worked with no error [23:03] ghostnik11: ok, type 'sudo update-grub' [23:04] EriC^^ grub updated with no problem [23:04] golden_ticket: maybe 'xl config-update'? it's kinda thin on whether or not this can create a config from the defaults or not.. https://manpages.ubuntu.com/manpages/focal/man1/xl.1.html [23:04] ERROR: Can't find hypervisor information in sysfs! [23:05] ghostnik11: ok, let's try to remove both grubs now then reinstall the ia32 one and see how that goes, worst case if it hangs we still have the one we just added [23:05] Gah [23:05] EriC^^ okay [23:05] I think it's because I haven't booted into dom0 at least once [23:05] ghostnik11: type 'sudo apt-get remove grub-efi-amd64-bin grub-efi-ia32' [23:06] golden_ticket: heh, probably even "not booted in it now" [23:06] EriC^^ yeah it won't let me do it. keep saying i need to run sudo dpkg --configure -a [23:06] golden_ticket: sysfs is all ephemeral .. reboot into something else and it's all gone [23:06] right right [23:06] ERROR: Can't find hypervisor information in sysfs! [23:06] Oops [23:06] Sorry guys. [23:07] sarnold: any suggestions? I'm kinda stuck between a rock and an even harder rock... [23:07] golden_ticket: not really :( I thought finding that one line for the guests was going to be the magic missing piece :) [23:08] Dangit.. Well thanks anyways. [23:08] good luck :) [23:08] haha thanks [23:08] Maybe I could rename my partition to Xen? [23:09] then it would be booted into "Xen" at least [23:09] ghostnik11: hmm, try dpkg -l | grep -Ev "rc|ii" | nc termbin.com 9999 [23:10] golden_ticket: lol :) [23:10] EriC^^ https://termbin.com/dvph [23:10] ghostnik11: odd, it should let you remove it i think [23:11] ghostnik11: maybe 'sudo apt-get remove grub-efi-ia32 grub-efi-ia32-bin' ? [23:12] EriC^^ same outcome. it wants me to run dpkg. is there anyway i can run it dpkg configure and not have it install grub-efi-ia32, like have dpkg remove grub-efi-ia32 [23:13] EriC^^ can i just drop to a command shell like with f1 and run the command? [23:14] ghostnik11: sudo dpkg -r grub-efi-ia32 --force-all might do it [23:15] EriC^^ dpkg: error: --remove needs a valid package name but '--force-all' is not: illegal package name in specifier '--force-all': must start with an alphanumeric character [23:16] ghostnik11: sudo dpkg -r --force-all grub-efi-ia32 [23:16] * golden_ticket is considering making a sacrifice to the linux gods [23:16] * golden_ticket begins chanting/rain dancing [23:17] EriC^^ yep now that worked [23:17] golden_ticket: https://wiki.archlinux.org/title/xen#UEFI [23:17] EriC^^ now i should be able to run dpkg --configure -a [23:17] 1 sec [23:17] Thanks EriC^^ I'll read what you linked [23:18] arch wiki, of course :) [23:18] ghostnik11: try sudo apt-get purge grub-efi-amd64{,-bin} [23:18] golden_ticket: no problem [23:19] EriC^^ yep that worked. i think apt-get is back to normal now [23:19] EriC^^ hold on i have to show you this [23:20] EriC^^: There's a problem with this. First, xen.efi is a binary - so I cannot modify it. Second, xen.cfg doesn't exist, there is however a xen.config. However, and lastly, xen.config has a different file formatting from the example shown in your link. [23:20] Hm [23:20] ghostnik11: great, ok, now to try to reinstall the 32bit grub, sudo apt-get install grub-efi-ia32 grub-efi-ia32-bin [23:21] EriC^^ https://pastebin.com/rtJatkYV [23:22] EriC^^ it aborted the associations with grub-efi-ia32 [23:22] EriC^^ is that okay? [23:22] ghostnik11: does not look too bad, is it still "ii" in dpkg -l grub-efi-amd* ? [23:23] EriC^^ nope its completely uninstalled [23:24] golden_ticket: i dont think you need to modify the efi file [23:24] EriC^^: ah [23:25] i think you just boot it as if it were the grub efi file? just guessing i have zero clue what xen is, something like kvm? [23:25] yes [23:25] it mentions efibootmgr so it seems like you want to boot the pc using the xen.efi, you can add the entry using this command 1 sec [23:25] EriC^^: It says I need to put xen.efi in the efi partition. How do I locate that? [23:26] okay [23:26] golden_ticket: it should be /boot/efi [23:26] EriC^^ i ran the same command for grub-efi-ia32 and got rc grub-efi-ia32 ii grub-efi-ia32-bin un grub-efi-ia32-signed [23:26] EriC^^: There's already an xen.efi file inside of the partition [23:26] golden_ticket: sudo efibootmgr -c -w -l \\EFI\\ubuntu\\xen.efi -L "xen" -p X -d /dev/sdY [23:27] golden_ticket: where X is the partition number of the efi partition and Y is the disk name like sda, sdb etc [23:27] thanks [23:27] golden_ticket: put the xen.efi in /boot/efi/efi/ubuntu [23:27] or another dir if you want, and modify the command above [23:28] EriC^^ i think its b/c i need to run autoremove [23:28] ghostnik11: great [23:28] actually we still need to install the grub-efi-ia32 i think [23:29] ghostnik11: try sudo apt-get install grub-efi-ia32 [23:30] EriC^^ https://pastebin.com/E0SHNhPB [23:30] EriC^^ should i do autoremove command first? [23:31] EriC^^: So I found that my efi partition is located at /dev/nvme0n1p1 but I cannot find it's partition number. What does that look like? [23:31] ghostnik11: no, i dont know why it thinks they're not needed O.o [23:32] grub-efi-ia32 actually has a depends on the -bin one, so that's odd [23:32] ghostnik11: try sudo apt-get install --reinstall grub-efi-ia32 grub-efi-ia32-bin [23:32] EriC^^ wish me luck [23:33] golden_ticket: -p 1 -d /dev/nvme0n1 [23:33] EriC^^: Okay. So now that I ran the command I should reboot? [23:33] golden_ticket: yeah give it a go [23:33] thanks [23:33] I'll brb [23:34] dang, i thought it was ghostnik11 talking [23:35] EriC^^: Damn. Didn't work :/ [23:36] golden_ticket: sorry i thought ghostnik11 was talking :D [23:36] Aha [23:36] golden_ticket: try 'sudo efibootmgr -v | nc termbin.com 9999' paste the link here [23:36] Eric^^ yeah it crashed it again. At the same stage. Where it says installing for i386-efi platform [23:36] EriC^^: https://termbin.com/t1a0 === V|A is now known as VIA [23:37] ghostnik1: no worries, i think you should be good, try to reboot and see what happens, it should use the microsoft entry [23:37] I am back on my cellphone. I will just hold down power button to turn it off and then power it back on. [23:38] golden_ticket: it looks good, it added the entry as the first one in the boot order [23:38] EriC^^: I rebooted but it didn't work though [23:38] is the files there? try "ls -l /boot/efi/efi/xen' [23:39] Eric^^ yeah it booted to grub!!! I still can't believe it. But i will see if i can select ubuntu and boot normally [23:39] EriC^^: Yes there's a file there [23:39] Eri [23:39] ghostnik1: great! [23:40] EriC^^: The problem is it threw an error, Panic on CPU 0: (XEN) IO-APIC + timer doesn't work! [23:40] Eric^^ wow it really booted and even had the asus logo also like how it use to boot before i erased windows many years ago [23:40] ghostnik1: in the future use sudo reboot to reboot or sudo poweroff if the gui button isnt working or so [23:40] so the fs doesnt get corrupted and stuff, that would suck [23:41] Eric^^ ? [23:41] Eric^^ so i can't go to the normal shutdown? [23:41] Wait one sec [23:44] EriC^^, okay now i am on hexchat in the system. so i can't use the regular shutdown method b/c i might put errors into the filesystem? [23:44] My system would be complete if I could get xen running :'( [23:44] So close... [23:44] ghostnik11: no i thought you meant you used the button to poweroff the tablet forcefully without shutting down as usual [23:45] EriC^^, oh okay. yeah. no i use the regular way. only when it crashed with the grub-install [23:45] oh ok, gotcha [23:45] EriC^^: Any other ideas? sorry to nag. If you want me to stop let me know [23:46] The #xen channel is dead [23:46] EriC^^, the other thing is, should i run the same command to remove the dpkg --configure -a error? b/c it froze last time when i was doing it [23:47] EriC^^, sudo -r --force-all grub-efi-ia32bin? [23:47] ghostnik11: i wonder what files are involved though that it'll remove, try dpkg -L grub-efi-ia32 [23:48] !help [23:48] Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [23:49] golden_ticket: online it says disabling hyperthreading in the bios sometimes fixes it or there might be a kernel parameter you can use, "noapic apci=off" [23:49] !ot [23:49] #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [23:49] golden_ticket: although with acpi off you have to make sure it's not overheating and the fans are working and stuff i think [23:49] !ot | test [23:49] test: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [23:49] ghostnik11: sudo dpkg -r --force-all grub... [23:50] EriC^^: I'll try disabling hyperthreading [23:50] thanks [23:51] what are the commands for ubottu [23:51] ghostnik11: first though see which files are in that package, if there's nothing critical then remove it, you wont get any updates i guess though so it'll be up to you once in a while to copy the new grubia32.efi to bootmgfw.efi to stay up-to-date [23:53] (you'd have to download the package first though and extract the updates i guess, in case you want any updates)