[00:00] <sevynos> btw, is this procedure good for a lvm partition?
[00:01] <tomreyn> sevynos: you'll need to enable any and all such intermediary layers from the live cd, too, as you would during the normal boot.
[00:03] <tomreyn> i.e. assemble raid, 'open' full disk encryption, detect and activate existing LVM2 PVs, VGs, LVs
[00:06] <sevynos> ok, I'll look at that. thanks
[00:09] <tomreyn> basically thats pvscan + lvchange -ay YourVolumeGroupNameGoesHere
[00:42] <Mr_Pan> loadmod sasl
[09:50] <SSMAdmin> Hi all.  I try to motivate my fb-network to migrate to Mastodon. To make the transition as easy as possible for them, I offer a Mastodon installation where I want to integrate a LIVE SUPPORT CHAT APPLET. However, there is some Content Security Policy running in Mastodon that prevents me to run this javascript live support chat applet.  How do I change this so this applet can be allowed to run?
[11:35] <zzarr_> Hello!
[11:35] <zzarr_> I have installed ubuntu-server un a HP laptop (Probook 4330s)
[11:36] <zzarr_> but it will not boot
[12:44] <blackflow> zzarr_: can you elaborate? is there an error displayed?
[12:49] <zzarr_> no, the computer says there's no bootable device
[12:49] <zzarr_> it's a non-efi bios
[12:50] <blackflow> zzarr_: did you choose wrong driver for GRUB installation?
[12:51] <blackflow> I am assuming the USB stick booted fine, installer worked, but after reboot, it fails like this?
[12:51] <zzarr_> no, there's only one, I used the entire disk
[12:51] <blackflow> wrong *drive
[12:51] <zzarr_> yes, the usb drive boots fine
[12:52] <blackflow> zzarr_: and grub was installed to _disk_ not to a partition?
[12:52] <zzarr_> yes
[12:53] <zzarr_> it's server 18.04.1 I installed
[12:57] <blackflow> zzarr_: can you boot into a rescue environment and pastebin partitioning summary on the drive? eg. the output of   parted /dev/sda unit mib print
[12:57] <blackflow> from what you said I'm guessing maybe that computer has trouble with legacy (bios) boot or the installer was run under EFI and it installed EFI and you're trying legacy/BIOS boot
[12:58] <zzarr_> yes
[12:59] <zzarr_> there's no efi (no /boot/efi)
[13:00] <blackflow> pastebin the output of that command, please
[13:02] <zzarr_> I will
[13:10] <zzarr_> https://pastebin.com/hKjbwjcB
[13:11] <zzarr_> sorry that it took time, the network was not correctly setup
[13:20] <blackflow> zzarr_: looks okay, so it doesn't make any sense, unless grub is not really installed on that drive.
[13:21] <zzarr_> it should be, there was no error message while installing
[13:21] <blackflow> zzarr_: from the rescue environment, you can mount and chroot into root (don't forget to bind-mount /proc, /sys and /dev into the chroot), and retry grub-install
[13:22] <blackflow> assuming of course you checked the most obvious, like boot device in bios. Is it trying that SSD at all.
[13:22] <zzarr_> yes
[13:23] <zzarr_> I have had Ubuntu installed on the machine on that very drive earlier and it was booting just fine :)
[13:23] <zzarr_> (Ubuntu Desktop)
[13:27] <zzarr_> it installed just fine
[13:28] <zzarr_> if it does not work, could I use another bootloader?
[13:29] <blackflow> you shouldn't. grub is not an issue here, except maybe it not being installed properly.
[13:29] <zzarr_> it says that it's installed correctly
[13:30] <blackflow> there's no difference between ubuntu desktop and service in that part (and in general only difference is packages and configurations installed atop of ubuntu-minimal, grub and the kernel)
[13:31] <blackflow> zzarr_: you tried it in a chroot?
[13:31] <zzarr_> I know, but I installed Ubuntu desktop a while back
[13:32] <zzarr_> you mean grub-install?
[13:32] <blackflow> yes
[13:32] <zzarr_> in that case yes
[13:32] <blackflow> and rebooted, and it still doens't find the boot device?
[13:32] <zzarr_> I bind-mounted /proc, /dev and /sys
[13:32] <zzarr_> yes
[13:33] <blackflow> try plugging that SSD into another machine and see if it boots there.
[13:33] <blackflow> oh, wait, one more thing.... how old is that machine?
[13:33] <zzarr_> 2011
[13:33] <zzarr_> (I think)
[13:34] <blackflow> is it possible that the bios can't read GPT?
[13:34] <blackflow> previous Ubuntu (Desktop) versions by default installed with MBR scheme
[13:34] <zzarr_> I guess so
[13:35] <blackflow> frankly, I don't know if MBR is still used or not, I haven't run the default installer in Ubuntu for long time, I use debootstrap or manual partitioning (because FDE with external USB /boot)
[13:35] <zzarr_> if I reinstall it' can I select MBR instead it GPT?
[13:35] <blackflow> I don't know if there's an option. If ther isn't, you'll have to partition manually and then have the installer use existing partitions for the filesystem
[13:35] <zzarr_> well, that would be an option
[13:37] <zzarr_> I have to go soon, but, I'll try the installer and see if' there's a MBR option
[13:37] <zzarr_> other whys I will debootstrap and make a manual install
[13:41] <SSMAdmin> Hi all.  I try to motivate my fb-network to migrate to Mastodon. To make the transition as easy as possible for them, I offer a Mastodon installation where I want to integrate a LIVE SUPPORT CHAT APPLET. However, there is some Content Security Policy running in Mastodon that prevents me to run this javascript live support chat applet.  How do I change this so this applet can be allowed to run?
[15:52] <cryptodan_mobile> Install with efi and it will format the drive as gpt
[15:58] <tomreyn> SSMAdmin: change mastodon's CSP to allow the javascript, or use a chat which doesn't require injecting javascript, or run the chat in a separate browser window / tab. and no, this is hardly an #ubuntu-server question, maybe one for the chat applications' or mastodon's support chat.
[16:24] <SSMAdmin> @tomreyn thank you for answering, and please accept my apology.  I am deeply sorry to have posted in the wrong channel, I thought I was posting in #mastodon.
[16:25] <tomreyn> SSMAdmin: hehe, no problem, glad i could point this out then.
[16:26] <SSMAdmin> @tomreyn thank you :-)
[17:45] <zzarr_> I'm back
[17:45] <zzarr_> I managed to install the system and grub "yay"
[17:46] <zzarr_> just forgot about a small thing... the kernel
[18:04] <tomreyn> minor issues ;)
[18:06] <zzarr_> I fixed that, now I just need to understand how to bring an network device up so I the machine get's an ip
[18:07] <tomreyn> depends much on the ubuntu version
[18:07] <zzarr_> 18.04.1
[18:07] <zzarr_> no ifconfig
[18:07] <tomreyn> server, right?
[18:07] <zzarr_> yes
[18:07] <tomreyn> you wont use it as a desktop?
[18:07] <zzarr_> no
[18:09] <tomreyn> then it's systemd-networkd, optionally managed by netplan
[18:10] <zzarr_> okey, is there a simple way to just activate a device like this command in the old days "ifconfig eth0 up"
[18:11] <ahasenack> well, you can always just run "dhclient <nicname>"
[18:12] <zzarr_> right, I'll do that
[18:12] <tomreyn> zzarr_: https://help.ubuntu.com/lts/serverguide/network-configuration.html.en#ip-addressing
[18:13] <zzarr_> thanks :)
[18:14] <tomreyn> note the 'temporary' approach there, too, in case dhcp wont work
[18:21] <zzarr_> I see, no matter what I do, the fs is read-only and I can't get the network to work
[18:22] <zzarr_> I think I have to install some drivers
[19:42] <blackflow> zzarr_: the fs is readonly because you probably forgot fstab, so the "ro" mount is inherited from initramfs
[19:43] <blackflow> as for the network, you really need this simple .network file (if it is dhcp) and enable+start the systemd-networkd.service  https://wiki.archlinux.org/index.php/systemd-networkd#Basic_DHCP_network
[20:30] <zzarr_> blackflow, you are correct, I realized that the fs is not remounted on start
[20:31] <zzarr_> I'll have a look at your link