/srv/irclogs.ubuntu.com/2022/08/05/#ubuntu.txt

linsuxThe following packages have been kept back:00:57
linsux  python3-distupgrade ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk00:57
linsuxis there a way to fix this00:57
sarnoldlinsux: I think if you ask for one of those specifically with apt install ubuntu-release-upgrader-core00:59
EriC^^linsux: it'll work itself out with time01:00
EriC^^see apt-cache policy <package> for phasing %01:00
=== mattf_ is now known as mattf
=== bmilfo[m] is now known as bmilfo
=== bmilfo is now known as bcm
cryptobuggersarnold> cryptobugger: DEBIAN_FRONTEND=noninteractive ---> where should i type it sarnold ?02:03
cryptobuggerapt-get DEBIAN_FRONTEND=noninteractive02:03
cryptobuggerapt-get DEBIAN_FRONTEND=noninteractive update ?02:03
cryptobuggersomething like this ? i don't have ubuntu box right now just for note.02:04
sarnoldcryptobugger: before the apt-get command; it might even require an 'export' to get it to pass through to the children processes, but people usually don't show that, so I'm not sure.02:07
=== blackest_mamba_ is now known as blackest_mamba
cryptobuggerhmm thank you sarnold02:41
cryptobuggerwill try it02:41
cryptobuggersarnold is there alot of market for ubuntu server02:41
cryptobuggernow i mean02:41
cryptobuggersarnold is there alot of market for ubuntu server . now i mean . seem almalinux is my best choice for now . i heard alot of bug in ubuntu server like apt upgrade crash all apps02:43
cryptobuggerdo we still have some issue like that now ? anyone using ubuntu server here ?02:43
sarnoldcryptobugger: ubuntu is the second most popular linux distribution, behind only android02:44
cryptobuggeri am just going to start some small project but can't decide between almalinux and ubuntu server . just wanted to code all those hardening script first for both and decide which one to choose and see at least the performance .02:44
sarnoldall the other "traditional" linux distros added together don't have as many users as run ubuntu02:44
cryptobugger<sarnold> cryptobugger: ubuntu is the second most popular linux distribution, behind only android ---> yeah i mean not for developer , the server i mean02:45
cryptobuggerubuntu server02:45
cryptobuggerif you don't mind to reveal , do your company used ubuntu instead of redhat ?02:45
cryptobuggeranyone can comment if you happen to be free and looking at this chat02:46
cryptobugger?02:46
sarnoldcryptobugger: I work for canonical, so there's thousands of ubuntu boxes here and afaik no redhat boxes02:46
cryptobuggerah i see no wonder02:46
cryptobuggerdid they really use the server themself sarnold02:46
cryptobuggernvm a silly question anywa02:46
cryptobuggernvm a silly question anyway02:46
sarnoldcryptobugger: yes. thuosands of them.02:46
cryptobuggerthank you sarnold02:47
cryptobuggerthousands ?02:47
cryptobuggerhmmmm02:47
arraybolt3[m]I've been using Ubuntu for years and have never had a problem like an apt upgrade causing mass crashes.02:47
cryptobuggerhang on mind to show me which ubuntu.com about the current server  ?02:47
Psil0[m]1hey guys any performance changes with debian server vs ubuntu lts?02:47
Psil0[m]1what is ubuntu lts adding on top of debian except for packages etc02:47
arraybolt3[m]cryptobugger: With VMs added, that sounds like a reasonable number to me.02:47
cryptobuggerlet me google it too02:47
arraybolt3[m]https://ubuntu.com/download/server <- cryptobugger02:47
cryptobugger<arraybolt3[m]> I've been using Ubuntu for years and have never had a problem like an apt upgrade causing mass crashes. --> server you mean ? or normal day to day ? i am asking like performance too arraybolt3[m] . how many boxes you guy running? is it for infrastructure.02:48
arraybolt3[m]cryptobugger: Server and Desktop are the same OS with different configurations.02:49
cryptobuggeri might suggest to my next company but well all of them in other country is using windows and redhat02:49
cryptobuggerso not much for ubuntu market there02:49
arraybolt3[m]cryptobugger: You can run server software on Desktop, you can install a desktop environment on Server and make it Desktop. So I use Desktop, but it's still going to do the same things as Server.02:49
cryptobuggeroh they are using the same packages too arraybolt3[m] ?02:49
arraybolt3[m]Identical packages.02:49
cryptobuggeri mean not the stable version compare to those redhat or fedora ?02:49
arraybolt3[m]Come again?02:50
cryptobuggeri see02:50
cryptobugger<arraybolt3[m]> Come again? --> i mean , hmm like those for redhat, they choose to test it on centos and fedora before pushing it to production like rhel and those stuff .02:51
cryptobuggerhang on let me read it sarnold02:51
arraybolt3[m]cryptobugger: Ah, I see what you're saying. Ubuntu has something a bit similar but it's all still Ubuntu.02:51
cryptobuggerto be honest, i never even used ubuntu server before02:51
arraybolt3[m]There's three "tiers" in Ubuntu development.02:51
cryptobuggerother than just coding the hardening script and the gnome desktop version02:52
arraybolt3[m]You have the development release, which is unstable, prone to breakage, and is where all the developers throw their experiments to see what happens.02:52
cryptobuggernot even in company that i worked for02:52
arraybolt3[m]Development gradually stabilizes down into an official release, which can be safely use;d in production.02:52
arraybolt3[m]For production releases, there are two types - Standard and LTS.02:52
arraybolt3[m]Standard releases are a bit less stable than LTS, and are supported for nine months.02:52
arraybolt3[m]LTS releases are designed to be rock-solid (like RHEL solid) and are supported for 5 years, or 10 if you purchase Ubuntu Advantage.02:53
arraybolt3[m]So 5 years of free support, and you can buy an additional 5 years of support if you need it.02:53
arraybolt3[m](And if you aren't using your server for commercial use, you can get the extra 5 years of support for free.)02:54
arraybolt3[m]So sorta like how there's Fedora, then CentOS Stream, then RHEL, in Ubuntu, there's Development, Standard, and LTS. They're not quite equivalents, but they're close.02:54
cryptobuggerhmmm02:56
cryptobuggerlook nice arraybolt3[m] , thank you02:56
cryptobuggeri will try it02:56
arraybolt3[m]👍️02:56
cryptobuggerand live it as production in test environment and test it for couple of month02:57
arraybolt3[m]Sounds like a very good idea to me.02:57
cryptobuggeryeah02:58
cryptobuggerhow much is the subs for arraybolt3[m]02:59
cryptobuggersubscription per year02:59
arraybolt3[m]Depends on the hardware, details are here: https://ubuntu.com/advantage02:59
cryptobuggersorry for noob question i just want a quick hack so i don't need to google and searching on the web02:59
cryptobuggeri mean ubuntu web page02:59
cryptobugger<arraybolt3[m]> Depends on the hardware, details are here: https://ubuntu.com/advantage ---> thank you , looking now02:59
arraybolt3[m]No problem, people here know where this stuff is and can grab it.02:59
cryptobuggerhmm 200 buck03:01
cryptobuggercheaper abit from redhat03:01
cryptobuggerdo you use openstack arraybolt3[m] ?03:01
arraybolt3[m]No, since I'm a desktop user, but I do make heavy use of QEMU, KVM, and GNOME Boxes, and can vouch for the fact that virtualization on Ubuntu is solid.03:02
cryptobuggersorry sarnold , the openstack what does it mean by update ? you mean new version of openstack03:02
arraybolt3[m](Also all of Launchpad, Ubuntu's development platform, is built on OpenStack, so it better work good.)03:02
cryptobuggerhttps://ubuntu.com/advantage  in here i mean03:02
cryptobuggeri see arraybolt3[m]03:02
arraybolt3[m]Security updates are critical to keeping systems from getting hacked, however Ubuntu Advantage is not required to get security updates for the 5 years of standard LTS support. It's only necessary if you want the extra 5 years of ESM support.03:03
arraybolt3[m](You may have already known that, but I thought you might have asked a question about it so for what it's worth, there it is.)03:04
jakhey y'all -- I'm having some bluetooth issues. Since an update/restart this morning, hcitool can't find my bluetooth device. The bluetooth service starts successfully, but it finds no adapters03:33
=== cryptobugger is now known as skraito
jakI can still see the device with lsusb -t, but nothing seems to be able to power it on03:34
arraybolt3[m]jak: Can you run "sudo modprobe -r btusb && sudo modprobe btusb" and see if that fixes it?03:34
arraybolt3[m]If not, try booting into an older kernel.03:35
jakarraybolt3[m]: that seems to have done it03:36
arraybolt3[m]\o/03:36
jakthanks so much! quickest fix ever03:36
jakany idea why this particular kernel upgrade caused this to happen?03:36
arraybolt3[m]All that command did was turn the Bluetooth driver off and back on. It's been a lifesaver for me with Bluetooth, so keep it in your back pocket.03:36
jakoh it's in the toolbox now for sure03:36
arraybolt3[m]jak: Maybe it was just a transient error? Otherwise, no clue.03:36
=== blackest_mamba_ is now known as blackest_mamba
cappicard_Good evening, I have an HP dy3037nr notebook running ubuntu 22.04. Lately, it takes a long time for the keyboard to respond.  I'm currently running 5.19.0 kernel. xi8042.reset doesn't seem to help much04:29
=== cappicard_ is now known as dwitt1974
arraybolt3[m]cappicard_: Did this happen immediately after installing the mainline kernel?04:32
=== Probie9687 is now known as Probie968
dwitt1974i was trying to upgrade to the mainline kernel to resolve the problem04:51
arraybolt3[m]Did this problem start occurring after an update, but before you installed the mainline kernel?04:54
dwitt1974before i installed the mainline kernel04:56
=== Probie9680 is now known as Probie968
arraybolt3[m]Hmm. OK, can you try booting into an older kernel? You can do that by shutting down your computer, then turning it on. You'll see the early boot process occur, then the screen will go solid black. The moment the screen goes black, press Esc. Then choose "Advanced options for Ubuntu", then chose the oldest kernel in the list (don't chose an options that says (recovery mode)).04:57
arraybolt3[m](If the Esc key doesn't work, try holding down Shift when the screen goes black instead.)04:58
dwitt1974ok05:00
dwitt1974i'm back in 5.15.0-45 kernel. seems abit better but still takes a while before the keyboard initializes05:06
yukiuptransfer quoto depleted :(05:08
yukiupquota*05:09
yukiupwrong thread :p05:13
yukiupsup guys05:13
Hashis LTS based on debian stable?05:34
snakey_hisshttps://askubuntu.com/questions/701345/is-ubuntu-lts-based-on-debian-unstable-or-testing05:38
=== ooonea_e- is now known as ooonea_eth
Linux^Should I use LVM during installing ubuntu 22.04?06:54
=== ThorDayOfStorm is now known as jiggawatt
murmelLinux^: it's a bit more complex, but in the long run, it's helpful. So i would suggest yes06:55
Linux^So Its more good than just normal partition? Then I should go for it. I am going to use external Harddisks too later via usb. will it help?06:55
Linux^murmel06:57
murmelLinux^: in most use cases for external hdds, it doesn't make much sense as most just create one huge partition06:57
Linux^so I should go for  without LVM?06:57
Linux^btw OS is installed in a SSD not in any external drive06:58
Linux^will be*06:58
murmelLinux^: for a OS install, it makes sense to use it, for external most don't want to bother with it (as there is only 1 partition)06:59
Guest0axcIf you are going for encryption then yes you should use LVM if not then it's not needed06:59
Linux^ok so I am not going to use it06:59
murmelGuest0axc: there are def. way more use cases for LVM than encryption06:59
Guest0axcI'm guessing he's talking just about regular installation for desktop. There's no need in complicating it with lvm imho07:02
murmelGuest0axc: so no reason if you want to increase space for example?07:03
Guest0axcYou don't need lvm to increase space. I don't think so at least.07:03
murmelGuest0axc: yes, but it's way harder07:04
=== NeoFAT32 is now known as d4rk_b0y
=== littlepap is now known as litpap
=== litpap is now known as homma
Guest84i hope i am in the right place to ask this...09:19
Guest84I am trying to install Ledger live to the hdd.  not running it from the APPIMAGE,09:19
Guest84Any guidance is appreciated09:19
leszek65hi09:31
bittinhi09:32
noroto24Bonjour09:32
noroto24Bonjour, j'ai une VM qui hébergé sur un serveur mais je n'arrive pas à configurer la connexion filaire. A chaque configuration que je met, il n'y a pas d'internet. Pouvez-vous m'aider ?09:33
noroto24Hello, I have a VM hosted on a server but I can't configure the wired connection. With each configuration that I put, there is no internet. Can you help me ?09:33
EriC^^!fr | noroto2409:33
ubottunoroto24: Nous sommes desoles mais ce canal est en anglais uniquement. Si vous avez besoin d'aide ou voulez discuter en français, veuillez taper /join #ubuntu-fr ou /join #ubuntu-qc. Merci.09:33
noroto24ok09:33
leszek65I have a question. I am working on a preseed file to auto install ubuntu desktop 22.04. Though no matter what I set for the loalization and keyboard layout I still get asked from ubiquity to set keyboard layout. Am I missing something obvious here? Any tip? https://dpaste.org/Cc5Sf09:33
EriC^^noroto24: there is also #networking09:34
noroto24thanks you09:35
EriC^^no problem09:35
=== beaver is now known as pong
lotuspsychjeleszek65: an idea is trying the non-official cubic, or maybe compare your config https://www.pugetsystems.com/labs/hpc/Note-Auto-Install-Ubuntu-with-Custom-Preseed-ISO-1654/09:53
horse9I think I am an average Ubuntu User. How dangerous is the territory of custom Kernels?10:24
murmelnot high as you can always boot the official one ;) that's one of the reasons to have multiple on your system10:25
ograhorse9, if you only do small customizations on top of the ubuntu source trees, it might be fine ... but note that ubuntu ships quite a few "sauce" patches and that userspace apps have certain expectations towards the selected kernel config options10:30
ograspecifically around security FWIW ...10:30
=== Starmina8798 is now known as Starmina879
murmelis there a way to disable the phased updates to show up in apt list --upgradable? (on 22.04)11:26
ogramurmel, why would you want to hide that info11:27
ogra(it is important info, so you know why certain packages i.e. the ones depending on a phased deb) have been kept back)11:28
murmelogra: idk, I opted out of phased updates. so why do I need that info?11:29
ogramurmel, file a whishlist bug to hide that info for people having opted out ?11:30
murmelogra: right now I get always emails about upgradable packages. well those are not upgradable?11:30
murmelogra: will do thanks11:31
ograemails ?11:31
murmelogra: I will get emails when there are updates on the server11:31
ograah, but thats something you have set up ... not some default feature11:31
murmelyes. i know. but I still get here are 2 packages that need to be upgraded: phyton3-distutil (and the other one) but as I opted out, I can't upgrade except I upgrade them invidually11:32
ogracommenting in https://discourse.ubuntu.com/t/phased-updates-in-apt-in-21-04/20345 might also be a god idea if you want to discussi it before filing a bug11:33
murmelyeah I wouldn't even know against which package :/11:33
ograalp11:33
ograerr11:33
ograapt11:33
lotuspsychjeits a feature of apt, i dont think that will ever be able to change11:34
lotuspsychjea lot of users just like to see whats incoming11:34
ograwell, hiding info accoring to the settings you picked is not unreasonable11:34
ogra+d11:34
lotuspsychjechoice is good, i agree ogra11:35
murmelI hope at least that there is a switch :/11:35
ograwell, the switch you already have should be enough11:42
ograif you opt out of phasing, why would you need to see the phased percentage ...11:42
murmelogra: well, I still see them? even after opting out11:43
ograyes, that is the bug i asked you to file 😉11:44
murmelahh lol xD11:44
murmelsorry misunderstood you11:44
ogramight be a trivial fix to make the display of the string conditional11:45
leszek65lotuspsychje sadly not very helpful as it does not provide any preseed file. Anyone has a preseed file for 22.04 that can auto install the system?11:58
lotuspsychjewhat about this leszek65 https://wiki.ubuntu.com/Enterprise/WorkstationAutoinstallPreseed12:00
tomreynthat's (despite of the pages' title) a debian installer preseed file. current ubuntu releases support autoinstall, a different, but similar, mechanism12:01
tomreynhttps://www.molnar-peter.hu/en/ubuntu-jammy-netinstall-pxe.html12:03
tomreyngeneral autoinstall reference: https://ubuntu.com/server/docs/install/autoinstall12:05
tomreynsee also the section on community.ubuntu.com for more hints + examples.12:05
tomreynleszek65: ^12:06
leszek65tomreyn I thought this autoinstall is only used for servers. I am trying to auto install a ubuntu-desktop ISO12:12
dob1why updating to 22.04 it removes python3 virtualevn ?12:14
dob1*removed12:14
tomreynleszek65: you're right, sorry, classic d-i preseeding is still in use on desktops until the new installer will be rolled out.12:17
tomreynleszek65: you can already use the server installer to install a desktop using autoinstall (as described on peter molnar's website), though12:18
tomreyni think this also allows for more variety in partitioning and some other aspects. but documentation needs yet to mature.12:20
leszek65Yeah. Nope. I have a modified filesystem.squashfs that I want to install automatically so I need to use the desktop ISO12:21
leszek65Its weird that it always shows the keyboard configuration dialog instead of taking the configuration I gave.12:21
swoncenHello, I have Ubuntu 22.04 installed and the dock with icons on the bottom. I would like to have an icon for each instance of an application, not just the dots underneath the program icons. How can I do this?12:24
ogratheer might be an extension to do that12:25
maumhello12:35
maumCan grep command search string in multiple excel files?12:35
swoncenAn extension? Can't this be done in gnome tweak or so?12:37
swoncendconf editor?12:38
ograperhaps12:39
ogranot sure if the ubuntu panel includes all options from dash-to-panel nwadays12:40
ogra*nowadays12:40
swoncenWhats the easiest thing to get the Cinnamon style dock?12:44
swoncenInstall cinnamon? *g*12:45
swoncenIF I install cinnamon: will there be conflicts with gnome?12:45
jonvonbmaum: easy enough. For files named file1, file2, file3, etc, type cat file* | grep string12:45
maumI like to search string in all excel xlsx files in sub directory12:46
cbreakxlsx is compressed12:47
jonvonbok, then grep file* string.12:47
maumgrep *.xlsx string ?12:48
cbreakyou probably have to use something like "xlsx2csv" or similar12:48
maumwhat is the easy way to search string and get the rows in multiple excel files?12:48
cbreakand that's obviously a lossy conversion12:49
cbreakmaum: apt install xlsx2csv12:50
cbreakthen run it on your files12:50
cbreakand grep the output12:50
jonvonbYou should look into powershell for this task. Much more suited to the task I would think12:53
maumI have multiple excel files in sub directories12:54
maumdo I need to convert xlsx into csv one by one?12:54
maumit is inconvienience way.12:55
jonvonbDo a search for "powershell excel string search" and you will find plenty of examples how to do this12:56
jonvonbAlternatively, python has a package called xlrd that makes it easy12:59
BluesKajHi all13:09
leszek65So I managed to fix my preseed.cfg. It is not showing the keyboard chooser anymore: https://dpaste.org/dvu7m13:29
leszek65Now the only thing I need to get rid of is the screen that allows me to choose standard install or minimal install. Anyone any clue how to skip this dialog via preseed.cfg?13:29
xxI get this error when running `apt update` https://0x0.st/oe3G.txt13:35
xxany idea how I could find out if the reasoning in it is true?13:35
xxI've never seen this error before13:35
tomreynxx: try again later, as the message suggests, a mirror sync may be in progress. if the error persists after two hours, you may want to report this in #canonical-sysadmin13:39
xxthanks13:39
xxI somehow expected mirror syncs to be atomic13:39
ravagethey usually are13:40
xxlike, one snapshot is visible until the sync is done, at which point the snapshot starts pointing at the new version13:40
ravagenot in that way13:40
xxwell in some similar way13:40
ravagebut the new package metadata are pushed after the actual filesync13:40
ravagein a 2nd rsync.13:40
ravagebut i have no idea how that server is managed. its an internal system and not an archive mirror13:41
=== isnessness is now known as ugjka
tomreynxx: there could also be a transient proxy on your end causing this. but usually we'd see the hostname resolve to a different ip address then for you, but yours resolves to that of the live servers (but it could be re-routed).13:59
xxno idea, all other repos for all other systems work fine over here13:59
xxif ubuntu used https for its repos, it would be easier to know that there's nothing in the middle messing with it14:00
tomreynthe file downloaded from http://ddebs.ubuntu.com/dists/focal-updates/main/binary-amd64/Packages.gz is also 579759 bytes long for me.14:00
xxI'll give it time and see if it magically fixes itself in a few hours14:02
g3poandlslDo jobs scheduled with `at` run at the next available time if the system is offline (powered off or suspended)?14:28
leftyfbg3poandlsl: yes. They do not run on boot because they missed the last schedule14:30
leftyfbyes, as in, they run at the next available schedule time14:30
leftyfbif it's set to go off at 3pm, it'll run on the next 3pm it sees14:30
g3poandlslleftyfb, thanks!14:31
leftyfbput simply, there is no queuing14:31
=== thegodsquirrel is now known as thegodleaf
dakotakaeIs there anyway to downgrade network-manager in Jammy?15:12
leftyfbdakotakae: why do you want to do that?15:12
dakotakae1.36.x broke a lot of VPN connections, I need to get back down to 1.34.x15:12
leftyfbdakotakae: the quick answer is no, there is no 1.34.x versions of NM available in ubuntu 20.0415:13
leftyfbdakotakae: can you define "broke"?15:13
dakotakaeWireguard connections, in particular, no longer work through Network Manager. Attempting to connect to a Wireguard configuration gives an error saying it could not fetch VPN gateway, then fails saying a valid IPv4 configuration was not received.15:14
dakotakaeThis means managing wireguard connections can only be done with wg-quick at the moment, which is a lot less convenient than it was in Focal.15:15
leftyfbdakotakae: did you try to troubleshoot here with someone familiar with this or did you file a bug?15:15
dakotakaeBugs have been filed already, it's a well known issue.15:16
ravagedo you have a link to your bug report or the bug you marked yourself as affected to?15:17
dakotakaeHere is the issue on the NetworkManager repo: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/93815:18
ubottuIssue 938 in NetworkManager/NetworkManager "Wireguard issue" [Opened]15:18
ravagefile a bug at launchpad15:18
tomreyn!bug15:19
ubottuIf you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.15:19
ravagewaiting for an upstream fix to reach ubuntu can take years15:19
ravagebut a ling to that bug on gitlab is a good idea of course15:20
tomreyna link, too15:21
ravage:)15:21
ravageit also says that NM should support wireguard natively and the bug is in the plugin15:22
ravagecan you confirm that? do you use that plugin?15:22
tomreynunfortunaterly it's not clear from this upstream bug report whether or not the NetworkManager-wireguard plugin is what causes the users' issue, and whether it is still present when they don't use this plugin, but use the native support in NM15:22
dakotakaeGot it, thanks all!15:22
tomreyndakotakae: could you be more specific, don't keep us dumb and leave, please.15:23
tomreyni type too slow15:23
ravagethere was no real interest in getting this fixed anyway15:24
tomreynapparently not. :/15:25
lantech19446I'm pretty sure I know the answer to this but is there a way to back off of the development branch I didn't even know i was upgrading to it15:34
tomreynyes, you already know the answer15:35
lantech19446oi guess i'm reinstalling, everything works except sound and none of the usual fixes are working15:35
node1It looks i'm unable to do chroot into boot partition. Any reason why i'm not able to do that https://pastebin.com/raw/1huWZM35 ?15:40
ravagebecause there is no system on an EFI partition15:41
Dan39why would you be trying to chroot into the boot partition? what are you actually trying to accomplish?15:41
node1Dan39 It looks i have broekn by grub i'm always been redirtected to grub rescue mode.15:43
tomreyncan you re-read what you just typed and then rephrase it, so that someone not in front of your computer can understand what the problem or task you're trying to solve is?15:45
leftyfbnode1: you want to mount the boot over your actual OS partition and choot into the OS partition15:45
tomreynthere does not seem to be a /boot file system + partition on this disk15:47
tomreyn(unless it's in LVM or similar on sda5)15:48
node1ok15:48
xxI still have the same problem with http://ddebs.ubuntu.com/dists/focal-updates/main/binary-amd64/Packages.gz16:04
tomreynxx: what was said earlier still applies16:08
ioriayeah, looks like there's a 'Packages.gz.new '16:12
jaydemirneed pulseaudio help. Trying to run mpv from cron. Audio works when run manually, doesnt work when run from crontab. I tried the XDG command $ XDG_RUNTIME_DIR=/run/user/100- && ./home/user/mpv.sh  BUT it STILL isnt working. What gives16:42
jaydemir^ 1000* not 100-16:42
oerhekswhat is in ./home/user/mpv.sh  ?16:44
jaydemirflatpak run io.mpv.Mpv http://...m3u8 (it's a stream)16:44
jaydemircommand runs just fine manually16:44
jaydemirif I run the script as the user I'm logged into it works fine16:45
jaydemirBUT if I run from root or cron I get NO sound at all16:45
jaydemirliterally every search result says run the XDG... command but its not working for me16:45
leftyfbjaydemir: is the cron job just to start this on boot?16:46
jaydemirno this machine is always on16:46
jaydemirits supposed to be a mounted TV setup16:46
jaydemirif I have to run the script on boot some way I can set a cron job to reboot that wouldnt be the end of the world16:47
oerheksuse full path in your script?/usr/bin/mpv16:47
oerheksoh flatpak16:47
jaydemiryeah its 21.10 I cant be arsed to do a full reinstall but the repos are shut down so I had to get it via flathub16:47
jaydemireither way it works just fine running it as the user16:47
jaydemirits only when I try to automate it that it doesnt16:48
jaydemirlike it 'runs' as in it plays the video I just get no sound16:48
oerheksso you are asking about flatpak problems in an EOL ubuntu?16:49
oerheksupgrade please16:49
jaydemirits a pulseaudio issue16:49
murmeljaydemir: did you make sure that pulse runs? as it's a user systemd unit16:49
leftyfb!eolupgrade | jaydemir16:49
ubottujaydemir: End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades16:49
oerheksno use finding out what the issue is..16:50
jaydemirPULSE IS RUNNING I already said it works from the user16:50
oerheksmeanwhile a lot of updates came by ..16:50
jaydemirand it wouldnt matter if it was Ubuntu 22, 24 or 8, its a pulse issue16:50
rfmjaydemir,  surely that should be "export XDG_RUNTIME_DIR=/run/user/1000 && ./home/user/mpv.sh" ? As written it just sets a shell parameter which couldn't affect the mpv.sh execution at all16:50
jaydemirall I'm trying to do is run the audio through a hardware device from another user16:50
jaydemirrfm now we're getting somewhere. Why wouldnt it affect it16:51
jaydemirwait let me try export16:51
jaydemir-.-16:53
jaydemirliterally NONE of the results mentioned export16:53
jaydemirbut to be fair I should have known that. Thanks rfm16:53
=== blackest_mamba_ is now known as blackest_mamba
thegrubseekerHello all. As name implies, I have issues accessing GRUB on boot in order to choose different kernel from the advanced options. I tried holding/spamming ESC, SHIFT, etc. and I've also added a longer timeout to /etc/grub/default as well as grub-update16:56
thegrubseeker22.04 here16:56
leftyfbthegrubseeker: you could also uninstall the later kernel and reboot16:56
thegrubseekerI could and I might have to resort to that16:57
thegrubseekerjust curious why grub isnt showing up at all16:57
jhutchinsthegrubseeker: Did you run update-grub after changing the file?16:57
thegrubseekeryes16:57
thegrubseekercould it be related to Secure Boot or Legacy Support settings in BIOS?16:58
jhutchinsthegrubseeker: One would expect those to prevent booting, not prevent the menu from showing.16:58
hggdhthegrubseeker: on Ubuntu, GRUB settings are on /etc/default/gurb *AND* on /etc/default/grub.d/* Entries on ./grub.d/ override entries on /etc/default/grub16:59
hggdhso if you changed /etc/default/grub, it may be you did not actually change all you thought17:00
thegrubseekergood call, will check .d17:00
thegrubseekerHmm seems no relevant option there, just a GRUB_THEME setting17:03
pjw_channels17:11
pjw_\list channels17:11
leftyfbpjw_: for help with IRC, please   /join #libera17:12
jhutchinsDo Ubuntu irc clients still ship pre-configured for #ubuntu?17:17
oerheksjhutchins, pre configured for Libera, sure17:17
oerheksas in; available from the list17:18
jhutchinsFor a while one of the clients was pre-configured for freenode#debian.17:18
oerheksindeed, but the update followed soon17:18
thegrubseekerim gonna try grub-boot-repair17:42
thegrubseekermaybe something broke while upgrading to 22.0417:42
thegrubseekerthough each time i changed OS (ubuntu to lubuntu to mate etc.) its been a fresh install with disk format17:42
thegrubseekerso not sure why grub wouldnt also have installed fresh17:43
dob1a bit OT, why ubuntu in upgrade to 22.04 removed virtualenv package? it is going to be deprecated?17:51
leftyfb!info virtualenv17:52
ubottuvirtualenv (20.13.0+ds-2, jammy): Python virtual environment creator (Dependency package). In component universe, is optional. Built by python-virtualenv. Size 2 kB / 30 kB17:52
leftyfbit's not removed17:52
dob1it was removed during the upghrade17:53
leftyfbdob1: did you install it from a ppa or other 3rd party source?17:54
dob1leftyfb: no for sure17:54
leftyfbwas it originally installed as a dependency for another package?17:55
dob1leftyfb: via apt, I haven't any ppa configured17:55
dob1it was installed by me17:55
dob1but during the upgrade it kept venv17:55
tomreynit probably logged why it did so, you can inspect those logs in /var/log/release-upgrades (path might be similar)17:55
leftyfbdob1: I can't tell you why it was removed as part of your upgrade ( what version were you on before?). But you can just reinstall it17:56
dob1leftyfb: I can install, it was strange that I was trying to do   python3 -m virtualenv   and virtualenv was not there17:56
tomreynthegrubseeker: if you use grub-reboot to set an invalid menu entry, i think this should bring up the grub menu.18:00
tomreynread its --help output, though18:00
tomreynalso "full screen logo" boot, fastboot, secure boot could prevent it, i imagine. and last but not least, the way grub is meant to be used has changed in 22.04 (IIRC) in that it should only be used to boot ubuntu, but not to switch between multiboot options (different OS) in UEFI boot mode - use the 'bios' provided uefi boot chooser for that18:04
=== Scotty_Trees2 is now known as Scotty_Trees
DynamiteDangreetings. Can I shrink an LVM2 container?18:43
=== darkowlzz6 is now known as darkowlzz
DynamiteDanpvresize --setphysicalvolumesize <size> /dev/???18:52
DynamiteDanfound :)18:52
manwhowouldbekinGreetings, all. I have an issue with my Anne Pro 2 keyboard on Ubuntu. They keyboard works at the UEFI screen, but goes dark at the login screen. I always end up needing to unplug the cable to get it working again. Any idea on troubleshooting this? I describe the issue and troubleshooting here: https://www.reddit.com/r/AnnePro/comments/wfzjiv/anne_pro_2_stops_working_at_ubuntu_login_screen/19:08
=== bahamat_ is now known as bahamat
sarnoldJubes9: any chance you can fix your connection?19:45
=== blackest_mamba_ is now known as blackest_mamba
webchat12Hi friends. I have a ThinkPad T14 running Ubuntu 22.04, and since (I think) the upgrade to 22.04, the SD card reader no longer does anything when I insert a card. To see the card, I have to reboot with the card inserted. On previous Ubuntu versions, rebooting wasn't necessary. Has anyone seen this problem?20:11
=== blackest_mamba_ is now known as blackest_mamba
webchat12Gotta reboot now but I will check IRC logs later.20:14
=== blackest_mamba_ is now known as blackest_mamba
HashSo I bought an NVMe SSD, and it's supposed to be 1800-2800MB/s or something I think https://www.newegg.com/team-group-mp33-2tb/p/N82E1682033143120:24
HashThe Ubuntu 22.04 OS is on a 128GB 10+ year old SSD20:24
Hashhttps://i.imgur.com/O8NZ59d.png here's the Ubuntu 22 system disk20:25
HashWhat I want to do is to not have to reinstall the OS, and copy my system disk over to a 2TB NVMe SSD20:25
HashFree up the 128GB SSD for some other stuff20:26
HashSystem supports booting from NVMe as boot drive20:26
arraybolt3[m]Hash: First off, I see your EFI partition has an exclamation point next to it, can you find out why?20:26
HashOh?20:26
arraybolt3[m](It might interfere with other stuff if the partition is damaged or some such.)20:26
HashW20:26
HashWARNING!: Unable to read the contents of this file system!20:26
HashBecause of this some operations may be unavailable.20:27
HashThe cause might be a missing software package.20:27
HashThe following list of software packages is required for fat32 file system support:  dosfstools, mtools.20:27
HashOh just missing fat32 file system tools so it can't do stuff20:27
HashI don't think that's a big deal I think, what do you think20:27
HashI also wonder why I have a fat32 oh... efi partition.20:27
arraybolt3[m]Hash: It might be, so I'm just going to have us do something real quick to make sure it's OK.20:27
HashYeah, sure man20:28
arraybolt3[m]Hash: Can you pop open a terminal with Ctrl+Alt+T, and run "sudo mount /dev/sdf1 /mnt"?20:28
HashWhat's up20:28
arraybolt3[m]Hash: Nothing much. Doing some tests on a package I'm fixing in Lubuntu, idling in a ton of IRC rooms and watching stuff happen.20:28
arraybolt3[m]Hash: You doin' OK?20:28
HashYes sir, thanks for asking20:28
HashThinking about adopting some wnpp packages in debian that need work20:29
HashNeed to also fix some bugs in debian-php team20:29
arraybolt3[m]Hash: Cool!20:29
HashBut other than that, homework, and getting this new SSD going20:29
arraybolt3[m]Anything happen after running that mount command?20:29
HashWell, hang on20:29
Hash/dev/sdf1 on /mnt/sdf1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)20:30
arraybolt3[m]Nice. Yeah, this should just be a matter of cloning the whole disk, then messing with the partitions a bit to get all of the new space stuck in /home (or wherever you want it).20:30
arraybolt3[m](I'm mainly worried about that one partition because a 10+ year old SSD sounds like a disk failure waiting to happen.)20:31
HashWell, I check smart fairly regularly.20:31
HashHang on20:31
Hashhttps://i.imgur.com/cjjLkGz.png20:32
HashHere's the smart for the 128gb ssd20:33
Hashactually hangon, copy paste is probably faster on site20:33
sarnoldi wish smart values were remotely documented20:33
sarnoldbut that looks to me like this drive probably needs replacement quick :)20:34
arraybolt3[m]I saw it.20:34
Hashsarnold: yup20:34
HashHence the new ssd purchase! :D20:34
arraybolt3[m]One time I ran an SSD down to it's last 3 or 5 percent of life :O20:34
sarnold\o/20:34
sarnoldarraybolt3[m]: hah nice20:34
HashYeah, I've done that with hdds and bad sectors20:34
arraybolt3[m]Hash: OK, well, let's just clone it and see what happens. We'll find out right quick if something's awry.20:34
arraybolt3[m]Hash: OK, is the new SSD already installed?20:35
HashYou run mhdd on it, mark the sectors, partition around that space give it some padding and disk still lasts a while.20:35
HashYeah, I just have to format it, and install the OS20:35
HashOr copy partitions. I'm on a live system and would have to reboot for some kind of disk copy linux distro20:35
arraybolt3[m]Hash: OK, can you do "lsblk | nc termbin.com 9999" and sent the output?20:35
arraybolt3[m]Hash: I just need to know what the device IDs are so I can show the DD command to run.20:35
HashOh I don't need spoonfeeding!20:36
HashYou're awesome btw20:36
arraybolt3[m]Hash: Though you sound knowledgeable about this stuff, so basically it's just "sudo dd if=/dev/<source disk> of=/dev/<target disk> bs=32M && sync".20:36
HashI just wanted to know if there was a way to do it live, instead of reboot and clonezilla or dd after umount20:36
arraybolt3[m]Hash: Oh... that's a bad idea.20:36
HashOh yeah. :(20:36
HashI figured. I was just hoping against hope!20:36
arraybolt3[m]Hash: You can try to use rsync to clone it, but it could still go wrong.20:36
HashAs the movie line goes20:36
HashMan.20:36
HashSigh.20:37
arraybolt3[m]Hash: If you want to take a try at it, we can partition the drive and then rsync clone.20:37
HashRebooting is such a hassle.20:37
arraybolt3[m]Hash: It might leave some files in an inconsistent state, but it's far better than DD.20:37
HashYeah. Well. You know what20:37
HashI don't actually mind reinstall.20:37
arraybolt3[m]Hash: Well you're gonna have to reboot anyway to get into the new SSD, so it's not going to take that much longer. :)20:37
HashThe only thing I have to do is recompile some plasma after code edit, to work with Xmonad.20:37
HashIn fact, question, about Ubuntu20:37
Hashhttps://github.com/xmonad/xmonad/issues/17420:38
ubottuIssue 174 in xmonad/xmonad "krunner and kickoff windows disappear after first run" [Open]20:38
HashIf I wnated to introduce my patch into Kubuntu packages or ... just make easy for people using Xmonad and KDE20:38
Bashing-omHash: A thought - I once had a happy experience re-installing to a new drive. Using the exact same username and password hey the installer made an exact copy of the install on the original drive to the new target!20:39
HashHow might be the best way to do it? I have been asked becuase some people don't know how to compile debs20:39
arraybolt3[m]Hash: I'll send you some links that will be very helpful (they're what I learned from).20:39
arraybolt3[m]Hash: https://wiki.ubuntu.com/SimpleSbuild20:39
arraybolt3[m]Hash: https://wiki.debian.org/sbuild20:40
HashBuilding packages is trivial20:40
arraybolt3[m]Hash: This sbuild tool is amazing. It's even easier to use than compiling stuff with make, and it makes debs, and it ensures your builds are always in a clean environment, AND it provides debug output for if anything went wrong when you build the debian stuff.20:40
HashHow to introduce them to Ubuntu so people can download a plasma-xmoand-compat package20:40
HashI can maint that.20:40
HashInteresting20:41
xxHash: are you sure you want to use ext4 on fast nvme drive?20:41
Hashxx: what do you suggest?20:41
arraybolt3[m]Hash: Ah. For that, you'll probably want to talk in #ubuntu-devel to get a package sponsor.20:41
HashZFS?20:41
Hashbtr?20:41
xxzfs or btrfs20:41
Hash:)20:41
xxchecksumming is nice20:41
HashI have a zfs mirror20:41
arraybolt3[m]Hash: I don't know the exact procedure for uploading a brand-new package however, lemme look that up...20:41
Hashhttps://termbin.com/3w9m zpool status20:41
arraybolt3[m]Hash: https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages20:42
Hashhttps://termbin.com/gbwx here's the lsblk you wanted, all the disks20:42
arraybolt3[m]Hash: Also https://wiki.ubuntu.com/StableReleaseUpdates may be helpful20:42
arraybolt3[m]Hash: Nice. Are you booted into a live environment so you can clone the disk, or are you doing a new install like you were talking about?20:43
HashUnsure yet20:44
HashI am not in a live env.20:44
HashI could logout my user, login as root, umount /home, make partitions on new disk, copy data, reboot, reinstall... and now I am going to look into zfs on boot20:47
Hashhttps://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/Ubuntu%2022.04%20Root%20on%20ZFS.html I got this link20:48
HashDo you guys use btr/zfs etc. on root?20:51
HashAnd why?20:51
* tarzeau avoids zfs, but likes xfs and btrfs (for live filesystem compression)20:51
HashYeah, I like xfs and used it for years, but now I don't have a UPS20:52
Hashxfs without UPS and power failures = data loss20:52
toddcZFS20:52
jhutchinsWas there an Ubuntu support question buried somewhere in this?20:52
arraybolt3[m]Meh, I'm always an ext4 guy. It just works. I've seen BTRFS go up in flames, sounds like you've seen XFS go up in flames, ZFS is insanely complicated.20:52
arraybolt3[m]jhutchins: Yes, we're trying to figure out how to clone an SSD from one drive to another but now we're discussing how exactly to do it.20:53
Hashhttps://linuxhint.com/btrfs-vs-ext4-filesystems-comparison/ this is good info20:53
HashI'm going to switch to Matrix sometimes20:53
arraybolt3[m]jhutchins: Which filesystem to use, whether to reinstall or clone, how to clone, etc.20:53
tarzeauext4 has fixed inode limits, while btrfs/xfs don't...20:53
* arraybolt3[m] likes Matrix, I'm on Element now20:53
HB[m]It's easier that way, one chat on each monitor. Heh20:54
HB[m]Yes, element.io.20:54
HashI have had the same ~ for 12 years on that ssd I think20:54
jhutchinshttps://clonezilla.org/20:55
HashDo you think I should start a new ~ with brand new config files and copy over what I need... or just carry on with my ~ and copy it to new ssd20:55
arraybolt3[m]Hash: Depends on if you're reinstalling or not. If you are reinstalling, start your config from scratch I'd say. If you're not reinstalling, but cloning, carry the config over. (I'm sure there's a way to carry over the config with a reinstall, but I'm not sure how to make sure it works perfectly.)20:56
HashARGH! So many choices!21:00
HashToo many choices are a bad thing for an indecisive person. :( Same thing as restaurant, have you decided what to order? Nope. give me another 15min.21:01
arraybolt3[m]Hash: LOL I'm like that too.21:01
arraybolt3[m]hash: I'd say, quickest way to get up and running is a clone. Best way is a reinstall. Are you in a hurry or are you happy with taking your time to get everything perfect?21:02
HashI'm trying to think of the least irritable way.21:02
Hash~ is disorganized and blah. Cleaning would take a while, should probably start a new OS and ~ and copy things I need.21:03
HashI'll think on it. Thank you for your advices21:03
HashAlso, lastly, how do you/would you/should I, partition the 2TB NVMe as a system disk21:03
HashI want to use it as a /, /home, and also use it for my virtual machine disks.21:04
arraybolt3[m]Hash: I always put everything in /, other people prefer it differently.21:04
HashI bought it primarily for OS and VMs21:04
HashSee, what's what I'm thinking21:04
HashIf you partition an SSD into smaller partitions, that limits the cell scope21:04
arraybolt3[m]Hash: With everything in / you won't ever discover that you're out of space in one spot and need it somewhere else.21:04
HashThen if you use that a lot, cells in that parition get reused a lot instead of other cells on disk and that causes more wear and tear on the SSD21:05
pavlosmaybe install bare metal Proxmox, then add VMs21:05
arraybolt3[m]Hash: The only time I ever separate out tasks is when multiple physical disks.21:05
HashIf you do just one large partition /, and that then SSD doesn't have to reuse the same physuical cells in the smaller partition, less wear and tear21:05
arraybolt3[m]Hash: Actually that's not true - SSDs have wear leveling to use spots all over the disk no matter where you logically write files.21:05
HashI have 2x proxmox setups already21:05
Hash:D21:05
HashAre you certain?21:05
arraybolt3[m]Hash: Yep.21:05
HashThat ssd can transncend your partition limit to keep wear level evened out across all cells?21:06
HashDouble positive?21:06
arraybolt3[m]https://en.wikipedia.org/wiki/Wear_leveling21:06
arraybolt3[m]It's why "trim" exists in the first place for SSDs. It tells the SSD what blocks are empty so it can do that.21:06
arraybolt3[m]Or at least it's part of the reason.21:06
HashSo I ahve static wear leveling21:07
arraybolt3[m]Your SSD should tell you what kind of wear leveling it has.21:07
Hashyeah, isn't modern OS donig auto trim frequently or soemthing?21:07
arraybolt3[m]I'll look at it real uick...21:07
=== jdrab is now known as anti_pattern
jhutchinsDirect hardware access to storage media has been an illusion since we left RLL and MFM behind.  What you actually see is a software model of the drive presented by the on-board controller.21:08
arraybolt3[m]From the SSD description on Newegg: "MP33 M.2 PCIe Solid State Drive supports S.M.A.R.T function and its built-in smart algorithm management mechanism has functions such as GC (garbage collection) and TRIM command which are able to ensure operation efficiency, **enhance the service life of the solid state drive** and bring it to its maximum performance."21:09
arraybolt3[m]Bet you that "enhance the service life" is wear leveling. So is garbage collection.21:09
HashCool21:09
jhutchinsWhich is why, if errors start leakning through it means it's device failure, not just a bad sector.21:09
Hashsudo nvme smart-log /dev/nvme0n121:10
Hashhttps://termbin.com/6q1t21:10
HashHere's smart for the brand spanking new ssd21:10
HashThere's no FS on it yet21:10
arraybolt3[m]Nice.21:10
arraybolt3[m]Looks like it's actually new to me.21:11
josueakdsa21:14
josueakjhg21:14
=== Starmina8799 is now known as Starmina879
=== realivanjx8 is now known as realivanjx
DynamiteDangreetings. I am trying to compile amule from source but I am a bit lost. Does anyone know where is the last release? I have tried : https://github.com/amule-project/amule.gi22:55
oerheksNo, we have an old version https://launchpad.net/amule/+packages22:56
arraybolt3[m]DynamiteDan: Also, if you do want to build from source, https://github.com/amule-project/amule/releases/tag/2.3.322:56
oerheksoh, sounds like it is the same,...22:58
arraybolt3[m]DynamiteDan: Also remember to never run "make install" - just use the software right where it is after the build, or use checkinstall.22:58
oerheksno need to build then, on 22.0422:58
DynamiteDanwell23:03
DynamiteDanI would like to try some patches23:03
DynamiteDanso I am interested in building from source23:04
oerheksuse the ubuntu source to start with?23:04
DynamiteDanoh23:05
DynamiteDanforgot that23:05
* Genesia Use Ubuntu Studio :)23:05
DynamiteDanI remmember there was a way to recompile ubuntu23:07
DynamiteDanbut for some reason I can't find what I need23:07
sarnoldapt-get source <package name> ; apt-get build-dep <source package name> ; apt-get install build-essential ; do whatever needs doing :) ; I think dpkg-buildpackage -b   or something like that next; I use some very advanced machinery instead, but it's a pain to set it up for one package here or there23:08
arraybolt3[m]Or use sbuild :)23:08
arraybolt3[m]https://wiki.ubuntu.com/SimpleSbuild23:09
Genesiaproblem me no watch userlist on IRC23:09
arraybolt3[m]Somewhat easy to set up, easier even than make and make install to use, no need to clutter the system with build dependencies.23:09
arraybolt3[m]And doesn't have the problems of "make install".23:09
oerheksthere is a good !build factoid23:10
oerheksbut simplebuild surely is helpfull for a single package23:10
DynamiteDanit is compiling23:14
DynamiteDanthanks :)23:14
DynamiteDanI need to install a build setup23:15
DynamiteDanI am more of a devops guys really23:15
jrmI'm installing Ubuntu for the first time, but it's hanging at: Running "update-grub"...  I've searched for this issue, but nothing obvious stands out.  I tried switching to the second virtual terminal, but the login that I created during install doesn't work.  Any ideas?23:20
DynamiteDanit takes a long time23:20
DynamiteDandepending on the packages23:21
DynamiteDanwait23:21
DynamiteDanubuntu desktop or server?23:21
DynamiteDanis  your machine UEFI?23:23
tomreynjrm: i think these questions are to you ^23:24
jrmDynamiteDan: desktop and it does support UEFI.  It's a Lenovo T530.23:25
tomreynjrm: the login you created during installation won't apply to the installer system, but to the installed system.23:25
jrmI see.23:25
DynamiteDanhmm23:25
DynamiteDanwell23:25
jrmIt's been at least 3 hours I would say.23:25
DynamiteDanif you don't let the setup complete23:25
DynamiteDanusers will not be created23:25
DynamiteDanand upgrade grub is essencial to setup the boot loader23:25
tomreynjrm: does this system match the minimum system requirements?23:26
jrmIt was going quickly for a time, then just stopped making progress.  The console doesn't seem to be showing much.23:26
jrmtomreyn: Yes, easily.23:26
tomreynjrm: which version are you installing? did you hit escape to skip the iso check on boot?23:28
jrm22.04.  No, I didn't hit escape to skip anything.23:28
tomreynby "iso check" i actually mean the internal self-test. ok.23:28
jrmIt seems fairly clear that something has hung.  I'm installing on a second SSD in the system.  The other disk has FreeBSD.23:29
tomreyncan you bring up a terminal by running ctrl-alt-t and run "dmesg" there?23:29
jrmI see something similar reported for 18.04 here: https://unix.stackexchange.com/questions/511289/ubuntu-18-04-server-installation-gets-stuck-at-66-while-runningupdate-grub23:29
jrmOh, the terminal is helpful.23:29
oerheksso what is managing the bootloader,..23:30
jrmoerheks: There is a FreeBSD bootloader on the other disk.  I was hoping Ubuntu would just install a bootloader in the disk it's installing to and I would choosing which disk to boot from each time.23:30
oerheksIs this UEFI or legacy bios?23:32
tomreynit'll depend on how you installed. did you boot the installer in uefi or (legacy) BIOS mode23:32
tomreynecho -n 'This system booted via: '; [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS23:32
jrmsys/firmware/efi exists, so apparently uefi23:34
jrmNothing obvious in dmesg.23:34
tomreynand which mode does your freebsd installation boot in?23:34
jrmI /think/ UEFI, but I don't recall.  I installed FreeBSD there long ago and haven't used this system often.23:35
tomreynhttps://wiki.freebsd.org/UEFI says "FreeBSD can boot using UEFI on the amd64 and arm64 platforms since FreeBSD 10.1 (r264095). More information is available in uefi(8). Like loader(8), the UEFI loader loader.efi supports booting from GPT UFS and ZFS filesystems and supports GELI in the loader. "23:36
tomreynthe instructions there seem to suggest to install the uefi boot loader for freebsd on the EFI system partition at /EFI/BOOT/BOOTX64.efi - that's not a good place if you multi-boot23:38
jrmOh, FreeBSD certainly can boot uefi.  The system that I'm typing from now is FreeBSD booting via UEFI.  Perhaps I can check the partitions form the terminal.23:38
jrmBut that's on the other disk.23:38
tomreynthe ubuntu desktop installer, booted in uefi mode, would install its boot loader on the first existing ESP it finds.23:39
tomreyn(even if you selected something else in manual partitioning)23:40
jrmI see. sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL tells me that the FreeBSD system is booting via legacy BIOS.23:40
tomreynbug 139637923:41
ubottuBug 1396379 in ubiquity (Ubuntu) "installer uses first EFI system partition found even when directed otherwise" [High, Confirmed] https://launchpad.net/bugs/139637923:41
tomreynif you want to multi boot, you should boot all OSes using the same method, otherwise you'll have to keep switching things around in the bios setup UI everytime you want to switch23:42
cbreakthere are ways around this23:43
oerheksfastboot enabled would cause this issue too.23:43
jrmWell, I'm not actually certain it's booting via legacy BIOS.  It says sda -> sda1 512K, sda2 2G, sda3 147G.  I can't see the partitions types other than the sda3, which is says is zfs_member.23:43
cbreakfor example, you can use refind to chose to boot windows with the windows bootloader23:43
oerheksbut naming is here more in place, good spot.23:43
cbreakubuntu with the zbm23:43
cbreakor MacOS with OpenCore23:43
tomreyn512K or 512M?23:43
jrmtomreyn: I'd prefer to select the boot device on each boot.23:44
tomreynjrm: but do you prefer to have to switch the boot *mode* (not just the target) everytime you boot? (though, as cbreak suggests, there may be workarounds to that)23:45
tomreynjrm: 512 KB seems very small for sda1, i was wondering whether it's actually 512 MB - then it could be an efi system partition.23:47
jrmtomreyn: Yeah, it's probably free space for alignment.23:48
jrmIt's definitely 512 KB.23:48
oerheksSize: minimum 100Mib. 200MiB recommended.23:48
tomreyni see. then i guess you don't have an ESP23:49
tomreynwhich would mean freebsd would be booting in legacy mode indeed23:50

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