[02:26] <kylin> gfshsdfgsgsdfg
[03:12] <dba> 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] <Kel> I feel like you're missing a dot somewhere
[03:42] <Kel> oh, no I guess not. hmm
[03:46] <Kel> 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] <Kel> That might help?
[03:46] <Kel> oh, right, tagging people xD dba - that's for you
[03:48] <dba> 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] <Kel> Oh... huh
[03:52] <Kel> 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] <Kel> I will assume you've tested the script and the script works?
[03:52] <Kel> like - perhaps cron is doing what it's supposed to, but the problem is actually the script?
[03:54] <dba> 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] <alkisg> dba: where did you put that crontab line, in `crontab -e`, in `sudo crontab -e`, or in /etc/cron.d?
[08:19] <geirha> 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
[08:49] <avc> Is it possible to get a notification when microphone and webcam are in use by other applications on Ubuntu?
[11:53] <BluesKaj> Hi folks
[12:08] <vladoski> 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] <vladoski> On my Mac it works properly
[12:14] <BinarySavior> is there a way to use the same id_rsa to log onto multiple accounts on the same remote server
[12:14] <BinarySavior> right now my id_rsa works for<EMAIL_ADDRESS>but not<EMAIL_ADDRESS>[12:15] <BinarySavior> I want to be able to log in to<EMAIL_ADDRESS>as well
[12:15] <ravage> Then you have to put your private key into that user's authorized_keys file too
[12:15] <ravage> Oops
[12:15] <ravage> Public of course
[12:16] <BinarySavior> oh okay, that makes sense
[12:19] <BinarySavior> nice it worke
[12:19] <BinarySavior> worked
[12:24] <BinarySavior> in ubuntu calculator, is there a way to scroll through history using keyboard instead of mouse?
[13:26] <Daulity> hey
[13:26] <Daulity> 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] <Daulity> i assume this is because i do not have a address currently set on eth1
[13:27] <Daulity> but how do i fix this?
[13:27] <Daulity> i know how to set a ip address for example with ifconfig but then dnsmasq can't hand out dhcp anymore
[13:28] <Daulity> sys that there is no room in the range or something
[13:28] <Daulity> "no address range available"
[13:30] <leftyfb> Daulity: which version of ubuntu?
[13:31] <Daulity> 20.04
[13:36] <leftyfb> 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] <leftyfb> sorry, Daulity
[13:37] <Daulity> no address on eth1
[13:38] <leftyfb> 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] <Daulity> give me a moment to create the pastes
[13:41] <Daulity> leftyfb: step #1 is important
[13:41] <Daulity> xD
[13:41] <Daulity> I thought dnsmasq would set the interface
[13:41] <Daulity> for some reason
[13:48] <leftyfb> Daulity: you set which interface or address to listen on in the config. There's lots of tutorials on this
[14:31] <Daulity> leftyfb: yes i have all that set
[14:32] <Daulity> it works
[14:32] <Daulity> i had to as you suggested set the ip on the interface first
[14:32] <Daulity> i think i made a mistake the first time when trying this probably switched around some number or something
[14:34] <Daulity> 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] <leftyfb> huh?
[15:13] <massaker> how would one go about setting up 2 monitors using same desktop but 2 different resolutions?
[15:44] <cbreak> I've not managed to do that from the GUI
[16:21] <zph1nx> 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] <Guest6988> hey guys how can i make a shortcut of a .sh-script that will do bash execution on double click
[16:32] <ubuntuidiot> did you all die
[16:35] <golden_ticket> Hey guys
[16:35] <golden_ticket> 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] <tomreyn> 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] <golden_ticket> 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] <golden_ticket> tomreyn: thanks for the input
[16:43] <tomreyn> golden_ticket: your ubuntu release / version and kernel version? cat /proc/version_signature; grep PRETTY /etc/os-release
[16:44] <golden_ticket> Ubuntu 5.11.0-36.40~20.04.1-generic 5.11.22
[16:44] <golden_ticket> PRETTY_NAME="Ubuntu 20.04.2 LTS"
[16:44] <tomreyn> vmstat -s | head -1
[16:44] <golden_ticket> 32684560 K total memory
[16:46] <tomreyn> 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] <golden_ticket> During reboot. Installation went fine (I assume). As I didn't have to reboot during installation.
[16:46] <golden_ticket> I rebooted after it installed.
[16:48] <tomreyn> 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] <golden_ticket> 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] <tomreyn> there are "watchdogs", i don't know "dogwatch"
[16:50] <golden_ticket> Ah
[16:50] <golden_ticket> Sorry.
[16:50] <golden_ticket> I meant watchdog
[16:50] <tomreyn> is secure boot disabled?
[16:50] <golden_ticket> tomreyn: I'm not sure. How do I check?
[16:51] <tomreyn> you grab your mainboard / laptop manual and look it up
[16:51] <golden_ticket> Ah via bios? I can boot into it and check
[16:51] <golden_ticket> I'll have to leave IRC though and come back
[16:51] <tomreyn> you should get a second computer / smartphone / tab or whatever
[16:51] <tomreyn> but yeah, give it a try
[16:53] <golden_ticket> Okay I'm on via my phone
[16:53] <golden_ticket> Rebooting laptop now
[16:54] <golden_ticket> Secure boot is disabled
[16:54] <golden_ticket> As is fastboot
[16:54] <tomreyn> in case it persissts, if you can get a screen shot of the error message, that'll get you extra points.
[16:54] <tomreyn> because "panic on cpu 0 + timer doesn't work" is not an exact quote
[16:54] <golden_ticket> Okay
[16:54] <golden_ticket> The best I can do is a phone pic
[16:55] <tomreyn> which is fine, just upload it to imgur.com or something and post the link here - 5 or so characters to type.
[16:56] <golden_ticket> https://ibb.co/6mnKZ2P
[16:56] <golden_ticket> Here's a screenshot
[16:57] <tomreyn> 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] <golden_ticket> I booted to the normal kernel rather than the hypervisor
[16:57] <tomreyn> direct link (for anyone following) https://i.ibb.co/zrn351R/20210923-115600.jpg
[16:58] <golden_ticket_pc> Okay I'm booted back in
[16:59] <tomreyn> so the error message does say what you should try, did you try this?
[16:59] <tomreyn> journalctl -b | grep DMI:    reports what?
[17:00] <tomreyn> and what's the greater goal in making xen work?
[17:00] <golden_ticket_pc> 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] <golden_ticket_pc> 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] <golden_ticket_pc> I did try to boot with napic option, didn't help
[17:01] <tomreyn> t's "noapic"
[17:01] <tomreyn> it's "noapic"
[17:01] <golden_ticket_pc> Oh. typo
[17:01] <golden_ticket_pc> Sorry I meant I booted with noapic
[17:01] <tomreyn> now or when you tried?
[17:01] <golden_ticket_pc> just now
[17:02] <tomreyn> did you look for bios updates?
[17:02] <golden_ticket_pc> no. Should I try updating bios?
[17:02] <tomreyn> if virtualization fails with acpi-like errors, that's amongst the first things i would try.
[17:03] <golden_ticket_pc> Ah
[17:03] <golden_ticket_pc> I didn't know that
[17:03] <golden_ticket_pc> let me check bios, thanks
[17:03] <golden_ticket> I'm still here
[17:03] <tomreyn> Version 308 (release date 2020/07/15) is the latest
[17:03] <tomreyn> UX581GV.300 will be version 300
[17:04] <golden_ticket> I have version 300
[17:05] <tomreyn> that's what i meant to say,
[17:05] <golden_ticket> Oh I see
[17:05] <golden_ticket> Okay so step one is updating bioa
[17:05] <golden_ticket> Bios*
[17:05] <tomreyn> the changelogs towards 309 are not useful, just say "Optimize system performance". but this could well cover this.
[17:07] <tomreyn> https://www.asus.com/us/Laptops/For-Home/Zenbook/Zenbook-Pro-Duo-UX581/HelpDesk_BIOS/
[17:07] <tomreyn> you have the ...GV model)
[17:08] <golden_ticket> Thanks
[17:10] <golden_ticket> Should I unzip the file before putting it on the flash drive?
[17:10] <golden_ticket> I think so
[17:10] <golden_ticket> Nvm yeah
[17:11] <tomreyn> yes most likely
[17:11] <tomreyn> you'll need to place it on a fat file system. storing it on your existing EFI system partition can also work
[17:12] <golden_ticket> Thanks
[17:14] <golden_ticket> Upgrade in process
[17:18] <golden_ticket> Same error on boot
[17:19] <tomreyn> golden_ticket: so when you passed the noapic option during boot, how did you do it? which line did you edit, how?
[17:20] <golden_ticket> Now we have a new issue. Booting to the normal kernel does not work. It instead boots into busy box
[17:20] <golden_ticket> Wth
[17:20] <golden_ticket> Why would upgrading bios do this?
[17:20] <tomreyn> does it say?
[17:21] <golden_ticket> It just gives me a busy box shell
[17:21] <golden_ticket> Ah
[17:21] <golden_ticket> Here we go
[17:21] <tomreyn> did you make sure to reconfigure the bios like it was before the upgrade?
[17:22] <golden_ticket> https://ibb.co/njZgmT9
[17:22] <golden_ticket> No
[17:22] <golden_ticket> Good point
[17:22] <golden_ticket> Let me go back and check bios
[17:22] <tomreyn> direct link to image https://i.ibb.co/x6PCLyW/20210923-122131.jpg
[17:25] <golden_ticket> Hmm
[17:25] <tomreyn> the cpi error you encountered is not usually fatal, i.e. boot would normally continue
[17:25] <tomreyn> *acpi error
[17:26] <golden_ticket> Well I modified bios to be back how it was and the issue persists
[17:26] <golden_ticket> It throws this error and boots to busybox
[17:26] <tomreyn> does this output anything - in busybox:   echo $REASON
[17:26] <golden_ticket> Sorry I reconfigured bios, didn't downgrade it
[17:27] <golden_ticket> Yes it does
[17:27] <tomreyn> and that is?
[17:27] <golden_ticket> It says alert uuid=series of characters does not exist! Dropping to shell!
[17:27] <golden_ticket> So the uuid has changed
[17:28] <tomreyn> apparently grub is unable to find the configured partition which contains its / file system
[17:28] <tomreyn> i mean linux's, not grub's
[17:29] <EriC^^> maybe raid/ahci bios option?
[17:29] <tomreyn> do laptops have this?
[17:29] <golden_ticket> I don't think my laptop even has more than one hdd
[17:29] <golden_ticket> Or whatever kind of disk drive it is
[17:29] <tomreyn> well it's worth looking for either way
[17:29] <golden_ticket> Okay
[17:29] <EriC^^> anything about ahci at all golden_ticket ?
[17:30] <tomreyn> feel free to take screen shots of any bios screens
[17:30] <golden_ticket> No. Busy box doesn't say anything about ahci
[17:30] <golden_ticket> Okay
[17:30] <EriC^^> no i mean in the bios options
[17:30] <golden_ticket> I'm about to check
[17:32] <golden_ticket> https://ibb.co/DWcG0Yn
[17:33] <golden_ticket> https://ibb.co/7gm14y5
[17:33] <golden_ticket> https://ibb.co/NVF7JgC
[17:34] <golden_ticket> https://ibb.co/VWnmtMY
[17:34] <golden_ticket> https://ibb.co/Q9vvGPB
[17:35] <golden_ticket> https://ibb.co/rthZnds
[17:35] <golden_ticket> Those are all of the pictures
[17:35] <fdan> is doing apt-get update everytime is a good thing?
[17:35] <fdan> since yesterday we are facing some slowness in network
[17:36] <golden_ticket> Fdan I don't think doing apt-get update will solve network issues
[17:36] <fdan> it will not solve ofcourse
[17:36] <golden_ticket> I may be wrong
[17:36] <fdan> my guess is will it break stuff
[17:36] <fdan> is it generally a good thing to do apt-get update always
[17:36] <fdan> or does that mean something gets updated and things can turn wrong 10% of the times
[17:37] <golden_ticket> 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] <fdan> could someone tell me why we are facing some random network issue
[17:37] <ioria> fdan, i'd say 1% of the times (not 10%)
[17:38] <fdan> we're facing this 2 days now
[17:38] <golden_ticket> tomreyn EriC^^ did you see my bios pictures?
[17:39] <EriC^^> yeah, they look fine to me
[17:40] <golden_ticket> I thought so. Why would uuid change?
[17:40] <EriC^^> golden_ticket: did you try booting a different kernel entry in grub? advanced > choose some older kernel
[17:40] <golden_ticket> Hmm I believe that won't work but let me try
[17:41] <golden_ticket> The issue persists with older versions of the kernel as well
[17:41] <golden_ticket> EriC^^
[17:42] <lotuspsychje> fdan: there's #ubuntu-mirrors for know issues on the ubuntu repos if you wanna doublecheck
[17:42] <EriC^^> golden_ticket: maybe see in /dev or similar dir what disks are there/uuid
[17:42] <EriC^^> when you drop to the busybox
[17:42] <golden_ticket> Okay.
[17:43] <golden_ticket> How do I navigate busybox? I don't know commands
[17:43] <golden_ticket> Is it the same as Linux kernel?
[17:43] <EriC^^> yeah it's pretty similar to bash i think, like a compressed bash
[17:43] <golden_ticket> Ah
[17:43] <golden_ticket> Okay thanks
[17:44] <golden_ticket> Okay I'm in /dev
[17:44] <golden_ticket> Now what?
[17:45] <EriC^^> any sda1,2 etc?
[17:45] <golden_ticket> No
[17:46] <golden_ticket> Let me recheck
[17:46] <EriC^^> go to /dev/disk
[17:46] <tomreyn> ls /dev/disk/by-uuid
[17:46] <golden_ticket> No such file or directory
[17:46] <tomreyn> this may or may not be there/populated, yet
[17:47] <golden_ticket> I see
[17:47] <tomreyn> 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] <golden_ticket> Ah
[17:48] <EriC^^> golden_ticket: anything in "cat /proc/partitions" ?
[17:48] <tomreyn> a Samsung MZVLB1T0HALR PM981 NVMe 1 TB M.2 PCIe SSD
[17:49] <tomreyn> so it will be /dev/nvme*
[17:49] <golden_ticket> EriC^^ no
[17:49] <golden_ticket> Let me check
[17:50] <golden_ticket> I don't see any nvme directory
[17:50] <tomreyn> it won't be a directory
[17:50] <golden_ticket> Or file
[17:50] <tomreyn> and "nvme" is just part of the name
[17:50] <golden_ticket> Yeah
[17:50] <golden_ticket> Nothing with that in the name
[17:51] <golden_ticket> Sorry for the lack of elaboration on my replies. Hard to text with stupid auto correct
[17:51] <golden_ticket> It keeps messing everything uo
[17:51] <golden_ticket> Up*
[17:51] <tomreyn> does your bios list the drive?
[17:52] <tomreyn> check what's in I/O security here https://i.ibb.co/PTH6QCn/20210923-123158.jpg
[17:52] <golden_ticket> Okay
[17:52] <EriC^^> seems on google the most common problem is MB switched ahci off by default, or having csm legacy enabled
[17:53] <tomreyn> if there is an "M.2" or "PCI(e)" or "NVM(E)" or "SSD" option this may need to be enabled
[17:53] <EriC^^> is sata settings here related or not cause of nvme?
[17:53] <golden_ticket> Okay hold on
[17:53] <EriC^^> sata > ahci stuff
[17:54] <EriC^^> maybe worth a shot to see what's in the 'sata configuration' menu
[17:54] <tomreyn> on https://i.ibb.co/d0Cgrk4/20210923-123144.jpg "Intel Rapid Storage Technology" needs to be disabled, if that's an option
[17:54] <golden_ticket> Io seucirty just has HD audio interface, wireless network interface and usb interface security
[17:55] <golden_ticket> Okay hold on let me check
[17:55] <golden_ticket> So I'm under advanced/sata configuration
[17:56] <golden_ticket> Sata mode selection is Intel rst premium with Intel optane system acce
[17:56] <golden_ticket> So I need to set it to ahci?
[17:56] <EriC^^> try ahci, why not, also see tomreyn 's suggestion on intel rapid storage
[17:56] <tomreyn> right you have intel RST enabled, that'S the problem. i just noticed it on https://ibb.co/rthZnds as well
[17:56] <tomreyn> "PCIE RST Controlled Disk"
[17:56] <golden_ticket> Ah
[17:57] <golden_ticket> Booting with ahci noq
[17:57] <golden_ticket> Now*
[17:57] <golden_ticket> Okay it can boot now. Yay!
[17:57] <golden_ticket> Thanks guys
[17:58] <golden_ticket> So now let's get back to the original issue. Booting with the hypervisor
[17:58] <tomreyn> what does "Booting with ahci now" mean?
[18:00] <golden_ticket> Ahci was a model selection under sata configuration
[18:00] <akossh> AHCI is the native interface of the SATA controller.
[18:01] <akossh> In some BIOS setup utilities, you can select the SATA interface between IDE mode and AHCI mode
[18:01] <tomreyn> golden_ticket: ah so you were referring to the bios option which eric had hinted at, ok.
[18:02] <golden_ticket> Sorry for not being clearer
[18:02] <tomreyn> no worries, i was just wondering whether you're setting a kernel option there, or passing one to xen, or something else
[18:03] <golden_ticket> Okay so let's go back to trying to boot with the hypervisor. Where were we tomreyn?
[18:03] <tomreyn> so your grub record for xen booting, what does that look like now?
[18:05] <golden_ticket> 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] <tomreyn> you can   cat /boot/grub/grub.cfg | nc termbin.com 9999
[18:07] <tomreyn> or copy and paste just the relevant part to a pastebin
[18:07] <tomreyn> either works
[18:07] <golden_ticket> Thanks
[18:07] <golden_ticket> One moment
[18:08] <tomreyn> https://github.com/QubesOS/qubes-issues/issues/5374 can be related. this still looks like an a hardware/system firmware oddity
[18:08] <tomreyn> qubes is a linux distribution which makes use of xen
[18:08] <tomreyn> they have live cd's, so you could use those to test different xen versions
[18:08] <golden_ticket_la> https://termbin.com/6ovf
[18:10] <tomreyn> when you passed the "noapic" option, how did you do this exactly?
[18:10] <golden_ticket_la> tomreyn: Hm. let me check to verify how I did it
[18:10] <golden_ticket_la> I think I did it correctly but let me check
[18:11] <tomreyn> it's not in your grub.cfg, so i assume you edited it from the grub menu?
[18:11] <golden_ticket_la> yes
[18:12] <tomreyn> 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] <tomreyn> did you pass it there?
[18:12] <golden_ticket_la> I passed it to the grub entry for the xen hypervisor, yes
[18:13] <tomreyn> so you edited the line saying     multiboot2	/boot/xen-4.11-amd64.gz placeholder   ${xen_rm_opts}    ?
[18:13] <golden_ticket_la> If you want I can boot into grub and check specifically where I did it.
[18:14] <golden_ticket_la> Should I?
[18:15] <tomreyn> sure, whatever helps
[18:16] <tomreyn> i don't doubt you, i'm just trying to understand what exactly was done
[18:16] <golden_ticket_la> I understand lol. I too want to make sure that this is correctly done. It's very possible I made a mistake
[18:17] <golden_ticket_la> pls hold
[18:17] <golden_ticket> I did it on the line where quiet splash is listed
[18:17] <golden_ticket> I did it in between ro and quiet splash
[18:18] <golden_ticket> I typed acpi=off noapic
[18:20] <golden_ticket> tomreyn does my paste from earlier show that line?
[18:22] <tomreyn> golden_ticket: which one exactly?
[18:23] <golden_ticket> The termbin paste
[18:23] <golden_ticket> I think there is only one
[18:23] <tomreyn> "quiet" and "splash" are passed to linux / its initrd, so that's the wrong line.
[18:24] <golden_ticket> Ah so I did do it wrong
[18:24] <golden_ticket> Where should I do it?
[18:24] <tomreyn> https://termbin.com/6ovf does not contain "noacpi"
[18:24] <golden_ticket> Interesting
[18:24] <tomreyn> err "noapic", sorry
[18:24] <tomreyn> it contains neither
[18:24] <golden_ticket> Let me take a pic of what I'm looking at
[18:25] <golden_ticket> https://ibb.co/CJ5B7TG
[18:25] <golden_ticket> Here is a photo
[18:25] <tomreyn> you need to add "noapic" to the end of the line saying "/boot/xen-4.11-amd64.gz"
[18:25] <golden_ticket> Ahhh
[18:25] <golden_ticket> Okay
[18:27] <golden_ticket> Computer is extremely slow in grub. Pls hold
[18:28] <golden_ticket> Booting now
[18:28] <golden_ticket> Error occured
[18:28] <golden_ticket> It just rebooted
[18:28] <golden_ticket> Same error as before
[18:31] <tomreyn> can you sudo apt install xen-hypervisor-amd64
[18:31] <golden_ticket> Yes
[18:31] <tomreyn> just to make sure we're not missing anything
[18:31] <tomreyn> does it install additional packages?
[18:32] <golden_ticket> 0 upgraded 0 newly installed
[18:32] <tomreyn> do you have any "XEN" options in /etc/default/grub ?
[18:32] <golden_ticket> Let me check
[18:33] <golden_ticket> No I don't
[18:33] <tomreyn> you can add     GRUB_CMDLINE_XEN_DEFAULT="noapic"    there
[18:33] <golden_ticket> Okay
[18:34] <tomreyn> i think this still applies https://serverfault.com/questions/299877/how-do-i-add-xen-kernel-boot-parameters-in-grub2
[18:35] <tomreyn> try also hpet=0
[18:36] <golden_ticket> Error persists. Where do I put hpet=0?
[18:37] <tomreyn> 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] <golden_ticket> 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] <tomreyn> yes
[18:39] <tomreyn> if you edited /etc/default/grub this does nothing until update-grub is run
[18:39] <golden_ticket> I didn't do that. Let me boot back and run update-grub
[18:41] <golden_ticket> Okay a new error occurs
[18:41] <tomreyn> 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] <tomreyn> actually /etc/grub.d/
[18:43] <tomreyn> 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] <golden_ticket> It disappears too quickly to take a picture but it says panic on cpu 0 and general_protection_fault
[18:43] <golden_ticket> So now I need to do the additional change you mentioned
[18:46] <golden_ticket> I put hpet=0 next to noapic in grub and upstated grub
[18:46] <golden_ticket> Booting now
[18:46] <tomreyn> i think it's easier to test these changes by editing them live from the grub menu
[18:46] <golden_ticket> Error persists :/
[18:47] <tomreyn> 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] <tomreyn> can you post your grub.cfg again?
[18:47] <golden_ticket> Sure
[18:47] <tomreyn> i.e. the generated one
[18:48] <golden_tick_pc> https://termbin.com/pf4h
[18:48] <tomreyn> 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_ticket> Golden tick lol
[18:49] <golden_tick_pc> Hm
[18:49] <golden_tick_pc> I tried contacting people in the xen irc room but no one replied :/
[18:49] <golden_tick_pc> Let me see if anyone is there now
[18:49] <golden_tick_pc> channel*
[18:50] <tomreyn> oh, something else you could try is to switch the default graphics chipset away from nvidia and to intels
[18:50] <golden_tick_pc> Ohhh yeah
[18:50] <golden_tick_pc> I didn't do that
[18:50] <tomreyn> that would need to be done on your bios
[18:50] <golden_tick_pc> I thought you can do that from within ubuntu though?
[18:51] <tomreyn> apic_verbosity=debug as a xen option could also help
[18:51] <tomreyn> you should set it on the bios in this case
[18:51] <golden_tick_pc> okay let me try real quick
[18:51] <tomreyn> the graphics chipset priority, that is
[18:52] <tomreyn> i need to take a food break, bbl
[18:53] <golden_ticket> Thanks
[18:57] <sybariten> hello
[18:57] <golden_ticket> tomreyn the fix appears to be booting into legacy mode and not uefi. But my computer cannot do this
[18:57] <sybariten> 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?
[19:14] <sybariten> ok so libcupsys2-dev has probably changed name or so
[19:24] <coconut> sybariten, what are you trying to install?
[19:26] <sybariten> coconut: cups, in one way, and in the long run a rather niche printer
[19:27] <coconut> sybariten, that probably is libcups2-dev now(just checked that for hirsute)
[19:27] <sybariten> coconut: i got it in and it seems to be running now
[19:27] <coconut> ok
[19:27] <sybariten> thanks coconut
[19:27] <coconut> yw
[19:29] <roussinm> I would like to rename core dumps, it is possible to tell Apport to use a different name then `core` ?
[19:29] <leftyfb> roussinm: why?
[19:30] <sarnold> roussinm: you can remove apport and whatever from the system if you wish to do something with the cores yourself
[19:31] <roussinm> 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] <roussinm> sarnold: Actually, I think it does not replace an already present 'core' file.
[19:40] <sarnold> roussinm: heh, I haven't actually had just simple 'core' files in *ages*, I can't recall how it actually works :)
[19:40] <sarnold> roussinm: look up /proc/sys/kernel/core_pattern in core(5), that'll describe how you can name cores with more fields
[19:41] <golden_ticket> 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] <golden_ticket> tomreyn: you there?
[19:42] <golden_ticket> I think I found a solution
[19:43] <roussinm> 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] <roussinm> sarnold: what's the core_pattern are you using?
[19:47] <sarnold> roussinm: I think it's just the default, |/usr/share/apport/apport %p %s %c %d %P %E
[19:48] <roussinm> So if you generate a core dump it will dump as `core` no?
[19:51] <roussinm> sarnold: maybe you modified /etc/sysctl.conf:kernel.core_pattern
[19:52] <sarnold> roussinm: that string is straight from /proc/sys/kernel/core_pattern
[19:53] <roussinm> Hmm ok, I'm not sure if /etc/sysctl.conf modifies what's being shown in /proc/sys/kernel/core_pattern.
[19:54] <sarnold> 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] <leftyfb> ^-^hi: maybe try #lubuntu
[20:32] <pycurious> 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] <leftyfb> pycurious: please pastebin the output of the command you are running and it's output
[20:39] <anonymous> msg * a
[20:50] <ghostnik11> grub-install: error: /boot/efi doesn't look like an EFI partition
[20:50] <ghostnik11> i keep getting this error
[20:50] <ghostnik11> my grub is broken and i seem to can't find the correct target of where to have grub-install work at
[20:52] <sarnold> 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] <pycurious> leftyfb: I'm trying to help a friend.
[20:58] <pycurious> 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] <leftyfb> 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] <leftyfb> pycurious: also, check the date and time on the machine
[20:59] <Jack> Anyone here use Haskell's bindings to OpenGL?
[21:00] <leftyfb> Jack: maybe ask in a development channel
[21:00] <Jack> I'm just riffing
[21:13] <pycurious> 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] <leftyfb> sudo ntpdate -u
[21:14] <tomreyn> timedatectl
[21:15] <pycurious> leftyfb: no ntpdate on this system - and apt isnt working. So that wont work?
[21:16] <pycurious> tomreyn: "System clock synchronized: no" - TimeZone is good. Local Time is messed up
[21:17] <tomreyn> timedatectl set-time TIME
[21:17] <geirha> date -s to set time
[21:17] <tomreyn> either should work
[21:17] <tomreyn> you'll need to find out what causes time synchronization not to work.
[21:17] <tomreyn> systemd-timesyncd would normally do it by default
[21:18] <tomreyn> firewalling, lack of internet connectivity, and not actually running ubuntu are the main reasons for this not working
[21:39] <pycurious> tomreyn: more than likely its a proxy/firewall issue.
[21:41] <tomreyn> not proxy, unless socks
[21:50] <EriC^^> ghostnik11: type "ls /sys/firmware/efi" does it show dirs?
[22:04] <ghostnik11> EriC^^: yeah the folder is there and is complete with other files there
[22:04] <ghostnik11> EriC^^ sorry i was helping a friend out. but now i am back
[22:06] <EriC^^> ghostnik11: wb, try 'lsblk -f | nc termbin.com 9999' and paste the link it gives you (it uploads to termbin.com pastebin)
[22:07] <ghostnik11> EriC^^ https://termbin.com/2is2
[22:09] <ghostnik11> EriC^^ the /dev/mmcblk1p1 is where i think the esp or uefi is located
[22:09] <EriC^^> ghostnik11: can you run that again using sudo lsblk -f ? my bad
[22:10] <EriC^^> ghostnik11: are you booted into the system as normal, or in a live session?
[22:11] <ghostnik11> 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] <EriC^^> ghostnik11: ok
[22:12] <ghostnik11> EriC^^ https://termbin.com/ijfr
[22:12] <EriC^^> hmm, odd output again
[22:13] <ghostnik11> EriC^^ i am actually in root now b/c i was trying the chmod /mnt method
[22:13] <ghostnik11> EriC^^ you want me to leave root
[22:15] <EriC^^> ghostnik11: that's fine, try "(cat /etc/fstab; mount; sudo blkid) | nc termbin.com 9999"
[22:15] <ghostnik11> EriC^^ https://termbin.com/ga382
[22:16] <EriC^^> thanks
[22:16] <ghostnik11> EriC^^ https://termbin.com/9alv
[22:16] <ghostnik11> EriC^^ thats the last one you asked for
[22:17] <EriC^^> ghostnik11: type 'sudo umount /boot/efi'
[22:18] <ghostnik11> EriC^^ yep i did so. i did earlier do sudo mount /dev/mmcblk1p2 /boot/efi
[22:18] <ghostnik11> EriC^^ i figured i could link them with the bind feature
[22:19] <EriC^^> ghostnik11: ok, also 'sudo umount /boot'
[22:19] <EriC^^> i see
[22:19] <ghostnik11> EriC^^ yep i also mounted that one also
[22:20] <EriC^^> if no errors, try 'sudo mount /boot/efi'
[22:21] <ghostnik11> EriC^^ yep it went through fine. /boot/efi is mounted
[22:22] <EriC^^> great!
[22:22] <EriC^^> ghostnik11: ok, try 'sudo grub-install'
[22:29] <ghostnik11> Eric^^ hey yeah i am on my cellphone because my tablet froze after i ran grub-install
[22:29] <EriC^^> ghostnik11: the tablet is what had ubuntu?
[22:31] <ghostnik11> 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] <ghostnik11> Eric^^ also its one of those 2 in 1 tablets that they made with 32 bit uefi on a 64 bit architecture
[22:32] <ghostnik11> One sec i need to see if i can talk to my professor i will be back
[22:33] <EriC^^> ghostnik11: i see, ok
[22:33] <EriC^^> ghostnik11: after you're back, try 'dpkg -l | grep grub | nc termbin.com 9999'
[22:43] <ghostnik11> EriC^^ hey can you post that last command again i didn't get to copy it from my phone
[22:43] <EriC^^> ghostnik11: dpkg -l grub* | nc termbin.com 9999
[22:44] <ghostnik11> EriC^^ https://termbin.com/9g7y
[22:45] <EriC^^> ghostnik11: seems to have the 64bit grub installed and the 32bit grub semi-installed
[22:45] <Guest61> 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] <Guest61> https://imgur.com/wxRYCf8.png
[22:45] <ghostnik11> EriC^^ yeah it freezes when its time to install the 32bit grub-efi
[22:46] <ghostnik11> EriC^^ i think its due to the target of where 32bit grub-efi i should go
[22:46] <EriC^^> ghostnik11: any error it shows?
[22:46] <EriC^^> ghostnik11: the target is /boot/efi
[22:46] <ghostnik11> EriC^^ i have the pastebin that i got when i tried to fix it with boot-repair
[22:47] <sarnold> Guest61: if I've understood that dialog box correctly, you'll going to destroy your entire LVM configuration
[22:47] <golden_ticket> How do I install xen so that it runs with UEFI?
[22:47] <EriC^^> ghostnik11: cool, do share
[22:47] <ghostnik11> EriC^^ https://pastebin.com/xjGMcKaf
[22:48] <golden_ticket> 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] <Guest61> @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] <ghostnik11> EriC^^ also these were the instructions i was trying to follow earlier that told me to mount and bind the directories
[22:49] <EriC^^> ghostnik11: interesting, it looks like it's having a hard time setting the boot order using efibootmgr
[22:50] <ghostnik11> EriC^^ https://askubuntu.com/questions/260297/why-12-04-fails-to-install-grub-efi-to-target/774537#774537
[22:50] <EriC^^> 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] <ghostnik11> EriC^^ https://pastebin.com/dtEWprDw
[22:53] <sarnold> golden_ticket: I think you want "bios='ovmf'"  -- https://wiki.xenproject.org/wiki/OVMF
[22:54] <sarnold> Guest61: aha! good good, then that's fine. I was afraid you were going to lose something important :)
[22:54] <EriC^^> ghostnik11: looks good
[22:54] <golden_ticket> 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] <EriC^^> ghostnik11: ok, let's remove first the 64bit grub as it's not needed, sudo apt-get purge grub-efi-amd64{,-bin}
[22:55] <sarnold> golden_ticket: I never got the hang of the xen lingo
[22:55] <golden_ticket> sarnold: dom0 is the "host" and domU are any guests
[22:55] <sarnold> golden_ticket: ovmf provides a uefi runtime environment for virutalized guests
[22:56] <golden_ticket> sarnold: but technically speaking dom0 runs alongside of domU making it a guest as well lol
[22:57] <ghostnik11> EriC^^ yeah so i tried to install grub-efi-ia32 and it messed up the apt-install
[22:57] <ghostnik11> EriC^^ so now i get this: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
[22:57] <EriC^^> ghostnik11: ok, in case it hangs and stuff, let's try to manually add it, then finally run the grub command
[22:58] <EriC^^> ghostnik11: type 'ls -lR /boot/efi | nc termbin.com 9999'
[22:58] <ghostnik11> EriC^^ https://termbin.com/wsm2w
[22:59] <golden_ticket> sarnold: So this needs to go in the xl.cfg file but that specific file does not exist. At least yet anyway.
[22:59] <golden_ticket> http://manpages.ubuntu.com/manpages/trusty/man5/xl.cfg.5.html
[22:59] <EriC^^> ghostnik11: ok, there's a grubia32.efi in /boot/efi/efi/ubuntu, that's our guy
[23:00] <sarnold> 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] <EriC^^> ghostnik11: type 'sudo efibootmgr -v | nc termbin.com 9999'
[23:00] <sarnold> golden_ticket: can you upgrade to focal?
[23:00] <golden_ticket> sarnold: I'm in ubuntu 20.04.2 LTS are you saying there's a more recent version?
[23:00] <sarnold> golden_ticket: oh!
[23:00] <golden_ticket> Oh
[23:00] <ghostnik11> EriC^^ https://termbin.com/hfmw1
[23:00] <sarnold> golden_ticket: the manpage you gave was for 14.04 :)
[23:00] <golden_ticket> ahhh
[23:01] <golden_ticket> Yeah I think we both realized the same thing haha
[23:01] <golden_ticket> sarnold: what's my versions codename?
[23:01] <sarnold> focal
[23:01] <golden_ticket> https://manpages.ubuntu.com/manpages/focal/man5/xl.cfg.5.html
[23:01] <EriC^^> ghostnik11: type 'sudo mkdir -p /boot/efi/efi/microsoft/boot'
[23:01] <golden_ticket> So it looks like it's in the same place sarnold
[23:02] <ghostnik11> EriC^^ yep it went through
[23:02] <EriC^^> ghostnik11: we can just trick the uefi to load ubuntu since it already has a microsoft entry there
[23:02] <EriC^^> ghostnik11: ok, type 'sudo cp /boot/efi/efi/ubuntu/grubia32.efi /boot/efi/efi/microsoft/boot/bootmgfw.efi'
[23:03] <ghostnik11> EriC^^ okay it worked with no error
[23:03] <EriC^^> ghostnik11: ok, type 'sudo update-grub'
[23:04] <ghostnik11> EriC^^ grub updated with no problem
[23:04] <sarnold> 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] <golden_ticket> ERROR:  Can't find hypervisor information in sysfs!
[23:05] <EriC^^> 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] <golden_ticket> Gah
[23:05] <ghostnik11> EriC^^ okay
[23:05] <golden_ticket> I think it's because I haven't booted into dom0 at least once
[23:05] <EriC^^> ghostnik11: type 'sudo apt-get remove grub-efi-amd64-bin grub-efi-ia32'
[23:06] <sarnold> golden_ticket: heh, probably even "not booted in it now"
[23:06] <ghostnik11> EriC^^ yeah it won't let me do it. keep saying i need to run sudo dpkg --configure -a
[23:06] <sarnold> golden_ticket: sysfs is all ephemeral .. reboot into something else and it's all gone
[23:06] <golden_ticket> right right
[23:06] <golden_ticket> ERROR:  Can't find hypervisor information in sysfs!
[23:06] <golden_ticket> Oops
[23:06] <golden_ticket> Sorry guys.
[23:07] <golden_ticket> sarnold: any suggestions? I'm kinda stuck between a rock and an even harder rock...
[23:07] <sarnold> golden_ticket: not really :( I thought finding that one line for the guests was going to be the magic missing piece :)
[23:08] <golden_ticket> Dangit.. Well thanks anyways.
[23:08] <sarnold> good luck :)
[23:08] <golden_ticket> haha thanks
[23:08] <golden_ticket> Maybe I could rename my partition to Xen?
[23:09] <golden_ticket> then it would be booted into "Xen" at least
[23:09] <EriC^^> ghostnik11: hmm, try dpkg -l | grep -Ev "rc|ii" | nc termbin.com 9999
[23:10] <sarnold> golden_ticket: lol :)
[23:10] <ghostnik11> EriC^^ https://termbin.com/dvph
[23:10] <EriC^^> ghostnik11: odd, it should let you remove it i think
[23:11] <EriC^^> ghostnik11: maybe 'sudo apt-get remove grub-efi-ia32 grub-efi-ia32-bin' ?
[23:12] <ghostnik11> 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] <ghostnik11> EriC^^ can i just drop to a command shell like with f1 and run the command?
[23:14] <EriC^^> ghostnik11: sudo dpkg -r grub-efi-ia32 --force-all     might do it
[23:15] <ghostnik11> 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] <EriC^^> 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] <ghostnik11> EriC^^ yep now that worked
[23:17] <EriC^^> golden_ticket: https://wiki.archlinux.org/title/xen#UEFI
[23:17] <ghostnik11> EriC^^ now i should be able to run dpkg --configure -a
[23:17] <EriC^^> 1 sec
[23:17] <golden_ticket> Thanks EriC^^ I'll read what you linked
[23:18] <sarnold> arch wiki, of course :)
[23:18] <EriC^^> ghostnik11: try sudo apt-get purge grub-efi-amd64{,-bin}
[23:18] <EriC^^> golden_ticket: no problem
[23:19] <ghostnik11> EriC^^ yep that worked. i think apt-get is back to normal now
[23:19] <ghostnik11> EriC^^ hold on i have to show you this
[23:20] <golden_ticket> 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] <golden_ticket> Hm
[23:20] <EriC^^> ghostnik11: great, ok, now to try to reinstall the 32bit grub, sudo apt-get install grub-efi-ia32 grub-efi-ia32-bin
[23:21] <ghostnik11> EriC^^ https://pastebin.com/rtJatkYV
[23:22] <ghostnik11> EriC^^ it aborted the associations with grub-efi-ia32
[23:22] <ghostnik11> EriC^^ is that okay?
[23:22] <EriC^^> ghostnik11: does not look too bad, is it still "ii" in dpkg -l grub-efi-amd* ?
[23:23] <ghostnik11> EriC^^ nope its completely uninstalled
[23:24] <EriC^^> golden_ticket: i dont think you need to modify the efi file
[23:24] <golden_ticket> EriC^^: ah
[23:25] <EriC^^> 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] <golden_ticket> yes
[23:25] <EriC^^> 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] <golden_ticket> EriC^^: It says I need to put xen.efi in the efi partition. How do I locate that?
[23:26] <golden_ticket> okay
[23:26] <EriC^^> golden_ticket: it should be /boot/efi
[23:26] <ghostnik11> 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] <golden_ticket> EriC^^: There's already an xen.efi file inside of the partition
[23:26] <EriC^^> golden_ticket: sudo efibootmgr -c -w -l \\EFI\\ubuntu\\xen.efi -L "xen" -p X -d /dev/sdY
[23:27] <EriC^^> golden_ticket: where X is the partition number of the efi partition and Y is the disk name like sda, sdb etc
[23:27] <golden_ticket> thanks
[23:27] <EriC^^> golden_ticket: put the xen.efi in /boot/efi/efi/ubuntu
[23:27] <EriC^^> or another dir if you want, and modify the command above
[23:28] <ghostnik11> EriC^^ i think its b/c i need to run autoremove
[23:28] <EriC^^> ghostnik11: great
[23:28] <EriC^^> actually we still need to install the grub-efi-ia32 i think
[23:29] <EriC^^> ghostnik11: try sudo apt-get install grub-efi-ia32
[23:30] <ghostnik11> EriC^^ https://pastebin.com/E0SHNhPB
[23:30] <ghostnik11> EriC^^ should i do autoremove command first?
[23:31] <golden_ticket> 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] <EriC^^> ghostnik11: no, i dont know why it thinks they're not needed O.o
[23:32] <EriC^^> grub-efi-ia32 actually has a depends on the -bin one, so that's odd
[23:32] <EriC^^> ghostnik11: try sudo apt-get install --reinstall grub-efi-ia32 grub-efi-ia32-bin
[23:32] <ghostnik11> EriC^^ wish me luck
[23:33] <EriC^^> golden_ticket: -p 1 -d /dev/nvme0n1
[23:33] <golden_ticket> EriC^^: Okay. So now that I ran the command I should reboot?
[23:33] <EriC^^> golden_ticket: yeah give it a go
[23:33] <golden_ticket> thanks
[23:33] <golden_ticket> I'll brb
[23:34] <EriC^^> dang, i thought it was ghostnik11 talking
[23:35] <golden_ticket> EriC^^: Damn. Didn't work :/
[23:36] <EriC^^> golden_ticket: sorry i thought ghostnik11 was talking :D
[23:36] <golden_ticket> Aha
[23:36] <EriC^^> golden_ticket: try 'sudo efibootmgr -v | nc termbin.com 9999' paste the link here
[23:36] <ghostnik1> Eric^^ yeah it crashed it again. At the same stage. Where it says installing for i386-efi platform
[23:36] <golden_ticket> EriC^^: https://termbin.com/t1a0
[23:37] <EriC^^> ghostnik1: no worries, i think you should be good, try to reboot and see what happens, it should use the microsoft entry
[23:37] <ghostnik1> 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] <EriC^^> golden_ticket: it looks good, it added the entry as the first one in the boot order
[23:38] <golden_ticket> EriC^^: I rebooted but it didn't work though
[23:38] <EriC^^> is the files there? try "ls -l /boot/efi/efi/xen'
[23:39] <ghostnik1> 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] <golden_ticket> EriC^^: Yes there's a file there
[23:39] <ghostnik1> Eri
[23:39] <EriC^^> ghostnik1: great!
[23:40] <golden_ticket> EriC^^: The problem is it threw an error, Panic on CPU 0: (XEN) IO-APIC + timer doesn't work!
[23:40] <ghostnik1> 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] <EriC^^> ghostnik1: in the future use sudo reboot to reboot or sudo poweroff if the gui button isnt working or so
[23:40] <EriC^^> so the fs doesnt get corrupted and stuff, that would suck
[23:41] <ghostnik1> Eric^^ ?
[23:41] <ghostnik1> Eric^^ so i can't go to the normal shutdown?
[23:41] <ghostnik1> Wait one sec
[23:44] <ghostnik11> 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] <golden_ticket> My system would be complete if I could get xen running :'(
[23:44] <golden_ticket> So close...
[23:44] <EriC^^> ghostnik11: no i thought you meant you used the button to poweroff the tablet forcefully without shutting down as usual
[23:45] <ghostnik11> EriC^^, oh okay. yeah. no i use the regular way. only when it crashed with the grub-install
[23:45] <EriC^^> oh ok, gotcha
[23:45] <golden_ticket> EriC^^: Any other ideas? sorry to nag. If you want me to stop let me know
[23:46] <golden_ticket> The #xen channel is dead
[23:46] <ghostnik11> 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] <ghostnik11> EriC^^, sudo -r --force-all grub-efi-ia32bin?
[23:47] <EriC^^> ghostnik11: i wonder what files are involved though that it'll remove, try dpkg -L grub-efi-ia32
[23:48] <Guest62> !help
[23:49] <EriC^^> 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] <Guest62> !ot
[23:49] <EriC^^> 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] <Guest62> !ot | test
[23:49] <EriC^^> ghostnik11: sudo dpkg -r --force-all grub...
[23:50] <golden_ticket> EriC^^: I'll try disabling hyperthreading
[23:50] <golden_ticket> thanks
[23:51] <Guest62> what are the commands for ubottu
[23:51] <EriC^^> 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] <EriC^^> (you'd have to download the package first though and extract the updates i guess, in case you want any updates)


[10:31] <mlankhorst> 4
[10:31] <mlankhorst> oops
[11:21] <rbasak> xnox: thank you for the correction. But note that we *collaborate* on bug descriptions. It's perfectly acceptable for anyone to edit a bug description in good faith. It's like a wiki - no consultation is required.
[11:22] <rbasak> In any case, it's an important edge case for which an explanation should exist in the SRU documentation, IMHO, so I don't think entirely removing the mention is appropriate either. Feel free to correct it though.
[11:22] <rbasak> (on bug 2008086)
[11:22] -ubottu:#ubuntu-devel- Bug 2008086 in wireguard (Ubuntu Kinetic) "Cannot install wireguard-tools on systems without .deb kernel - Drop useless depends on wireguard-modules / wireguard-dkms" [Undecided, In Progress] https://launchpad.net/bugs/2008086
[12:08] <luna__> actually did learn something from that
[13:51] <ack> hi, is it expected that python packages which only provide a pyproject.toml can't be built in 22.04 with pybuild using the pyproject plugin? AFAIU setuptools 59.6 might be too old to support it?
[13:51] <ack> https://paste.ubuntu.com/p/hnQP5HrYXg/ is the error I get
[15:43] <xnox> rbasak:  sure, but it looked sneaky, because it was direct description update, without any changelog or comment, and reading bug activity is hard to notice what has been added and by whom.
[16:02] <rbasak> !dmb-ping
[16:02] <teward> *pushes rbasak out the airlock*
[16:36] <ahasenack> hi ubuntu-sru, what kind of hint is needed for when a migration-reference/0 run fails in a stable release?
[16:37] <ahasenack> specifically, https://autopkgtest.ubuntu.com/packages/e/exim4/kinetic/ppc64el
[16:37] <ahasenack> investigation ongoing in https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/1983605
[16:37] -ubottu:#ubuntu-devel- Launchpad bug 1983605 in exim4 (Ubuntu) "exim4 autopkgtest failure on ppc64el" [High, Triaged]
[16:37] <ahasenack> but it's not caused by the openldap SRU
[16:37] <ahasenack> https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/1983605/comments/4 has the most up-do-date info. tl;dr: building exim4 with -pie shows the problem
[16:38] <ahasenack> and it also happens in lunar
[16:49] <rbasak> ahasenack: "A regression not caused by the SRU may be badtest or reset-tested away (doesn't matter which for SRUs)." --https://wiki.ubuntu.com/StableReleaseUpdates#Expected_resolution_for_reported_autopkgtest_failures
[17:26] <ahasenack> ubuntu-sru: https://code.launchpad.net/~ubuntu-release/britney/+git/hints-ubuntu/+merge/440264
[17:28] <ahasenack> or maybe a reset-test would have been better? I didn't understand what it does, and the britney doc didn't mention it
[17:28] <ahasenack> given its name, perhaps it lets the package migrate once? I don't know
[17:56] <enr0n> Can a core dev please retry these autopkgtests? retry-autopkgtest-regressions --blocks systemd -s focal | grep -v -E "package=linux-|package=fwupd".
[18:09] <enr0n> And these too please: `retry-autopkgtest-regressions --blocks systemd -s jammy` and `retry-autopkgtest-regressions --blocks systemd -s kinetic`
[18:10] <enr0n> These are almost all s390x test bed failures.
[18:43] <vorlon> enr0n: done
[18:45] <enr0n> vorlon: thanks
[19:29] <liushuyu> Hi, can someone help me retry one autopkgtest here: https://autopkgtest.ubuntu.com/request.cgi?release=kinetic&arch=i386&package=dkms&trigger=migration-reference/0
[19:29] <liushuyu> Thank you in advance!
[19:35] <dbungert> liushuyu: done
[19:38] <liushuyu> dbungert: Thank you!
[21:27] <liushuyu> Hi, can someone help me retry one autopkgtest here: https://autopkgtest.ubuntu.com/request.cgi?release=lunar&arch=amd64&package=rust-ahash&trigger=rust-ahash%2F0.8.3-2 it seems like a testbed error
[21:27] <liushuyu> Thank you in advance!
[21:29] <bdmurray> liushuyu: done
[21:30] <liushuyu> bdmurray: Thank you!
[21:31] <liushuyu> The testbed at that time was failed to shutdown correctly: https://autopkgtest.ubuntu.com/results/autopkgtest-lunar/lunar/amd64/r/rust-ahash/20230401_201403_c96f4@/log.gz


[06:27] <Darxus> Under oneric, nouveau was consistently hanging my display when I ran an opengl client through wayland.
[20:48] <Sarvatt> darn.. the native linux version of trine 2 is too slow on hd 3000, go figure


[00:08] <z1trus> oerheks: I think issue is in nvme. It overheat in idle up to 60 degrees, for example in openSUSE, but in ubuntu It barely warm - like about 38-40 celsius degree.  I can't find NVME related patches, specific only for ubuntu kernel, as well as kernel modules or firmware. Everything the same at first (and second, and third) sight.
[00:10] <sarnold> z1trus: nvme has some specific power handling stuff https://wiki.archlinux.org/title/Solid_state_drive/NVMe#Troubleshooting
[00:11] <sarnold> z1trus: some devices have bugs, so there's a table of device ids in the kernel and what levels of power management support are available..
[00:11] <sarnold> z1trus: try reading those settings from the various operating systems?
[00:14] <Tripknotix2> hi you guys, im  back at trying to create a solana contract, WSL failed due to there not being some x file for cross platform. so i am going to get virtual machine software, is there a recommended preference for ubuntu?
[00:19] <tomreyn> Tripknotix2: not really, no. just something that creates an environment which is similar enough to a supported hardware platform, and provides the minimum requirements.
[00:20] <sarnold> Tripknotix2: the usual tool is libvirt
[00:20] <sarnold> Tripknotix2: most folks use virt-manager to configure it
[00:20] <z1trus> sarnold: Yes. Archwiki is a good start point in troubleshooting journey. It's first place, where I run everytime. And everything from it article are the same between ubuntu and other distros.... except nvme drive temperature.
[00:21] <tomreyn> i assume that what Tripknotix2 said about WSL means they are running Windows on the host, which i think rules out libvirt (as well as high performance)
[00:21] <z1trus> So I think I should try to feed ubuntu kernel to openSUSE. I hope I return to this channel with success story soon or late :)
[00:25] <rob0> You just manually install the kernel and modules .deb packages, make an initrd if needed, then configure your boot loader to point to the Ubuntu kernel and the OpenSUSE root fs.
[00:31] <Tripknotix2> tomreyn, yes sir, on windows
[00:41] <Gerowen> Troubleshooting a Pihole for somebody else.  It's running Ubuntu server (upgraded from 20.04 to 22.04, but issues existed prior to the upgrade). multipathd seems to be sitting in the background using about 25MB of RAM.  Is this normal?  Trying to troubleshoot why the pihole-FTL service keeps using up tons of RAM and eventually crashing.  I have another PiHole running Raspbian that doesn't even have multipath installed.
[00:41] <Gerowen> I'm really just trying to figure out what is different between my PiHole (the one working fine) and this other one I'm working on.
[00:49] <Tripknotix2> i tried installing virtual box and it gave an error saying that the feature i am tryign to use is on a network resource that is unavailable ... saying that and older version of virtual box cannot be removed and to contact my technical group -_-''
[00:49] <Tripknotix2> they left for the day 20minutes ago
[00:49] <Tripknotix2> i forgot we used to use virtual box for something else in the past, and i couldnt uninstall so i just deleted the files for the program heh
[00:49] <Tripknotix2> go figure tha twould bite me in the ass 1 day
[00:51] <sarnold> Gerowen: probably an rpi doesn't need multipathd, I suggest taking the quickest / easiest way to stop that -- whether that's purging the package or configuring systemctl to not start it, etc
[00:51] <sarnold> Tripknotix2: hah yeah, you can't mix/match vbox and libvirt
[00:53] <rob0> And really what you have is a Windows question, "What virtual machine software can run Ubuntu?"  Any.
[00:54] <sarnold> oh! I thought it was the other way around, hah.
[00:55] <sarnold> I guess I never really think of running windows as a thing..
[00:56] <Tripknotix2> so of my free options for Windows 10 Pro, i can do Hyper-V or QEMU ... which one is better?
[00:56] <Tripknotix2> windows 10 pro as host
[00:56] <sarnold> is qemu even an option there? sorry, I assumed you were using ubuntu and wanting a way to virtualize windows :) heh
[00:56] <Tripknotix2> ubuntu as guest
[00:56] <sarnold> my guesses are hyper-v, vbox, wsl
[00:56] <Tripknotix2> cant use vbox till tomorrow,  wsl failed
[00:56] <Tripknotix2> due to missing x file for cross platform
[00:57] <Tripknotix2> u know i didnt try upgrading my wsl to wsl 2
[00:57] <Tripknotix2> but i totally closed the app and im not sure if i can repickup wher ei left off heh thats how new i am to it
[00:57] <Tripknotix2> i mean dang might as well try it
[00:57] <sarnold> I hear wsl and wsl 2 are fairly different, that's worth a shot
[01:03] <Tripknotix2> ah it automatically set it to 2 by default, it even said it in the instructions but i missed it
[01:09] <Mags0001> Hello!
[01:09] <Mags0001> I have opened a Radio Lo Fi on Youtube open 24/7, if you like to relax with good music, you are welcome.
[01:09] <Mags0001> https://youtu.be/vinLJdF9dOs
[01:14] <Gerowen> sarnold: I'm not sure it's multipath, I tried to remove it and it tried to remove the transitional package "ubuntu-server".  Nothing else important looking was marked, but I don't think multipath is the culprit, it's just one thing that's different between the two, but you can see in this screenshot that on the left, his is using several hundred megs of RAM, and mine on the right isn't.  We've got about the same number
[01:14] <Gerowen> of domains in our databases, but he's got like 19 pages of address he manually added and I don't, so that could be it.  https://marcusandash.net/index.php/s/SXtqS75ciWL8Q3M
[01:16] <sarnold> Gerowen: if it's actually a server you probably don't need colord running; if it doesn't have printers it probably doesn't need cupsd, etc
[01:17] <Gerowen> Yeah it's just a headless Ubuntu pi I set up for him, but apparently he went behind me after I set it up initially and installed KDE, Gnome, Unity, Teamviewer and all kinds of stuff.
[01:17] <Gerowen> I spent the whole first day removing crap.
[01:18] <Gerowen> He hooked it up to a monitor for a brief period and I guess wanted a GUI on it to play with it, he didn't understand that four A53 CPU cores and 1GB of RAM were not going to be a pleasant experience with any modern DE.
[01:19] <sarnold> I haven't seen a gui on my rpi3b+.. but I was reasonably impressed with running 12.04 LTS on a pandaboard ES nine years ago
[01:19] <sarnold> I wouldn't choose it today, nor did I choose it then :) but it sure worked better than I expected
[01:23] <tomreyn> if most ram goes to the pihole-FTL process (on the one system only), it should be a good idea to inspect this more closely.
[01:25] <sarnold> oh, the system on the left doesn't have any swap either, that'll mean it has less freedom in how memory is used
[01:30] <Tripknotix2> the error is very similiar, https://pastebin.com/JX8JabCN
[01:33] <sarnold> ahhhhhhhhh, this one. try the 'real vm' stuff :)
[01:34] <sarnold> sorry, I forgot this context over the weekend :(
[01:34] <Gerowen> sarnold: Think I figured it out; it was the 19 pages of domains he manually added to his blacklist.  Made a backup then removed all those, RAM usage of the pihole-FTL service went from 437MB to 7MB.  I suspected that might be the culprit because I told him that 99% of those domains he added looked like things that were already on existing ad lists.
[01:34] <sarnold> Gerowen: aha!
[01:36] <Gerowen> RAM usage is still higher than Raspbian running very similar services, so I'm going to keep poking around for remnants of stuff he installed that it no longer needs to trim it down as much as possible, but I think I got it manageable where it won't crash after a couple hours of running at least.
[01:47] <Tripknotix2> sarnold, i will try that then , tnx
[01:47] <sarnold> Tripknotix2: good luck :)
[01:47] <Tripknotix2> so hyper-v is better than QEMU?
[01:48] <sarnold> well, "qemu" can mean a lot of things, and "better" is of course always difficult :)
[01:48] <sarnold> qemu is usually just a cpu emulator, which is amazing, but it's also pretty slow
[01:48] <sarnold> on linux, qemu is often paired with kvm to use hardware virtualization support from the processor to go pretty quick, very nearly native speed
[01:48] <sarnold> and that's a pretty awesome combination. entire industries are built on that.
[01:49] <sarnold> qemu on its own probably does run on windows and probably can give you a 'real linux', but it might be insanelyslow if windows doesn't make it possible for it to use the hardware virtualization functions to go fast
[01:49] <edlou> theres a few people on reddit defending you guys
[01:49] <sarnold> hyper-v almost certainly has to be able to use those functions
[01:56] <Aarch64debian> baduntu
[01:57] <Unit193> Aarch64debian: We went over this, this is an Ubuntu support channel.  If you do not have an Ubuntu support question, please seek out another channel.
[03:11] <Maximalist> can you configure your system to encrypt when the laptop is shut? Similar to veracrypt
[03:15] <jhutchins> Seems like it wouldn't be too hard, just dump the decryption.  The data should be constantly encrypted, only decrypted on demand/use, so just make the decrypted data transient.
[03:24] <Maximalist> jhutchins: im speaking of full disk
[03:24] <Maximalist> would that still be the solution?
[04:36] <humanBird> ubuntu does not come with a ssh server installed by default?
[04:36] <humanBird> sudo: /etc/init.d/ssh: command not found
[04:38] <genii> The client but not server is inatalled by default. To install the client, package is openssh-server
[04:39] <genii> You might also want to use systemctl instead of the legacy sysvinit method to check it status or start/stop/reload it
[06:35] <pagios>  morning guys, i am looking for a solution like microsoft SCCM but for linux, something opensource that provides some nice features. I know about ansible but that needs lot of work to get it working in an env and customize it. Do you recomend any other  tools ? Goal is to centrally patch and monitor my linux servers AND GET some visibiliy on what packages are installed, what needs to be installed, give permissiosn to certain users etc.
[07:29] <dubiousness> pagios: Do you mean like spacewalk?
[07:43] <pagios> Spacewalk project has been discontinued on May 31 2020.
[11:07] <pagios> can i at the GRUB BOOT LEVEL, get an ip address and SSH for example ?
[11:18] <rob0> uh, why?  I'd think not.  Maybe PXE booting can get you an IP stack, and grub can get you to PXE.
[11:22] <pagios> ok so what i want to acihive is: i boot from usb, get a minimal OS, that allows me to fetch ISO files from the internet, once downloaded, i need to dynamically load the ISO and boot from them
[11:25] <rob0> yep, PXE is one way, or just make an initrd on USB
[11:26] <rob0> something like tomsrtbt (if it still exists) would be a good start
[11:29] <pagios> rob0: if i make an initrd on usb , can i at that stage get ip, download iso and then load the iso to boot a given os? windows/linux etc ?
[11:29] <csm3105> hi guys, one question, it seems that my network card has died and reading in forums the solution they propose is to reinstall ubuntu on top of the existing one, do you see it viable?
[11:30] <csm3105> In the case of having to reinstall ubuntu...what is the best way to do it? like this https://itsfoss.com/reinstall-ubuntu/ ?
[11:32] <rob0> pagios: typically an initrd will be an intermediate step between the boot loader and Linux.  In your case I think you'd just go to a script that downloads and boots the ISO image.  I'm not sure of the details, how to do that.
[11:33] <rob0> You might want to look at isolinux for that, maybe not grub.
[11:33] <rob0> csm3105: reinstalling for failed hardware still leaves you with failed hardware.
[11:34] <pagios> rob0: i would like to take control of the booting process of that pc, for example boot into clamav OS to clean viruses, boot into clonezilla to maek a clone etc, and for that i need to be able to reserve ssh to my box
[11:34] <pagios> before the OS loads
[11:34] <rob0> csm3105: and if the hardware is not failed, but the driver had a problem, reinstalling is silly.
[11:35] <csm3105> rob0, I know, but in windows the network card works perfectly and with the ubuntu live too
[11:36] <csm3105> and I have already tried to install the drivers and still not work
[11:36] <rob0> Then you'd want to find out what went wrong with the network.  It might have nothing to do with the NIC and driver.
[11:37] <pagios> rob0:  i need to be able to remotely control a pc when it boots via usb. For example, when you pluyg a usb, you get to the boot prompt where you can load ISOs or whatever. at this stage i want to be able to dynamically get Isos for example (clamAV OS to boot and clean viruses remotely) or clonezilla to remotely backup data etc, so each is an iso and i need to load them dynamically via my remote session which should be at boot level before a g
[11:37] <pagios> iven iso is loaded
[11:37] <pagios> sorry double paste
[11:38] <rob0> I suggested maybe running isolinux boot loader from the initrd.  Again, I have not done it and do not know details.
[11:40] <csm3105> rob0, but why with a USB live doesn't give any failure?
[11:44] <csm3105> rob0, Well never mind, I will continue to research, thank you very much for your support :)
[11:45] <rob0> possibly the network was properly configured with the live USB
[11:45] <rob0> yw
[11:47] <rob0> pagios: I bet Arch wiki would have some good information on isolinux.  And isolinux docs, too.
[12:33] <BluesKaj> Hi all
[12:54] <zaggynl> pagios: let me know when you find such a thing, I've been looking too
[13:46] <trafficjam> any git pros here?
[13:48] <leftyfb> trafficjam: I bet someone in #git could help you
[13:51] <trafficjam> good idea, thanks
[14:44] <Waynes> I am trying to use the ssh_command option of sshfs, but I get the error message "bash: -s: command not found" after entering my password for the following command: sshfs -odebug : -o ssh_command='ssh myuser@myhost'
[14:44] <node1> Hello what does it meant https://paste.debian.net/plain/1236002
[14:44] <node1> I'm trying to install Ubuntu on /dev/sda and it looks it taking lot of time
[14:45] <leftyfb> Waynes: why are you trying to run ssh after ssh'ing to a host?
[14:45] <node1> installer taking lot of time, and a pop up message appears and says "efi file system is corrupted"
[14:47] <Waynes> leftyfb: I think there is either a misunderstanding of sshfs on my side or maybe you misread the first sshfs as ssh?
[14:48] <leftyfb> Waynes: can you please explain without mentioning "ssh" or "sshfs" what it is you are trying to accomplish?
[14:48] <leftyfb> Waynes: "I'm trying to connect to a remote server and do ..... "
[14:53] <kyle__> node1: it means the filesystem check failed.
[14:54] <kyle__> node1: the -N says it's not actually going to run, just showing you what problems it cound.  But umm.... did you actually install on /dev/sda?  Usually you want to put it on a partition, like /dev/sda1.
[14:54] <node1> Then how to resolve it?
[14:55] <Waynes> leftyfb: I want to mount a directory on a remote remote server (twice remote bcause the server can only be connected to through another server). I can ssh into the remote server like "ssh user1@server1 -t ssh user2@server2". Now I want to pass this ssh command to sshfs, but it fails to connect. So I simplified the problem as far as possible. As it turns out, passing just "ssh myuser@myhost" to sshfs via ssh_command already fails.
[14:55] <kyle__> Lets start with why you're running fsck -N /dev/sda.  Did you install and it failed, is this in the middle of an installation, or was this you preparing for a new installation?
[14:56] <oerheks> node1, you got help in #debian with your debian issue
[14:57] <oerheks> please do not crosspost, thanks
[14:57] <node1> Currently i have problem with Ubuntu. As i'm unable to install it.
[15:02] <leftyfb> Waynes: create an entry in your .ssh/config for the server1 and add "ProxyJump server2"   then you can just run "sshfs server2:/path/to/mnt /mnt"
[15:03] <rob0> (and it sounds painful)
[15:03] <rob0> sshfs direct is slow enough, another hop will hurt
[15:05] <leftyfb> this is what they want
[15:06] <kyle__> node1: run fdisk -l, pastebin it.  If this is indeed an ubuntu problem.
[15:08] <node1> kyle__https://pastebin.com/raw/wH8ebARX
[15:08] <Waynes> leftyfb: setting that up and cleaning up after sounds much more involved than simply passing the correct command to sshfs (whatever it might be)
[15:08] <leftyfb> Waynes: it's literally 2 lines in a config
[15:10] <Waynes> leftyfb: I still have to set it up and clean it up, so its a bunch of commands every day
[15:11] <leftyfb> Waynes: sshfs -o ssh_command='ssh -J server1' server2:/path/to/mount /mnt/
[15:13] <kyle__> node1: when you install ubuntu, tell it to use all of /dev/sda, and use the default partitioning.
[15:14] <Waynes> leftyfb: that worked, thanks!
[15:14] <kyle__> node1: There are ways of using a whole disk with no partition, but that's advanced enough you won't get help with it.
[15:15] <node1> I did but it saying     The ext4 file system creation in partition #1 of SCSI1 (0,0,0) (sda) failed.
[15:16] <leftyfb> node1: open a terminal and run "dmesg"   do you see any drive or i/o errors?
[15:17] <node1> https://pastebin.com/raw/xgL4qqhq
[15:18] <leftyfb> heh
[15:18] <leftyfb> node1: is this a usb drive?
[15:18] <leftyfb> node1: either way, that drive is toast
[15:18] <node1> Yes i'm trying to install from bootable USB drive
[15:19] <leftyfb> buy a new one
[15:19] <leftyfb> I don't see what all the interest is lately in installing ubuntu TO usb drives
[15:20] <node1> But with the same USB drive i have booted this linux Ubuntu
[15:20] <leftyfb> node1: it's a bad drive
[15:20] <node1> How do you confirm that
[15:20] <node1> ?
[15:21] <leftyfb> https://pastebin.com/raw/xgL4qqhq
[15:21] <node1> leftyfb Which is the bad drive? My laptop hard disk or pendrive ?
[15:21] <ogra> leftyfb, well, its only a medium error ... could be worse, could be a high error 😛
[15:22] <leftyfb> sda
[15:22] <node1> sda is mine laptop ssd
[15:22] <leftyfb> node1: good, so now you know what you need to replace
[15:22] <ogra> node1, the dirve that tells you that is is a broken medium is very likely gone south ... or at least close to do this
[15:23] <node1> I have no money to replace SSD :
[15:23] <node1> :(
[15:23] <node1> My computing END here.
[15:23] <leftyfb> node1: try contacting the vendor, see if they can help you get it replaced
[15:24] <node1> Nops lenevo does not support  this laptop model :(
[15:24] <leftyfb> node1: vendor of the SSD
[15:25] <leftyfb> node1: nothing else can be done. It's a hardware malfunction, sorry
[15:25] <node1> ok
[15:25] <node1> Thank you.
[15:26]  * ogra wishes back the old times where everyone had a rotary disk and you could actually hear it fail due to the permanent *clack* *clack* *clack* sounds ... that made things easier 🙂
[15:27] <kyle__> Eeeee.  Poor node1.  Just hopped back from a work task and saw that paste.
[15:29] <jhutchins> kyle__: Actually, single partition (+swap) is recommended for new users.  They usually don't know where their data will build up and will run out of space on a partitioned system.
[15:29] <jhutchins> kyle__: There are no tricks to using that policy.
[15:29] <kyle__> jhutchins: Yeah.  Actually that's becomming the norm with cloud instances as well.
[15:29] <Waynes> jhutchins: can confirm, ran out of space and had to reinstall
[15:30] <jhutchins> Partitioning just means that the space you need will be on the wrong partition.
[15:30] <kyle__> jhutchins: use whole disk, let it decide is still the default with the installer, right?
[15:30] <jhutchins> kyle__: I'm not sure what the installer defaults to, I am in the habit of bypassing the defaults and making a single partition manually.
[15:30] <ogra> yeah
[15:31] <ogra> jhutchins, i think +swap was dropped around 21.04 ... should just be a swapfile nowadays
[15:34] <zen_coder> how can I keep my remote ssh session running, while I logout? Its a console session
[15:34] <ogra> use screen
[15:34] <ogra> or tmux
[15:37] <Neo517> hi
[15:37] <kyle__> zen_coder: if you work with a team, check what they use.  Most people who use one are strongly tied to whichever they use... going with the group will make yoru life easier.
[15:38] <kyle__> (also screen >>>>> tmux :P )
[15:39] <leftyfb> kyle__: lets not
[15:39] <ogra> vim >>> gnome !
[15:39] <kyle__> Hehe
[15:40] <kyle__> leftyfb: Yeah.  Hence me saying check what your group is using.  Nothing ruins productivty more than arguing over which one is better.
[15:47] <zen_coder> kyle__: there is not team
[15:48] <kyle__> zen_coder: Then it's a tossup.  Look at the cheat-sheets, see which one makes more sense to you.
[16:26] <wid> ahsdfhahsdfha
[16:39] <abivado> quassel bug test  rw?
[16:39] <abivado> ok !
[16:46] <leftyfb> abivado: test failed
[16:49] <abivado> leftyfb: what is wrong
[16:49] <jhutchins> Weather Channel is back.
[16:49] <leftyfb> abivado: using an ubuntu support channel to test your IRC client
[16:50] <abivado> ubuntu bug!
[19:05] <Anarchos> how to update with apt ?
[19:06] <Mathisen> sudo apt update && sudo apt upgrade
[19:06] <Anarchos> E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.
[19:06] <leftyfb> Anarchos: it tells you how to fix the problem
[19:06] <Maik> Anarchos: run that line:    sudo dpkg --configure -a
[19:07] <Anarchos> dpkg: erreur: analyse du fichier « /var/lib/dpkg/updates/0000 » vers la ligne 1:  saut de ligne dans le nom de champ «  »
[19:07] <Anarchos> which means : newline in the field name " "
[19:08] <leftyfb> Anarchos: please pastebin the entire thing in English
[19:08] <leftyfb> !fr | Anarchos
[19:08] <Anarchos> dpkg : error : analysis of file "var/lib/dpkg/updates/0000 " around line 1 : new line in the field name " "
[19:09] <Anarchos> when i cat this file, it appears to be a binary one
[19:09] <leftyfb> Anarchos: ( cat /etc/os-release ; uname -a ; sudo apt update ; sudo dpkg --configure -a ) | nc termbin.com 9999     # please run this and make sure the output is in English
[19:12] <Anarchos> https://termbin.com/yvtr (the last line reads : read of packages lists)
[19:13] <sarnold> Anarchos: check dmesg output, I wonder if you have corrupted disks
[19:14] <leftyfb> Anarchos: ( sudo dpkg --configure -a 2>&1 ) | nc termbin.com 9999
[19:18] <Anarchos> leftyfb https://termbin.com/xs6l but it is the same error i translated before about dpkg : newline in field name " "
[19:18] <Anarchos> sarnold indeed i had to run a fschk some days ago
[19:19] <Anarchos> sarnold but i see nothing in dmesg. what should i look for ?
[19:19] <sarnold> Anarchos: block device errors quite often have a lot of { } marks in them
[19:19] <sarnold> Anarchos: but there's a lot more indicators of disk problems than just that
[19:20] <leftyfb> Anarchos: sudo rm /var/lib/dpkg/updates/0000 && sudo dpkg --configure -a
[19:22] <Anarchos> leftyfb thanks, i was not sure if i could delete those 00xx files
[19:24] <Anarchos> sarnold leftyfb thanks you were very helpful for a total newbie on ubuntu !
[20:08]  * extor used the experimental ZFS option during a fresh install of Ubuntu 20.04. After booting up and adding a small SSD drive(which shows up as /dev/sdb) and creating a swap partition on /dev/sdb1 it was time to edit fstab to add the new swap partition. Except that fstab has no mention of a swap partition mapping get /dev/sda5 shows up as a swap partition.
[20:29] <alkisg> mkswap -L swap /dev/sdb1, and then put this in fstab: LABEL=swap	none		swap	sw		0	0
[20:31] <zai100x200> hello, I'm trying to boot ubuntu server after installation for the first time
[20:32] <zai100x200> but instead of login prompt, ubuntu is trying to start network jobs and they take indefinitely to start
[20:32] <leftyfb> zai100x200: it should time out after 5 minutes
[20:32] <zai100x200> this is well known and old bug but I'm surprised that it is still there
[20:32] <zai100x200> leftyfb I was waiting for 30 minutes and gave up
[20:33] <zai100x200> is there a way to disable this?
[20:33] <zai100x200> I was trying to go to single user more, but this shit is still trying to start
[20:33] <zai100x200> I should have donated money when they were pitching money to hire a hitman to kill that idiot systemd author lenard
[20:33] <leftyfb> zai100x200: please don't
[20:34] <en11gma> when ubuntu 22.04 goes live april 21st is it going to be supported in here? it is an LTS right?
[20:34] <zai100x200> leftyfb sorry I had to take this off the chest
[20:34] <en11gma> when i google it, it only says a "Future" release
[20:34] <leftyfb> en11gma: yes
[20:34] <en11gma> cool
[20:34] <leftyfb> zai100x200: not here
[20:35] <leftyfb> zai100x200: if you are still seeing it hanging on network starting, then you are not in single user mode
[20:36] <en11gma> i looked up some of the features of 22.04 and didnt notice alot of difference from 20.04 but i thought i heard it was better with the tpm/secure boot and something to do with gpu's but i cant find anything on either
[20:36] <leftyfb> !next | en11gma
[20:37] <zai100x200> leftyfb can you please remind me how do I get to single user mode on latest ubuntu lts
[20:38] <leftyfb> zai100x200: https://www.linuxtechi.com/boot-ubuntu-20-04-rescue-emergency-mode/   2nd result on google for "ubuntu 20.04 single user mode"
[20:40] <zai100x200> leftyfb thank you thank you thank you
[20:44] <en11gma> is there a way to take a running ubuntu 20.04 system installed to an inernal drive sata/nvme m.2 and make a bootable iso to put on usb stick?
[20:44] <en11gma> and the gpu drivers will work upon boot up
[20:45] <en11gma> just as if it were booting from an internal drive?
[20:45]  * leftyfb sigh
[20:45] <en11gma> and disable any updates so nothing can ruin it
[20:46] <en11gma> i havent seen a guide or package that does this automatically in all the years ive messed with linux. i mean im sure there is someway to do it but has it been simplified yet?
[20:47] <en11gma> the package should be included in the original live usb package so you can install to drive and also back that drive up to a live usb stick iso
[20:48] <en11gma> so the process would take two usb sticks (one with ubuntu 20.04 live usb iso) and a drive to do a full install and then the backup usb stick to write the image
[20:48] <en11gma> of the full drive install
[20:49] <en11gma> gparted option maybe
[20:49] <alkisg> How's that different from just copying the installation to the stick? You want a "live mode"?
[20:49] <alkisg> Then it's just a matter of applying an overlay at initrd-bottom, a couple of lines...
[20:51] <en11gma> yea but does that make it a squash file system like the original 20.04 live usb iso?
[20:52] <en11gma> and to copy the live installitation to the stick you have to be in some enviroment so thats why i said the original live usb stick
[20:52] <alkisg> Then just run mksquashfs. Or look at ltsp.org, it supports both the mksquashfs and the overlay parts.
[20:52] <en11gma> to copy the hard drive full install to the blank usb stick
[20:53] <alkisg> You can copy the hard drive to the stick without a second stick
[20:53] <en11gma> from a running ubuntu enviroment?
[20:53] <alkisg> Sure
[20:53] <leftyfb> en11gma: can I ask, what's the use case of this usb stick with ubuntu on it? I just don't get the appeal
[20:53] <en11gma> i wasnt sure if all files would be accessable
[20:54] <alkisg> mount --bind / /mnt; mksqushfs /mnt... then transfer the squashfs to the stick and make a loopback grub entry
[20:54] <en11gma> i like to use this limesdr-mini usb 3.0 device and it works better when it dont use the noveu driver. the binary driver will also work better with cuda / opencl
[20:56] <en11gma> if that single command was an option on the ubuntu live usb device i bet millions of ppl would do the full install to the drive and then configure it how they wanted and instantly make a new usb iso of it that was bootable off usb stick
[20:56] <extor> ok alkisg I did a swapon /dev/sdb1 after doing a swapoff on /dev/sda5 and then I went into fdisk and changed the type of /dev/sda5 to a win32FAT. Swapon did enable swap for me but what puzzles me is how ubuntu knew that sda5 was a swap partition without it being listed in /etc/fstab
[20:57] <extor> Mostly and academic question at this point
[20:58] <oerheks> generally booting off usb stick is horible slow
[20:58] <zai100x200> now udev start is blocking my boot, how fucking sad that linux is 2022 is worse than it was 20 years ago when I first used it
[20:58] <leftyfb> !language | zai100x200
[20:58] <rdr> extor: i think it's somewhat smart and will automagically detect swap partitions
[20:58] <zai100x200> so many people complained about systemd, that it is not suitable for humans, why not just stay with what worked for centuries, old good system V scripts
[20:59] <rdr> 22.04 set up a swapfile for me instead of a swap partition
[20:59] <leftyfb> zai100x200: would you like help with something?
[20:59] <extor> ok in that case as long as I labeled /sdb1 as 82 and relabled /dev/sda5 I should be ok
[20:59] <zai100x200> leftyfb yes, can you please recommend any good linux distro?
[20:59] <rdr> zai100x200: lol, most people here use Ubuntu ;)
[21:00] <extor> Well I needed a swap partition and needed on an ssd partition because I have just 8GB RAM on a VM hence a fast swap would do me good
[21:00] <zai100x200> I asked good distro*
[21:00] <leftyfb> zai100x200: we can only help with Ubuntu support questions here. If you want help with other distros, try their respective channel or try /join #linux
[21:00] <extor> Since SSD is almost as fast as RAM supposedly
[21:00] <oerheks> zai100x200, learn howto install ubuntu server right.
[21:00] <rdr> extor: ssd is quite fast, but not as fast as RAM which is not as fast as L1/2/3 cache
[21:01] <Anarchos> now that my ubuntu installation is finished, how to get rid of the graphics layer , and keep it as a pure distant ssh server ?
[21:01] <alkisg> extor: if you ran swapon /dev/sdb1, you told it where to find the swap, there was no /etc/fstab or autodetection involved...
[21:02] <rdr> Anarchos: it would be better to install Ubuntu Server, but you could just disable GDM, unless you need to remove packages for more disk space
[21:02] <extor> Yes of course, but I was not sure whether it would be persistant after a reboot
[21:02] <leftyfb> Anarchos: why did you install the desktop release if you wanted the server?
[21:02] <oerheks> Anarchos, do not turn on the screen :-D
[21:02] <Anarchos> leftyfb i wanted the gui to tweak its paramater, install a masquerade gateway etc.
[21:02] <c_89> I have a simple microphone for PC (TRS jack), how can I check on gnu/linux that the female mic jack of the PC is also of the TRS type?
[21:02] <Anarchos> because at first , it was not on network
[21:02] <leftyfb> Anarchos: the GUI in no way helps with that
[21:03] <leftyfb> Anarchos: regardless: sudo systemctl set-default multi-user
[21:03] <rdr> c_89: the TRS is the larger big brother of 3.5mm right? I don't know a lot of computers with that
[21:04] <rdr> but if it is 3.5mm and fits, you can check with the sound settings whether the microphone is picking up noise
[21:05] <zen_coder> Is there a portable prebuild package of gcc, which I can download?
[21:05] <c_89> rdr it looks like this: https://m.media-amazon.com/images/I/412dLyEPV3L._AC_SX522_.jpg
[21:05] <leftyfb> zen_coder: sudo apt install gcc
[21:06] <rdr> c_89: how big is the plug?  is it the same as what we used to see on phones?
[21:06] <c_89> rdr yes 3.5 mm
[21:06] <leftyfb> zen_coder: we can only support ubuntu packages here. If you'd like to use other packages, you'll need to search for and seek support for those elsewhere
[21:08] <Anarchos> leftyfb isn't it sudo systemctl set-default multi-user.target ?
[21:08] <leftyfb> Anarchos: yes, sorry. That is usually implied when using systemctl
[21:08] <oerheks> systemctl set-default graphical.target to go back to GUI
[21:08] <c_89> Uploaded file: https://uploads.kiwiirc.com/files/a92f9fddd6ee353cf04530bf5afe3a83/audio_test_01.wav
[21:09] <c_89> rdr I have this noise problem
[21:09] <rdr> one sec gotta install lua
[21:09] <rdr> you can try lowering the volume, try recording a bit of speaking
[21:10] <rdr> there should be a sweet spot where noise isn't picked up but your speaking is
[21:10] <rdr> some programs have a button you press to speak, others use voice detection
[21:10] <Anarchos> leftyfb thanks, i will try tomorrow. I have a rather old machine, not much ram, so i hope it will starts faster in text mode :)
[21:11] <c_89> rdr I have read some guides that it could be that the microphone is mono but pulseaudio maps it as stereo, but first I would like to verify that the microphone connector and the mic connector of the PC are compatible with each other
[21:11] <rdr> oh, i'm not too sure about it.  I have a similar microphone and have never worried about that
[21:12] <rdr> as long as I can yell at people i'm playing steam games with, it's fine :)
[21:13] <c_89> I know this useful program but I would like to solve the problem at the source: https://github.com/lawl/NoiseTorch
[21:23] <noarb> what's the recommended way to run a script on startup for all users? Should systemd be used over crontab reboot? Trying to make an iptables adjustment for a docker network shim: https://stackoverflow.com/q/44048915
[21:24] <leftyfb> noarb: if it's a set of iptables rules, you can put that script in /etc/networkd-dispatcher/routable.d/
[21:27] <noarb> leftyfb: cool, thanks. just what I was looking for
[21:33] <genii> I think /etc/rc.local still also works
[21:34] <Jeremy31> genii:  might have to enable the systemd service for rc.local
[21:35] <jhutchins> !rclocal
[21:35] <jhutchins> Useless bot.
[21:36] <genii> Jeremy31: It runs all the old sysvinit scripts ( and upstart ones also)
[21:38] <tomreyn> jhutchins: you're welcome to contribute in e.g. #ubuntu-bots
[21:38] <jhutchins> tomreyn: Yeah, I have a list, but I also have a life.
[21:39] <genii> heh
[21:39] <tomreyn> i believe this to also apply to those who contributed so far.
[22:09] <arooni> how do i get just the usb mount points
[22:09] <arooni> i.e. a usb hard drive that i inserted
[22:10] <arooni> mount has a bunch fo details on snaps etc
[22:12] <leftyfb> arooni: try lsblk -o +type -e7
[22:12] <leftyfb> or add in -f if you FSTYPE as well
[22:13] <leftyfb> arooni: try lsblk -o +type -e7 -f
[22:13] <arooni> lsblk is the magic command
[22:13] <arooni> got it all figured out with that;  hleped to remove some of the noise
[22:13] <arooni> thanks!
[22:53] <D_____D> Hi guys
[23:15] <wr> on snap when i get "cannot find signatures with metadata for snap" what can be done?
[23:19] <wr> ok --dangerous option
[23:20] <wr> after i run it i get "error: This revision of snapwas published using classic confinement and thus may perform arbitrary system changes outside of the security sandbox that snaps are usually confined to, which may put your system at risk.", if run on a Debian what could go bad?
[23:21] <leftyfb> wr: what version of ubuntu are you running?
[23:21] <wr> leftyfb, debian this case latest :)
[23:21] <leftyfb> wr: ty #debian or #snappy
[23:22] <wr> leftyfb, but they left only a snap file
[23:22] <sarnold> probably #snappy, I suspect #debian folks won't know as much
[23:22] <wr> leftyfb, sarnold they don't yes
[23:59] <morganu> is there a way I can close chrome "normally" (so it saves the state) and it will open up all the same tabs when restarted?
[23:59] <morganu> 20.04


[15:06] <davmor2> popey: unav looks good chap :)
[15:13] <popey> davmor2: yay! thanks dude
[15:31] <davmor2> popey: no worries


[09:31] -queuebot:#ubuntu-ci-eng- jamespage, https://bileto.ubuntu.com/#/ticket/3010 Diff missing (xenial/pacemaker). Ready to build (zesty/pacemaker)
[10:21] -queuebot:#ubuntu-ci-eng- jamespage, https://bileto.ubuntu.com/#/ticket/3010 Abandoning ticket
[14:56] -queuebot:#ubuntu-ci-eng- cpaelzer, https://bileto.ubuntu.com/#/ticket/3011 No packages are being considered! If you are preparing sources manually, please upload them to the PPA now
[15:31] -queuebot:#ubuntu-ci-eng- cpaelzer, https://bileto.ubuntu.com/#/ticket/3011 Diff missing