[00:14] <jhutchins> Ox1de: Xlnt.  That guide I posted should cover it.
[00:15] <jhutchins> Ox1de: Yeah, I think leftyfb posted the same one.
[00:56]  * filename in ubuntu has modes: +cntj 5:10
[02:59] <Rakko> How would I run mkinitramfs and install an entry for a system in systemd-boot, while not running booted from that system? I messed something out and I'm able to boot from a Pop USB drive but when I try to just reinstall the linux-image-* packages under a chroot booted from USB, it tells me (in several ways) that it can't find the root device.
[03:45] <arraybolt3[m]> Quick question for y'all - If a software package is in Main for a certain release of Ubuntu (20.04 in particular), will it remain in Main for the lifetime of that release, or is it possible for it to move repositories?
[03:47] <lotuspsychje> arraybolt3[m]: maybe the package guys know that1 in #ubuntu-release
[03:48] <arraybolt3[m]> Good point, but someone who knows way more than me warned me that #ubuntu-release is not a good place for a newbie to say stuff in, so since it's a support question, and #ubuntu-release is for coordinating archive activities, I'm a bit hesitant to go barging in there.
[03:49] <lotuspsychje> agree their busy guys, still you will notice internal conversations in that channel aswell
[04:01] <ogra> arraybolt3[m], it will stay in main, packages usually do not get demoted after release
[04:02] <arraybolt3[m]> That's what I thought, but is that the case even if the upstream developer officially EOL's a version of the product?
[04:03] <deego> Is there a way to ask ubuntu to stop deleting a workspace if it's empty?
[04:06] <arraybolt3[m]> ogra: I'm trying to figure out if rabbitmq-server is going to stay in Main even when VMWare officially EOL's the version currently in Focal in July 2022.
[04:09] <guiverc> arraybolt3[m], packages are rarely moved from one repository to another during the lifetime; usually it's made during the development cycle of the next release (not after release)
[04:09] <lotuspsychje> deego: im using gnome-shell-extensions wich contains a workspaces indicator (static workspaces)
[04:09] <arraybolt3[m]> OK, makes sense. I was trying to answer a support question on the ubuntu-devel-discuss mailing list that a person supposedly from Microsoft was asking. It dawns on me though, I should probably leave that for someone from Canonical to reply to.
[04:10] <guiverc> (I can't think of a single example outside of the development cycle; i do recall mention past standard support, eg. 16.04 ESM where some packages are supported now via snap only)
[04:10] <arraybolt3[m]> (I don't think someone from Microsoft wants to get their security info from a gmail.com address...)
[04:12] <arraybolt3[m]> guiverc: Thanks!
[04:13] <deego> lotuspsychje: that's what i'm using too, i think. I'd like to have 4 workspaces, empty or not. It seems it likes up to 1 empty workspace. Are you able to see more than 1?
[04:14] <lotuspsychje> deego: check on the right upper corner, i use 6 https://www.deviantart.com/lotuspsychje/art/Jammy-910192561
[04:15] <deego> lotuspsychje: yeah, confirmed, same setup here. Jammy, and 4 spaces, same extension.
[04:15] <deego> lotuspsychje: yeah, i see 6. and at least two of these are empty?
[04:16] <deego> i even named the 4 spaces, thinking it will keep it from deleting them.
[04:18] <lotuspsychje> deego: did you check systemsettings/multitasking if workspaces are static?
[04:19] <deego> lotuspsychje: thanks! setting it to fixed there!
[04:20] <lotuspsychje> thats a new section since jammy
[04:20] <deego> thanks! nice.
[06:05] <PeGaSuS> hello guys. I know that this is probably a weird request, but I'd like for a specific user to have access edit the netplan config file and to use `netplan apply`. what would be the best way to achieve this?
[06:13] <lotuspsychje> PeGaSuS: you might wanna ask that in #ubuntu-server , maybe also provide your story why
[06:20] <PeGaSuS> I'll do it later then, since I need to go to work. thanks!
[08:57] <brkcore> Hi good pipol :)
[08:58] <brkcore> I downloaded a script to convert webm to mp3 but it doesnt work. Do you know any ubuntu tools for this?
[09:00] <gordonjcp> brkcore: ffmpeg
[09:00] <brkcore> gordonjcp, does it have a command to convert folders?
[09:00] <brkcore> I will install it now, thanks
[09:01] <gordonjcp> brkcore: no, but you'd just write a script to do that
[09:02] <brkcore> I just downloaded mp3con.sh from github, but something is wrong and doesnt do anything
[09:04] <brkcore> https://pastebin.com/QvzyNf25
[09:05] <filename> i
[09:06] <gordonjcp> brkcore: okay
[09:06] <gordonjcp> brkcore: but you haven't run it yet?
[09:07] <brkcore> when I ran ./mp3con.sh
[09:07] <brkcore> nothing comes up
[09:08] <gordonjcp> brkcore: when you say "nothing comes up", what exactly happens?
[09:08] <brkcore> bash: ./mp3con.sh: No such file or directory
[09:08] <gordonjcp> okay, and is mp3con.sh in the directory you're currently in?
[09:08] <brkcore> ooops!
[09:09] <brkcore> okay
[09:10] <brkcore> I am embarrassed to ask ... how do use locate,find or search? locate mp3con.sh?
[09:10] <brkcore> oh yes
[09:11] <brkcore> found it, in home directory. Thank you
[09:19] <brkcore> gordonjcp, it works, just had to put the script into the directory with the files. Thank you
[09:21] <gordonjcp> no worries
[09:21] <gordonjcp> brkcore: glad you got it working
[09:21] <gordonjcp> brkcore: you realise of course that no-one in here has *ever* made that mistake before
[09:22] <gordonjcp> brkcore: especially not me
[09:23] <brkcore> what mistake, what do you mean?
[09:26]  * filename accepting name changes requests on port 5493 ...
[12:29] <chilversc> were the 5.13 kernel packages recently removed from the 20.04 apt repository?
[12:32] <guiverc> chilversc, 5.13 was the kernel from 21.10; it's no longer supported.  GA kernel remains 5.4 for 20.04, and HWE is now 5.15 or the 22.04 GA kernel stack  (HWE advanced thru 20.10, 21.04, 21.10 before reaching final kernel from 22.04)
[12:33] <chilversc> yeah, I was installing 5.13 from HWE, I don't really want to go up to 5.15 just yet as that hasn't been tested
[12:33] <hans_> which is the secure/irreversible one, setuid() or seteuid()
[12:34] <arraybolt3[m]> chilversc: We do have an intensive testing process that every release goes through that should ensure the kernel is tested well. And if it makes your hardware go nuts, you can uninstall the new one and fall back to the old one.
[12:35] <chilversc> arraybolt3[m]: yeah, but I'm using FS-Cache, and that's been going through some changes in recent kernel versions
[12:36] <guiverc> 5.15 hasn't been tested???  I've been using it for months (jan or feb as my daily box.. it's been used by lots of people well before release)
[12:36] <arraybolt3[m]> Oh. Hmm, well you could test it in a VM and make sure it's working to your liking.
[12:36] <chilversc> guiverc: it has been tested in general, it's just that I've not tested for our very specifc NFS setup to ensure any recent changes match the performance that we need
[12:37] <chilversc> I know 5.13 works, and I know that the new implementation in 5.17 is too slow, but havn't tested 5.15 or 5.16
[12:37] <chilversc> in some early experiments I was getting stuck CPU threads on 5.16 but now I suspect that issue is also present in 5.13 so maybe 5.16 just has better reporting
[12:38] <guiverc> 21.10's EOL wasn't exactly a secret; 9 months after release; meaning it was pretty easy to guess when the 5.13 would change to 5.15... just as it did in prior years.. Ubuntu cycles are very predictable  (been so since at least 2012)
[12:40] <chilversc> sure, but I wasn't expecting the packages to be simply deleted from the apt repository so that I can no longer fetch them
[12:42] <guiverc> chilversc, if you look (eg. http://archive.ubuntu.com/ubuntu/pool/main/l/linux-hwe-5.13/) you'll likely find they are there, just removed from release files (ie. indexes on your system)
[12:44] <chilversc> ah yeah, they are still there
[12:44] <chilversc> though I guess that would mean I have to download all the dependencies, etc myself for now
[12:54] <BluesKaj> Hi all
[12:54] <wez> .o/
[12:55] <BluesKaj> wez, o/
[12:56] <wez> BluesKaj: The . in the .o/ is important!
[12:56] <BluesKaj> ok, what does it signify?
[12:56] <guiverc[m]> chilversc: (you should be able to just specify the version you want, when you need them)
[12:56] <zaggynl> maybe is he one armed, you don't know
[12:56] <user> BluesKaj: i think its your shoulder
[12:57] <wez> It signifinies not heiling Hitler
[12:57] <TheRedQueen> Error: You don't have the owner capability. If you think that you should have this capability, be sure that you are identified before trying again. The 'whoami' command can tell you if you're identified.
[12:57] <arraybolt3[m]> Or he wants to access the hidden "o" folder.
[12:57] <Everything> Hi all. What is the current replacement for wicd? I want to connect to WiFi via GUI.
[12:57] <wez> BluesKaj: It is a shoulder
[12:57] <arraybolt3[m]> Everything: NetworkManager.
[12:58] <arraybolt3[m]> Everything: You'll need a desktop-specific applet for your particular desktop environment.
[12:58] <Everything> arraybolt3[m]: OK, thanks
[13:08] <hans_> what does this mean https://paste.debian.net/plain/1247282
[13:11] <chilversc> hans_: most likely a permission error
[13:11] <hans_> blasphemy! who dares tell root he doesn't have permission
[13:12] <arraybolt3[m]> hans_ Check the file's immutable bit.
[13:12] <hans_> how
[13:13] <hans_> stat
[13:14] <chilversc> another thing to check is if that is on a read-only mount, or a remote file system
[13:16] <hans_> neither. it doesn't show up in cat /proc/mounts at all
[13:16] <hans_> and its not readonly, i can create folders in it
[13:17] <hans_> dang actually i can't; i can create /home.old/foo and /home.old/admin/foo but i can not create /home.old/admin/conf/foo
[13:17] <chilversc> hans_: yeah, that sounds like the conf directory has had its immutable bit set
[13:18] <arraybolt3[m]> hans_: Run "stat /path/to/directory" and that should tell you.
[13:18] <hans_> ... chatter -R -i /home.old
[13:18] <arraybolt3[m]> (Unless you're being faced with a failing drive, which would also explain this problem - sadly that one has a much pricier fix, i.e. buy a new drive and recover the data from backups)
[13:19] <hans_> i dont see anything unusual in stat, https://paste.debian.net/plain/1247284
[13:19] <hans_> links: 5
[13:19] <hans_> that was unexpected..
[13:19] <arraybolt3[m]> But what about the home.old directory itself?
[13:20] <arraybolt3[m]> hans_: Actually, stat was the wrong command - try lsattr.
[13:21] <hans_> don't understand what that means but https://termbin.com/juan
[13:22] <arraybolt3[m]> hans_: ----i---------e------- home.old/admin/conf
[13:22] <chilversc> hans_: the i indicates the immutable bit is set, as you can see on conf
[13:22] <arraybolt3[m]> Bingo. That's the immutable bit.
[13:22] <arraybolt3[m]> hans_: So now do "chattr -i home.old/admin/conf".
[13:22] <chilversc> I wonder if that was done because all of those directories are actually sharing the same conf folder as a hard link
[13:24] <hans_> chattr -R -i home.old    fixed it! thanks
[13:29] <arraybolt3[m]> 👍
[13:42] <yasser> hi
[13:43] <yasser> am trying to dual boot win 7 and lubuntu but when i want to create partions for lubuntu it says max partions reached??
[13:44] <enyc> yasser: hrrm can happen with MBR partitioning
[13:44] <enyc> yasser: does it not automatically sort out extended partitions ...?
[13:44] <enyc> yasser: if you don't do manual partitioning and just say "install alongside" ?
[13:44] <yasser> i have 4 partions on windows and 2 are 100% free
[13:45] <enyc> yasser: do you mean empty?
[13:45] <enyc> yasser: do you have a full backup of all data in any case?
[13:45] <yasser> like they are not used
[13:45] <leftyfb> yasser: you have to resize one or more of your existing partitions to make room first
[13:46] <enyc> yasser: then you could just delete 1 or both unused partitions...  maybe resizing one of them
[13:46] <enyc> yasser: then you won't have this problem of 4 primary-partitions
[13:46] <yasser> leftyfb i reszied one and freed up 10 gb for installion
[13:46] <enyc> yasser: I would delete one if you can,   as if you have 4 "primary" partitions you can't create anymore...
[13:46] <leftyfb> yasser: combine the 2 partitions that are free
[13:46] <yasser> i deleted one but its still the same
[13:47] <leftyfb> actually, yeah, delete them
[13:47] <leftyfb> the only partitions you should have are those that are required for Windows
[13:47] <yasser> i deleted one and it turned into "unallocated space"
[13:47] <enyc> yasser: good
[13:47] <leftyfb> now do the same for the other one
[13:47] <enyc> yasser: any reason you can't delete both of them ?
[13:47] <yasser> but the issue still happens
[13:48] <enyc> yasser: I would try this:  close the installer,  use   'sudo gparted'  -or-    windows disk managedment  to delete the extra partitions
[13:48] <enyc> yasser: then boot into installer
[13:49] <yasser> enyc i deleted entire partion (74gb) but nothing happend
[13:49] <enyc> yasser: what do you mean ?  in the installer?  in sudo geparted?   details matter
[13:49] <yasser> in windows disk manager
[13:50] <enyc> yasser: I wonder if you have windows active disk  or somethnig silly
[13:50] <leftyfb> yasser: ok, so how many partitions do you have left, what's on them and how much unallocated space is available?
[13:50] <enyc> yasser: I'd be booting the ubuntu stick  and running "sudo gparted"  at this point
[13:50] <yasser> leftyfb 3 left and 74 unallocated space
[13:51] <leftyfb> yasser: ok, now reboot and boot back into the ubuntu installer
[13:51] <yasser> enyc i botted into lubuntu but the issue still happens
[13:51] <enyc> yasser: you didn't respond about "sudo gparted"
[13:51] <yasser> i didnt do any gparted stuff
[13:52] <enyc> yasser: try it, let us know what that says about the partitioning
[13:52] <yasser> i  used lubuntu partion manager to allocate space for lubuntu but didnt work
[13:52] <enyc> yasser: so,  boot ubuntu stick  and   use terminal or alt+f2  to run "sudo gparted"
[13:52] <enyc> yasser: and report here...
[13:53] <yasser> ok just a min
[13:53] <leftyfb> yasser: also, please take a screenshot of the error and upload somewhere for us to see
[13:53] <yasser> is there a way i can merge 2 partions in one?
[13:54] <enyc> yasser: if they are empty partitions, no need just delete them
[13:54] <yasser> leftyfb ok
[13:54] <leftyfb> not directly, no
[13:54] <leftyfb> also take a screenshot of gparted so we can see the partitions
[13:54] <enyc> +1
[13:54] <yasser> ok
[13:55] <yasser> just a sec my hdd is a bit slow in rebooting i might take a while
[13:55] <enyc> yasser: while thats' happening, out of interest, what are you keeping win7 for?
[13:56] <yasser> i need it for a while
[13:56] <enyc> sure, what for?
[13:56] <yasser> my brother uses it
[13:56] <enyc> its' possible to set up windows in a virtualbox and stuff long story ;o
[13:56] <yasser> researching and studing
[13:57] <enyc> you can do all that on linux anyhow and win7 is out of security support now
[13:57] <arraybolt3[m]> GNOME Boxes is way better than VirtualBox for doing that sort of thing.
[13:57] <yasser> i will be keeping win 7 for a while untill he adjust
[13:57] <enyc> arraybolt3[m]: is that libvirt-based?
[13:57] <arraybolt3[m]> Yep. enyc
[13:57] <enyc> yasser: makes some sense, but I think you should delete the empty partitions, no need for windows to 'grow' any more.
[13:58] <yasser> i already deleted 2
[13:58] <enyc> arraybolt3[m]: what is the current state-of-affairs with "differencing" disk-image snapshotting like virtualbox does ??
[13:58] <yasser> the other 2 one for booting and one for storage
[13:59] <enyc> Ubuntu 22.04 installer likes to create EFI system partition  even on non-EFI system these days as I understand it
[13:59] <arraybolt3[m]> enyc: He's on Lubuntu, it doesn't do that AFAIK.
[13:59] <yasser> am using lubuntu not ubuntu
[13:59] <enyc> arraybolt3[m]: does that not use ubiquity ?
[13:59] <arraybolt3[m]> enyc: I actually don't use snapshots all that much, I should test it out.
[13:59] <arraybolt3[m]> enyc: Nope, Calamares, not Ubiquity.
[13:59] <enyc> arraybolt3[m]: that is 'killer' virtualbox feature for me.
[14:00] <yasser> my laptop cant handle ubuntu according to ubuntu wepsite
[14:00] <leftyfb> yasser: what model laptop?
[14:00] <yasser> dell inspiron N4050
[14:00] <enyc> yasser: xubuntu mint and various other flavours or derivatives exist too, of course =)  anyhow.... I help out many of them.
[14:00] <arraybolt3[m]> yasser: I know from experience you can ignore the specs. If you've got 2 GB or more RAM, Lubuntu will work.
[14:00] <arraybolt3[m]> (And a 64-bit CPU, also important.)
[14:01] <enyc> arraybolt3[m]: friend in ZA has this  Pentium-4-630  64bit HP with 2gb ram, wondering options for them.
[14:01] <yasser> 2gb of ram and ie-2310M 64bit
[14:01] <yasser> i3 2310M srry
[14:01] <enyc> I get impression "zram-config" worth installing even on slower machines, helps with the low ram if i'm not mistaken.
[14:01] <enyc> yasser: 2nd gen core is not a disaster, and RAM for that era is probably dirt-cheap to buy.
[14:01] <enyc> yasser: what model machine?
[14:02] <arraybolt3[m]> yasser: I think Lubuntu's good then. Though I'd remove Firefox and install Falkon once you get Lubuntu installed.
[14:02] <yasser> model is inspiron N4050
[14:02] <yasser> i cant upgrade rams cuz i couldnt fins any compatible rams
[14:04] <yasser> and ebay dosent support my country so that not an option
[14:04] <enyc> yasser: bother I was about to say  https://www.ebay.co.uk/itm/384936087773   very cheap/easy   ddr3 sodimm
[14:04] <yasser> yea sadly i cant
[14:04] <enyc> yasser: basically it looks like normal ddr3 sodimm  even just one 4gb module  will be cheap and easy to fin,  maybe you are in funny place I don't know =0
[14:05] <enyc> not worth spending much on that machine but shouldn't be necessary
[14:05] <leftyfb> yasser: can you get us those screenshots?
[14:05] <enyc> yasser: so...  "sudo gparted"  in lubuntu  installer ?
[14:05] <yasser> am in iraq sooooo yeah u could say that
[14:05] <yasser> not yet lol
[14:05] <yasser> srry
[14:06] <enyc> yasser: uerr lubuntu stick,  don't start installer first
[14:06] <leftyfb> yasser: if it's taking this long, then you most certainly didn't delete those 2 partitions, reboot back into the installer and then try the installer again
[14:06] <yasser> am burnin lubuntu to the usb rn its about to finish
[14:06] <yasser> i reformatted earlier today
[14:06] <enyc> I presume alt+f2  likely to work, or terminal...  "sudo gparted"  first
[14:06] <enyc> yasser: lubuntu 22.04 image? or another?
[14:06] <yasser> yea the iso
[14:07] <yasser> its on 88 just a second
[14:07] <yasser> sorry am taking wayy to long
[14:08] <yasser> ok am rebooting into lubuntu rn i will disconnect and connect from my phone to the chat
[14:08] <enyc> arraybolt3[m]: I wonder if   'falkon'  avoids the problem of firefox etc. needing SSE/SSE2 to work and not working on some 32bit systems,  e.g. antix debian and similar
[14:09] <yasser> hi am back
[14:10] <yasser> sudo gparted right?
[14:11] <yasser> hi
[14:11] <yasser> sudo gparted right?
[14:11] <arraybolt3[m]> One moment...
[14:11] <yasser> ok
[14:11] <arraybolt3[m]> Yeah, "sudo gparted".
[14:12] <yasser> ok
[14:14] <yasser> it says command not found
[14:14] <arraybolt3[m]> sudo apt install gparted
[14:14] <yasser> ok
[14:15] <yasser> its installing
[14:17] <yasser> i launched gparted
[14:18] <yasser> how can take a screenshot
[14:19] <yasser> i got the screenshot
[14:19] <yasser> enyc arraybolt3[m]
[14:20] <yasser> where do i upload it
[14:20] <tomreyn> yasser: can you upload it to imgur.com
[14:20] <leftyfb> 2 screenshots
[14:20] <tomreyn> and then link it here
[14:20] <yasser> ok just a sec
[14:20] <leftyfb> 1 showing partitions with gparted and the other of the error when you're trying to do the install
[14:21] <yasser> lok
[14:22] <yasser> https://imgur.com/a/AidJ87O
[14:22] <yasser> here is it
[14:23] <yasser> the 2 screens shots
[14:23] <leftyfb> don't create a new partition
[14:24] <leftyfb> go through the lubuntu installer and let it handle all that
[14:24] <yasser> then what should i do
[14:24] <arraybolt3[m]> Install into sda4. Or delete sda4, shrink sda3, and then install into the unallocated space.
[14:24] <leftyfb> though, why do you have 3 partitions of significant size for Windows ?
[14:24] <leftyfb> uh
[14:24] <leftyfb> arraybolt3[m]: pretty sure sda4 is the bootable Windows OS
[14:24] <yasser> it was like that when i got laptop
[14:25] <yasser> it was a hand me down sooo yea
[14:25] <arraybolt3[m]> Ah shoot you're right. Nevermind, don't do that.
[14:25] <arraybolt3[m]> (I saw the thing that made it look like no space was used...)
[14:25] <leftyfb> yasser: try going through the installer and pick the unallocated space
[14:25] <yasser> ok
[14:26] <arraybolt3[m]> (I don't think that will work, won't it need to create a 5th partition? Even if it's an extended one?)
[14:27] <arraybolt3[m]> I think he'll need to move the stuff out of sda3 into sda2, delete sda3, then install there.
[14:27] <arraybolt3[m]> And... yasser: You do have backups, right?
[14:27] <yasser> https://imgur.com/t41dtnK
[14:27] <arraybolt3[m]> Because this could go so badly if you don't.
[14:27] <leftyfb> arraybolt3[m]: you're making assumptions about what those other partitions are used for
[14:27] <yasser> backup for what
[14:28] <arraybolt3[m]> yasser: The multiple tens of gigabytes of important data on your system.
[14:28] <yasser> all i have is windows and opera and 2 games
[14:28] <yasser> nothing important
[14:28] <arraybolt3[m]> leftyfb: You're right, I should quit suggesting things like this. I've gotten used to Linux where every partition has a reasonable use that you're aware of, Windows from an OEM is... not that way.
[14:28] <arraybolt3[m]> Sorry.
[14:28] <yasser> np
[14:29] <arraybolt3[m]> yasser: OK. Do you have the ability to recover Windows 7 in the event something goes wrong?
[14:29] <arraybolt3[m]> (I've seen ntfs partition resizes blow up before, I'd hate for that to happen to you right here.)
[14:29] <yasser> no actually not
[14:29] <leftyfb> arraybolt3[m]: my suggestion, install Windows 10 onto this laptop from scratch choosing only 1 or 2 partitions for Windows if you have the option. Do not split it up until multiple partitions. Then install ubuntu
[14:30] <yasser> leftyfb no that only will complex things up
[14:30] <leftyfb> no, that will most certainly simplify everything
[14:31] <arraybolt3[m]> yasser: Well... sigh, be as careful as possible, if you end up with an all-Lubuntu system I apologize in advance.
[14:31] <ogra> and pick GPT ... then you have not the restrictions that using the ancient MBR technology enforces ...
[14:31] <yasser> maybe i could wait a couple months until my brother finish school and reformat the laptop
[14:31] <leftyfb> yasser: if it wasn't clear, I'm suggesting wiping the entire hard drive and installing Windows 10 as opposed to Windows 7. Then dual booting Ubuntu
[14:31] <yasser> like chose erase disk option
[14:32] <yasser> leftyfb the laptop wont handle win 10
[14:32] <arraybolt3[m]> One important piece of data you might have is any passwords stored in Opera, make sure you have those written down somewhere or solidly memorized.
[14:32] <yasser> and i will delete it
[14:32] <arraybolt3[m]> True, 2 GB RAM is not Windows 10 friendly. I mean, technically it will work...ish... but not anything like acceptably well.
[14:32] <yasser> i will evantualy delete windows
[14:33] <yasser> and all email is opera are in my phone
[14:33] <arraybolt3[m]> yasser: What edition of Windows 7 is it? Home or Pro?
[14:33] <yasser> ultimate
[14:33] <yasser> idk if that a thing but it says windows 7 ultimate while booting
[14:34] <arraybolt3[m]> Hmm... I had an idea but I don't think it was so good after all, never mind.
[14:34] <arraybolt3[m]> Windows 7 Ultimate is a thing.
[14:34] <leftyfb> arraybolt3[m]: the other option is to figure out what is on the other partitions, if they're not important, delete them or copy the data to your main Windows partition and delete the extra partition
[14:34] <arraybolt3[m]> leftyfb: That's probably the best course of action here.
[14:34] <yasser> the c parition is importat
[14:35] <arraybolt3[m]> LOL yeah obviously.
[14:35] <yasser> yea lol
[14:35] <yasser> the d is empty
[14:35] <arraybolt3[m]> But it's sda3 I'm curious about - care to poke around in it with the file manager and tell us what you find?
[14:35] <tomreyn> sda3 could maybe be removed, also its file system seems to only span half the partition capacity
[14:35] <leftyfb> yasser: how big is the D partition?
[14:36] <yasser> i tried deleting it but lubuntu didnt recognize it unallocated space
[14:36] <yasser> leftyfb 74 gb
[14:36] <leftyfb> that's sda2
[14:36] <arraybolt3[m]> yasser: But it's still there, so apparently it didn't delete.
[14:36] <yasser> all of them are 74
[14:36] <arraybolt3[m]> 149 GB leftyfb
[14:37] <leftyfb> tomreyn: where do you get that?
[14:37] <yasser> in windows there is no 10 gb unallocated
[14:37] <yasser> but it shows i lubuntu
[14:37] <tomreyn> leftyfb: https://i.imgur.com/A1cvVIi.jpeg
[14:37] <arraybolt3[m]> yasser: No, two are ~70 GB (one bigger one smaller), then there's the gigantic one in the middle. That big one is sda3.
[14:37] <leftyfb> ah
[14:38] <yasser> arraybolt3[m] in lubutu it shows like that but its diffrent in windows
[14:38] <yasser> there is no 149 gb partion in windows for some reason
[14:38] <arraybolt3[m]> yasser: That sounds like Windows is hiding the giant partition for some reason then. How many drives does Windows show you?
[14:38] <arraybolt3[m]> 2 or 3?
[14:39] <yasser> windows show 3 partion the explorer but 4 in the manager
[14:39] <arraybolt3[m]> yasser: That sounds like an OEM recovery partition to me. Is there a way for you to delete the recovery partition from within Windows 7? (There might be a program in the laptop that lets you delete the recovery partition.)
[14:39] <leftyfb> it looks to me like you can delete sda3 and then move sda4 up against sda2
[14:39] <yasser> the hidden partion has a files called boot
[14:40] <leftyfb> then you'll be able to install ubuntu
[14:40] <leftyfb> though you might need to repair windows
[14:40] <arraybolt3[m]> yasser: Try opening the file manager, enter the 149 GB partition, and show us what you see. That will help us have a better idea of whether it's save to delete or not.
[14:40] <arraybolt3[m]> *safe, not save
[14:41] <yasser99> am yasser but from phone
[14:42] <yasser99> i switched to windows to show you. some things
[14:42] <yasser99> just a second
[14:42] <arraybolt3[m]> OK, that will help.
[14:43] <leftyfb> yasser99: if you're going to delete partitions (from the lubuntu installer) I would highly suggest following what arraybolt3[m] said and see what's on the sda3 partition before deleting it
[14:44] <yasser99> i took screen shot of Windows explorer and the disk manager
[14:46] <maum> hello
[14:46] <maum> how to change file encoding on ubuntu?
[14:46] <yasser99> imgur is not responding just a sec
[14:46] <arraybolt3[m]> Text file encoding?
[14:46] <yasser99> maum idk srry
[14:46] <maum> yes
[14:47] <maum> textfile encoding
[14:47] <arraybolt3[m]> maum: Are you talking about UTF-8 vs UTF-16 etc, or Windows line ending vs Unix line ending?
[14:47] <maum> from utf-8 to cp949
[14:47] <maum> I mean on ubuntu terminal
[14:48] <arraybolt3[m]> OK. And what flavour of Ubuntu are you using? Plain Ubuntu? Lubuntu? Kubuntu? etc.
[14:48] <maum> just Ubuntu
[14:48] <arraybolt3[m]> Nice. One moment while I open an Ubuntu VM so I can find the option real quick...
[14:49] <yasser> https://imgur.com/a/zBrdSFq
[14:49] <yasser> here
[14:49] <yasser> that what windows show
[14:50] <arraybolt3[m]> Ah, I see it. It's using a dynamic disk. Sadly, I don't think there's any way to install Ubuntu on this system without wiping Windows entirely.
[14:50] <tomreyn> maum: iconv -f UTF-8 -t CP949 somedocument_utf-8.txt > somedocument_cp949.txt
[14:50] <jhutchins> yasser: Are you aware that Windows can not see/mount/use non-windows partitions?
[14:50] <maum> tomreyn: ok, I will try this
[14:50] <yasser> jhutchins o
[14:50] <yasser> no
[14:51] <arraybolt3[m]> jhutchins: The disk is a dynamic disk - it's Microsoft's idea of LVM, and it's not compatible with Ubuntu, sadly.
[14:51] <yasser> and i cant access the 84 gb partition now
[14:51] <maum> iconv: illegal input sequence at position 116
[14:51] <arraybolt3[m]> You could try to convert the disk back to a basic disk, but that giant partition is actually composed of two volumes, which may present a roadblock.
[14:52] <tomreyn> maum: so the source is not in utf-8 format
[14:52] <yasser99> i will be back
[14:52] <maum> tomreyn: how can I find the source's encoding
[14:52] <maum> ?
[14:52] <yasser> gtg be right back
[14:53] <jwm_TO> I've just upgraded to 22.04 and now my dock has no favourites.  Any ideas?
[14:53] <leftyfb> jwm_TO: put your favorites back
[14:53] <tomreyn> maum: running "file" against it may help.
[14:53] <jwm_TO> Leftyfb: that doesn't seem to be working
[14:55] <jwm_TO> I have favourites according to the giant list of apps, but they are not showing up on the dock
[14:55] <maum> UTF-8 Unicode text, with CRLF line terminators
[14:55] <jhutchins> arraybolt3[m]: Do the "basic" disks work?
[14:55] <yasser> am back
[14:56] <jhutchins> https://docs.microsoft.com/en-us/windows-server/storage/disk-management/change-a-dynamic-disk-back-to-a-basic-disk
[14:56] <jhutchins> That says dynamic is deprecated.
[14:56] <arraybolt3[m]> jhutchins: I believe so, at least they do according to this Stack Exchange Q&A: https://superuser.com/questions/335872/how-to-install-linux-on-a-dynamic-disk-without-losing-the-disk-configuration
[14:57] <maum> ���� �ϼ�
[14:57] <yasser> "the system cant find the specified folder" error is happening rn
[14:57] <jwm_TO> Is there a different channel that I should be querying to fix the problem with the dock upon upgrade to 22.04?
[14:57] <maum> tomreyn: the text file have ���� �ϼ� character.
[14:57] <maum> tomreyn: file util says it's utf-8 unicode
[14:58] <tomreyn> maum: you can use "enca" to guess the encoding of the source better than "file" can.
[14:58] <arraybolt3[m]> yasser: Crud. I don't see any way around this mess other than getting a Windows 7 DVD and reinstalling Windows from scratch.
[14:58] <arraybolt3[m]> This is like the worst possible Windows setup for trying to make a Linux dual-boot.
[14:59] <clarkk> is there a way to disable the bluetooth settings part of Gnome, so I can manage my devices purely from the shell?
[14:59] <maum> tomreyn: Universal transformation format 8 bits; UTF-8
[14:59] <maum>   CRLF line terminators, it's same
[14:59] <clarkk> Note I'm using Ubuntu 20.04 with Gnome 3.36.8
[15:00] <tomreyn> maum: i don't know then. maybe try utf-16 for the input encoding
[15:06] <jwm_TO> I've just upgraded to 22.04 and now my dock has no favourites.  Any ideas?
[15:10] <ogra> jwm_TO, likely some leftover user config ... try to create a new user for a test to see that it isnt systemic (you can delete it after testing again)
[15:16] <jwm_TO> ogra, thanks.  will do
[15:20] <tomreyn> maum: actually, the "illegal input sequence at position 116" error may just mean that iconv is unable to translate this character because it has no representation in the target encoding
[15:21] <tomreyn> maum: re-run with -c if you want those characters dropped
[15:26] <alkisg> maum, if you don't mind sharing that file (no sensitive information), you could upload it somewhere so that we could have a look
[16:27] <yasser> I want to locate some space for lubuntu but it says that i can't because partions reached the max limit (re-ask because i didn't find an answer
[16:28] <oerheks> yasser, what is the out put of sudo fdisk -l ?
[16:28] <oerheks> in a pastebin
[16:28] <yasser> what??
[16:28] <oerheks> sudo fdisk -l
[16:29] <yasser> I didn't use that command
[16:29] <oerheks> it prints app partitions, so we can have a look what is going on?
[16:29] <oerheks> c/app/all
[16:29] <yasser> the issue it when i try to install lubuntu and dual boot it with win 7
[16:29] <yasser> its says that I can't create new partition
[16:30] <yasser> because max amount has been reached
[16:30] <oerheks> without that info, nobody can help
[16:30] <scacci> oerheks: I think he's running windows
[16:31] <yasser> am trying to dual boot windows 7 and lubuntu
[16:31] <yasser> but can't locate space for lubuntu
[16:31] <oerheks> scacci, oh oke, then a printscreen from windows disk managment?
[16:31] <yasser> when i deleted a partition the issue still happens
[16:31] <leftyfb> yasser: you need to delete sda3, preferably first verifying what's on it by mounting it in the ubuntu live session
[16:32] <scacci> yasser: can you take a screenshot and upload it somewhere
[16:32] <yasser> scacci yes i can
[16:32] <leftyfb> yasser: you need to delete sda3, preferably first verifying what's on it by mounting it in the ubuntu live session
[16:32] <yasser> leftyfb how can i know the contents on it
[16:33] <leftyfb> yasser: open the file manager from within the ubuntu live session. It should let you pick sda3 to look at it's contents
[16:33] <leftyfb> yasser: if not, then run: sudo mount /dev/sda3 /mnt # and then open your file manager and look at the contents of /mnt/
[16:34] <yasser> ok
[16:35] <yasser> am booting into lubuntu rn
[16:36] <yasser> leftyfb but why the sd3
[16:36] <yasser> sda3*
[16:36] <leftyfb> yasser: that is more than likely your D: drive which you say is empty on Windows
[16:37] <yasser> now i have put files in all partition so i can easily know which one in which if i make sense
[16:37] <leftyfb> mine you, no matter which partition we end up finding is empty and deleting, you are probably going to require repairing your Windows installation which is beyond the scope of the support provided here
[16:37] <leftyfb> mind*
[16:39] <oerheks> to avoid that, remove partition from within windows.. then start the usb again
[16:39] <yasser> i identified 2 partitions D and C
[16:39] <yasser> and E
[16:39] <yasser> there is one partition i had problems accessing it with windows
[16:40] <oerheks> why not put a screenshot online?
[16:41] <yasser> tell me what should i take screen shot of pls
[16:41] <yasser> like the file manager or what
[16:41] <oerheks> all partitions?
[16:41] <yasser> ok u got it
[16:41] <yasser> just a sec
[16:41] <enyc> gparted display or so :O
[16:42] <enyc> another approach is   "sudo fdisk -l | nc termbin.com 9999"  in terminal and report the result
[16:42] <yasser> ok just a sec lemme upload the screen shots to imgur
[16:44] <tomreyn> here's what yasser posted last time this was requested: https://imgur.com/a/AidJ87O https://imgur.com/a/zBrdSFq
[16:44] <yasser> and is normal for lubuntu to reset every time i boot it?
[16:45] <oerheks> D: seems a non windows partition, and 10 gb free at the end..
[16:45] <tomreyn> yasser: the live / installer system does not store anything you configure on it
[16:45] <yasserlp> https://imgur.com/IcVLEKA
[16:45] <oerheks> lubuntu usb? yes
[16:45] <yasserlp> here is the all partition screen shot
[16:46] <yasserlp> i have to install gparted to get a screen shot
[16:46] <yasserlp> and what was the command u wanted me to try?
[16:47] <yasserlp> enyc what was the command
[16:48] <yasser> https://imgur.com/a/AidJ87O
[16:48] <yasser> and here all the screen shot and the issue screen shot
[16:48] <yasser> BTW yasserlp is me from the laptop
[16:51] <yasser> enyc leftyfb oerheks here are the command result
[16:51] <yasserlp> lubuntu@lubuntu:~$ sudo fdisk -l
[16:51] <yasserlp> Disk /dev/loop0: 2.29 GiB,<PHONE_NUMBER> bytes, 4803648 sectors
[16:51] <yasserlp> Units: sectors of 1 * 512 = 512 bytes
[16:51] <yasserlp> Sector size (logical/physical): 512 bytes / 512 bytes
[16:51] <yasserlp> I/O size (minimum/optimal): 512 bytes / 512 bytes
[16:52] <enyc> yasserlp: don't paste stuff here... that will happen .....
[16:52] <oerheks> looking at https://imgur.com/a/AidJ87O, you already have 4 partitions .. and some 10 gb space at the end.
[16:52] <enyc> yasserlp: just looking at  https://imgur.com/a/AidJ87O
[16:52] <yasser> it was too big for a screen shot super sorry
[16:53] <enyc> crucially....  they are all *primary* partitions
[16:53] <yasser> oerheks I can't access or delete the 10 gb
[16:53] <arraybolt3[m]> No worries. Pastebin.com is your friend.
[16:53] <enyc> YES  --  there is no possibility to create extended/more than that  due to there being 4 'primary' partitions already.
[16:53] <enyc> this is the main program
[16:54] <yasser> i tried deleting one but didn't fix it
[16:54] <enyc> yasser yasserlp : firstly, do you have full backup of everything on another disk?
[16:54] <yasser> no and i have nothing to back up on
[16:54] <enyc> That is risky, then.
[16:54] <yasser> i only have the laptop and a single usb
[16:54] <yasser> which has the lubuntu on it
[16:55] <enyc> yasser: Go into file-manager.
[16:55] <enyc> yasser: "computer" etc
[16:55] <arraybolt3[m]> enyc: They don't have any data that needs backed up though. It's just preferable to not lose Windows.
[16:55] <yasser> ok
[16:55] <yasser> arraybolt3 yup true
[16:55] <enyc> yasser: go into that 145gb and 64gb  partitions  in file manager
[16:56] <yasser> just a sec it froze
[16:56] <yasser> lemme reboot srry
[16:56] <enyc> yasser: broken computer? freezes running lubuntu from stick ?!?!???
[16:56] <yasser> no i accidentally hit the usb
[16:56] <enyc> aah
[16:57] <yasser> the laptop is on my bed and its messy
[16:57] <enyc> on beds can be bad, overheat easily
[16:57] <yasser> the thermal paste is super old
[16:58] <yasser> it will be hot anywhere
[16:58] <enyc> yasser: booting lubuntu okay again?
[16:58] <yasser> yup
[16:58] <arraybolt3[m]> That's more reason to get it off the bed, not to leave it there. If it's your only laptop, you want it to survive.
[16:58] <arraybolt3[m]> Any hard surface will help (a large book, for instance).
[16:58] <yasser> there is no 149 partition not 64 one
[16:59] <enyc> yasser: In "computer" or similar (not sure exactly what lubuntu looks like)  youshould find the 4 partitions, 100mb, 74gb 149gb, 64gb   -- don't worry if it loosk a bit different values  actually reported
[16:59] <yasser> i can see 4 partitions
[16:59] <yasser> 3 are 80 and one is 69
[17:00] <yasser> and the usb drive
[17:00] <enyc> its' certainlyconfuse,d partly resized etc
[17:00] <enyc> yasser: does it tell you which is which?  sda1 sda2 sda3 etc?
[17:00] <yasser> no
[17:00] <arraybolt3[m]> Does Windows still boot? That sounds really bad.
[17:00] <enyc> yasser: ok close file manager and get  back into sudo gparted
[17:00] <yasser> it says the hard drive model name and it volume
[17:01] <yasser> windows still boot
[17:01] <enyc> yasser: we can solve this with labels :O
[17:01] <arraybolt3[m]> OK, good.
[17:01] <yasser> enyc lemme install it again
[17:03] <yasser79> i got disconnected
[17:03] <yasser79> am back
[17:03] <enyc> yasser79: so... sudo gparted,  opneed again?
[17:04] <yasser79> installing gparted rn
[17:04] <yasser79> am in gparted
[17:04] <enyc> yasser79: you see sda 1 2 3 4  as before?
[17:04] <yasser79> a new error appear
[17:05] <enyc> yasser79: which is?
[17:05] <yasser79> just a sec
[17:05] <yasser79> i will upload screen shot
[17:08] <yasser79> here
[17:08] <yasser> https://imgur.com/WTIN0Rd
[17:08] <yasser79> that's the error
[17:08] <yasser79> enyc take a look
[17:08] <enyc> yasser79: click ignore, this is because mounted already.
[17:08] <yasser79> ok
[17:09] <yasser79> am in
[17:09] <yasser79> what do i do now
[17:09] <enyc> yasser79: right click on SDA3 in gparted you should be able to "unmount"  in there
[17:09] <yasser79> yup its there
[17:10] <yasser89> its there should i click it?
[17:10] <enyc> yasser79: yes, unmount it
[17:10] <yasser89> same error screen happend the ignore one
[17:10] <enyc> yasser89: every time that comes up, ignore it.
[17:10] <yasser89> ok
[17:10] <enyc> yasser89: then right click sda3, "Label File System"  and set it to  "sda3LABEL"
[17:11] <yasser89> just. a second
[17:11] <yasser> https://imgur.com/abWnRd0
[17:11] <yasser89> whats that now
[17:12] <yasser89> enyc ??
[17:12] <enyc> yasser89: same thing youneed to ignore
[17:12] <enyc> yasser89: have you LABELLED sda3 as "sda3LABEL" ?
[17:13] <yasser89> yes
[17:13] <enyc> yasser89: OK, so   right click sda4,  Unmount that too
[17:14] <yasser89> done
[17:14] <enyc> yasser89: and then   right click sda4,  set it to "sda4LABEL"
[17:14] <yasser89> ok
[17:14] <enyc> yasser89: and  click "Apply" in gparted
[17:14] <yasser89> ok
[17:14] <enyc> yasser89: close gparted,  look again in  file/computer manager
[17:14] <enyc> yasser89: do you now see partition names?
[17:15] <yasser89> an erroe occurred
[17:15] <yasser89> sda4 didn't work
[17:15] <enyc> yasser89: show the error
[17:16] <yasser89> and i lost a partition
[17:16] <yasser89> enyc it closed automatically
[17:16] <yasser89> ama reboot into windows
[17:16] <yasser89> to check the partition
[17:16] <enyc> yasser89: ok,  if needbe  see if labelled in windows
[17:16] <enyc> yasser89: you should be able to seee windows  drive  C:  right click Label  it
[17:17] <yasser89> just a sec
[17:17] <yasser89> windows booting right now
[17:18] <yasser89> everything fine
[17:19] <enyc> yasser89: so  stop wait a mo
[17:19] <yasser89> no partition name been changer
[17:19] <enyc> yasser89:in My-computer
[17:19] <enyc> yasser89: change them in windows
[17:19] <yasser89> theme?
[17:19] <enyc> yasser89: right click C:  properties,  change label
[17:19] <yasser89> k
[17:19] <enyc> yasser89: that with windows 7 working  Label that Win7
[17:19] <yasser89> what should i call it
[17:20] <yasser89> done
[17:20] <enyc> yasser89: label the 'empty' drives "empty1"  "empty2" etc,  label all 3 or 4  so you KNOW which is what by the label
[17:20] <yasser89> c was named to win7
[17:20] <enyc> yasser89: and check the empty are empty
[17:20] <yasser89> the d is only one is empty
[17:20] <enyc> yasser89: so label it "empty"
[17:21] <enyc> yasser89: and label the other "storage"
[17:21] <yasser89> done
[17:21] <enyc> yasser89: double check they are right labels on right drives, reboot into lubuntu
[17:21] <yasser89> ok
[17:22] <yasser89> lubuntu is booting
[17:22] <enyc> yasser89: open sudo gparted  without trying to mount any partitions, this time
[17:22] <yasser89> ok but i will have to install it again
[17:23] <Drew_Neilson> Hi
[17:24] <enyc> yasser89: thats fine, do that,  screenshot gparted this time
[17:24] <yasser89> ok
[17:24] <Drew_Neilson> I'm new to Ubuntu and I installed Ubuntu Server on an old desktop PC, and also installed Ubuntu Server from the Microsoft Store (Windows Subsystem for Linux) in my daily driver PC.
[17:25] <enyc> Drew_Neilson: Ubuntu Server 22.04LTS ?
[17:26] <Drew_Neilson> 22.04 LTS on the old PC, and 20.04 LTS on my main PC.
[17:26] <Drew_Neilson> For some reason, the mainline Microsoft LTS release hasn't yet been upgraded to 22.04.
[17:26] <enyc> Drew_Neilson: hrrm ok, I wonder if m$ not updated their build yet
[17:26] <yasser89> the labels has been changer only sda3 didn't
[17:26] <enyc> Drew_Neilson: I generally have a  Mint/Debian/Mx/Ubnntu/whatever  ON the computer and  Windows in a virtual-computer instead
[17:27] <enyc> yasser89: can you see which is "empty" ?
[17:27] <yasser89> no there is no empty partition
[17:27] <enyc> yasser89: new screenshot....
[17:27] <yasser89> i can see win 7 and storage
[17:27] <yasser89> am working on it
[17:28] <yasserr> https://imgur.com/sF8FDnf
[17:29] <yasser89> here the screen shot
[17:29] <Drew_Neilson> the old PC is an old desktop PC, and my daily driver is a 2017 Microsoft Surface Pro tablet. I'm not intending to switch 100% over to Linux. I just wanted to set up a home media server and I went with Ubuntu Server because I'd already heard of Ubuntu, and a headless server sounded like a good idea, to minimize resource usage.
[17:29] <enyc> yasser89: I think something is screwed up with sda3 and in any case that must be your empty disk
[17:29] <Drew_Neilson> The point:
[17:30] <enyc> yasser89: if you are happy you got your labels correct, you can/should  right click on sda3 and 'delete'
[17:30] <yasser89> done
[17:30] <leftyfb> Drew_Neilson: this is a support channel. If you have a support issue you'd like help with, free to detail the issue here. If you're just looking to chat, feel free to join #ubuntu-discuss or #ubuntu-offtopic
[17:30] <yasser89> its unallocated now
[17:30] <enyc> yasser89: hooray
[17:30] <yasser89> is it fixed?????
[17:31] <enyc> yasser89: hopefully.
[17:31] <yasser89> ohh
[17:31] <enyc> yasser89: click apply
[17:31] <enyc> yasser89: or Green tick or whatever
[17:31] <yasser89> its applying
[17:32] <enyc> yasser89: yes, in this potentially-fragile case I would then CLOSE gparted  and try to run lubuntu installer
[17:32] <yasser89> "ALL OPERATIONS SUCCESSFUL COMPLETED"
[17:32] <yasser89> successfully*
[17:32] <Drew_Neilson> On my Surface I'm in Ubuntu Server (Windows Subsystem for Linux)--I'll just call it my Surface--and I'm trying to connect via ssh to the desktop server--I'll just call it the server. I'm unable to do so, despite following https://help.ubuntu.com/community/SSH/OpenSSH/Configuring
[17:32] <enyc> yasser89: hopefully lubuntu can use up that 149gb in the middle and work
[17:33] <yasser89> ama try to install now
[17:33] <Drew_Neilson> Both are on the local LAN
[17:33] <enyc> yasser89: you might hit another ubuntu problem  that we need to enable  searching for other OS in GRUB
[17:33] <yasser89> but how will i be able to switch from lubuntu to windows and back?
[17:33] <enyc> ubuntu 22.04 problem   but that is fixable
[17:33] <yasser89> am on lubuntu
[17:33] <enyc> yasser89: once  enable the OS_PROBER thing ...  it should support dual boot
[17:34] <yasser89> enable what?
[17:34] <yasser89> i didn't enable anything
[17:34] <enyc> yasser89: I know, we will need to do it after installation.
[17:34] <enyc> yasser89: don't worry
[17:34] <yasser89> ok so proceed with installation?
[17:34] <enyc> ***** others in this help channel  familiar with Ubuntu 22.04 and  OS_prober  not enabled by default?
[17:34] <enyc> Is there a Gui way to enable it?  I know how to do manually from CLI...
[17:35] <enyc> yasser89: YES
[17:35] <yasser89> there is install alongside button now
[17:35] <enyc> yasser89: yes, do that =)
[17:35] <enyc> yasser89: hopefully it will see the 149gb space
[17:35] <yasser89> yes but I can't chose it
[17:35] <yasser89> i can shrink other partitions tho
[17:36] <enyc> yasser89: you may need to do that then...  or we go back into gparted and 'move' sda4 to the left and renumber
[17:36] <yasser89> there is replace partition and manual partitioning
[17:36] <enyc> yasser89: do manual
[17:36] <yasser89> done
[17:36] <enyc> yasser89: safest thing in this case is to 'create' a new sda3 primary Linux in the middle
[17:36] <yasser89> how
[17:36] <enyc> yasser89: can you right click in the 149gb middle?
[17:37] <yasser89> yes
[17:37] <enyc> yasser89: create partition
[17:37] <yasser89> yes
[17:37] <yasser89> ama screen it just a second
[17:37] <enyc> yasser89: maximum size,  Linux  EXT4  "Mount point /"
[17:37] <Drew_Neilson> I followed the instructions for disabling password authentication, because I'm going to use SSH keys instead. I also followed the part "log more information" (setting verbose logging). I did not do the other stuff.
[17:37] <yasser89> just a slash?
[17:37] <enyc> yasser89: correct
[17:38] <yasser89> and flags?
[17:38] <enyc> yasser89: shouldn't be needed
[17:38] <yasser89> ok
[17:38] <enyc> yasser89: just Ext4  mounted as "/"
[17:38] <enyc> yasser89: that'll do
[17:38] <yasser89> done
[17:38] <enyc> yasser89: Ok/apply / next
[17:38] <leftyfb> Drew_Neilson: what issue are you running into exactly?
[17:38] <yasser89> but can shrink the 149
[17:38] <yasser89> i would like some of it for windows
[17:39] <enyc> yasser89: thats' silly
[17:39] <enyc> yasser89: better would later to be use gparted to expand the sda4  at the end
[17:39] <enyc> yasser89: get multi boot working first
[17:39] <yasser89> ok
[17:39] <yasser89> next?
[17:39] <enyc> yasser89: yes
[17:39] <yasser89> option to use GPT on BIOS
[17:39] <enyc> yasser89: once you have lubuntu working properly you won't need the windows anyway
[17:39] <enyc> yasser89: no
[17:39] <enyc> yasser89: leave it on MBR as-is
[17:40] <yasser89> there is only okay button
[17:40] <yasser89> screen shot?
[17:40] <enyc> yasser89: yes
[17:40] <yasser89> ok just a sec
[17:40] <Drew_Neilson> I am unable to login to the server
[17:40] <enyc> Drew_Neilson: ssh client?  have you set up keys with other servers?
[17:41] <leftyfb> Drew_Neilson: are you able to ping the ip?
[17:41] <yasserr> https://imgur.com/LDiap5m
[17:41] <yasser89> here
[17:41] <yasser89> enyc take a look
[17:41] <Drew_Neilson> I've been following the instructions at https://help.ubuntu.com/community/SSH/OpenSSH/Configuring
[17:41] <enyc> yasser89: on the case hangon ;o  doing other tasks too
[17:41] <yasser89> what??
[17:41] <leftyfb> Drew_Neilson: are you able to ping the ip of the server you are trying to connect to?
[17:42] <enyc> yasser89: aah just press ok  thats fine, and do the install
[17:42] <yasser89> what do you mean?
[17:42] <yasser89> ok
[17:42] <enyc> yasser89: I mean I'm doing other things inbetween responding to you so might not be immediate
[17:42] <yasser89> oh ok np
[17:43] <Drew_Neilson> I disabled password authentication and set verbose logging and nothing else.
[17:43] <enyc> ***** others in this help channel  familiar with Ubuntu 22.04 and  changing  OS_prober  not enabled by default?
[17:43] <leftyfb> Drew_Neilson: are you able to ping the ip of the server you are trying to connect to?
[17:43] <Drew_Neilson> No other optional things
[17:43] <yasser89> do u need a screen shot of the summary to make sure everything fine?
[17:43] <Drew_Neilson> Haven't tried pinging it.
[17:43] <leftyfb> Drew_Neilson: please try and report back
[17:44] <enyc> yasser89: if you like
[17:44] <yasser89> ok
[17:45] <yasserr> https://imgur.com/undefined
[17:45] <Drew_Neilson> One thing is that the instructions had me create a key pair on my Surface--the client. Is that correct?
[17:45] <yasserr> here enyc
[17:45] <yasser89> take a look
[17:45] <leftyfb> Drew_Neilson: 1 step at a time
[17:45] <leftyfb> Drew_Neilson: first, ping server
[17:46] <yasser89> should i install? enyc
[17:47] <yasser89> uhhh everyting fine? am starting to get worried?
[17:48] <jje> enyc: you should just be able to put GRUB_DISABLE_OS_PROBER=false in /etc/default/grub
[17:48] <leftyfb> why are we modifying grub when we don't even have ubuntu installed?
[17:48] <yasser89> i didn't enabel or disable anything in the bios menu
[17:48] <Drew_Neilson> I'm not getting a ping response
[17:48] <jje> because ency asked about it
[17:49] <yasser89> enyc should i continue with the installation?
[17:49] <ogra> well, enyc asked for a GUI way 🙂
[17:49] <leftyfb> Drew_Neilson: ok, step #1, get networking setup properly. This isn't an ssh issue. This is a WSL issue
[17:49] <ogra> for WSL specific questions you can ask in #windows-wsl
[17:50] <leftyfb> Drew_Neilson: ^
[17:50] <clarkk> Today, in an update, kernel 5.15.0-41-generic was installed, but there no headers were installed, and I can't find any in the apt universe. Why would this happen, and what is the solution? Without headers it breaks my vmware installation, which for me is essential
[17:50] <leftyfb> Drew_Neilson: I'm pretty sure WSL doesn't have a way to add the Ubuntu installs to the same network as the Windows host. Only NAT. I could be wrong on that though. I know it's not setup like that be default
[17:51] <Drew_Neilson> Pinging my server leads to no response, but pinging Google does
[17:51] <ogra> clarkk, did you enable the proposed repository at some point and did not disable it anymore (which you should, never leave it enabled, it is just for cherry picking single packages or packagesets)
[17:51] <clarkk> ogra, I haven't enabled anything
[17:52] <leftyfb> Drew_Neilson: please join #windows-wsl for support with networking on WSL
[17:53] <clarkk> ogra, I've just looked at the apt log, and it says that it was installed this morning, before I woke up. From the log:    Commandline: /usr/bin/unattended-upgrade
[17:54] <clarkk> ogra, why would this happen?
[17:54] <yasser> enyc thanks man your a life saver
[17:55] <enyc> yasser89 yasser gone?
[17:55] <enyc> jje: maybe so,  I was wondering if ubuntu have a nice clicky way to do it easily
[17:55] <enyc> jje: e.g. install package  os-prober-enable or whatever
[17:55] <clarkk> Why is ubuntu installing things while I'm not at the system. I've never had this problem before - I've been running this system for more than 2 years
[17:56] <jje> enyc: not that i know of
[17:57] <leftyfb> clarkk: https://help.ubuntu.com/community/AutomaticSecurityUpdates
[17:57] <arraybolt3[m]> clarkk: Probably unattended-upgrades, it makes it so that your system stays secure even if you forget to upgrade it.
[17:57] <clarkk> arraybolt3[m], well, why has it broken my software, by installing a kernel which doesn't have headers available?
[17:58] <arraybolt3[m]> clarkk: It did what? OK, that's wrong. Can you fix it with "sudo apt update && sudo apt full-upgrade"?
[17:58] <clarkk> arraybolt3[m], I'm using synaptic to check for the correct headers version. What's the best command using the shell?
[17:59] <clarkk> arraybolt3[m], are you suggesting that I upgrade to 20.10?
[17:59] <arraybolt3[m]> To install or to find the right headers version?
[17:59] <clarkk> to see if they are available. synaptic says they are not
[18:00] <oerheks> headers should be there https://bugs.launchpad.net/ubuntu/jammy/+package/linux-headers-5.15.0-41-generic
[18:00] <arraybolt3[m]> No, the command I suggested simply gets all of your packages up to date. Upgrading to a new release would use "do-release-upgrade".
[18:00] <enyc> jje: IMHO this is silly, annoying default on clearly multibootable system, one of the reasons ubuntu losing favour directly-installed.
[18:00] <leftyfb> clarkk: sudo apt install linux-headers-5.15.0-41-generic
[18:00] <oerheks> run apt update again? or apt -f
[18:00] <arraybolt3[m]> So "sudo apt update && sudo apt full-upgrade" will update the software database for your release, and install all of the latest packages for that release, installing new ones if required.
[18:01] <clarkk> I'd just like to see if they are available first, to see if synaptic is reporting it incorrectly
[18:01] <enyc> *** yasser yasser89 *** will probably have a working lubuntu 22.04 install and need helping to  GRUB_DISABLE_OS_PROBER=false in /etc/default/grub  and fully update system.
[18:01] <arraybolt3[m]> Can you tell me the output of "uname -r"?
[18:01] <leftyfb> clarkk: apt-cache policy linux-headers-5.15.0-41-generic
[18:03] <clarkk> leftyfb, thank you. Remind me how to do that pastebin thing
[18:03] <clarkk> with term something from the shell
[18:03] <leftyfb> why? does it show as being available/insalled?
 | nc termbin.com 9999
[18:04] <arraybolt3[m]> (Er, <command> but you know what I meant.)
[18:04] <clarkk> leftyfb, I want to show you
[18:04] <clarkk> do you know the command?
[18:04] <yasser> if i dual boot lubuntu and windows do i have to tweak some settings?
[18:04] <leftyfb> clarkk: apt-cache policy linux-headers-5.15.0-41-generic | nc termbin.com 9999
[18:04] <yasser> i didn't install lubuntu yet
[18:04] <clarkk> leftyfb, that's it - thank you
[18:04] <enyc> yasser: oh, I was hoping you had installed now
[18:04] <arraybolt3[m]> yasser: will probably have a working lubuntu 22.04 install and need helping to  GRUB_DISABLE_OS_PROBER=false in /etc/default/grub  and fully update system.
[18:05] <enyc> yasser: Did you picture installer ready to go?
[18:05] <enyc> yasser: You set  installer for sda3  format as EXt4  mount as  /   .....
[18:05] <enyc> yasser: then  fill out the information and install the system....?
[18:05] <yasser> yes j sent the summary screen shot but didn't install yet
[18:05] <yasser> enyc yes
[18:05] <enyc> yasser: link screenshot again? i look up
[18:06] <enyc> yasser: link the screenshot
[18:06] <yasser> I cant access it
[18:06] <yasser> it up the messages won't load
[18:06] <enyc> yasser: take another picture then
[18:06] <yasser> not now sorry i gotta go
[18:06] <yasser> i will be back later and come here to show the message
[18:06] <enyc> yasser: Well...  when you have installed, you will probably find it will ONLY boot ubuntu at first
[18:07] <yasser> what about windows?
[18:07] <enyc> yasser: it will need   GRUB_DISABLE_OS_PROBER=false  in  /etc/default/grub  and fully update system  then it should let you dual-boot
[18:07] <yasser> ok
[18:07] <yasser> when will u log of ?
[18:07] <enyc> if needbe, "sudo update-grub"  but there should be a kernel update in first set of updates anyhow
[18:07] <enyc> yasser: may be here in next 3 hour,  not sure, may go out a little
[18:08] <leftyfb> clarkk: I thought you wanted to show me the output?
[18:08] <yasser> i will go for the next 3 hour or maybe evem more i will tag u when am back
[18:08] <yasser> thanks and bye
[18:08] <enyc> yasser: i MAY be up late then
[18:08] <enyc> others can help
[18:08] <yasser> ok
[18:08] <clarkk> leftyfb, sorry. I just wanted to make a note of the command for nc pastebin.  It's installed, and now synaptic shows it
[18:08] <yasser> no problem
[18:08] <yasser> bye for now
[18:08] <enyc> yasser: I'm quite sure you did it right to  create sda3 as Linux EXT4  on /  and then go through with the install
[18:08] <clarkk> leftyfb, I'm going to reinstall vmware, to see if that solves it
[18:09] <yasser> enyc yes i did it
[18:14] <arraybolt3[m]> Does anyone know if BalenaEtcher will verify a USB drive that it writes? I'm writing a guide for fixing common Lubuntu installer problems and want to make sure my info is right.
[18:16] <whiskey76> https://imgur.com/a/f5h0DqN Greetings. I want to delete nvme1n1p1 and expand nvme1n1p3 into that space. Can this be done in gparted?
[18:22] <whiskey76> i can't seem to expand n1p3
[18:22] <enyc> whiskey76: I don't see why not, partition numbers are out of order
[18:22] <arraybolt3[m]> whiskey76: You'll have to boot from a live USB to do so, but yes. Make sure to back up all your important data on both Windows and Ubuntu first.
[18:23] <arraybolt3[m]> whiskey76: You need to move it first.
[18:23] <enyc> whiskey76: +1  boot from live disk where its' not running,  so it can be moved to beginning and then expanded
[18:23] <arraybolt3[m]> Move it to the start of where the old partition is, then expand it.
[18:23] <enyc> Linux *can* often cope with online expansion of partition to the right  but not the other way round
[18:23] <whiskey76> aha ok thanks
[18:26] <enyc> whiskey76: it looks like you are EFI-booting so you don't have all these complications with  partition order and where ESP is etc
[18:26] <enyc> uerr which order is bios boot partition i mean
[18:42] <arraybolt3[m]> Does anyone know if BalenaEtcher will verify a USB drive that it writes? I'm writing a guide for fixing common Lubuntu installer problems and want to make sure my info is right.
[18:43] <enyc> arraybolt3[m]:  win32diskimager has a 'verify' button ....
[18:44] <jhutchins> arraybolt3[m]: I've never seen BalenaEtcher mentioned before.  You might want to use something that's better known.
[18:44] <arraybolt3[m]> jhutchins: Etcher is recommended by Kubuntu as the program to use for making a bootable USB drive, and I've seen it mentioned many times.
[18:45] <arraybolt3[m]> (It's essentially nice-looking DD for Windows, Linux, and Mac, so if it can work for verifying a drive, I'd like to recommend its use.)
[18:46] <jhutchins> "win32diskimager is much more reliable than <rufus> or <etcher> for copying ISO images to USB sticks and you can download
[18:46] <jhutchins>              it from https://sf.net/projects/win32diskimager/ . "
[18:46] <arraybolt3[m]> Right, but it's Win32DiskImager. Etcher is cross-platform.
[18:46] <jhutchins> That's what Debian recommends.
[18:47] <jhutchins> arraybolt3[m]: Ok, I'm less familiar with the Ubuntu/Lubuntu install recommendations.
[18:48] <jhutchins> https://help.ubuntu.com/community/Installation/CDIntegrityCheck
[18:49] <jhutchins> arraybolt3[m]: Cross-platform burning: https://help.ubuntu.com/community/BurningIsoHowto
[18:49] <arraybolt3[m]> jhutchins: Thanks, I forgot about the fact that the Ubuntu ISO is self-checking!
[18:50] <jhutchins> arraybolt3[m]: There are conditions where you can just get the md5sum of /dev/usb0
[18:50] <enyc> Linux Mint includes "USB stick image writer"  or similar (name probably slightly wrong),  do any Ubuntu derivatives include such?
[18:50] <arraybolt3[m]> enyc: Yeah, but that's Ubuntu (or Mint) specific. I'm just trying to help users be able to verify a USB drive with a minimum of hassle.
[18:50] <jhutchins> enyc: The "burning" link above mentions burning from Ubuntu.
[18:51] <enyc> arraybolt3[m]: well there may not be a cross-platform-answer
[18:51] <enyc> arraybolt3[m]: more to the point, as soon as you wrote stick  and it gets mounted in linux, that tends to update the "last mounted" date in ext4 headers  which then means image is fine but then 'verifies' wrong ;o
[18:51] <arraybolt3[m]> As long as the ISO self-checks, Etcher can do the writing, and we're golden. Thank you, that will help me write the guide!
[18:52] <arraybolt3[m]> That makes sense.
[18:52] <arraybolt3[m]> (I'm pretty sure Etcher self-verifies the drive when it writes it, but if the ISO self-checks, then it doesn't matter.)
[18:53] <enyc> well...
[18:53] <enyc> LinuxMint reported problems with the iso self check in 22.04 and so didn't put it in mint21-iso,  not actually tested the funciton in  ubuntu 22.04, maybe it still works there by some different method
[18:54] <arraybolt3[m]> enyc: Crummy.
[18:55] <enyc> arraybolt3[m]: I'm guessing you mean grrr this is crummy situtaion  as opposed to the name of some FOSS I don't yet know about ;O
[18:55] <arraybolt3[m]> True.
[18:58] <jhutchins> arraybolt3[m]: I think I'd want to check the ISO before I burned and booted it.
[18:59] <jhutchins> It would be frustrating to get all the way to the boot menu, wait around for the iso check, and find out it's bad.
[18:59] <arraybolt3[m]> jhutchins: Right. But ISOs can get corrupted while flashing to the USB, rendering a good ISO into a bad USB drive.
[19:00] <jhutchins> Sure, so good to check after the burn, but also before.
[19:00] <arraybolt3[m]> True.
[19:00] <jhutchins> I have had more iso images corrupt on download (actually corrupt at source) than corrupt on burn (at least since the 90s).
[19:01] <enyc> I've come across many silly/incompatible/naighty USB sitcks of various forms
[19:01] <jhutchins> "Corrupt on burn" these days tends to mean "bad usb drive".
[19:01] <arraybolt3[m]> Yep.
[19:02] <solaris11> Hi. May I ask basic questions about ubuntulinux  in this channel
[19:02] <arraybolt3[m]> Ask away.
[19:02] <arraybolt3[m]> Anything that needs fixed or explained, we can (at least try to) fix and explain.
[19:03] <jhutchins> Hmm, Debian's bot says etcher is not reliable.  I think that factoid is fairly old though.
[19:03] <solaris11> How do I know if an Ubuntu desktop has be tampered with. Simple way
[19:03] <jhutchins> solaris11: Who had access to the system?
[19:03] <arraybolt3[m]> solaris11: Like how to know if the image is genuine? Or how to know if someone
[19:03] <arraybolt3[m]> someone's messed with the computer?
[19:04] <solaris11> Downloaded fromofficial ubuntu site.
[19:04] <jhutchins> solaris11: What motive would they have?  What would they gain by tampering with the desktop?
[19:04] <jhutchins> solaris11: Verify the checksum (published with the image).
[19:04] <arraybolt3[m]> solaris11: You're talking about the sha256sum, right?
[19:05] <solaris11> yes
[19:05] <arraybolt3[m]> jhutchins: I think we both jumped the gun and went into cybersec mode.
[19:05] <arraybolt3[m]> solaris11: What OS are you on currently? Windows, Mac, or Linux?
[19:05] <solaris11> Windows
[19:05] <jhutchins> I've seen more systems crippled by paranoia than by hacking.
[19:05] <arraybolt3[m]> Great. Download 7-Zip and install it, then right-click on the image file, hover over "CRC SHA", then click "SHA256".
[19:06] <solaris11> ok so I do not need to do a checksum, right?
[19:06] <arraybolt3[m]> solaris11: You do need the checksum.
[19:06] <arraybolt3[m]> So here's how this works. The checksum is the fingerprint of the file.
[19:06] <arraybolt3[m]> On Canonical's side, they generate the fingerprint of a known-good file, and publish it.
[19:07] <arraybolt3[m]> Then you download the file and the fingerprint, and then use a tool (like 7-zip) to fingerprint your copy of the file.
[19:07] <filename> ok
[19:07] <arraybolt3[m]> If your fingerprint and Canonical's fingerprint match, you both have the same file. Otherwise, something got corrupted.
[19:07] <arraybolt3[m]> So use 7-zip to generate the sha256 sum of the image file, then compare the fingerprint it spits out with the one you get off of Ubuntu's website. If they match, congrats! If not, bummer, download again.
[19:08] <filename> u're kidding lame
[19:09] <arraybolt3[m]> filename: Do you have an Ubuntu support question?
[19:09] <filename> yes, how to reinstall
[19:09]  * filename accepting bans ... bans left: 2
[19:09] <solaris11> Thanks
[19:09] <arraybolt3[m]> filename: Oh, OK. Do you still have a live Ubuntu USB drive on hand?
[19:09] <leftyfb> filename: trolling is offtopic here. Try #ubuntu-offtopic
[19:09]  * filename accepting bans ... bans left: 2
[19:10] <arraybolt3[m]> Well, OK.
[19:10] <arraybolt3[m]> !ops | filename is trolling the channel
[19:10] <filename> Done.
[19:10] <filename> and
[19:10] <filename> ./j #ubuntu-trolling !respect linux!!!1
[19:10] <arraybolt3[m]> solaris11: Sorry about that. Need any more help?
[19:11] <filename> mp
[19:11] <filename> mp = maliculous polling
[19:11] <solaris11> yes gparted, manual partitioning during install is really a must?
[19:11] <filename> contentrate of informatione xtraction
[19:11] <leftyfb> filename: please stop
[19:12] <arraybolt3[m]> solaris11: I don't believe so. Are you going for a dual-boot setup?
[19:12] <arraybolt3[m]> (btw, the Ignore button is a powerful tool. filename is already gone for me.)
[19:12]  * filename selecting stop .... selecting alternate channels ... no ugly channels found .. result: stay
[19:12]  * filename accepting bans ... bans left: 2
[19:12] <leftyfb> !op filename someone care to take of this please?
[19:12] <arraybolt3[m]> solaris11: Or are you intending to erase Windows entirely and replace it with Ubuntu?
[19:12] <leftyfb> !op | filename someone care to take of this please?
[19:12] <filename> he is on e
[19:12] <solaris11> no usb installation media boot through F12
[19:13] <arraybolt3[m]> !ops | filename someone care to take of this please?
[19:13] <filename> wragrand
[19:13] <filename> filename someone care to take of this please?
[19:13] <filename> 22:13:10.158 <filename> wragrand
[19:13] <filename> #filename someone car e to take of this please?
[19:13] <solaris11> no usb installation media boot through F12 no usb installation media boot through F12
[19:13] <arraybolt3[m]> solaris11: Not sure I'm understanding you. Did you flash the ISO to a USB drive?
[19:14] <filename> selecting results ... buy new media
[19:14]  * filename offline (re-all=y)
[19:14] <solaris11> yes and then install in an external HD 1 Terabite
[19:14] <solaris11> to boot as an external removable media
[19:15] <arraybolt3[m]> solaris11: OK, so, plug in the Ubuntu USB drive first, and boot from it, then select "Try Ubuntu".
[19:15] <arraybolt3[m]> solaris11: If you're not able to find the USB drive in the boot menu, try a different USB port - I've had finicky USB port and drive combos cause problems like that.
[19:16] <solaris11> but I want to make a full install of Ubuntu desktop  in the external 1 TeraHD
[19:17] <arraybolt3[m]> solaris11: Correct. That's why you're using the "Try Ubuntu" option. You'll see why in a minute.
[19:17] <jhutchins> !install
[19:18] <arraybolt3[m]> (The idea is, boot all the way into Ubuntu, then plug in the external USB drive, then install Ubuntu onto it - that way, you make sure that the drive is fully recognized before launching the installer.)
[19:18] <clarkk> I can't update to kernel 5.15, because it's not compatible with vmware workstation yet. How do I prevent any more updates to that version, but continue automatically installing any updates for the previous major version?
[19:18] <jhutchins> solaris11: A full Ubuntu install takes around 20Gb.  40 is plenty for a workstation with external storage.  From there it's just what you choose to put on the system.
[19:19] <jhutchins> clarkk: Don't sweat it.  The system won't install an imcompatible kernel. (With the exception of certain hardware regression).
[19:19] <jhutchins> clarkk: You can always boot to the previous installed kernel.
[19:20] <jhutchins> clarkk: You have to be patient when you start getting multiple vendors involbed (Cannonical + VMWare).
[19:20] <clarkk> jhutchins, it just did this morning. and I've spent all afternoon trying to work out how to fix it. How do I prevent installation of the next version for the moment, but continue with updates for the previous version?
[19:21] <jhutchins> What's a good AWS instance for an Ubuntu server?  Too many choices!
[19:21] <jhutchins> I hope to run Nagios on it.
[19:21] <jhutchins> !pinning
[19:21] <jhutchins> clarkk: See the instructions there.  It's not hard, but not very common any more.
[19:22] <solaris11> Do I need to create a small partiton logical, ext4 journaling EFI as first to boot in window OS install?
[19:22] <clarkk> jhutchins, what instructions?
[19:22] <solaris11> Is it necessary or let ubuntu install itself
[19:23] <solaris11> choose advanced option or not? Partition
[19:23] <arraybolt3[m]> solaris11: I'd just let Ubuntu install itself.
[19:24] <solaris11> and about updates. Is it advisable or not?
[19:24] <arraybolt3[m]> solaris11: That should let you switch between Windows and Ubuntu by shutting down, unplugging the drive, and powering back on, and vice-versa.
[19:24] <arraybolt3[m]> solaris11: ALWAYS apply ALL updates.
[19:24] <solaris11> sometimes break grub and boot
[19:25] <guite> hello all :)
[19:25] <guite> I’m tring to import an ovpn file into my ubuntu’s openvpn client that came out of pivpn… I don’t know what’s going on but the client says “connected to the vpn” but once I try to reach a destination like 192.168.1.xxx at home, destination is unreachable… Would there, by any chance, be someone here who could help :)
[19:25] <arraybolt3[m]> solaris11: Failing to apply updates can leave your system vulnerable to getting hacked.
[19:26] <jhutchins> clarkk: The link posted by ubottu (our bot).
[19:26] <solaris11> do updates mess with software because windows  does
[19:27] <jhutchins> solaris11: Ubuntu will configure a working partition scheme.  If you don't know better, go ahead and accept the defaults.
[19:27] <arraybolt3[m]> solaris11: Ubuntu updates are pretty unlikely to break Windows. Windows updates, on the other hand, aren't nearly so nice, so you should probably keep your Ubuntu drive unplugged during Windows updates.
[19:27] <jhutchins> solaris11: My preference is a single partition (+ swap) unless you know where your growth will occur.
[19:27] <arraybolt3[m]> (I've heard of things like Windows deleting an Ubuntu partition for no particular reason and stuff like that.)
[19:27] <solaris11> single partion would be home ?
[19:27] <solaris11> and root?
[19:28] <solaris11> logical, ext4journaling?
[19:28] <jhutchins> solaris11: Single partition would be "/" - root.  /home would be a directory under /
[19:28] <arraybolt3[m]> solaris11: The defaults are good. It will be a single ext4 partition, home and root all in one.
[19:29] <arraybolt3[m]> solaris11: It might also make a fat32 partition for EFI files.
[19:29] <jhutchins> arraybolt3[m]: Does it no longer split out /home?
[19:29] <solaris11> in the begginning of disk?
[19:29] <solaris11>  fat32 partition for EFI files.
[19:29] <jhutchins> solaris11: That's right, I'm a pre-EFI fossil.
[19:29] <arraybolt3[m]> jhutchins: Nope, everything's crammed into the same partition. If you use encryption it will split out /boot, however.
[19:30] <arraybolt3[m]> solaris11: Yeah, fat32 at beginning of disk for EFI files, everything else ext4.
[19:31] <solaris11> I've heard of things like Windows deleting an Ubuntu partition for no particular reason and stuff like that.)
[19:31] <solaris11> you mean when usb is still pluged?
[19:31] <solaris11> and Windows do an update?
[19:31] <arraybolt3[m]> solaris11: I think that was in a dual-boot setup that this happened, but better safe than sorry. (They had Windows and Ubuntu on the same drive IIUC.)
[19:32] <jhutchins> arraybolt3[m]: Does the installer default handle the efi set-aside automatically?  (This one seems to have reverted to BIOS.)
[19:32] <jhutchins> solaris11: Are you dual booting?
[19:32] <arraybolt3[m]> jhutchins: It should handle it automatically.
[19:33] <arraybolt3[m]> jhutchins: They're installing Ubuntu on an external drive, so sorta dual-boot but not exactly.
[19:33] <solaris11> No I do not trust dual boot with windows alongside
[19:33] <jhutchins> arraybolt3[m]: Multiple ways to do that.
[19:33] <solaris11> read many things, do not know if info are correct, though
[19:33] <jhutchins> solaris11: We've been doing it pretty much since the beginning of public Linux.,
[19:34] <solaris11> and no problem?
[19:34] <jhutchins> solaris11: Thousands of instances, so somebody must have had a problem, but not usually.
[19:35] <jhutchins> solaris11: The Windows installer (and repair disks) will over-write the Linux bootloader, but that's not hard to fix.
[19:36] <solaris11> Have a link how to fix it and how to dual boot?
[19:36] <jhutchins> !fixgrub
[19:36] <arraybolt3[m]> https://help.ubuntu.com/community/Boot-Repair
[19:36] <jhutchins> !dual boot
[19:37] <jhutchins> The last dual-boot setup I had was two different releases of another Distro. Production to get work done, Testing to see if it was ready.
[19:38] <clarkk> jhutchins, thanks for the instructions. In hindsight, I just want to change the default boot kernel. I know I have to edit /etc/default/grub, but how do I get the list of kernels, so I know which index to use?
[19:38] <jhutchins> clarkk: ls /boot would show the kernels.
[19:39] <clarkk> jhutchins, in the order in the boot menu?
[19:39] <jhutchins> So would dpkg -l linux*
[19:39] <solaris11> Thank you very much guys, arraybolt3 ubottu
[19:39] <jhutchins> clarkk: They should al be listed in the grub file though, just need to point to a different number (1 instead of 0).
[19:40] <clarkk> jhutchins, strangely, they aren't listed in the grub file
[19:41] <clarkk> jhutchins, difficult to believe there isn't a command that shows the list
[19:41] <clarkk> without other files etc
[19:41] <jhutchins> clarkk: Ah, you're right.  You could just blindly change GRUB_DEFAULT=0 to GRUB_DEFAULT=1
[19:42] <jhutchins> clarkk: They should be listed in the menu when you boot...
[19:42] <clarkk> jhutchins, I don't want to do it blindly
[19:42] <Sayona> ro.archive.ubuntu.com is down?
[19:42] <clarkk> :/
[19:42] <clarkk> well, that's a bit shit, if you don't mind me saying! :D
[19:42] <jhutchins> Sayona: Pings.
[19:43] <Sayona> yum update failed
[19:43] <jhutchins> Sayona: Not responding properly though: https://downforeveryoneorjustme.com/ro.archive.ubuntu.com
[19:43] <Sayona> ugly
[19:43] <jhutchins> !mirror status
[19:44] <jhutchins> Sayona: This is why there's more than one mirror.
[19:45] <jhutchins> Sayona: archive.debian.org is up: https://downforeveryoneorjustme.com/archive.ubuntu.com
[19:47] <jhutchins> clarkk: I'm a little behind on the modular grub config, but there is a file that lists all of the boot options.
[19:47] <Sayona> yap, thanks I will use it
[19:47] <jhutchins> clarkk: There's a grub emulator too, although I can't think of the command off-hand.
[19:47] <jhutchins> clarkk: That shows the boot menu.
[19:48] <clarkk> jhutchins, it's ok, I found something that works...  awk -F\' '/menuentry / {print $2}' /boot/grub/grub.cfg
[19:52] <jhutchins> clarkk: Ah, grub-emu - not installed by default.
[19:53] <oerheks> vmware gives your solution, clarkk :: If you build the modules from the https://github.com/mkubecek/vmware-host-modules repo for version WS 16.2.3 it should work with 5.15.0-41-generic.
[19:54] <oerheks> https://communities.vmware.com/t5/VMware-Workstation-Pro/Workstation-Pro-broken-with-Linux-kernel-5-15-0-41-generic-quot/m-p/2918772
[19:54] <clarkk> oerheks, thanks. I didn't want to do that, and I don't see why I should. Why has it worked fine for years without getting modules from github?
[19:54] <oerheks> then don' t.
[19:55] <clarkk> thanks :)
[19:55] <clarkk> Am I wrong to assume that they will build it into the package at some point?
[19:55] <oerheks> and use KVM, much more reliable than vmware :-D
[19:55] <clarkk> oerheks, what's KVM?
[19:55] <oerheks> how would we know, ask in vmware channel?
[19:55] <oerheks> 1kvm
[19:55] <oerheks> !kvm
[19:56] <clarkk> oerheks, it says it's for non-graphic servers. I use it for software that has a gui
[19:57] <clarkk> oerheks, I hate vmware. Would love to change, but only if it will work just as well
[19:57] <oerheks> read the 2nd part;  Libvirt front ends for managing VMs include virt-manager (GUI) or virsh (CLI).   and i am sure you can run a desktop on KVm
[19:59] <clarkk> oerheks, ok, thanks for letting me know. I can't do it at the moment, but will try it out in the future
[20:00] <yasser> hi
[20:00] <yasser> i was wondering where can i find GRUB_DISABLE_OS_PROBER
[20:02] <sarnold> yasser: you'd set that in /etc/default/grub -- run the info -f grub -n 'Simple configuration'   command given at the top of that file to see the docs on it
[20:02] <sarnold> yasser: TIL that's an option ;) I've always just purged that package from my system, hehe
[20:06] <yasser> i want to dual boot windows and lubuntu
[20:06] <yasser> but i didn't install lubuntu yet
[20:06] <clarkk> If I change the GRUB_DEFAULT number, what happens when a new kernel is automatically installed? Will it automatically change the number to point to the correct one?
[20:06] <oerheks> then why are you looking for os prober, yasser ?
[20:07] <oerheks> it is not there on your HDD yet....
[20:07] <Guest9> Hi, I'm using a high-powered gaming laptop to run Lubuntu 22.04 LTS. When Using Firefox, my system will lock up and freeze completely. On a much cheaper laptop, I never frooze up, what could be happening?
[20:07] <Guest9> Lubuntu is awsome and I highly reccomend it, its probably my favorite OS
[20:07] <clarkk> (by correct one, I mean the one that I explicitly configured - the old kernel)?
[20:08] <oerheks> clarkk, you might keep booting in that old kernel. that is your issue, if you keep that one as standard.
[20:08] <clarkk> oerheks, I want to keep booting to the old kernel, so I can explicitly deal with the problem of trying a new version
[20:08] <oerheks> but you have no headers or something, so you should not bother. until vmware fixes things?
[20:09] <oerheks> and here ends my support for vmware. period.
[20:09] <clarkk> oerheks, if you;re referring to my problem a couple of hours ago, the headers are in fact installed. It was just synaptic that wasn't reporting it
[20:10] <oerheks> good luck, now you can boot the latest kernel
[20:10] <clarkk> oerheks, I don't want to boot the latest kernel. That's my question
[20:11] <clarkk> I want to boot to one that I explicitly choose, so I can try the new ones when I have time
[20:11] <clarkk> I don't want to automatically boot into a newly installed kernel
[20:12] <clarkk> so, if I change GRUB_DEFAULT to 3, will it always boot to the kernel I've chosen from now on?
[20:12] <clarkk> and if it installs a new one at the first position, will it update the default?
[20:14] <clarkk> can anyone help with this? Surely it's not such an outlandish request?
[20:15] <EriC^^> clarkk: you can use the menuid of the kernel
[20:16] <clarkk> EriC^^, you mean to set GRUB_DEFAULT?  If so, yes, i understand that. What I want to know is, if a new kernel gets installed automatically, will it continue to default boot to the old kernel (which is what I want)
[20:17] <clarkk> I don't want it to start booting to newly installed kernels
[20:19] <EriC^^> clarkk: you can use GRUB_DEFAULT='Advanced options for Ubuntu> Ubuntu, with Linux 5.15.0-41-generic'
[20:19] <EriC^^> for instance
[20:19] <jhutchins> clarkk: Try it.
[20:19] <EriC^^> minus the space before Ubuntu,
[20:20] <clarkk> jhutchins, how can I try it? I've got to wait for a new kernel to be released and installed, don't I?
[20:20] <jhutchins> clarkk: I seem to recall that changing the default causes updates to preserve the manual setting, but no guarantees.
[20:21] <jhutchins> clarkk: Are you doing unattended updates?
[20:21] <clarkk> jhutchins, it seems ubuntu is set to install new kernels by default
[20:21] <EriC^^> clarkk: type "grep menuentry /boot/grub/grub.cfg" and set it as above according to the kernel you want
[20:21] <jhutchins> clarkk: Not that I ever heard.
[20:21] <clarkk> I don't mind them being installed, but I don't like booting to them by default
[20:21] <clarkk> EriC^^, I feel you're missing the point of my question
[20:22] <EriC^^> clarkk: i feel you're not understanding what i mean
[20:22] <jhutchins> clarkk: It should only do that if you've enabled it.  Otherwise it only installs them on eithe dist-upgrade or full-upgrade.
[20:22] <jhutchins> clarkk: I do not have a system I can test that on right now.
[20:22] <clarkk> jhutchins, I have not enabled it
[20:23] <clarkk> it was the default
[20:23] <EriC^^> clarkk: it would only boot that kernel if you set it that way, but come to think of it, it might remove the kernel on updates, you likely want to pin the kernel package
[20:23] <jhutchins> clarkk: THat doesn't really make sense, since apt* upgrade won't even install new kernels by default.
[20:24] <jhutchins> EriC^^: I believe the standard behavior is to default to the new kernel unless the user has changed something.
[20:24] <jhutchins> EriC^^: There is a set number of retained kernels that can be reconfigured.
[20:25] <EriC^^> i think apt upgrade upgrades kernels, it just wont remove packages to satisfy dependencies
[20:26] <clarkk> ok, so I think my solution is to change the update settings to download but not install security updates automatically?
[20:26] <jhutchins> EriC^^: Why do dist- and full- upgrade exist if upgrade already does it?
[20:27] <jhutchins> clarkk: That would be smart, yes.  That's why automatic updates shouldn't be the default.
[20:27] <EriC^^> clarkk: if you use in grub the menu's name, it shouldnt change with upgrades unlike the numbering, but with installing new kernels ubuntu only keeps 2 if you run autoremove, so it could remove your desired kernel, i think you want to pin the package version so it never upgrades it
[20:27] <jhutchins> (Maybe there's an installer option?)
[20:27] <EriC^^> jhutchins: full-upgrade has the bonus of removing packages to satisfy dependencie
[20:27] <sarnold> bonus / risk, take your pick :)
[20:27] <EriC^^> i still use apt-get myself, but that's what 'man apt' says
[20:28] <EriC^^> sarnold: :)
[20:30] <jhutchins> EriC^^: My apt manpage agrees, I think this has changed since I started using debian-branch systems.
[20:30] <clarkk> EriC^^, how do I stop old kernels from being removed?
[20:30] <farhan> Hi all! I would like to enable iommu. The ARch wiki tells me to add intel_iommu=on to the kernel. How do I do this?
[20:31] <oerheks> clarkk, easy, never update :-D
[20:31] <farhan> This is a grub option, but it isn't clear to me where I am supposed to do this.
[20:31] <clarkk> oerheks, hehe. That's a bit extreme :D
[20:31] <EriC^^> clarkk: use apt-mark hold linux-image-generic and other related stuff
[20:31] <oerheks> clarkk, it fits your weird user case.
[20:31] <jhutchins> clarkk: https://askubuntu.com/questions/620266/how-does-apt-decide-how-many-old-kernels-to-keep
[20:31] <EriC^^> clarkk: apt-mark hold linux-headers-generic as well i guess
[20:32] <EriC^^> those are the meta-packages that depend on the latest kernel, so when the version changes they pull in the new kernel, you can see it under 'apt-cache show linux-image-generic' in Depends
[20:33] <EriC^^> if you pin the current version i think you should be good when newer kernels come out
[20:34] <EriC^^> clarkk: i'd take a look at your kernel packages with "dpkg -l | grep linux-image" and see what's there, in case of hwe stuff
[20:36] <jhutchins> See also dpkg -l "linux-image*"
[20:36] <EriC^^> (you might need to do something like apt-mark hold linux-image-generic-hwe-..... and for the headers as well)
[20:37] <jhutchins> EriC^^: Does he need headers?
[20:37] <EriC^^> no point in it updating them, plus all consistent and stuff
[20:37] <EriC^^> *shrug*
[20:42] <jhutchins> EriC^^: Do the headers depend on the kernel?  I can think of reasons for both.
[20:43] <clarkk> jhutchins, yes, I need headers, because vmware recompiles its interfaces when it boots
[20:43] <clarkk> well, when the kernel changes
[20:43] <jhutchins> clarkk: Yes then.
[20:43] <jhutchins> I forgot about vmware reinstall.  Fun!  Pretty easy though.
[20:43] <jhutchins> Also doesn't take the system down.
[20:45] <clarkk> EriC^^, https://termbin.com/rz1g
[20:46] <clarkk> EriC^^, what is hwe?
[20:47] <EriC^^> clarkk: it's the hardware enablement stack, i think it's not the lts releases only and gives you kernels from newer versions of ubuntu
[20:47] <EriC^^> !info linux-image-generic-hwe-20.04 focal
[20:47] <clarkk> EriC^^, so is it ok that there isn't an hwe package listed for the older kernels?
[20:47] <EriC^^> *not=on
[20:48] <EriC^^> clarkk: yeah that -hwe one is the meta package that pulls in the kernel, it's just a ghost package kind of
[20:48] <EriC^^> right now it's set to pull in 5.15.0-41, is that the kernel you want to only keep booting?
[20:48] <clarkk> EriC^^, ok, so it's not important, and I don't need to hold one for the older kernel?
[20:48] <clarkk> EriC^^, no, that's the problem kernel
[20:49] <EriC^^> clarkk: ah, which one is the good kernel?
[20:49] <clarkk> EriC^^, it's been installed today, and stopped vmware working. I want to continue with 5.13.0
[20:49] <clarkk> <IP_ADDRESS> was working fine
[20:49] <EriC^^> clarkk: is that the only output of 'dpkg -l | grep linux-image' btw?
[20:50] <clarkk> EriC^^, yes
[20:50] <clarkk> EriC^^, https://termbin.com/qyro
[20:52] <clarkk> Does dpkg -l | grep ' linux-' show all the important kernel-related packages?
[20:52] <EriC^^> yeah
[20:52] <clarkk> https://termbin.com/07se
[20:53] <clarkk> ok
[20:55] <EriC^^> clarkk: what you could do is pin the current version of linux-image...hwe , it'll stick on 5.15, then run autoremove and see if you have only 2 kernels remaining, 5.13.0-52 and the latest 5.15, those should always stay there
[20:55] <EriC^^> and then modify GRUB_DEFAULT='Advanced..blabla>Ubuntu, 5.13.......' and run update-grub
[20:56] <clarkk> ok, thank you EriC^^ . Another thing. If I install an old kernel, what steps do I need to do to ensure that everything's compiled in and grub is updated?
[20:56] <EriC^^> it's not as clean as can be since you'll always have the 5.15 there doing nothing, but it should work i think
[20:56] <EriC^^> clarkk: grub is updated always when you install a new kernel automatically
[20:57] <clarkk> EriC^^, the thing is, I want to install newer versions. I just don't want to lose the 5.13 releases
[20:57] <clarkk> EriC^^, I installed an old kernel about a week ago, but the display was very slow. I don't think the nvidia drivers were compiled in. How would I resolve that?
[20:58] <oerheks> ..
[20:59] <EriC^^> clarkk: the repo nvidia drivers?
[21:00] <clarkk> EriC^^, what I mean is, when the kernel is automatically updated, the nvidia works fine. Why doesn't it work when automatically when I install an older (not very old - just one that was being used by default last month)?
[21:00] <EriC^^> clarkk: it seems what you want is 'apt-mark manual linux-image-5.13.0-52-generic' and same for the headers package
[21:00] <EriC^^> i think that should stop autoremove from removing it
[21:01] <EriC^^> clarkk: no idea honestly, maybe try to reinstall the nvidia package after installing the kernel+headers?
[21:01] <clarkk> sorry, ok, thanks EriC^^ I will try that now.  bbs - rebooting
[21:01] <EriC^^> no problem
[21:05] <Emerald196> Im using Lubuntu 22.04 LTS
[21:05] <Emerald196> When using any version of Firefox, Firefox, LibreWolf
[21:05] <Emerald196> MY system will randomly freeze up
[21:05] <Emerald196> Using a high powered laptop
[21:05] <Emerald196> Alternate Linux Opern source GPU driver
[21:05] <Emerald196> I was previously using Lubuntu on a low-spec laptop, and it never froze.
[21:06] <Emerald196> SO Im suprised this more powerful laptop is freezing, ever
[21:06] <Emerald196> it seems to only feeze when using Firefox
[21:06] <Emerald196> I thought It could be the GPU driver, as its a 3rd party open source driver
[21:06] <Emerald196> Any ideas?
[21:06] <Emerald196> Why doesn't the laptop/OS resume, it just freezes once and stays frozen, why doesnt it resume after a time?
[21:06] <Emerald196> I can move the mouse but cant minimize, maximize, any windows
[21:06] <Emerald196> clock freezes etc
[21:07] <sarnold> can you use control+alt+f1 or control+alt+f2 to get to another virtual console?
[21:07] <sarnold> there might be useful logs available if you can
[21:07] <Emerald196> Once it freezes, I can only move the mouse
[21:07] <Emerald196> So I can't input those keys
[21:08] <Emerald196> Then I have to hard restart with power key
[21:08] <sarnold> wild, I figured if the mouse was alive it'd process any of the rest of usb..
[21:08] <Emerald196> Alt Tab didnt switch windows
[21:08] <Emerald196> So I dont think keys worked
[21:08] <Emerald196> start button didnt work when frozen either
[21:09] <sarnold> those require the desktop environment to be processing events
[21:09] <sarnold> control+alt+f1 and control+alt+f2 don't care about the desktop environment. (well, they kind of do, X11 can forbid those from working..)
[21:14] <Emerald192> that Control Alt F2 just logged me out...
[21:14] <cbreak> Emerald192: it should switch you to a different TTY
[21:14] <cbreak> Emerald192: control alt f1 should switch you back to the normal GUI
[21:15] <EriC^^> ( or ctrl+alt+f7 )
[21:15] <Emerald192> Why
[21:15] <Emerald192> Why do all that
[21:16] <EriC^^> the idea is to try to see logs in /var/log/syslog and similar to see any clues
[21:17] <cbreak> (a TTY is a TeleTYpeWriter. As you can see, it's a very old concept...)
[21:18] <sarnold> Emerald192: so that you can run journalctl or less /var/log/syslog or whatever and get some data on what happened
[21:18] <Emerald192> true, thanks
[21:19] <Emerald192> What are some of the most secured, hardened OSs aviable for regular usage?
[21:19] <Emerald192> Like hardened, more secure than average, but works the same as Ubuntu etc
[21:19] <Emerald192> I know of Whonix Qubes, but seeking something lesser
[21:20] <Emerald192> More normal function like Ubuntu
[21:20] <Emerald192> But just hardened, with enhanced anti-exploit ability
[21:20] <arraybolt3[m]> Emerald192: Hardened and for daily use don't really go together all that well. Ubuntu is already quite hardened out of the box, but to get any further, you need to use crazy stuff like Qubes.
[21:20] <arraybolt3[m]> So essentially, Ubuntu is already quite hardened, and is the closest you're gonna get to what you're looking for.
[21:21] <arraybolt3[m]> (I mean, Kali Linux is also designed to survive a hostile network, but it also is NOT REPEAT NOT for daily use.)
[21:21] <sarnold> you could try stuffing a grsec kernel on the machine; I'm not sure what they do these days that's different, but it seems like they pop up every few kernel issues and gloat that it doesn't affect them
[21:22] <Emerald192> Great thanks
[21:22] <arraybolt3[m]> Any enterprise-quality Linux distro should be hardened as much as you'll need (Ubuntu and its flavours, RHEL, AlmaLinux, Rocky Linux, etc.)
[21:22] <oerheks> just use ubuntu.
[21:23] <Emerald192> Arraybot
[21:23] <Emerald192> arraybolt
[21:23] <Emerald192> DO you reccomend Stock Ubuntu or Lubuntu
[21:23] <arraybolt3[m]> Depends on your hardware.
[21:23] <Emerald192> I prefer lightweight, fast speed even when I have powerful hardware
[21:23] <Emerald192> To minimize resource usage
[21:23] <Emerald192> and maximize speed
[21:23] <oerheks> there are more flavors..
[21:23] <oerheks> !flavors
[21:23] <arraybolt3[m]> I personally am partial to Lubuntu, in part because I contribute to it :) It's quite lightweight and fast.
[21:23] <Emerald192> I enjoy Lubuntu because XFCE is not really updated
[21:23] <Emerald192> Is there any benefit to Ubuntu compared to Lubuntu
[21:24] <Emerald192> I really like Lubuntu
[21:24] <arraybolt3[m]> Depends on the apps you're using.
[21:24] <arraybolt3[m]> Stock Ubuntu is based off of GNOME, Lubuntu is based off of Qt.
[21:24] <Emerald192> Well I mean like, is Ubuntu more secure than Lubuntu
[21:24] <arraybolt3[m]> You can run apps for either on both systems, but if you mismatch, it will consume a bit more resources.
[21:24] <cbreak> If you want a truly hardened OS, install it on a read-only device
[21:24] <Emerald192> or am I missing out of anything by using Lubuntu
[21:24] <oerheks> more secure?
[21:24] <cbreak> like a DVD or something
[21:24] <oerheks> that is an opinion
[21:24] <Emerald192> Yeah like does one version of the OS have a better ASLR etc
[21:24] <arraybolt3[m]> No, Lubuntu is not more or less secure than Ubuntu, neither is Ubuntu more or less secure than Lubuntu.
[21:24] <arraybolt3[m]> They're the same OS under the hood.
[21:25] <Emerald192> Is lubuntu 22.04 LTS supported for the same time as Ubuntu 22.04 LTS?
[21:25] <cbreak> run everything in a container, like snap, isolated from each other. Maybe throw SE Linux / LXC at it too
[21:25] <arraybolt3[m]> They just have different user interfaces and libraries installed by default.
[21:25] <oerheks> no, lubuntu gets 3 years
[21:25] <Emerald192> Does stock Ubuntu get more security updates?
[21:25] <Emerald192> Ubuntu gets 5 years, Lubuntu 3?
[21:25] <Emerald192> For LTS even?
[21:25] <arraybolt3[m]> No, Ubuntu flavours (like Lubuntu) get 3 years of support, stock Ubuntu gets 5.
[21:25] <oerheks> Emerald192, no..
[21:25] <Emerald192> So whaaat
[21:25] <Emerald192> ok
[21:25] <Emerald192> I mean
[21:25] <Emerald192> Alright
[21:25] <Emerald192> Ubuntu sounds better
[21:25] <arraybolt3[m]> However, when a flavour goes EOL, but the main release is still alive, you'll still get security updates, just some parts won't be updated anymore.
[21:25] <oerheks> Emerald192, your questions are made up.
[21:26] <Emerald192> Does stock ubuntu get priority, or more comprehensive, or a larger number of security updates
[21:26] <arraybolt3[m]> (So Lubuntu-specific programs won't get updates, but the Ubuntu core will still get updates.)
[21:26] <arraybolt3[m]> No.
[21:26] <Emerald192> I supposed 3 years is pretty long to use an OS
[21:26] <Emerald192> I guess thats good enough
[21:26] <arraybolt3[m]> They're all based off of the same code, they're all treated the same as far as security updates.
[21:26] <cbreak> even if you stick with LTS, you can easily update every two years
[21:26] <Emerald192> https://ubuntu.com/security
[21:26] <cbreak> (on desktops)
[21:27] <cbreak> on servers, you woudn't use lubuntu anyway
[21:27] <arraybolt3[m]> "Ubuntu" is the whole entire family of operating systems, including Ubuntu proper and all the flavours. They all work off of the same innards.
[21:27] <Emerald192> Are any of these Ubuntu security features here (https://ubuntu.com/security) ONLY on ubuntu, and not ubuntu flavors?
[21:27] <sarnold> welllllll... packages in the main pocket get security support from canonical. packages in universe are supported by the community. whether or not tha tmatters to you is really up to you..
[21:28] <Emerald192> Such as Livepatch etc
[21:28] <Emerald192> Well Canonical has a better security patching team I'd imagine?
[21:28] <oerheks> Emerald192, and what would your answer be?
[21:28] <Emerald192> "
[21:28] <Emerald192> 10 years of support
[21:28] <Emerald192> A new LTS (Long Term Support) version of Ubuntu is released every two years, for desktop and server. Both versions receive updates and are supported for ten years.
[21:28] <Emerald192> "
[21:28] <arraybolt3[m]> Emerald192: Again, they're all the same OS.
[21:28] <arraybolt3[m]> They all get equal treatment when it comes to the guts.
[21:29] <arraybolt3[m]> (The ten years of support are for if you buy Ubuntu Advantage - you normally only get 5 years. So that's a paid offering.)
[21:29] <arraybolt3[m]> (The ten years is the paid offering, I mean.)
[21:29] <Emerald192> But Livepatch
[21:29] <Emerald192> oooo It didnt mention it was a paid 10 year extension...
[21:29] <oerheks> lts only.
[21:29] <oerheks> oooo it did
[21:29] <arraybolt3[m]> Emerald192: Livepatch just isn't necessary if you actually can stand to reboot your systems every once in a while.
[21:29] <Emerald192> 10 years is a long time to use an OS version anyway
[21:29] <sarnold> some kernels get livepatch support, but not all: https://lists.ubuntu.com/archives/ubuntu-security-announce/2022-June/006606.html   the short version: "stick to LTS releases if you want livepatch"
[21:29] <oerheks> we have a saturday troll, ladies and gentlemen
[21:30] <Emerald192> Alright
[21:30]  * oerheks walks out
[21:30] <Emerald192> Good hes gone
[21:30] <arraybolt3[m]> Emerald192: It's a fancy thing for servers and desktops that HAVE to stay running all the time, but can you really not afford to reboot every once in a while?
[21:30] <Emerald192> Does Lubuntu also have this Ubuntu feature:
[21:30] <Emerald192> FIPS
[21:30] <Emerald192> Ubuntu provides you with FIPS 140 certified cryptographic packages enabling Linux workloads to run on U.S. government regulated and high security environments.
[21:30] <arraybolt3[m]> Emerald192: I don't know, someone else might.
[21:30] <cbreak> Emerald192: why would y ou want that junk?
[21:30] <Emerald192> alright
[21:30] <Emerald192> For high security
[21:30] <cbreak> just get proper crypto instead of that legacy fips nonsense...
[21:30] <Emerald192> Better HTTPS
[21:30] <cbreak> heh
[21:30] <Emerald192> Better RNG
[21:30] <cbreak> no.
[21:31] <cbreak> fips is junk
[21:31] <Emerald192> why do you say that
[21:31] <arraybolt3[m]> Emerald192: FIPS is actually less secure than non-FIPS.
[21:31] <cbreak> don't you remember the ECDRBG disaster with nist?
[21:31] <Emerald192> yeah
[21:31] <arraybolt3[m]> Emerald192: FIPS is a standard that is required in very specific circumstances, it's not actually a good measure of how secure encryption is.
[21:31] <cbreak> I recommend staying away from fips if  you care about actual security
[21:31] <Emerald192> alright, thanks
[21:31] <sarnold> Emerald192: I doubt there's any FIPS systems with GUIs installed
[21:32] <arraybolt3[m]> I think the FIPS is also a paid offering since it's very expensive to get certified. So you probably won't get FIPS, which is a good thing for security.
[21:32] <Emerald192> I'm getting big glitches with my VPN software on Lubuntu, OVPN Autostarts when I turned autostart off, Wireguard doesnt connect, Mullvad autoconnects even when I set it to NOT autoconnect.
[21:32] <cbreak> if you want real security, get a Yubikey. A non-fips one :)
[21:32] <sarnold> arraybolt3[m]: there's two free tiers: https://ubuntu.com/advantage
[21:32] <cbreak> it can handle a bunch of crypto much more securily than local agents
[21:33] <cbreak> Emerald192: I set up an LXC container running wireguard permanently
[21:33] <cbreak> so everything in that container is forced into the VPN
[21:33] <cbreak> much more secure than switching between things
[21:33] <cbreak> (in my opinion)
[21:33] <Emerald192> Can I enshroud my entire operating system to only use the Wireguard tunnel
[21:34] <cbreak> yes. And that's a pain in the ass.
[21:34] <Emerald192> I know I can basically just set a firewall rule to block all connections except for connections to the Wireguard VPN server IP
[21:34] <cbreak> I do that inside the container.
[21:34] <Emerald192> Then the only software which would use the VPN IP is Wireguard
[21:34] <Emerald192> So I'd only have internet when connected to the Wireguard VPN
[21:34] <Emerald192> Make sense, sound good?
[21:35] <cbreak> I have nicely segmented systems, with software that's forced into the vpn in one, and software that doesn't know about the vpn in the other
[21:35] <cbreak> (I have several such isolated systems, for different VPNs)
[21:35] <Emerald192> Can you help me find a good VPN
[21:35] <Emerald192> I like AirVPN, Mullvad, OVPN, IVPN
[21:35] <cbreak> the one with wireguard works nicely. I use mullvad
[21:35] <cbreak> it seems ok
[21:35] <Emerald192> Yeah Mullvad is great
[21:35] <cbreak> used protonvpn before. It was also good.
[21:36] <cbreak> but I switched away from it because of wireguard support.
[21:36] <Emerald192> Im using the desktop linux mullvad app, and I cant see where to regenerate my wireguard key
[21:36] <Emerald192> On mobile mullvad app I clearly see where to regenreate Wireguard key
[21:36] <cbreak> (and with "good" I don't mean actual security. Unfortunately, for VPNs, that's a trust issue, and can't really be verified)
[21:36] <Emerald192> but on linux app I cant find the option
[21:36] <Emerald192> yeah
[21:37] <cbreak> I use the generic wireguard CLI client for mullvad, not the GUI
[21:37] <cbreak> ubuntu has packages for that
[21:37] <Emerald192> nice
[21:37] <Emerald192> CLI because its safer and faster?
[21:38] <cbreak> no
[21:38] <Hash> Hey
[21:38] <cbreak> because I can start it via systemd more easily
[21:38] <Hash> I keep trying to install libreoffice and it wont' download
[21:38] <cbreak> as I said, it's set up in the container to always run
[21:38] <Hash> 0% [Waiting for headers]
[21:38] <Hash> Always stuck on kazooei.canonical.com
[21:38] <Emerald192> makes sense, thanks
[21:39] <arraybolt3[m]> Hash: How long are you waiting? Sometimes it takes a while to kick in.
[21:39] <cbreak> Hash: have you tried changing your apt package source?
[21:39] <Hash> 0% [Connecting to kazooie.canonical.com (<IP_ADDRESS>)]
[21:39] <Hash> 15 minutes
[21:39] <arraybolt3[m]> Oy. cbreak: How would he do that?
[21:39] <Hash> I dunno. I am using what came with Ubuntu 22
[21:39] <cbreak> try running software-properties-kde or what ever
[21:39] <cbreak> that lets you switch to local mirrors
[21:39] <oerheks> Hash,  use an other mirror, http://kazooie.canonical.com/ seems down
[21:39] <arraybolt3[m]> Hash: I know what he's talking about. Look for an app called "Software and Updates".
[21:39] <Hash> I can ping it <IP_ADDRESS>
[21:40] <Hash> I don't use apps.
[21:40] <cbreak> Hash: then use vim
[21:40] <Hash> I am command line on ubuntu server.
[21:40] <Hash> What are you on about?
[21:40] <arraybolt3[m]> Hash: Oh. OK.
[21:40] <cbreak> and change /etc/apt/sources.list
[21:40] <arraybolt3[m]> Hash: (We all thought you were on desktop.)
[21:40] <Hash> To what?
[21:40] <cbreak> I use http://ubuntu.ethz.ch/ubuntu/, the swiss mirror
[21:41] <cbreak> there's a list of mirrors in that gui tool thingie
[21:41] <ravage> Hash, https://launchpad.net/ubuntu/+archivemirrors any of those http mirrors
[21:41] <cbreak> don't know if there's a cli version
[21:41] <arraybolt3[m]> Hash: Mine is http://us.archive.ubuntu.com/ubuntu/
[21:41] <cbreak> arraybolt3[m]: are the archive ones proper mirrors?
[21:41] <arraybolt3[m]> Hash: Edit the file and make the URLs point to a mirror that makes sense in your location, ravage posted a list of mirrors.
[21:41] <arraybolt3[m]> cbreak: I know my system updates just fine.
[21:41] <Hash> I don't even see this mirror in my sources.list
[21:42] <cbreak> Hash: the kazooie thing?
[21:42] <oerheks> so, on ubuntu server, trouble downloading libreoffice...
[21:42] <cbreak> it could also be in one of the files in /etc/apt/sources.list.d/
[21:42] <Hash> Yes
[21:42] <ravage> that server sounds a little suspicios anyway
[21:42] <Hash> It's not even in my sources.list or any file in sources.list.d/
[21:42] <ravage> thats not part of a default install i think
[21:42] <Hash> I have no idea why that is in here?
[21:42] <oerheks> sorry for the spoiler, ravage
[21:43] <Hash> sudo cat /etc/apt/sources.list.d/*
[21:43] <Hash> Nothing.
[21:43] <ravage> oerheks, :D
[21:43] <Hash> cat /etc/apt/sources.list nothing
[21:43] <arraybolt3[m]> I've seen messages about connecting to kazooie.canonical.com, so it might be something else.
[21:43] <Hash> I don't see this canonical likn
[21:43] <arraybolt3[m]> For me, I can load kazooie.canonical.com in a web browser 🤷♂
[21:43] <cbreak> Hash: you do have something in that file though, do you?
[21:44] <Hash> It's also going to banjo canonical.com
[21:45] <Hash> I think something is forwarding ?
[21:45] <Hash> I have no idea
[21:45] <Hash> I don't see any bloody *.caninical.com links in my sources.lists
[21:45] <cbreak> what do you have in your sources.list file?
[21:45] <Hash> AT ALL anywhere
[21:45] <Hash> WHATEFVER UBUNTU CAM<E WITH!
[21:45] <Hash> man.
[21:45] <Hash> I didn't do anytihng
[21:45] <cbreak> ?
[21:45] <Hash> So buntu jammy comes with sources.list that just hangs.
[21:45] <Hash> Apparently.
[21:45] <sarnold> Hash: go for a walk, man
[21:46] <Hash> Brilliant.
[21:46] <sarnold> Hash: networking problems happen from time to time
[21:46] <Hash> No I'm fine.
[21:46] <Hash> The problem is that I'm being  asked noob questions.
[21:46] <cbreak> Hash: no.
[21:46] <Hash> I just ...
[21:46] <cbreak> that's not how it appears
[21:46] <cbreak> but don't worry, once you work with computers a bit more, you'll get better at diagnosing issues
[21:46] <Hash> Stimulus and response are a unitary movement. If you dislike my response, sir, please modify yoru stimulus, and you shall have a different response, one you might like.
[21:47] <cbreak> what it actually appears like is that your system acts in a way you don't understand, and you refuse to debug it
[21:47] <Hash> I'm sorry that's your perception.
[21:47] <Hash> Then in that case you do not need to help me.
[21:47] <Hash> Good day.
[21:48] <cbreak> I'd recommend looking into the source of the hostnames that apt uses
[21:48] <Hash> I'm asking about server stuff, and you're asking me to use apps or use vim or just literally the most trivial baby stuff.
[21:48] <cbreak> and the source is in /etc/apt/sources.list and /etc/apt/sources.list.d
[21:48] <Hash> It's a waste of time. Please spend a b it of time understanding the problem, before you offer solutions. It will save everyon'es time.
[21:48] <Hash> Thank you
[21:49] <cbreak> if you need help on how to look into these files, feel free to ask
[21:49] <Hash> Sigh.
[21:49] <cbreak> they're text file, any text editor will do
[21:49] <oerheks> Hash, you started with ubuntu server, trouble downloading an app named libreoffice...
[21:49] <Hash> Fine.
[21:49] <oerheks> lolz
[21:49] <Hash> Thank you.
[21:49] <sarnold> Hash: try again now
[21:49] <Hash> Sure.
[21:49] <Hash> yup, fine now. Stuck for 15 minutes and now it's fine
[21:49] <Hash> So wasn't really something in my system I needed to debug.
[21:50] <cbreak> once you've managed to open the files, you'll probably find that you directly or indirectly use that host. And you can hard-code a different mirror there too
[21:50] <Hash> Again, you know just, it jsut wastes time when people do this. Please, learn how to support. I understand people want to help, and want to be recognized for helping, but if you don't do it properly, it just hassles people and wastes their time.
[21:50] <sarnold> indeed, but it's perhaps still useful to learn how to use host, dig, and curl's --resolve  :)
[21:51] <Hash> I know how to use those tools.
[21:51] <Hash> Maybe I shoudl switch back to debian
[21:51] <Hash> There at least people are far more technical and don't do this baby coddling stuff that is just irritating.
[21:51] <cbreak> if you dig deep enough in ubuntu, you might find it
[21:52] <cbreak> or at least pieces of it
[21:52] <Hash> 18 years of debian, and you know, why did I switch to ubuntu man.
[21:52] <hggdh> Hash: enough
[21:52] <Hash> Sigh.
[21:52] <sarnold> Hash: seriously man:
[21:52] <sarnold> $ host archive.ubuntu.com
[21:52] <sarnold> archive.ubuntu.com has address <IP_ADDRESS>
[21:52] <sarnold>  $ host <IP_ADDRESS>
[21:52] <sarnold> <IP_ADDRESS>.in-addr.arpa domain name pointer banjo.canonical.com.
[21:52] <sarnold> it's like two seconds effort..
[21:52] <Hash> Yeah, that's not the issue.
[21:53] <Hash> Thue issue is that it was stuck on geting headers for 15 minutes, no matter how many times I attempted
[21:53] <sarnold> sure, *that* is an issue
[21:53] <Hash> Nod.
[21:53] <oerheks> that is not your issue, you need to change mirror.
[21:53] <cbreak> the solution for that is to wait until the host's back up, or to change the mirror.
[21:53] <cbreak> easy.
[21:56] <Hash> Once again... to what?!
[21:56] <Hash> In debian, you can find out mirrors closest to your geolocation and use those.
[21:56] <Hash> How does this distribution work?
[21:56] <cbreak> ravage posted a list of mirrors
[21:56] <Hash> Where do I figure out which mirror is geographically closest to me based on actual tests?
[21:56] <cbreak> the tool I recommended also allows selecting it
[21:57] <cbreak> it's not made for servers though
[21:58] <oerheks> but with 9 years experience, changing to archive.ubuntu.com is not that hard
[21:58] <cbreak> the hardest thing is probably exiting vim afterwards. (tip: :wq )
[21:58] <Hash> ...
[21:58] <Hash> Maybe for you.
[21:59] <Hash> I guess it would be hard,... I don't know.
[21:59] <cbreak> it was very unintuitive
[21:59] <Hash> Could you not please impose what's hard on your on others?
[21:59] <Hash> It's really obnoxious.
[21:59] <cbreak> vim is one of the least self-documenting text editors in existence
[21:59] <Hash> Ok, .. thanks.  Just learn to support properly..
[22:00] <Hash> When you do'nt, it jsut wastes time and aggravates people and just not col.
[22:00] <Hash> Anyway, you're arlight man. Good day
[22:00] <cbreak> have fun with libreoffice
[22:00] <hggdh> ok. That's all right, burt can we please stop
[22:00] <hggdh> cbreak: you too please
[22:01] <oerheks> sudo apt install libreoffice # would pull in a lot of dependencies,.. also a complete desktop :-D
[22:01] <cbreak> I wonder if that has a CLI mode
[22:01] <cbreak> maybe for converting doc files on a server
[22:01] <oerheks> cbreak, no
[22:01] <cbreak> :/
[22:01] <jhutchins> I don't think we can help Hash, he seems to know the answers already.
[22:01] <sarnold> cbreak: it does
[22:02] <gordonjcp> cbreak: vim is horrible
[22:02] <sarnold> cbreak: https://stackoverflow.com/questions/55070766/is-libreoffice-headless-safe-to-use-on-a-web-server
[22:02] <gordonjcp> cbreak: totally non-obvious, probably one of the worst bits of software ever
[22:03] <oerheks> alias libreoffice=/usr/bin/nano
[22:03] <gordonjcp> cbreak: I'm not sure how I could even use a computer without it
[22:03] <ravage> maybe we can move discussions about our favorite or not so favorite editors and libreoffice to the discussion channel? :)
[22:03] <Hash> I have no idea what all this is about
[22:03] <jhutchins> I've built linux machines just so I had vim available.
[22:03] <Hash> I was just asking about a stuck mirro.
[22:03] <cbreak> sarnold: neat. Seems risky though for the stack overflow usecase :/
[22:03] <gordonjcp> Hash: just change mirrors then
[22:03] <Hash> To what?!
[22:03] <Hash> Gusy. Come on man.
[22:03] <gordonjcp> Hash: it's best to stick with the "normal" mirrors, rather than specify one that seems faster
[22:03] <gdb> To something other than what it's set to now.
[22:04] <gordonjcp> Hash: they're usually faster, until they're not
[22:04] <Hash> Once again... to what? sir.
[22:04] <Hash> I'm lost.
[22:04] <Hash> Sir.
[22:04] <gordonjcp> Hash: what's it currently set to?
[22:04] <jhutchins> gordonjcp: You're just going to get an argument.
[22:04] <Hash> us.*
[22:04] <gdb> Do you speak English?
[22:04] <gdb> Do you need another channel that caters to your native language?
[22:04] <sarnold> cbreak: it is -- I'd definitely want apparmor profiles, seccomp policies, etc if it were me :)
[22:04] <Hash> I would like to find something closer to my location within the US
[22:04] <gdb> "to something else"
[22:04] <gordonjcp> Hash: yeah, don't do that
[22:04] <gdb> Apparently you were given a list. Throw a dart at it and pick whatever the dart hits.
[22:05] <gordonjcp> Hash: that seems like a good idea, but anything other than the recommended mirrors will be less reliable
[22:05] <jhutchins> Please don't feed the trolls.
[22:05] <Hash> gordonjcp: do what? Try to find a closer mirror?
[22:05] <gordonjcp> Hash: yup
[22:05] <Hash> Oh.
[22:05] <gordonjcp> Hash: when it's working normally it will make basically no difference to the speed
[22:05] <Hash> Yeah, see I tried to install netselect-apt and it's not installable in Ubuntu
[22:05] <Hash> I see
[22:06] <Hash> On point technical discussion. This is what makes me happy.
[22:06] <gordonjcp> so
[22:06] <gordonjcp> set it to http://us.archive.ubuntu.com/ubuntu/
[22:06] <gordonjcp> update your repo
[22:06] <Hash> That's what it is already.
[22:06] <gordonjcp> h,
[22:06] <gordonjcp> hm
[22:06] <gordonjcp> see, that's why I asked you what it was using
[22:06] <Hash> And still got stuck on that thing, but it's fine now
[22:06] <Hash> I'm not sure if sarnold did some magic in the back int he ubuntu servers :)
[22:06] <Hash> But soon as he said try again, it worked.
[22:06] <sarnold> I just talked to the magic folks
[22:07] <cbreak> aren't those archive.ubuntu.com domains just redirectors?
[22:07] <Hash> So I'm sure he did some magic in the back
[22:07] <Hash> Hehe
[22:07] <Hash> Sim sala bim!
[22:07] <sarnold> their alerting had gone nuts a few seconds before I said something
[22:07] <slingamn> i have a fresh install of 22.04 server on a system with two ethernet NICs, only one of which is connected
[22:07] <slingamn> systemd-networkd-wait-online.service is taking a very long time and i'm not sure why
[22:07] <sarnold> they poked a few apaches in the eye, and now are going through logs and graphs..
[22:08] <Hash> Makes more sense now.
[22:08] <sinned6915> i need some help with setting up a new drive and smb share
[22:08] <Hash> Thanks for the information
[22:09] <sinned6915> i am trying to figure out if my issue is the drive mount or the samba share
[22:09] <cbreak> slingamn: it'll wait until all links it knows of are configured, or failed. More details in the man page.
[22:09] <cbreak> slingamn: you should be able to make this shorter, by configuring all nics yourself via netplan, for example
[22:10] <slingamn> it says until they are "fully configured or failed"
[22:10] <slingamn> unplugged doesn't count as an immediate failure?
[22:13] <cbreak> don't know.
[22:13] <ravage> slingamn, it should not wait for a device without a carrier. what you can try is creating /etc/systemd/system/systemd-networkd-wait-online.service.d/override.conf and content https://p.haxxors.com/qv3ygx55.txt . that should continue the process as soon as any interface gets online
[22:14] <ravage> the 2 ExecStart lines are intentional. it clears any previous lines for the service
[22:15] <cbreak> slingamn: do you know why it waits?
[22:15] <cbreak> is it because of the disconnected NICs, or is DHCP on the connected ones slow?
[22:16] <slingamn> dhcp is very fast. i can see that the machine is responding to ping on the expected address during the wait period, but sshd won't come up because systemd is waiting
[22:16] <ravage> instead of any you can also try --ignore=INTERFACE
[22:16] <ravage> https://www.freedesktop.org/software/systemd/man/systemd-networkd-wait-online.service.html
[22:17] <slingamn> thanks, i'll look into that
[22:18] <ravage> you can also disable the service and only enable it for the interface that is connected. its the last paragraph in the description
[22:23] <slingamn> i added `optional: true` to the netplan clause describing the unused NIC and that seems to have fixed it
[22:23] <ravage> yes that service tries to configure all interfaces in your netplan config
[22:23] <ravage> optional is probably a good idea :)
[22:45] <wuzamarine> HELP! I am crashed out following update to 22.04  https://askubuntu.com/questions/1418931/help-system-crashed-on-22-04-update Update ran clean. First reboot dies at what appears to be near grub.
[22:46] <jhutchins> wuzamarine: I would suspect a problem rebuilding the initrd.
[22:46] <jhutchins> wuzamarine: What were you updating _from_?
[22:46] <wuzamarine> jhutchins: 20.04
[22:49] <jhutchins> wuzamarine: Can you boot to rescue mode?
[22:49] <wuzamarine> I think so. One sec
[22:52] <wuzamarine> jhutchins: recovery is booting
[22:52] <wuzamarine> I'm at the menu
[22:53] <wuzamarine> resume, clean, dpkg, etc..
[22:59] <wuzamarine> I tried to run grub reconfig. That didn't appear to change anything.
[23:03] <oerheks> add yourself to this bugreport
[23:03] <oerheks> https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1981622
[23:04] <jhutchins> wuzamarine: you might need some kind of boot media that has rescue mode on it.
[23:04] <wuzamarine> jhutchins: I can get to a root command line from recovery
[23:05] <jhutchins> wuzamarine: I'm pretty much guessing from here, but you can try apt -f install to complete any packages that weren't finished.
[23:06] <wuzamarine> I tried to edit /etc/fstab and remove the UID address and tried static /dev/sda1
[23:06] <wuzamarine> Meteorhead_: I'm trying now
[23:06] <jhutchins> wuzamarine: There's dpkg-reconfigure -a
[23:06] <jhutchins> !initrd
[23:08] <jhutchins> I'm afraid I don't know the initramfs commands for Ubuntu.
[23:08] <wuzamarine> jhutchins: Thereis no -a switch on dpkg-reconfigure
[23:08] <wuzamarine> apt -f install, came up clean
[23:09] <wuzamarine> initrd is not installed
[23:11] <jhutchins> wuzamarine: No, it's initramfs now, and that's the file not the command to rebuild it.
[23:11] <jhutchins> wuzamarine: mkinitramfs has been one possibility...
[23:11] <arraybolt3[m]> "man update-initramfs" should give you info on it, if that's what you're dealing with.
[23:14] <jhutchins> !info dracut
[23:21] <clarkk> Could someone explain this line please?  "This is only useful if ‘GRUB_DEFAULT=saved’; it is a separate option because ‘GRUB_DEFAULT=saved’ is useful without this option"  https://www.gnu.org/software/grub/manual/grub/grub.html#Simple-configuration-handling
[23:22] <clarkk> I don't understand the distinction between when GRUB_DEFAULT=saved is used and GRUB_SAVEDEFAULT is true vs when it's false
[23:25] <jhutchins> clarkk: I'm not at all sure on this.  LILO just worked.  It could be GRUB_SAVE_DEFAULT less one underscore.
[23:26] <jhutchins> clarkk: https://askubuntu.com/questions/148662/how-to-get-grub2-to-remember-last-choice
[23:26] <clarkk> jhutchins, heh, yes, I was following that too
[23:27] <clarkk> jhutchins, do you think an auto kernel install could change the last selected kernel to the most recently installed one?
[23:28] <jhutchins> clarkk: What I understand is that it increments to the latest kernel unless /etc/defaults/grub has been changed, in which case it adds it but doesn't increment it.
[23:28] <jhutchins> That may be completely wrong or obsolete.
[23:31] <clarkk> jhutchins, thanks.   Rebooting to test it out
[23:44] <clarkk> back :)   Is there any reason an old kernel, for example 5.4.0-48, would not have been removed from my system?  Is it useful for troubleshooting or something, or is it safe to remove it?
[23:52] <PeGaSuS> Ubuntu always keeps at least the current kernel + latest newest, iirc. https://askubuntu.com/questions/620266/how-does-apt-decide-how-many-old-kernels-to-keep
[23:53] <Dan39> does ubuntu by default have a rescue kernel too?
[23:54] <Dan39> that's saved me a few times when moving HDD between hardware
[23:54] <Dan39> (on fedora/rhel)
[23:54] <sarnold> the default configuration saves several old kernels, yeah
[23:55] <Dan39> (don't google it if you don't know, i'm just casual wondering)
[23:55] <Dan39> sarnold: that's something different
[23:55] <Dan39> oh wait i meant rescue initramfs
[23:55] <Dan39> not kernel
[23:55] <clarkk> PeGaSuS, ah, someone sent me that before. Thanks - I'll read it thoroughly this time
[23:56] <Dan39> but it's usually a boot option like the different kernel versions
[23:56] <sarnold> Dan39: yeah, each kernel gets their own initrd
[23:56] <Dan39> well a rescue one is different
[23:56] <PeGaSuS> yes, you can boot in rescue mode in Ubuntu
[23:56] <Dan39> depends on the distro i assume, but with dracut the main ones only include drivers for the current hardware/setup
[23:56] <Dan39> not rescue mode haha
[23:57] <Dan39> that's something different too i'm pretty sure
[23:57] <Dan39> but the other initrd i'm talking about is built with --no-host-only so it includes all the drivers
[23:58] <Dan39> there is also a "rescue mode" as in the boot target rescue.target
[23:58] <Dan39> which is completely different
[23:59] <Dan39> "Rescue mode boots a single-user shell, starts some system services and tries to mount available file systems."
[23:59] <Dan39> unrelated to the kernel/initrd