[00:07] I'm attempting to install Ubuntu Server 18.04 and am having trouble configuring filesystems, with or without LVM.Is the general idea to switch out to the shell to create filesystems? [00:09] there's a few different installers, and some of them iirc make it easier or harder to do block storage things.. [00:09] but I'd expect most tasks to be possiuble within the interface [00:17] I've tried several different approaches. I can't create filesystems within the automatic LVM config, tried falling back to just partitions and such and ended up creating a partition for everything (/, /home, /usr etc) [00:17] I'm missing the old ncurses debian installer [00:18] that's still around [00:20] hmm. this doesn't *say* anywhere that it's the old one.. http://cdimage.ubuntu.com/releases/18.04.1/release/ but that's the link from "Download the alternate installer" on https://www.ubuntu.com/download/alternative-downloads [00:24] I'll give that a shot. It wasn't clear to me since the filename doesn't mention anything so it looks like the regular one. [00:26] I guess the hint is its missing the "live" [00:27] oh is that the tell? heh === crimastergogo_ is now known as crimastergogo === icey_ is now known as icey === elsheepo_ is now known as elsheepo [11:32] How do I report multipass bugs? [11:36] multipass? [11:40] kstenerud_, try asiking in #multipass [11:41] RoyK, https://snapcraft.io/multipass [11:44] ogra: oh - another docker-ish thing? ;) [11:45] not at all :) [11:45] its an OS agnostic VM tool (also runs on win and macos) [11:45] no containers involved ;) [11:45] what's underneath? kvm? [11:46] you have to ask the devs :) [11:47] It's to VMs what lxd is to containers [11:47] in beta atm [11:48] kvm [11:49] ogra: libvirt or qemu afaics, looking at src/platform/backends [11:49] and IIRC libvirt uses qemu and is just another abstaction later on top of it [11:50] and qemu may use kvm if the arch supports it [11:50] yup, and multipass gives it all a nicer UI with similar commands to lxd [11:50] gotta take a closer look at it some time [11:52] container: lxc launch ubuntu:cosmic blah [11:52] VM: multipass launch --name blah cosmic [11:53] how does multipass deal with networking? [11:53] I have a bridge (br0) setup on my home server now for kvm/libvirt use with some VMs [11:53] I'm not really sure - I'm just getting started with it myself. [11:54] ok [11:54] you can pass it --cloud-init [11:54] you should really ask in #multipass ... i dont think any of the guys working on it is around in this channel [11:55] Found their github issues page so all is good [11:55] well, they should mention the issue link in the snap description ... or in the contact field of the snap [11:56] Nope, there's no contact link in the snap unfortunately [11:57] thats what i mean :) [11:57] tell them in the #multipass channel ;) [11:59] good morning [11:59] rbasak: hi, any idea why it's blacklisted? [12:27] rbasak, around? [12:33] ahasenack: we avoided importing the kernel as it's too big and they have their own workflow (ownership of the default repository in Launchpad) [12:34] I'm not sure about linux-meta specifically [12:34] linux-meta is ~150kb uncompressed [12:35] Understood, but it might have been dragged in with the "leave the kernel for now" direction [12:35] nacc: ^ do you remember anything about linux-meta? [12:37] it was added in the first revision of the blacklist file [12:38] hm, but it was in b/gitubuntu/source-package-whitelist.txt [12:38] commented [12:38] I'm keen to avoid stepping on the kernel team's toes. [12:38] found the change [12:38] usd-cron-packages.txt: blacklist kernel packages [12:39] But if there's OK with it (including the takeover of the default repository on Launchpad for the Ubuntu package), I can't think of any other reason to not import it. [12:39] well, ok, another question [12:39] different topic [12:39] acpid, removing it from server seed [12:39] how can I check if it won't be demoted to unverse after that? [12:39] germinate-output? [12:40] http://people.canonical.com/~ubuntu-archive/germinate-output/ubuntu.disco/rdepends/acpid/acpid [12:40] Looks like desktop also hold it in main [12:41] I see [12:41] via acpi-support [12:41] which is what pupolates /etc/acpi/events [12:41] i.e., all the scripts for wifi buttons, keyboard backlight, etc [12:42] but that's a recommends [12:42] is that "strong" enough? [12:52] rbasak: ^ [12:53] ahasenack: I believe so [12:57] rbasak: after the seed change, how is the ubuntu-server metapackage (from ubuntu-meta src) updated? [12:57] I see an "update" script in it [12:57] ahasenack: ubuntu-meta needs the update running and re-uploading, yes. [12:58] ok [12:58] any particular order this needs to happen? seed change vs meta package change? [12:58] Seed change first IIRC [12:58] looks like it indeed, given the script [12:58] thx [12:59] The update script fetches the seeds to then update the ubuntu-meta sources [12:59] Might be worth double checking the plan in #ubuntu-devel - I don't do this very often. [12:59] rbasak: any opinion versus removing acpid entirely, or moving it to server-ship as a first step? [12:59] I don't see any need for it to be in server-ship, since I don't see that it would be affected by any bootstrapping issues. [13:00] ok [13:00] I say drop it unless someone comes up with a reason to keep it. [13:00] And we'll hopefully get reports with reasons we're wrong before the next LTS. [13:00] (preferably before the next release!) [13:00] And if necessary we can re-add but with a comment explaining why this time. === GDPR is now known as emerson [13:57] Any downside to disabling netplan on bionic and manually configuring networkd? [13:57] openfire: no, you're free to do so if you want [13:58] just don't specify the interface in /etc/netplan [13:58] Ah, so I don't even need to remove the package. That makes sense, thank you. [14:05] !0d5 [14:22] I installed a second disk in a Windows 10 system and installed Ubuntu Server 18.04 on it, but on boot there is no grub menu and thus no way to select which OS to boot into. At the moment Ubuntu is booting. [14:23] I have tried manually entering the details into /etc/grub.d/40_custom and running update-grub but that's not working for me. os-prober shows /dev/sdb1:Windows 10:Windows:chain [14:23] Should I be using the uuid of /dev/sdb1 in /etc/grub.d/40_custom? [14:27] zetheroo: if the system is using UEFI, then GRUB isn't responsible for choosing, it is the PC firmware boot manager itself. It should have 2 entries added when Ubuntu was installed, and usually Ubuntu is set to the default. It sounds like that hasn't happened. The alternative is you booted the Ubuntu installer in CSM/Legacy BIOS mode, and so was installed that way, in which case you'll need to use the [14:27] PC's boot manager to choose to boot CSM/Legacy mode from the 2nd disk [14:30] I got the grub menu to show up by pressing SHIFT during boot, but is there a way to make it always show automatically at boot? [14:31] zetheroo: Have a GRUB_TIMEOUT, and don't set GRUB_TIMEOUT_STYLE, is what I do. [14:33] mason: ok [14:33] TJ-: I'm fairly certain I installed Ubuntu with Legacy and not UEFI [14:34] I'm also pretty sure that when I installed Windows 10 on this server I didn't use UEFI either [14:35] zetheroo: oh, so there is a GRUB menu, it was just hidden! [14:37] Server bios boot mode is set to dual [14:37] for a changelog message, I'm wondering what to put in the changelog when I changed multiple files [14:38] Normally it's d/p/some.patch, but what if I modified a bunch of files in debian/ [14:38] yes, I pressed SHIFT right before boot and the grub menu showed up [14:39] I still don't understand the difference between apt-get purge vs apt-get remove [14:39] does purge do a remove as well? [14:40] DammitJim: yes but purge leaves no old conf behind [14:41] TJ-: this is what I have in /etc/grub.d/40_custom /etc/grub.d/40_custom [14:41] https://paste.ubuntu.com/p/dHD7Kc5yX4/ [14:42] TJ-: that's the uuid from /dev/sdb2 but I have also tried the uuid from /dev/sdb1 [14:47] why doesn't Startup Disk Creator let you select other iso's than Ubuntu iso's? [15:03] try SGD now [15:09] no luck [15:17] this is what I am getting when trying to boot into Windows from the grub menu https://ibb.co/fRCUOL [15:24] rbasak: https://pastebin.ubuntu.com/p/5MhXY6WR59/ [15:24] So 3 files changed [15:32] kstenerud_: how about: https://paste.ubuntu.com/p/gY9RWGRF88/ [15:32] kstenerud_: the diff itself looks great BTW, thanks. [15:37] cool thanks! [16:01] bios boot mode changed from Dual to Legacy - Fresh install of Ubuntu 18.04 completed - boots straight into Ubuntu with no grub menu [16:01] https://paste.ubuntu.com/p/sXc55gBnp6/ [16:13] zetheroo: My recommendation remains. [16:14] mason: getting to the grub menu is not really the issue ... but that there is no Windows to boot from in the grub menu [16:14] rbasak: ahasenack: looking [16:14] should grub be installed on the Ubuntu disk only, or also on the Windows disk? [16:15] boot-repair is asking me where to install grub [16:15] I'm thinking only on the Ubuntu disk [16:18] rbasak: ahasenack: right the binaries those packages create are all kernel-team owned, afaict [16:19] zetheroo: GRUB should be installed on whatever disk you want to boot from, and it should have an entry for whatever system you want to boot. If you have the option of UEFI/SecureBoot, you want that. [16:20] What it needs to look like on-disk depends on whether you're going for UEFI or legacy. [16:21] mason: grub installed on Ubuntu disk - rebooted and grub menu shows no Windows [16:22] This is the pastebin from boot-repair https://paste.ubuntu.com/p/Cd2cXWg9NR/ [16:25] any ideas? [16:26] Should I switch the Boot Mode in bios to UEFI? [16:27] if I do, do I have to reinstall Ubuntu? [16:36] UEFI enabled and nothing boots [16:36] I just end up at this screen showing a list of disks and Shell> [16:37] switching back to Legacy and seeing if Windows boots at all if I select it's disk as the primary boot disk ... Ubuntu boots :/ [16:37] zetheroo: https://askubuntu.com/questions/110698/add-windows-to-my-boot-menu seems relevant [16:37] https://paste.ubuntu.com/p/rqJJrKhmy6/ [17:04] so why doesn't Ubuntu add Windows to the grub menu during install? [17:06] What's the contents of the actual grub.cfg file? [17:08] is it in here? https://paste.ubuntu.com/p/Cd2cXWg9NR/ [17:09] I'm booting back into Ubuntu now [17:10] Are you mounting the Windows partition before running update-grub? [17:10] openfire: no [17:10] So mount the windows partition, and run 'update-grub'. Not grub-mkconfig. [17:11] how do I mount the windows partition? I mean ... do I just mount it anywhere? [17:12] and which partition do I mount? [17:12] there are 3 [17:12] https://paste.ubuntu.com/p/FtjKFTCcnz/ [17:13] I think it'll be the second one, if memory serves. The largest one. [17:13] And I usually mount it to '/mnt/windows' or something. [17:13] And DEFINITELY mount it as read-only. [17:14] can you help me with a mount command for r/o? [17:15] man mount will tell you that. [17:15] and this mount is just temporary right? [17:15] It has to be there whenever you run update-grub. [17:17] ok mounted [17:19] https://paste.ubuntu.com/p/f25gvJSnYW/ [17:21] That's not grub.cfg. [17:21] And I also didn't tell you to mount more than one Windows partition. :/ [17:22] openfire: with sdb3 unmounted it's the same output [17:23] zetheroo: mounts are not required; os-prober does that. The problem seems to be that /etc/grub.d/30_os-prover is either disabled or not betting the message [17:23] grrr s/30_os-prover/30_os-prober/ [17:23] I thought it had to be mounted somewhere to be found. My mistake, then. [17:24] zetheroo: do you have "GRUB_DISABLE_OS_PROBER=true" in /etc/default/grub [17:24] openfire: no, it scans all block devices (unless config options prevent it) [17:25] Filing that away, thank you., [17:25] here is the grub file https://paste.ubuntu.com/p/7rqx28PrQ6/ [17:26] zetheroo: grep GRUB_DISABLE_OS_PROBER /etc/default/grub [17:26] is it true or false? [17:26] nothing [17:26] false [17:26] where is the grub.cfg? [17:29] found it https://paste.ubuntu.com/p/YSNhFRxty8/ [17:30] zetheroo: let's debug the script. "pastebinit <( sudo sh -x /usr/sbin/grub-mkconfig 2>&1 )" [17:31] http://paste.ubuntu.com/p/PBPrxK7JQK/ [17:32] GRUB_DISABLE_OS_PROBER=true ? [17:32] from /etc/default/grub.d/50-curtin-settings.cfg [17:33] nacc: https://paste.ubuntu.com/p/pyDssTg4QN/ [17:33] nacc: indeed, I thought it'd be there somewhere :) [17:33] zetheroo: there you go, disabled :) [17:33] yeah, you can't have that and dual boot, zetheroo [17:33] dunno why it's set that way, tbh [17:33] no way :/ [17:34] so ... comment it out? [17:34] zetheroo: how did you install this system? [17:34] nacc: from installer - fresh install [17:34] USB bootable [17:34] zetheroo: which installer? [17:34] zetheroo: which release of Ubuntu is it, too? [17:35] (and what version of ubuntu is this?) [17:35] yeah [17:35] my fresh 18.04 desktop has no such file [17:35] ubuntu-18.04.1-live-server-amd64 [17:35] you installed server side by side with windows? [17:35] i'm not sure that's mean to be supported by default :) (without some extra steps) [17:36] *meant [17:37] ok, so what's the best solution now [17:37] ? [17:37] should I change that to =false? [17:38] and run os-prober and update-grub again? [17:38] TJ-: --^ I'm not sure. I think that should be fine, but this is an odd setup to me. [17:39] zetheroo: If the curtin package gets updated it might return. I'd use "dpkg-divert" to permanently move the file so it doesn't get read at all by grub [17:39] TJ-: ok, never heard of that. what's the full command? [17:40] nacc: seems pretty 'normal' to me; When we lost the alternate installer it was said the server installer would do everything it did so was un-necessary. Seems like the server installer team have forgot it is supposed to be a fallback for those that cannot run the desktop live installer (often due to graphics/video problems) [17:42] TJ-: ah could be. smoser --^ ? this seems like a corner case that should be more obvious [17:42] zetheroo: "sudo dpkg-divert --divert /etc/default/grub.d/50-curtin-settings.cfg.disabled --rename /etc/default/grub.d/50-curtin-settings.cfg" [17:43] done [17:43] do I still need to edit the config? [17:43] zetheroo: no, just "sudo update-grub" [17:44] zetheroo: that config file is no longer going to be read by grub [17:44] ok, and os-prober? [17:44] zetheroo: even if curtin package upgrades, it'll upgrade the new filename, which grub ignores [17:44] cool [17:44] zetheroo: os-prober is called by grub automatically [17:45] gosh ... all the things I didn't know [17:45] https://paste.ubuntu.com/p/DvHsSVzzcR/ [17:45] hey that looks better [17:45] is that it ... or? [17:45] is it safe to reboot? [17:45] zetheroo: now you just have to work out which one to boot! [17:46] oh [17:46] zetheroo: that's it :) [17:46] sdb2 is the largest partition ... so I have to do anything more manually? [17:46] zetheroo: *usually* the 1st entry is the Windows recovery partition [17:46] ok [17:46] do you suppose the grub menu will be shown at boot now? [17:48] TJ-: anything else I should do before rebooting? [17:48] zetheroo: you have to tap Esc (or hold Shift) to reveal it. You can change the /etc/default/grub options to make it display always [17:48] TJ-: I would prefer it always popped up [17:50] zetheroo: I think you'd add "GRUB_TIMEOUT_STYLE=menu" and then "sudo update-grub" again [17:50] its GRUB_TIMEOUT_STYLE=hidden atm [17:50] zetheroo: and ensure the *TIMEOUT= values are not 0 ! [17:51] GRUB_TIMEOUT=10 [17:51] ok, done and done [17:51] reboot? :) [17:52] zetheroo: your choice :p [17:52] ok, fire in the hole [17:52] all my fingers and toes are crossed :D [17:54] grub menu with Windows OS shows up !!! [17:55] there are two Windows OS entries .. the first one boots into Windows 10 [17:56] the second one also boots into Windows 10 [17:56] well .. better two that work than none ;) [17:58] zetheroo: nice [18:01] we are aware of the pain of /etc/default/grub.d/50-curtin-settings.cfg [18:01] if you do not like it's effects on things, it is safe to remove it. [18:02] ok, well thanks all for your help with this. No way I would have found this out. [18:03] smoser: ack :) [18:03] smoser: is there a bug tracking it as a pain point? [18:04] byes [18:04] yes even [18:04] https://bugs.launchpad.net/curtin/+bug/1635181 [18:04] Launchpad bug 1635181 in curtin "Curtin sneaks config into /etc/default/grub.d/" [Undecided,New] [18:05] smoser: ack thanks, zetheroo --^ fyi [18:05] nacc ok [18:23] the server installers don't have a "side by side" install option, right? [18:23] if I remember right that's a Desktop-only installer function [18:24] teward: i believe that is correct [18:28] that's what I thought [18:40] the GRUB_TIMEOUT=0 that ubuntu server has, is rather peculiar - for a desktop or laptop, sure, but if you're setting up a server, you know sufficient already not to be scared by the linux boot screen - if not - you'll learn that after a short while [18:41] RoyK: +1 [18:41] I also always have a problem with that, specially in VMs, where getting the timing right is super hard [18:41] and "shift" isn't the best key in that case [18:44] the main reason I don't use ubuntu too much on servers anymore, is that ubuntu really focuses a lot on the desktop, not on server/stability - so I had my Debian relapse ;) [18:53] * openfire looks at the extremely large server estate that he runs, a mix of 16.04 and 18.04. [18:54] Not on servers or stability, huh? [19:05] RoyK: yeah that's pretty FUD-y to me too :) [19:06] nacc: it's not ;) [19:07] Yes, it is. [19:07] It's total BS, to be completely blunt. [19:07] oh well, famous holy wars etc [19:07] RoyK: "ubuntu really focuses a lot on the desktop, not on server/stability" is FUD. You are basing it upon .... nothing? [19:07] RoyK: look at relative contributions, and stop abscribing your epxerience to a distribution (which can't "focus" on anytihng, because it's not a person, anyways) [19:08] It's not a war. You're full of crap, end of story. [19:08] There are several solid server distributions out there. Ubuntu IS one of them. To say it isn't is FUD. [19:08] nacc: experience - quite a few years of it - I moved to ubuntu from debian back in 2008 or thereabout and moved back some 4-5 years back because of quite a few bugs I posted that was never fixed - same thing worked well on debian [19:09] https://yourlogicalfallacyis.com/anecdotal [19:09] ONE thing didn't work for you. So that magically translates to "Ubuntu doesn't focus on server or stability." [19:09] As my old CO used to say, "That dog don't hunt." [19:20] the particular problem I was stuck on back then, was nested RAIDs - a bug that was never solved until a new release came out [19:21] the main problem, as far as I can see, with ubuntu server, is that it tosses in a lot of packages that aren't really ready or well-integrated, where in debian and centos, you get a system that is more balanced [19:21] I'm not saying ubuntu server doesn't work - I still use it from time to time - but hell - I prefer debian - I don't think there's a death penalty for saying that even here ;) [19:22] funny, I'd have thought it the other way around, since we've got a clear demarcation between main and universe [19:22] RoyK: You can prefer what you want. Your statement, however, was not one of preference. It was a judgment. "ubuntu really focuses a lot on the desktop, not on server/stability" [19:23] RoyK: I'm happy with people preferring what they want. But when people try to make statements of fact that are obviously BS, I call them out. [19:23] openfire: we're all quite subjective, really [19:25] openfire: but hell - if the "code of conduct" in here is to never complain about ubuntu, please show me that paragraph [19:26] RoyK: That's a total non-answer. And also very transparently a retreat and attempt to change the subject. You made an objective claim, and I called you out on it. [19:26] RoyK: no one said you violated the code of conduct. Stop being melodramatic. [19:27] RoyK: unless you can point to specific numbers of contributions that clearly show ubuntu changes are prioritizing desktop over server, maybe don't make such claims. [19:28] RoyK: If you make a claim, its on you to support your claim if someone calls you on it. You've failed to do so in any valid way. You've offered nothing in the way of data, your own unverifiable and suspect experience aside. You've offered opinions, and then relied on "it's just my preference" and other nonsense to change the context. [19:29] RoyK: Your original statement at issue was: "ubuntu really focuses a lot on the desktop, not on server/stability." Prove it, or be quiet. [19:30] how about we all drop this argument and move on to something more beneficial [19:30] this was about bug 1171945, which was never solved - that is - after upstart was thrown in the bin, it worked. As far as I can see, noone really worked on it while the problem persisted, which was some years [19:30] bug 1171945 in mdadm (Ubuntu) "Nested RAID levels aren't started after reboot" [Undecided,Confirmed] https://launchpad.net/bugs/1171945 [19:30] rather than shooting back and forth at each other. [19:30] teward: indeed [19:30] Agreed. [19:31] hey I see me! :) [19:41] I see you, too! [20:42] There an easy way to determine if a server is running beta or release on a non lts [20:43] guess 'lsb_release -a' gives me what I need === led_dark_2 is now known as led_dark_1