/srv/irclogs.ubuntu.com/2022/09/11/#ubuntu.txt

RicardusI just tried running Libre Office Calc and it won't run. Anyone else seeing this? This was on a new installation of Ubuntu Studio00:08
tomreynRicardus: what happens when you run it from a terminal window?00:13
Ricardusit gives me a java error or something. Here, let me do it00:13
tomreyn!paste | Ricardus00:13
ubottuRicardus: For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.00:13
Ricardustomreyn: it wasnt a java error. Heres the terminal output: https://dpaste.com/27NDUDS6P00:15
tomreynRicardus: that's a warning, it's possibly a side effect of the underlying issue, which we have not yet determined.00:19
tomreynif you think it can be a problem with your system users' configurations for libeoffice, you can run   lcalc --safe-mode    which will make it start temporarily with a fresh user profile and helps to restore a broken configuration.00:19
Ricardustomreyn: same console errors. If anyone else has any ideas please post them and I will see them in the morning. I need to get home.00:21
tomreynRicardus: make sure you have package default-jre installed. and maybe describe how you installed libreoffice-calc (unless it was installed as part of installing ubuntustudio)00:26
penderdrillwow hello ubuntu00:56
penderdrillirc!!!!00:56
penderdrillis anyone here00:57
penderdrillBRO00:58
penderdrillIS ANYONE HERE00:58
leftyfbpenderdrill: this is a support channel. Do you need help with ubuntu?00:58
penderdrilly6es00:58
penderdrilli forget what the advantage of using a swapfile is00:58
penderdrillisn't is just like00:58
penderdrillextra ram00:58
leftyfbpenderdrill: if you have a modern pc with at least 16gb of member, you don't need swap00:59
penderdrillyeah that's what i thouight00:59
penderdrilli used to have like a 2 ghz cpu00:59
penderdrilland i was running linux mint00:59
penderdrill4 gb of ram or something00:59
penderdrillit was painful man.00:59
penderdrilli was tryna run it for a script01:00
penderdrillbecause i couldnt actually run a virtual machine on my main pc LOL01:00
penderdrilli had like 8 gb of ram and a terrible graphics card01:00
leftyfbpenderdrill: if you'd like to just chat, feel free to /join #ubuntu-offtopic01:01
leftyfbpenderdrill: we try to keep this channel specific to support questions and help01:01
tomreynclarkk: i think i want to partially withdraw the suggestion for zsync i made previously. it is certainly helpful if you have, for example, a copy of the ubuntu 22.04.*0* iso and want to upgrade this to 22.04.1. but i just tried zsync from a 20.04.2 iso to 22.04.1 and this only saved me 1.5% of the download, while calculating what's missing took 21 minutes. So it's probably not useful for *this* use case.01:06
tomreynclarkk: a better streategy may be to install using debootstrap (but that's complicated) or using the server installer (which is a much smaller download - but you would need to download more later)01:11
=== M4he is now known as mahe
=== Scotty_Trees3 is now known as Scotty_Trees
InteloHi02:03
InteloHow can I assign a static ip on ubuntu?02:03
jhutchins!interfaces03:01
jhutchinsSigh.  /etc/network/interfaces still works, it'll cause Network-Manager to ignore it.03:02
=== brassado is now known as sam_sepi0l
mybalzitchor use netplan. it should work wihtout bugging out on just a static ip03:45
Intelomybalzitch I think I missed your first message03:51
Intelomybalzitch I reverted to the old netplan and did apply als well but I still do not get the internet. I do get LAN ip though03:52
mybalzitchthis was just in reply to "how to assign a static ip"03:54
mybalzitchare you setting a default route?03:55
mybalzitchand dns server?03:55
Intelook, how can I revert to workign dhcp?03:55
Intelomybalzitch no I changed my mind. I just want my internet back now03:55
mybalzitchIntelo: restore the backup you made of the netplan config file03:55
mybalzitchhttps://netplan.io/examples03:56
Intelomybalzitch this https://imgur.com/nWKkDNe.png was working before. I made changes, then reverted back. did 'sudo netplan apply'. Now I wonder why I get the ip 192...46 but no interent. I get 'ping google' message as 'Temporary failure in name resolution'. How can I fix this?04:03
Intelomybalzitch how do I fix ?04:06
mybalzitchyou don't have dns configured04:26
mybalzitchtry a sudo systemctl restart systemd-networkd04:27
Intelomybalzitch thakns04:42
RexodusGood morning! What is a replacement for PuTTY SOCKS5? Something that runs as a service, preferably.  What is a replacement for PuTTY SOCKS5? Something that runs as a service, preferably. So I don't need to see the PuTTY-window all day long? I know it's a Windows question but only Linux people use PuTTY, so most Windows users have no clue what I'm talking about.So I don't need to see the PuTTY-window all05:44
Rexodusday long? I know it's a Windows question but only Linux people use PuTTY, so most Windows users have no clue what I'm talking about.05:44
RexodusDunno what happend with this paste. Hope you can read it anyway.05:45
arraybolt3Rexodus: np, I got it.05:48
arraybolt3If you want something that runs on Windows, I'm not sure what would do the trick there. It may be true that most Windows users don't know about this sort of thing, but you might just try #windows to see if tech savvy people there know better.05:49
oerheksjust minimize the window?05:49
tripp4hhi! i ran the command sudo apt-get purge snapd and it deleted half of my programs, is there a way to get them back?05:55
Rexodusoerheks: It burns my eyes to see a application filling my taskbar which I don't use. But you gave me an idea. I can move it to the systemcorner. I know there is software for that. Anyway, thanks all for the answers and sry offtopicness :P05:56
arraybolt3tripp4h: What all programs vanished? Firefox most likely, what else?05:57
oerhekstripp4h, reinstall snapd?05:57
oerhekselse, no05:57
arraybolt3Most likely the programs that vanished were installed as Snaps, and getting rid of snapd would likely also throw your Snap apps out the window (I don't know that for sure, but I'd assume that would happen).05:58
tripp4hi get this error trying to reinstall snapd: Err:1 http://fi.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 snapd amd64 2.51.1+21.0405:58
tripp4h  404  Not Found [IP: 193.166.3.5 80]05:58
oerheksprogramms might stil be there, arraybolt3 ??05:58
arraybolt3Oh no. hirsute? That's an old and EOL release.05:59
oerhekstripp4h, run apt update first05:59
arraybolt3!eolupgrades05:59
ubottuEnd-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/EOLUpgrades05:59
arraybolt3(Back up all your data before trying an upgrade, you may just want to do a clean install of Ubuntu 22.04 after backing up to get your system back into a sane state)05:59
oerheksoh hirsute .. upgrade please05:59
tripp4hi did this apt-get purge snapd because i couldn't update snap-store in software06:08
oerhekstripp4h, that is because hirsuite is EOL.06:08
arraybolt3tripp4h: That's probably because your release went end-of-life. Once a release is no longer supported, updates don't come through anymore (at least for apt, presumably for snap also).06:08
oerheksuse the eolupgrade wiki06:08
arraybolt3The only way to fix an end-of-life release is to upgrade to or install a supported release. Otherwise, problems like inability to update things are normal and to be expected.06:09
arraybolt3If you absolutely have to get back access to your original apps before upgrading, you can *try* to reinstall snapd by changing your /etc/apt/sources.list file to point to the old-releases repo, then you should be able to install snapd. But really, a clean-install would probably be the best idea at this point.06:10
arraybolt3(The eolupgrades wiki page linked to above has instructions on how to switch to the old-releases repo.)06:10
oerheksdo a fresh install, much more fun06:10
tripp4hoerheks: i couldn't update snap-store because the task was always running, tried to kill it a few times.06:14
tripp4hoerheks: i want to save my configuration files and programs. and other files.06:15
scribzHello06:23
tripp4hwhy when i do sudo do-release-upgrade the program cannot find all the files for the update?06:25
oerhekstripp4h, after the old-releases trick?06:26
scribzWhy did it happen to me?06:26
scribzdpkg: error: error executing hook 'if { test "$DPKG_HOOK_ACTION" = add-architecture || test "$DPKG_HOOK_ACTION" = remove-architecture; } && test -x /usr/share/pkg-config-dpkghook; then /usr/share/pkg-config-dpkghook update; fi', exit code 406:26
arraybolt3tripp4h: See https://help.ubuntu.com/community/EOLUpgrades - it explains how to get around that problem. And also, **back up your data before you do this.**06:28
scribzarraybolt3: I know this but06:28
oerheksscribz, on what ubuntu version, and what did you do?06:28
scribzHow the fuck can I see the log06:28
oerheksscribz, oh please, keep teh language in this channel family friendly, thanks06:29
scribzoerheks: 22.04 LTS06:29
tripp4hoerheks: here's a paste of it: https://pastebin.ubuntu.com/p/pKvKW4JZhj/06:29
scribzoerheks: I need to see the logs but when kernel panic happens there is no logs06:30
oerhekstripp4h, pastebin your /etc/apt/sources.list ?06:32
scribzoerheks: how the fuck can i see the fucking logs06:34
arraybolt3scribz: If you've hit a kernel panic, you probably aren't going to be able to see the logs since they won't have been saved to disk. If your system works normally after a reboot, then good. If not, then you should try to boot from a live USB. And if that doesn't work, your hardware may be failing, in which case a RAM test would be the next thing to do.06:35
scribzarraybolt3: I know such fucking simple things06:35
scribzI don't know what happen after upgrading06:35
scribzBut first of all I had "illegal function" then I finalised the upgrade from chroot06:36
arraybolt3scribz: Sorry, that's all the answer I have. This happens every time you try to update? (Also, please, your language is making this painful for the users in this room. I get that this is upsetting and annoying, and I do want to help you fix it.)06:36
oerheks<scribz> pnbeast: Man it is good, but it happens automatically when I was upgrading debian ... please rant over there, thanks06:36
scribzarraybolt3: It happen from nowhere in the past I had problems with some vars in shell (by default)06:37
scribzoerheks: It happen "itself"06:38
arraybolt3scribz: So it just randomly happened and now is gone?06:38
arraybolt3Or is it happening regularly when you try to do something and is still obstructing your work?06:39
scribzFirst I got "illegal fuction" and I think it's due to this ->06:40
scribzUnpacking libc6:amd64 (2.31-13+deb11u4) over (2.31-13+deb11u3) ...06:40
scribzdpkg: error: error executing hook 'if { test "$DPKG_HOOK_ACTION" = add-architecture || test "$DPKG_HOOK_ACTION" = remove-architecture; } && test -x /usr/share/pkg-config-dpkghook; then /usr/share/pkg-config-dpkghook update; fi', exit code 406:40
scribzNow I did the chroot06:40
scribzI'm not a dumb, basically I would have to set up gentoo or even LFS06:41
tripp4hoerheks: here: https://pastebin.ubuntu.com/p/Jpy66dTstB/06:42
scribzBut I want to keep the install because I don't have the internet connection all the time06:42
scribzarraybolt3: ?06:43
arraybolt3tripp4h: There's your problem. You need to change fi.archive.ubuntu.com to old-releases.ubuntu.com all through that file. You can do that by running "sudo nano /etc/apt/sources.list" and then editing the file by hand.06:43
scribzoerheks: ?06:43
scribzarraybolt3: it's so simple to solve my "kernel" errors06:44
oerheksscribz, you are not using ubuntu, so no help06:44
arraybolt3scribz: I still can't understand what's gone wrong. Please explain - are you able to reliably reproduce this issue by doing the same thing again?06:44
arraybolt3scribz: Also, what OS are you using?06:44
scribzoerheks: normally i'd stab you with a knife man, you're really annoying06:44
scribzarraybolt3: debian06:44
oerhekstripp4h, you did that wrong, you need to edit current lines to old-releases..06:45
oerheks!ops06:45
ubottuHelp! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant06:45
arraybolt3!ops | scribz is using highly unacceptable language06:45
ubottuscribz is using highly unacceptable language: Please see above06:45
oerheksnow please leave yourslef, thanks06:45
arraybolt3tripp4h: Apologies for the chaos, if you could wait for a bit while things stabilize, we can get back to helping your upgrade work. (Or if you want, we can keep working through this, but things may be a bit hectic.)06:46
oerhekstripp4h, else you can start over with the original sources.list > /usr/share/doc/apt/examples/sources.list06:47
scribzubottu: because scribz left the jail in Jan of 202206:48
scribztobybl: kurwa slyszysz06:49
scribztripp4h: nie wiem co mi sie zjebalo kurwa06:49
arraybolt3!ops | scribz is continuing to cause trouble06:49
ubottuscribz is continuing to cause trouble: Help! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant06:49
scribzarraybolt3: I'm talking to him in polish06:49
scribztripp4h: co kurwo nie odpisujesz06:49
scribztripp4h: masz szczescie ze jestes za natem kurwo06:50
* scribz is going to left the channel and eat something06:50
scribzbecause I'm mad06:50
=== beaver is now known as pong
clarkkgreat tip, tomreyn . Thank you07:25
oerheks!cookie | tomreyn07:27
ubottutomreyn: Wow! You're such a great helper, you deserve a cookie!07:27
tripp4hoerheks: i got this error: Err http://old-releases.ubuntu.com main Release 404  Not Found [IP: 185.125.190.40 80]07:34
arraybolt3tripp4h: Oy. That's odd. Care to show your /etc/apt/sources.list file again?07:37
oerheksthere is something missing , ' hirsute'  before ' main'  https://askubuntu.com/questions/1340397/how-does-sources-list-for-hirsute-hippo-21-04-looks-like07:47
akram_hey07:51
akram_anybody there ?07:52
oerheks..07:54
=== halvors1 is now known as halvors
varaindemianI have two keys -> one in `apt-key list` and one under `gedit /etc/apt/sources.list.d/slack.list` and I get a warning during `sudo apt update`08:23
varaindemianhttps://www.irccloud.com/pastebin/V7ZFVWmL/08:23
varaindemianthis is the key in the `/etc/apt/sources.list.d/slack.list` -> `deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main`08:24
oerheksvaraindemian,  see this answer https://askubuntu.com/a/1403964/6468308:25
oerheksit needs some steps, as apt key add is depreciated08:25
varaindemianoerheks: so I should delete it08:25
varaindemiandeleted and now I get some other warnings :(08:26
varaindemianhttps://www.irccloud.com/pastebin/mD67eMy6/08:27
Guest89ubuntru08:29
Guest89!08:29
oerheksno, not deleting they key ..08:31
varaindemian`sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6ABDCF64DB9A0B2`08:33
Guest89why not08:34
Guest89ubuntu tealtabbycat08:38
lotuspsychjecan we help you guest89 ?08:39
varaindemianoerheks: that doesn't solve my problem08:39
varaindemianI stil get the same errors after exporing the key08:39
varaindemianapparently there are two separate keys..08:39
varaindemianI keep getting this now:08:44
varaindemianhttps://www.irccloud.com/pastebin/cY023RXM/08:44
oerheksmaybe there is no key ..08:45
varaindemianhttps://quan.hoabinh.vn/blog/2022/5/101-fix-missing-key-issue-for-slack-apt-repo-in-debian-ubuntu08:46
varaindemianwhat about this..08:46
oerhekssame method, i think?08:47
Guest89yea08:47
Guest89ubuntu08:47
oerhekspart one is export, part 2 is [signed-by=/etc/apt/keyrings/something.gpg]08:47
Guest89mtd utils ples08:48
Guest89please08:48
varaindemianoerheks: yeah, but I cannot see that key under `sudo apt-key list`08:48
oerheksvaraindemian, correct.08:48
oerheksit is not in your keyring.08:48
varaindemianoerheks: I see some other Slack key that is in the keyring..08:50
oerheksif that one does not match, no need to remove i guess08:50
lotuspsychje!bg | Guest8909:02
ubottuGuest89: опитайте #ubuntu-bg за български потребители . try #ubuntu-bg for bulgarian users, and please idle there patiently09:02
varaindemianman !bg09:05
Guest89Man !bg09:08
Guest89man !bg09:08
Guest89no chanel09:08
arraybolt3lotuspsychje: ? I think you *may* have triggered the wrong factoid.09:09
lotuspsychjearraybolt3: Guest89 is from bulgaria, has a bit of problems to formulate his question, hence the redirect09:13
lotuspsychjebut seems like the bg channel is empty09:13
arraybolt3lotuspsychje: Ah.09:13
lotuspsychjeGuest89: so if you want volunteers to help you, please elaborate your ubuntu question, see also !details09:14
Guest89bulgaria09:15
Guest89?09:15
clarkkOK, understood, tomreyn - thanks for testing it. It's interesting to know, anyhow. Thanks for your help09:35
=== Furor is now known as Colere
=== arraybolt3_ is now known as arraybolt3
clarkkwhat is a good partitioning scheme for an initial install on a 500GB disk on a system with 16GB? Is  /:250GB  swap: 32GB /home:250GB ok?10:07
clarkkSorry, I mean /home: 218GB10:07
clarkk16GB RAM10:07
respawnclarkk: for swap it goes x2 of te amount of ram10:08
clarkk32GB then?  Got that. What about the rest?10:08
respawnclarkk: you can get that to be done automaticly in the installer10:09
clarkkI understand that. I'd like recommendations tho10:09
arraybolt3clarkk: 2x the amount of RAM used to be recommended for swap, however nowadays 2GB and smaller swapfiles are common. With 16 GB of RAM, you might not even need a swapfile, depending on what you're doing with your system.10:19
arraybolt3Also, you don't need swap to be on a separate partition - a swapfile should work just fine unless you're using a weird filesystem that doesn't support them.10:19
arraybolt3My system's default, out of the box configuration only gave me 1 GB of swap space on a 16 GB RAM system.10:20
arraybolt3(I'm on Ubuntu Desktop 22.04.)10:20
arraybolt3As for your root and home, I would recommend that you not separate out your root and /home partitions - while there may be some benefits to doing so (like the ability to share your /home with multiple different distros), those benefits are minimal, and potentially unsafe to use.10:21
arraybolt3Also, if you run out of space on either /home or /, you're going to end up trying to figure out how to move space to the filled partition. Which could be painful.10:22
arraybolt3clarkk: ^10:22
arraybolt3TL;DR: Just go with the defaults that Ubuntu gives you if you click "Erase disk and install Ubuntu". Assuming you intend on wiping the whole disk and going Ubuntu-only, that is.10:23
clarkkarraybolt3, thanks for your advice. I'll go with that10:27
arraybolt3clarkk: Glad to help! Oh, also, seriously consider enabling disk encryption. If your system gets stolen or physically accessed when powered off, that will keep people out of your data.10:28
arraybolt3Disk encryption should always be enabled on a system except in very specific circumstances. You can access it with the "Advanced options" button after selecting "Erase Disk and install Ubuntu" in the installer.10:29
oerhekswith encryption, always make sure you have a backup of your precious files10:30
=== _miruoy is now known as miruoy
=== _miruoy is now known as miruoy
=== _miruoy is now known as miruoy
saltdyou11:10
lotuspsychjestop that please saltd , this is the ubuntu support channel not meant for random rant11:13
saltdlotuspsychje sorry, forgot about ubuntu11:16
=== Starmina87958510 is now known as Starmina8795851
amdjarraybolt3: I separate out /home from / for one main reason; the ability to reinstall the OS (wiping the / filesystem) without losing the configuration for all of the programs I use. this comes in particularly useful should one commit the unfortunate mistake of attempting to install any kind of nvidia GPU driver.11:49
clarkkamdj, Good point. I've not been able to get to the install part yet, but when I do, I'll probably do that12:00
amdjpretty much everything you configure without superuser privileges (e.g. password prompt), whether it's taskbar layout, desktop background, lock screen user photo, firefox bookmarks or addons, file manager view preferences, etc etc is stored in your home directory. so not having to do that all over again every time you reinstall or clean upgrade is quite nice.12:07
=== solsTiCe9 is now known as solsTiCe
faeton786Привет всем, кто может помочь?12:10
oerheksfaeton786, english only please12:10
oerheks!ru12:10
ubottuПожалуйста наберите /join #ubuntu-ru для получения помощи на русском языке. | Pozhalujsta naberite /join #ubuntu-ru dlya polucheniya pomoshi na russkom yazyke.12:10
faeton786Danila, i need help !12:11
oerheksstate your problem, and ubuntu version ?12:12
clarkkI'm having trouble booting the ubuntu installer. It shows the very first menu of 4 options, and then goes blank/black, and then doesn't do absolutely anything more. Does anyone have any idea how I can find out what is failing?12:12
oerheksclarkk, on what videocard?12:13
oerheksnvidia gives this problem sometimes, see the nomodeset factoid12:13
oerheks!nomodeset12:13
ubottuSystems with certain graphics chipsets may not boot properly out of the box. "Temporarily Add a Kernel Boot Parameter for Testing" as discussed at https://wiki.ubuntu.com/Kernel/KernelBootParameters to add the "nomodeset" parameter there.12:13
clarkkoerheks, MSI Twin FROZR II  N460GTX Hawk, which is a GeForce GTX 460 chipset12:14
oerheksnomodeset might be your fix12:15
faeton786I have Ubuntu 20.04.5 LTS, the problem is that I have fps drops in games, Dota 2 (50-100 fps) and Worlds of Tanks (proton port 20 fps) laptop msi GT72VR video card GTX 1070 mobile. On Windows in Dota 2 I have 120 fps, I looked at the reviews on youtube and for people Dota 2 on Linux is better than on Windows, I don’t understand what my problem is. Sorry for transliteration.12:15
lotuspsychjefaeton786: can you reproduce your issue by changing to a different nvidia driver version?12:17
crush2Is there any power user?12:17
lotuspsychje!ask | crush2 your ubuntu question12:19
ubottucrush2 your ubuntu question: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience12:19
crush2lotuspsychje: I got a kernel panic when I did the upgrade12:19
crush2In other words I can't boot debian I can't even see any log12:19
faeton786Right now I'm using NVIDIA's proprietary driver metapackage 515 software12:19
murmelcrush2: are you on debian or ubuntu?12:20
crush2murmel: I'm not a newbie so debian12:20
amdjcrush2: this is #ubuntu12:20
lotuspsychjefaeton786: ubuntu-drivers list12:20
murmelcrush2: so whay are you in #ubuntu?12:21
crush2It is almost the same distro, I can't join debian because some stupid op set the channel for registered12:21
murmelcrush2: so? register?12:21
crush2Sure I can register my nick on temporary email but wouldn't waste my time on it12:21
murmelI mean you are not a newbie12:21
faeton786nvidia-driver-515, (kernel modules provided by linux-modules-nvidia-515-generic-hwe-20.04)12:21
faeton786nvidia-driver-390, (kernel modules provided by linux-modules-nvidia-390-generic-hwe-20.04)12:21
faeton786nvidia-driver-418-server, (kernel modules provided by linux-modules-nvidia-418-server-generic-hwe-20.04)12:21
faeton786nvidia-driver-470-server, (kernel modules provided by linux-modules-nvidia-470-server-generic-hwe-20.04)12:21
faeton786nvidia-driver-470, (kernel modules provided by linux-modules-nvidia-470-generic-hwe-20.04)12:21
oerhekscrush2, registering is not that expensive, no help here .. see topic12:21
clarkkoerheks, I've booted the install disk. I'm at the menu with the options, "Try or Install Ubuntu", "Ubuntu (safe graphics)", "OEM install (for manufacturers", "Test Memory".  I don't see any way to add the nomodeset parameter. The second option may be the one I need, but does it just run the live disk, or the installer?12:21
amdjclarkk: press e on the option and it should let you edit the boot stanza.12:22
amdjfind the "linux" or "kernel" line and add "nomodeset" to the end.12:22
amdjpress F10 to boot the modified stanza.12:22
clarkkok amdj. What does the second option boot into, out of interest? The live disk or the installer?12:22
amdjI don't actually know, I haven't used that one12:23
amdjI imagine the live session12:23
oerheksat the try ubuntu/live mode, press F6 nomodeset?12:23
lotuspsychjefaeton786: try a 470 and compare your fps, see if you can reproduce12:24
lotuspsychjefaeton786: use a !paste bin next time you want to share several lines to the channel12:26
clarkkoerheks, F6 doesn't seem to do anything12:27
clarkkI pressed e and added nomodeset12:29
clarkkwaiting to see the result now12:29
oerheksamdj, +112:29
faeton786Thanks a lot for the tip! Hugs!12:31
=== OpenSource is now known as UNIX
clarkkSo, I added the nomodeset to the boot line, and it's booted the live disk, not the installer :(12:54
oerheksonce in live mode, the install icon is on your desktop12:54
clarkkoerheks, OK, thanks - I just spotted it. Installing now :)12:55
oerhekshave fun!12:55
clarkkheh12:55
oerheksand you can play a game while installing :-D12:55
Guest9130Hi, I've been searching for a while about how to create a bootable live USB installation with an encrypted persistent storage, but it looks like this isn't so straightforward. I'm willing to invest some time on this, and was wondering about how the live USB boot sequence works. I'm struggling to find technical documentation on this, could anyone13:02
Guest9130please give me some pointers about that?13:02
oerheksthere are guides for persistance, but not encrypted.13:03
Guest9130Yeah, that's the point...13:03
crush2_Guest9130: you can create yourself luks or (?) dm-crypt13:03
Habbieluks uses dm-crypt, so not precisely "or"13:04
Habbieand indeed, the keywords are "luks" and "cryptsetup"13:04
oerheksuse a 2nd usb ?13:04
Guest9130crush2_ Yeh, I've already been running encrypted disk with LUKS for a while now. But now I'm willing to have it done with a live USB, not a system install13:05
crush2_Yeah it's of course possible13:05
Guest9130oerheks or a second partition on the same device, it would have the same effect, but how to set up the live USB system to decrypt the persistence partition, that's the issue13:06
clarkkI've defined how I want my EFI disk. Where should the boot loader go - on /dev/sda, or on /dev/sda1, which is a fat32 partition for EFI, or on the root partition?13:11
clarkkWhen it says bootloader, does it mean grub?13:13
arraybolt3I believe so. I think I remember having had success telling it to put the bootloader on the EFI partition.13:13
clarkkI don't really understand what it means when it says /dev/sda. That's just the device? How does it write files to the device? Surely it would need a partition to do that, like sda1?13:15
Jeremy31grub gets installed to a drive in most cases13:15
clarkkJeremy31, a drive, as opposed to a partition?  Where will the actual files be located (excuse if this is a silly question)13:16
bougymanclarkk: a partition, yes13:16
esvEFI needs to be a partition as it is a VFAT filesystem13:16
tomreynclarkk: with efi, it doesn't matter what you choose for grub's target, or whether you supply one13:17
bougymanit can be in the MBR of a drive or an EFI partition.13:17
bougymanMost installs are using efi today13:17
esvnot sure if you can put  the OS on a vfat one, haven't seen it done ever.13:17
tomreynclarkk: it will just write it to the first esp it finds13:17
clarkkesv, yes, my motherboard supports EFI. I have a blank partition ready for it, formatted in fat3213:18
clarkkI'm going to put the bootloader on the root partition. Does that seem right?13:26
clarkkbecause I want all the grub files there13:26
tomreynthat seems wrong. but as discussed above, if you're providing the device path of the partition containing your root partition to grub-install, it will probably still work since it will likely just ignore it.13:29
tomreynthe boot loader needs to go on the ESP, and there only. but i'm not sure what exactly you are doing there (which commands you are running) to put the boot loader somewhere, anyways.13:31
=== ScR is now known as ScRamble
tomreynif this is the ubuntu desktop installer then the target you choose will be ignored13:32
clarkktomreyn, I'm just hesitant to put files somewhere where I cannot access them. But it does indeed seem that the recommended way is to select the drive, not a partition, for the bootloader13:34
clarkkby, "cannot access them", I mean, cannot look at them, cannot inspect them, etc13:35
clarkkif they're on a partition, then it's more understandable to me, because I can see them there13:35
Jeremy31Most files will be in /boot/grub and /boot/efi13:36
tomreynclarkk: The ESP is, by definition, a FAT32 file system. ubuntu can mount FAT32 file systems.13:36
esvthe grub files can be on their own partition or as a subdirectory of the rootfs, I have systems with both setups.13:36
Jeremy31ESP gets mounted as /boot/efi13:37
clarkkah, that's useful13:37
esvthe EFI files need their own location as stated before MBR or a vfat partition13:37
clarkkok, so I'll choose /dev/sda then?13:37
tomreynchoose, where?13:38
esvwhat's the worst it can happen? need to reinstall again?13:38
clarkkesv, yes, I'm doing this for someone, and need to finish it, and setting everything up by the end of today :D13:38
arraybolt3tomreyn: I think he's probably on the Manual Partitioning screen of Ubuntu Desktop.13:38
clarkkarraybolt3, correct13:38
arraybolt3There's a dropdown menu at the bottom of that screen that says something like "Boot loader location" or some such.13:38
clarkkcorrect arraybolt313:39
tomreynclarkk: so then it's irrelevant what you choose, as explained before13:39
clarkksorry I didn't explain it fully13:39
clarkkok13:39
clarkkthanks13:39
tripp4harraybolt3: here: https://pastebin.ubuntu.com/p/T8gRWGN3hp/14:19
arraybolt3tripp4h: Yikes, that looks somewhat scrambled. One moment, I'll give you a sources.list file you can just drop in place.14:20
arraybolt3tripp4h: https://bpa.st/YMNA14:21
arraybolt3tripp4h: Run "sudo nano /etc/apt/sources.list", then when nano opens, press and hold Ctrl+K until everything is deleted out of the file. Then copy the contents of the pastebin I sent, and paste them into the file with Ctrl+Shift+V (the shift is important). Then press Ctrl+S to save, Ctrl+X to exit, then try a "sudo apt update && sudo apt full-upgrade".14:22
clarkkIt seems like we're up an running :)   Now doing the initial setup. What are everyone's thoughts on livepatch?  With my own systems, I like to manage the updates myself, so I can update at a time that's convenient to me. This system is for someone else, so I'd consider this system working differently. Is there anything that I need to consider?14:28
arraybolt3clarkk: Livepatch is only free for non-commercial use, so the user should be allowed to make that choice for themselves.14:29
clarkkarraybolt3, this is non-commercial14:30
arraybolt3The system will naturally tell you when it needs to restart (at least my Ubuntu Desktop system does), so an occasional reboot should be no problem.14:30
clarkkNo, I want to set up as much as I can.14:30
arraybolt3clarkk: Yeah, but what if they decide to start a small business and use their computer as the main computer for that business?14:30
clarkkarraybolt3, They're retired. Never going to happen14:31
arraybolt3clarkk: Well, at least inform them that it's on, and give them clear instructions for how to turn it off just in case.14:31
clarkkarraybolt3, fine. Are there any negative aspects of it?14:31
clarkkany considerations?14:32
arraybolt3Not that I'm aware of, but I've heard that the free version might give you beta patches or something like that? That's possibly from an unreliable source, so don't take my word for it there. I don't personally know of any downsides other than the licensing, but then again I don't use Livepatch so...14:32
=== kostkon_ is now known as kostkon
clarkkarraybolt3, thanks.  I just clicked the button to set it up, and it wants authentication to Ubuntu One. Not going to do that, so I'll skip14:33
arraybolt3Someone who actually works for Canonical might have the answers you're looking for, like sarnold.14:33
arraybolt3That makes sense.14:33
clarkkarraybolt3, it's ok. The user is fairly PC literate. They can manage the updates14:34
Ricardustomreyn: it was installed with the OS14:40
=== arraybolt3_ is now known as arraybolt3
pycuriousis there a cli tool that can let me define a checkpoint for the system, so that I can go back to precisely that checkpoint with a command? (I am ok with a reboot after that- but any installs/changes to the drive i want to be able to remove)15:12
murmelpycurious: did you use lvm during install?15:13
lotuspsychje!backup | pycurious15:14
ubottupycurious: There are many ways to back your system up. Here's a few: https://help.ubuntu.com/community/BackupYourSystem , https://help.ubuntu.com/community/DuplicityBackupHowto , https://wiki.ubuntu.com/HomeUserBackup , https://help.ubuntu.com/community/MondoMindi - See also !sbackup, !borg, and !cloning15:14
pycuriouslotuspsychje: can i do that on a running system, and then revert?15:15
oerhekshttps://ubuntu.com/tutorials/using-zfs-snapshots-clones#1-overview15:15
pycuriousI only have one drive on that system15:15
oerheksusing zfs means a fresh reinstall, afaik15:15
pycuriousoerheks: isnt there a way in zfp to go back to a snapshot and reboot?15:19
oerhekspycurious, yes15:20
oerheksit is all in that url15:20
oerheksand tons of more sites with explanation, like  https://www.howtogeek.com/devops/how-to-install-and-configure-zfs-on-ubuntu/15:22
tripp4harraybolt3: thanks! i upgraded to version 22.04.1! i lost my opera settings when uninstalling snapd with purge, do you think there's a way to get them back?15:25
oerhekssee if there is a opera folder in ~ /snap/ ? else no.15:27
tripp4hoerheks: i re-installed it at least now there's /snap/opera folder15:29
tripp4hoerheks: other things i should do when i accidently uninstalled snapd? i hope the update restored all the files15:30
arraybolt3tripp4h: Ouch. If you purged snapd, you might have lost stuff permanently, especially if you're reinstalling stuff now.15:31
arraybolt3Make sure any important data that's left in ~/snap/ is backed up elsewhere before you start installing anything else.15:31
arraybolt3tripp4h: ^15:31
oerheksif the snap/opera folder survived upgrading, perhaps the settings are still there15:34
ioriatripp4h, afaik, the upgrade process (even about snapd) does not touch the home directory at all15:48
=== xenial is now known as Guest4058
OpenSorceAsking to ask sucks, I know, but does anyone want to help an old man with a grub annoyance?16:25
HabbieOpenSorce, why not describe the annoyance?16:26
OpenSorceOkay, so I installed Ubuntu along with Windows 10 and everything was fine grub-wise. Then I got the bright idea to put Android in there too (androidx86 project). Android replaced my grub. I got my old menu back with 'sudo grub-install/update-grub' from the Ubuntu install but the android grub is still hiding in there somewhere. I can't set the resolution and if I hit c at the grub menu and then exit out it shows me the android grub menu.16:26
OpenSorceI'm old and not entirely up on UEFI grub yet. Where is this pesky android grub menu hiding and how should I get ride of it?16:26
jhutchins.16:26
OpenSorces /ride/rid16:27
solsTiCeOpenSorce: it's the EFI menu netry. Chechk with efibootmgr. and delete it with it16:28
OpenSorcesolsTiCe, thank you! I knew it was likely something simple.16:29
jhutchinsOpenSorce: This probably isn't a problem, but it struck me that you listed "install" before "update".  That should be the other way around, do update first, then install.16:59
OpenSorcejhutchins, will do. Thanks :-)17:10
OpenSorceSadly, I'm just doing this to get my resolution back :-P17:11
jhutchinsOpenSorce: Once you've run update, the next install will reference updated/current files.17:30
BluesKajHi all17:32
=== kostkon_ is now known as kostkon
saltdall17:46
COEHi, I have a question. I am new to Ubuntu and updated to JJ. I am having issues with my browser Chromium & FF  crashing/freezing forcing me to reboot. Any idea on where I should look to fix this?18:11
ravagefirst check if you use wayland or xorg. wayland can cause problems in general. logout. click your username and them the gear icon. login with an xorg session18:13
COEHere's my system info. I am pretty stuck. Most of the time it works well, like using this webbased irc client. Then it'll randomly freeze. bc@bc-MacBook:~$ neofetch18:14
COEbc@bc-MacBook18:15
COEOS: Ubuntu 22.04.1 LTS x86_6418:15
COEHost: MacBook5,1 1.018:15
COEKernel: 5.15.0-47-generic18:15
COEUptime: 13 mins18:15
tomreynCOE: feel free to share this again, but like this: neofetch | nc termbin.com 999918:18
tomreynthis should return a url you can post here18:18
COE67yeah so I accidentally cycled my computer lol. So the GUI is infact wayland. How can I change this to improve stability18:19
COE67Change to XORG iirc is what was mentioned.18:20
tomreyni wouldn't *generally* expect wayland to cause problems, but maybe ravage knows more than i do.18:20
tomreynyou can logout and, on the login screen, choose "Ubuntu on Xorg"18:21
COE67Well generally speaking it does not. But it will randomly freeze up doing normal things on my hardware for some reason18:21
oerheksHow much memory is in that macbook? standard 2 gb?18:21
COE67no, I have 5gb18:22
tomreynCOE67: you're now assuming that the problems you're seeing are related to wayland, but i doubt you have verified this is the actual cause.18:22
COE67here lemme pull up neofetch18:22
tomreyn!paste | COE6718:22
ubottuCOE67: For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.18:22
COE67That is correct. It is an assumption18:22
oerheksok, not a memory problem18:22
COE67As I am new to linux and ubuntu, I am trying to figure out why this would be occurring is all. Making a mental note of what to look at when I have some free time. Over all I am very happy with the OS so far.18:24
ravagejust to quote myself: "wayland can cause problems ". never said *generally* ever. it is just one of the big changes when you update from 20.0418:24
COE67correct I misread your initial post. I will however take a look at wayland as it is one of the changes from 20.04 to JJ.18:26
COE67I had the issue across multiple broswers as well, so I doubt it is the browser.18:28
COE67and between 20.04 and 22.04 actally.18:28
COE67Maybe the gpu driver or something that is mostly working just isnt perfectly happy.18:28
COE67something in use that has spanned both OS versions18:29
tomreynravage: sorry, seems like i got you wrong there.18:29
tomreynCOE67: journalctl lets you access system logs18:30
tomreynthere's also the "Logs" GUI application for this purpose18:30
COE67ahh ok, that is great. I will leverage that the next time something goes south.18:31
COE67How would I run journalcl from terminal?18:32
COE67sudo journalctl?18:32
tomreynCOE67: you add the missing t18:32
tomreynno need for sudo18:33
tomreynat least if your user is member of group adm18:33
COE67it is18:34
tomreynjournalctl -f     to follow the logs as they're being added (while you're reproducing the issue)18:35
=== Starmina87958516 is now known as Starmina8795851
tomreynCOE67: there's something i don't understand about what you said initially: "I am new to Ubuntu and updated to JJ". Those seem to be conflicting statements - unless you installed 20.04 and then immediately upgraded to 22.04 (but why would you do that)?18:37
COEYep, just froze up again. To rule out physical hardware, swapped the ssd into another, identical laptop18:42
COEwe'll see what it does18:42
root_gaywassup18:43
root_gayim gay18:43
root_gay<--18:43
clarkkI added a user using useradd. In /etc/passwd, it has the correct home directory, of /home/<username>.  When I log in as that user, the home directory has not been created and that user's environment is really really slow. Anyone know why?18:43
root_gayNo18:43
root_gayI'm "New" to linux18:44
root_gayHello18:44
ravageclarkk, You have to use -m, otherwise no home directory will be created18:46
clarkkok, thanks ravage18:46
arraybolt3root_gay: Do you have an Ubuntu support question?18:47
ravageyou can create is not and use "chown /home/<username> <username>" to change the owner18:47
EriC^^clarkk: adduser is easier to add users with18:47
ravageis is a nice wrapper script yes :)18:47
ravage*it18:47
clarkkEriC^^, I remember now - damn, used the wrong one! :/18:50
clarkknow I've deleted the user, I can see that the user still exists in some /etc files, like group-, passwd-, shawow-, subgid- etc. How do I clean up all these files?18:52
EriC^^happens, i find it helpful to remember usermod, useradd as the raw basic ones, and so adduser is the nice wrapper one18:52
root_gayAlr, Ima try to go make my own IRC client18:52
root_gay*sighs*18:52
EriC^^clarkk: userdel -r <user> maybe?18:54
COEYep same behavior on that macbook as well. Interesting it seems to freeze up when I go to log into my university distance learning website.18:55
clarkkEriC^^, I found out that they are userdel backup files.  I think I can just delete them all18:55
LukeHoerstenI updated from the previous to the latest LTS and my uwsgi stopped working. I can start the uwsgi-app@instance.socket/service directly and it works but when I try to run via the master process uwsgi.service, it fails. Have the semantics around the master process changed?19:05
tomreynLukeHoersten: possibly related bug 198686619:11
ubottuBug 1986866 in uwsgi (Ubuntu) "uwsgi version currently included in 22.04.1 is incompatible with python3.10" [Undecided, New] https://launchpad.net/bugs/198686619:11
LukeHoerstenOh perhaps19:12
LukeHoerstenThank you19:12
tomreynLukeHoersten: you're welcome - it would be good to confirm this report in case it turns out to be the cause of those issues.19:13
LukeHoerstenI'm not sure if this is my issue but through process of elimination am almost certain there is a bug with the master uwsgi service (which could be python3 related as you pointed to)19:14
LukeHoerstenNot sure how to confirm that though19:14
tomreynupstream (the uwsgi developers / community) may be able to help you clarify see also the linked upstream bug report19:15
tomreyni.e. i guess you would see python error messages or warnings19:16
LukeHoerstenI haven't been able to collect any useful debug output19:16
LukeHoerstenIts been a struggle tbh19:16
LukeHoerstenBasically log output just says "failed"19:16
tomreynnot too useful ;)19:17
LukeHoerstenHaha no - I'll take a look in a bit but I'm glad I have a workaround19:17
tomreyni'm afraid i know nothing about uwsgi, can't help19:17
tomreynmaybe try #python, too19:17
LukeHoerstenThey've been helping me. We had no more ideas before I came here19:18
tomreynyou probably read https://uwsgi-docs.readthedocs.io/en/latest/Logging.html19:19
alxndr   Hi, I just upgraded my Desktop installation from 20.04 to 22.04, and now the Windows/Super key switches keyboard layouts just by tapping it, all other shortcuts for that key don't seem to work. Any idea how to fix this?20:45
alxndrAh, found it: https://winaero.com/single-key-shortcut-change-keyboard-layout-gnome-3/20:52
=== pah is now known as pa
nualaHello, I could need some help fixing my boot process. I had an encrypted 20.04 installation, generally following [https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019]. I have a LUKS1 partition which I believe holds /boot and a LUKS2 partition group holding two partitions /home and /{rest}.21:38
nualaI had a defunct win partition too. I installed 22.04 (unencrypted) on this defunct partition and been very naive/ignoring to setup boot process correctly. Now GRUB only offers me to boot into 22.04 or windows, but not 20.04 anymore.21:38
nualaHow can I get both 20.04 and 22.04 as boot option?21:38
tomreynnuala: you should probably chroot repair your 20.04 installation from your running 22.04 installation. after backing up what you haven't backed up, yet.21:43
nualaI should double check the backups are in order, thanks! With chrooting you mean a process akin to https://askubuntu.com/questions/145241/how-do-i-run-update-grub-from-a-livecd ? or how would i go forward with this? I am currentlly booted into 22.04 live usb fwiw....21:48
nuala(like i assume the final magic would be `sudo update-grub` after mounting/chrooting 20.04 in a "smart way"?21:49
tomreynnuala: yes, that's pretty much it. you would also need to mount the efi system partittion if you're booting in efi mode.21:51
tomreynnuala: actually, if you also want to keep the 22.04 installation, you probably need to make sure that you merge both grub configurations21:51
tomreynthe one of the 20.04 installation and the one of the 22.04 installation. a way around this would be to install grub twice in case you are efi booting21:52
nualayes, keeping both would be perfect. (i could also re-do a 22.04 installation if that would be easier, 22 installation  doesnt hold anything of value yet)  The efi system partition would be what i have in the LUKS1 container?21:53
tomreyn(this would not work so easily with classic bios booting)21:53
nualanah, efi booting all the way I 'believe'. its a newer mashine, no need for legacy i think.21:53
tomreynefi must be unencrypted, because the 'bios' accesses it21:53
tomreynyou'd be looking for a 100-500 MB partition with a VFAT / FAT32 file system21:54
nualaah yes! uh... i have... two? ok. one FAT16 one FAT32. i go with the fat32 then21:54
tomreynbetter double check, it could be the fat16 as well, i think21:55
nualathe 16 is empty. nods. I mean worst (reasonable) case, nothing would boot and I fix from live usb. Data loss is possible but not likely unless i delete a partion?21:56
tomreynyour 22.04 system will have in /etc/fstab a reference to what it thinks is the efi system partition as /boot, and so will the 20.04 installation21:56
nualai see!21:56
tomreynit's easier to accidentially delete or overwrite data on a different parttion that many think. but, yes, theoretically you'd be safe.21:57
tomreynif your data has value to you, you'll back it up.21:58
tomreyn(and not just now, but regularly, which would also make it an easier decision now, if you did it regularly)21:58
nualanods. (It's hard to respond to this.. still fearing I ate my own words here. But backups should be in order :> )21:59
nualalike, yeah: regular backups. and yes: also make sure they work. cause a 'backup' you can not apply is pretty much worthless!22:00
tomreynexactly22:01
nualaso it seems both 2{0,2}.04's fstab point at /bboot/efi aka /dev/nvp1, same UUID. for 20.04 further referenfces /dev/mapper/ubuntu-vg-root for / as well as /dev/maper/LUKS_BOOT for /boot 22.04 only knows of one partition for the full system. How would i puzzles this together?22:04
tomreynnuala: i think i would have two copies of grub and configure those differently.22:07
nualalike: on power on using "22.04's grub" which holds an option to start into "20.04's grub"? that sounds reasonable22:10
tomreyni.e. you'd just cp -r /boot/efi/EFI/ubuntu to /boot/efi/EFI/ubuntu2  and then use sudo efibootmgr --verbose   and add a new Bootnnnn record to point to the ubuntu222:10
tomreyni'm just not sure how to make the installation which the ubuntu2 grub will point to aware that it should be upgrading the *ubuntu2* grub and not the *ubuntu* grub in the future22:11
tomreynEriC^: are you around by chance, and can suggest how to have two uefi ubuntu installations side by side?22:12
EriC^on 2 disks?22:12
nualasingle hard drive22:12
tomreynone is 20.04 with encrypted /boot (LUKS1), the other is unencrypted 20.0422:13
tomreynone is 20.04 with encrypted /boot (LUKS1), the other is unencrypted 22.0422:13
nualaubuntu-old has LUKS1 + LUKS2 encryption. ubuntu-new doesnt need encryption but could if it makes stuf "easer". Correct &22:13
nuala^22:13
tomreynhttps://askubuntu.com/questions/617045/ discusses this22:15
EriC^you could use the encryption one's grub to boot both, and maybe hold the grub package in the unencrypted one so it doesnt overwrite the main grub that boots22:16
tomreynso this would be the variant where you'd need to merge the configuration files22:18
tomreynand uninstall grub from one of the ubuntu installations, to prevent them to fight with one another.22:19
nualaoh 'holding packages' is like telling apt-update to not update these packages. I try to understand the last part EriC said. That would be fine22:19
EriC^no can do i think, will want some bootloader as dependency22:19
nualait can be semi-persistent. the idea is to try 22.04 for some time, while keeping 20.04 functional before desciding to make the change22:19
EriC^nuala: yeah apt-mark hold grub-efi-amd64.. bla bla hold the packages so grub-install never runs22:20
tomreynah that's because grub-install only runs automatically as a post-install hook, right22:20
tomreyni guess this could work22:21
nuala(thanks for clearifying, just trying to keep up) :)22:21
EriC^if they share the same efi dir, just run grub-install from the encrypted one to overwrite stuff there22:21
EriC^yeah if the grub packages get updated, they'd run grub-install22:21
tomreynEriC^: what did you think of the other approach i suggested, having two independant grub installations?22:22
tomreyni guess i'd call one efi directory "ubuntu20.04" and the other "ubuntu22.04" hoping that grub will notice which one it is meant to keep updated22:23
tomreynor would it keep trying to write to an "ubuntu" directory"?22:23
EriC^i think it would just by default use efi/ubuntu, he'd have to create a separate efi partition for each, not sure22:24
tomreyn:-/ okay, so then your approach is definitely better22:24
EriC^but im not aware of any config where one can rename the efi/ubuntu name so when grub-install runs it uses that name instead22:24
tomreynright, thinking about it i'm not sure how it could actually reliably tell how it was booted22:25
tomreynother then BootCurrent in efibootmgr i guess22:26
EriC^he'd always have to get rid of the grub-install efibootmgr part of upgrades somehow, cause that would just reset his usual booting order22:26
Guest94Haven't installed ubuntu for a while. The default gnome shell extensions are just the ubuntu shell and desktop icons correct?22:26
tomreyni see, EriC^22:27
nualaGuest94: I assume the extensions are mostly meant for 'vanilla ubuntu' running the Gnome desktop. As in: with KDE these probably would not do much. That in extensions also effects the desktop icons.22:28
tomreynnuala: i usually work around these boot complications by just having one OS installed, and booting what i like to try  / test  / whatever in a VM instead. had you considered this?22:30
nualathank you a lot EriC^ i can only follow half of it but it sounds great. And while random highlighing: everyone thanks a lot for 22.04 honeslty for the past 3 LTS it always seems to become even better.22:30
nualatomreyn: I need to take it a step further out of VM sadly :(22:30
tomreyndue to hardware limitations?22:30
nuala3d acceleration stuff? some tools/clients do some fancy stuff I could not get working with e.g. vbox22:31
nualabut so: it could be a temperary fix. I could like keep a usb stick handy to redo whatever grub magic I do in case an update messes this up. it should just be like this for a few weeks...22:32
tomreynif you have two GPUs you can also use kvm frame relay22:32
tomreynfor just a few weeks, i'd personally want even less to go through this pain ;)22:33
nualablushes.idontreallyknow.ilikedodockerandphpmostly. -_- ^^;  could we kinda go this way: using the 'good old encrypted grub' and tell them about the new grub, and [holding back 22.04 grub updates/i make notes what to do when i update 22.04]22:34
nualasee, i do php i have higher pain tolerance :P22:34
tomreynhehe22:34
nualaok but really: if its too much to ask thats fine too. i guess i should just somehow restore the 20.04 though and scrap the 22.04 experiment22:35
tomreynnuala: well, i think you already know how to do it, isn't it? you just summed it up.22:35
nuala1) old grub + new grub + [hold packages/breath through the pain]? yes in laymens terms. 2) restoring 20.04: i assume thats just the fix boot process like i linked earlier mount /boot, /sys etc. and run update-grub22:37
nualai assume 1) is not too diferent from 2) but i can not really see it. :S what i would need to mount where besides the 'obvios' /sys /proc etc. (can guess what they do but i just follow recipes here). I assume i would mount /old-boot too. and then 'merge' the files. to introduce new-boot. I dont know how to do the last part22:38
tomreynso mount the 22.04 installation + efi system partition, copy the 22.04 installation's grub.cfg into the mount, chroot on the mount, edit the copied grub configuration so it can add to the existing grub.cfg by placing it in /etc/grub.d/40_custom (as a template) or /boot/grub/custom.cfg (as a fixed configuration)22:40
tomreynthen update-grub and grub-install (to make sure you have a grub that is compatible with the 20.04)22:41
tomreynthen leave the chroot and, back on the 22.04 installation, apt mark hold grub-efi22:42
nualagot it! thanks a bizllion times for typing that out <322:42
tomreynthis is all theory, i hope it works out in practice ;)22:43
tomreynyou will definitely need to modify the copied grub.cfg22:43
nuala(fwiw, *mount 20.04[!] installation+efi then copy 22.04 i assume?)22:43
tomreynnuala: right, i mixed them up again22:46
tomreynso mount the 20.04 installation + efi system partition, copy the 22.04 installation's grub.cfg into the mount, chroot on the mount, edit the copied grub configuration so it can add to the existing grub.cfg by placing it in /etc/grub.d/40_custom (as a template) or /boot/grub/custom.cfg (as a fixed configuration)22:47
tomreynthen update-grub and grub-install (to make sure you have a grub that is compatible with the 20.04). then leave the chroot and, back on the 22.04 installation, apt mark hold grub-efi.22:47
nualawait what? ^^ oh my the grub files are pretty different. I guess that is the hard part....? `diff grub*|wc` yields 350 lines T_T22:47
nualagood hint to modify the copied grub file...22:48
tomreynif you'll want the templating (which you probably want, since the kernel version will be raised occasionally, breaking paths) your /etc/grub.d/40_custom should really just contain one or two "menuentry" sections. plus maybe some code to identify what the correct kerbel image is.22:49
tomreyn* kernel image (and initrd)22:50
tomreynor you can just make grub interpret the entire 22.04 configuration file like this: https://unix.stackexchange.com/questions/65684/adding-another-linux-system-to-grub-222:51
tomreynmaybe thats the easier and more failsafe approach22:51
nualai see. there or some function defintions too (i assume thats what it is). if I add it as 40_custom the configs would incrementally be read in some way? The hint with the menuitems looks good. Or the link, that looks nice and sweet.22:52
nualai mean a naive, 'max pain, way would be to pick whatever grub.cfg i would need, and to the update-grub-dance via live usb according whether i want to boot 20. or 22. (nothing holds longer than a temporary fix)22:53
tomreynwhat you add to /etc/grub.d/40_custom is interpreted when update-grub runs, in the same way that all the other files there are. the linux_10 file is what generates most of the resulting grub.cfg.22:53
nualabut I feel very well equipped now. Thank you for explaining some of the details for me. To an extend also from my circle, where I can spread the knowledge once I understood :)22:54
tomreyni think your best approach is really loading and using the original 22.04 grub.cfg off it's boot partition ("set root=...") using the "configfile" approach22:55
nualaso if two files would define the same.. lets say `function savedefault` or set something like `set boot_once=true` the {first|last} file would win.22:55
nuala?22:55
nuala*original 20.04 grub.cfg (? sorry, it is super confusing ^^) yes. I will try this!22:56
tomreyni think both would win, adding each of the functions' to the generated grub.cfg22:56
tomreyni think you said you want to keep the grub installation maintained yb the encrypted 20.04 installation22:57
tomreynif that's what you want, then this should also be the installation which runs update-grub22:58
tomreynso the 20.04 one22:58
nualaufff. Yes. You were referencing the last link. Yes!22:58
tomreynright22:58
nualaI see. My bad :) Golly. I probably did not say thank you so I do it now :) And thanks to everyone else to stand my noise <322:59
tomreynso if the 20.04 manages the grub configuration, your easiest option to have both grub configurations available is to have the 20.04 update-grub + grub.cfg refer to the 22.04 grub.cfg by means of a custom (/boot/grub/custom.cfg) configuration which contains just something very similar to the verbatim code in the first answer of https://unix.stackexchange.com/questions/65684/adding-another-linux-system-to-grub-223:01
tomreyn"set root=(hd0,7)" would need to be replaced by whatever grub thinks is the 22.04 /boot file system.23:02
tomreynnote that grub starts counting disks and partitions at 0.23:02
tomreynso (hd(0,0) is the first partition on the dirst installed disk23:03
tomreyn*first23:03
tomreynand you're welcome, good luck, nuala23:04
tomreynand don't forget to   apt-mark hold grub-efi   on the 22.0423:05
jim__does anyone know how to configure ubuntu to recognize all cellphone types . the hard drive part of the cell phone so that when i open disk tool the cell [hones will show up as a disk automatically?23:05
nualaLooks like the easiert/most maintain free solution, yes. I feel like learning a lot more bout GRUB and booting. Awesome :) [I will probably try it tomorrow with a good sleep and ... another backup :}. <3 ]23:05
llanhmodjim__: usually, I would install the supported driver for the device....i.e samsung device driver...etc.23:06
jim__@nuala it can always be worse , to learn grub and then sleep some would say is heaven23:06
nuala(awww <3)23:06
tomreyndon't try to create the perfect grub solution, you will just go insane because it will always seem to *almost* work, but not really. ;)23:06
jim__thanks im going to try that approach , i was looking for a universal solution , thanks23:06
nualajim__: I'd also recon it could be cellphone dependent.. Like which options are active, but that easily could have changed since android >523:07
llanhmodsilver bullets usually aren't a thing in software but...never know.23:07
nuala(( i mean... if you only hustle with Ganon silvers are optional...))23:10
tomreynmy point was: do the 'simple' configuration first, make sure this orks. you can still improve things once that's working.23:10
tomreyn*works23:11
nualaoh yes. We carved out like... 2, 3 different ways to approach this issue? I will try out some and feel like if something stops working some time away I know which place to look at <323:14
tomreynhehe, yes, should be so. good luck.23:22
=== david is now known as newusername
=== newusername is now known as david
cluelessperson_how can I disable *certain* *specific* media keys in ubuntu23:54

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