/srv/irclogs.ubuntu.com/2022/09/08/#kubuntu.txt

IrcsomeBot<Omar> Swap04:04
=== guiverc2 is now known as guiverc
IrcsomeBot<ciacnorris> OEDU08:07
IrcsomeBot<ciacnorris> Hello everybody!08:09
IrcsomeBot<ciacnorris> Just a simple question: is the 22.04 upgrade path available for Kubuntu 20.04 users yet?08:09
arraybolt3@ciacnorris: Yes! It's just not being displayed since the app that would usually let you know that it was time you could upgrade isn't included in Kubuntu, if I'm understanding correctly.08:10
arraybolt3@ciacnorris: You should be able to simply use "do-release-upgrade" to upgrade your system. I'd highly recommend backing up all your data first in case anything goes wrong.08:10
arraybolt3(You might also use "do-release-upgrade --allow-third-party" if you use PPAs or third-party repos.)08:11
arraybolt3(Er, not also, but use the second one instead of the first one if you use PPAs or third-party repos.)08:11
IrcsomeBot<ciacnorris> Thanks for the info @arraybolt3 ! (re @IrcsomeBot: <arraybolt3> @ciacnorris: Yes! It's just not being displayed since the app that would usually let you know that it was time you could upgrade isn't included in Kubuntu, if I'm understanding correctly.)08:35
scrafHi. Is Ubiquity still the installer for kubuntu or was there a switch to calamares?11:29
IrcsomeBot<rs2009> Ubiquity's still used by Kubuntu, just with a QT frontend which looks really similar to calamares (re @IrcsomeBot: <scraf> Hi. Is Ubiquity still the installer for kubuntu or was there a switch to calamares?)11:47
BluesKajHi all12:55
vaiohow are you?15:00
IrcsomeBot<Lisa> Hi, I want to chat.15:57
IrcsomeBot<Omar> How to make my swap file 8 gb16:24
mparilloIn Kubuntu you can install with a swap partition. You could create a swap file following these directions: https://wiki.archlinux.org/title/Swap#Manually17:18
mparilloIf you have both a swap partition and a swap file, you can have them both in /etc/fstab and you can prioritize them.17:19
IrcsomeBot<Omar> Swap file and swap partition are not the same? (re @IrcsomeBot: <mparillo> If you have both a swap partition and a swap file, you can have them both in /etc/fstab and you can prioritize them.)17:56
IrcsomeBot<ykruH> you can have a file on some existing partition formatted as ext4 for example, and/or have a dedicated partition for swap17:58
oerheks!swap18:47
ubottuswap is used to move unused programs and data out of main memory to make your system faster. It can also be used as extra memory if you don't have enough. See https://help.ubuntu.com/community/SwapFaq for more info18:47
MonteiroThe Kubuntu 20.4.4 LTS ends the time in April of 200319:02
Monteirothe updates of packages will be closed ?19:02
MonteiroFor example install of WINE and PlayOnlinux19:02
oerheksNo, you will go over to 20.04.519:03
oerhekswhich is, already here19:03
Monteiroi am playing ... testing STEAM for Windows in Kubuntu19:03
Monteirowith a WINE sandbox19:03
Monteirothanks19:04
=== cory_ is now known as Elephantman
=== Elephantman is now known as cory_
IrcsomeBot<christophelabrie> Hello ! I have a problem. I use KDE Global Menu, but I need to launch a Qt6 app (OBS form PPA version). But I don't have menubar displayed. I have try to lot of solution, KDE_NO_GLOBAL_MENU=1, UBUNTU_MENUPROXY=none, ... But launch without menubar. Do you have any idea? : https://irc-attachments.kde.org/519c5287/file_59711.jpg19:48
rbnswartzGood afternoon I have an unbootable system after a 5.15-46 kernel upgrade, any tips on how to recover it outside of reinstall?20:14
=== arraybolt3_ is now known as arraybolt3
arraybolt3rbnswartz: Boot into the older kernel.20:18
arraybolt3Uh... I think there's a bot factoid that will link to the page on how to do that...20:19
arraybolt3Hold on, lemme find it...20:19
rbnswartzarraybolt3 Don't have an older kernel, -47 has come out and replaced the only other working kernel I had20:19
arraybolt3rbnswartz: Oh crummy. Uh... can you boot into recovery mode on either kernel?20:20
rbnswartzCan't boot into recovery on either of them20:20
rbnswartzkernel just panics20:20
arraybolt3rbnswartz: Can you take a picture of the kernel panic error?20:20
arraybolt3(Sometimes they can be solved without too much fuss.)20:20
rbnswartzarraybolt3 had to take a picture off of my phone for that https://photos.app.goo.gl/K7C1AwKMDRroiWAV720:23
arraybolt3rbnswartz: Yep, that is *exactly* the error I was hoping to see. This fix should be easy, and you won't even have to downgrade the kernel if it works right.20:24
arraybolt3rbnswartz: Do you have a live USB you can boot from?20:24
rbnswartzI can rummage one together20:24
rbnswartzarraybolt3 I got one made and booted20:35
rbnswartzarraybolt3[m] I got one created what do I do next20:50
arraybolt3_rbnswartz: OK I'm back, thanks for your patience.21:22
arraybolt3_rbnswartz: Alright, can you open the internal drive of your computer from within the live environment?21:22
=== arraybolt3_ is now known as arraybolt3
rbnswartzyup21:29
rbnswartzI can arraybolt321:30
arraybolt3(One moment, slightly tied up, I'll be right back.)21:31
=== denis is now known as Guest5779
arraybolt3rbnswartz: OK, here I am.22:13
arraybolt3rbnswartz: Alright, open your main hard drive in your file manager, then right-click in an empty area of the screen and click "Open Terminal" or something similar. Then run "ls boot | nc termbin 9999" and send the link that spits out. That will let me see the contents of your boot folder.22:14
rbnswartzarraybolt3 doesn't work  complains  about getaddrinfo for host termbin port 9999 failure in name resolution22:21
rbnswartzam I missing more of the domain name22:21
arraybolt3:facepalm: Yep, I typoed.22:21
arraybolt3ls boot | nc termbin.com 999922:21
arraybolt3(Sorry about that.)22:21
rbnswartzarraybolt3 https://termbin.com/7xwm22:23
arraybolt3rbnswartz: Hmm. OK, can you do "cat boot/grub/grub.cfg | nc termbin.com 9999"?22:23
arraybolt3rbnswartz: And also "cat etc/initramfs-tools/initramfs.conf | nc termbin.com 9999"22:24
rbnswartzI did try to install an older kernel also but that didn't seem to work but it did get further in the boot and didn't panic22:24
rbnswartzsure22:24
rbnswartzhttps://termbin.com/aoxf22:24
arraybolt3It looks like it's failing to load the initramfs for some reason, so I'm looking for why.22:25
arraybolt3rbnswartz: You don't happen to see an "out of memory" error during very early boot, before the kernel panic, do you?22:25
rbnswartzYes I do22:25
rbnswartzOut of memory hit enter to continue22:25
arraybolt3Got it. Then I'm sure we can fix this. Run "sudo nano etc/initramfs-tools/initramfs.conf". This will open a text editor where we can fix the problem.22:26
arraybolt3Once inside, look for a line that says "MODULES=most", and change it to "MODULES=dep".22:26
arraybolt3Then find "COMPRESS=zstd" and change it to "COMPRESS=xz".22:26
arraybolt3Then press Ctrl+S to save, then Ctrl+X to exit.22:26
arraybolt3Once that's done, the next steps will depend on whether you have disk encryption enabled or not. Did you choose to encrypt your hard drive during installation?22:27
rbnswartzNo I didn't choose to encrypt it22:28
arraybolt3rbnswartz: OK. Did you do all the steps above?22:28
rbnswartzYup22:28
arraybolt3Nice. Next step, run the following commands, in order:22:28
arraybolt3sudo mount --bind /dev dev22:28
arraybolt3sudo mount --bind /dev/pts dev/pts22:28
arraybolt3sudo mount --bind /proc proc22:28
arraybolt3sudo mount --bind /sys sys22:29
arraybolt3sudo chroot .22:29
arraybolt3update-initramfs -c -k all22:29
arraybolt3exit22:29
arraybolt3(Be careful not to make typos - all the little stuff like the presence or absence of a slash or a period is important.)22:29
rbnswartzdone, chroot is such a handy tool22:30
arraybolt3Fantastic. Alright, shut down, take the live USB out, then power it back up and see what happens.22:30
rbnswartzOk, don't need to update then22:31
rbnswartzupdate grub then22:31
arraybolt3Nope, shouldn't need to update grub.22:31
arraybolt3The problem is almost certanly that your initrd files were too big - the steps we just did should shrink them, possibly drastically.22:31
arraybolt3If all goes as planned, your system should boot up like normal and you can pick up where you left off.22:32
rbnswartzYup, that totally resolved it, and you answered my next question which was what went wrong to get into that particular pickle in the first place22:32
arraybolt3\o/ As for why the initrd images are getting so big, or why they aren't working on some systems, I have no clue, but hey, if it works, it works!22:33
rbnswartzI would have never figured this out on my own, I don't know enough about the inner workings of the kernel boot process.22:33
rbnswartzThank you so much, you saved me reinstalling software for 40+ minutes22:33
arraybolt3rbnswartz: Only reason I knew was because it's happened to a couple of other people before. Glad to help!22:33
rbnswartzThanks a million and have a great evening22:34
arraybolt3You too!22:34
mmikowskiarraybolt3: rbnswartz; We got a writeup on recovery that can be helpful.  Ironically, to solve the very same issue: https://kfocus.org/wf/recovery.html#bkm_use_chroot_to23:43
mmikowski*same issue => arraybolt3 and I discussed the initrd issue just yesterday.23:45
wes_hello23:57

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