[00:00] btw, is this procedure good for a lvm partition? [00:01] 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] i.e. assemble raid, 'open' full disk encryption, detect and activate existing LVM2 PVs, VGs, LVs [00:06] ok, I'll look at that. thanks [00:09] basically thats pvscan + lvchange -ay YourVolumeGroupNameGoesHere [00:42] loadmod sasl === wildlander is now known as JumpingBedsWithP === JumpingBedsWithP is now known as JumpBedsPyjames === crimastergogo_ is now known as crimastergogo [09:50] 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] Hello! [11:35] I have installed ubuntu-server un a HP laptop (Probook 4330s) [11:36] but it will not boot [12:44] zzarr_: can you elaborate? is there an error displayed? [12:49] no, the computer says there's no bootable device [12:49] it's a non-efi bios [12:50] zzarr_: did you choose wrong driver for GRUB installation? [12:51] I am assuming the USB stick booted fine, installer worked, but after reboot, it fails like this? [12:51] no, there's only one, I used the entire disk [12:51] wrong *drive [12:51] yes, the usb drive boots fine [12:52] zzarr_: and grub was installed to _disk_ not to a partition? [12:52] yes [12:53] it's server 18.04.1 I installed [12:57] 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] 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] yes [12:59] there's no efi (no /boot/efi) [13:00] pastebin the output of that command, please [13:02] I will [13:10] https://pastebin.com/hKjbwjcB [13:11] sorry that it took time, the network was not correctly setup [13:20] zzarr_: looks okay, so it doesn't make any sense, unless grub is not really installed on that drive. [13:21] it should be, there was no error message while installing [13:21] 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] assuming of course you checked the most obvious, like boot device in bios. Is it trying that SSD at all. [13:22] yes [13:23] I have had Ubuntu installed on the machine on that very drive earlier and it was booting just fine :) [13:23] (Ubuntu Desktop) [13:27] it installed just fine [13:28] if it does not work, could I use another bootloader? [13:29] you shouldn't. grub is not an issue here, except maybe it not being installed properly. [13:29] it says that it's installed correctly [13:30] 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] zzarr_: you tried it in a chroot? [13:31] I know, but I installed Ubuntu desktop a while back [13:32] you mean grub-install? [13:32] yes [13:32] in that case yes [13:32] and rebooted, and it still doens't find the boot device? [13:32] I bind-mounted /proc, /dev and /sys [13:32] yes [13:33] try plugging that SSD into another machine and see if it boots there. [13:33] oh, wait, one more thing.... how old is that machine? [13:33] 2011 [13:33] (I think) [13:34] is it possible that the bios can't read GPT? [13:34] previous Ubuntu (Desktop) versions by default installed with MBR scheme [13:34] I guess so [13:35] 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] if I reinstall it' can I select MBR instead it GPT? [13:35] 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] well, that would be an option [13:37] I have to go soon, but, I'll try the installer and see if' there's a MBR option [13:37] other whys I will debootstrap and make a manual install [13:41] 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? === crimastergogo_ is now known as crimastergogo [15:52] Install with efi and it will format the drive as gpt [15:58] 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] @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] SSMAdmin: hehe, no problem, glad i could point this out then. [16:26] @tomreyn thank you :-) === evilem is now known as emerson [17:45] I'm back [17:45] I managed to install the system and grub "yay" [17:46] just forgot about a small thing... the kernel [18:04] minor issues ;) [18:06] 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] depends much on the ubuntu version [18:07] 18.04.1 [18:07] no ifconfig [18:07] server, right? [18:07] yes [18:07] you wont use it as a desktop? [18:07] no [18:09] then it's systemd-networkd, optionally managed by netplan [18:10] okey, is there a simple way to just activate a device like this command in the old days "ifconfig eth0 up" [18:11] well, you can always just run "dhclient " [18:12] right, I'll do that [18:12] zzarr_: https://help.ubuntu.com/lts/serverguide/network-configuration.html.en#ip-addressing [18:13] thanks :) [18:14] note the 'temporary' approach there, too, in case dhcp wont work [18:21] I see, no matter what I do, the fs is read-only and I can't get the network to work [18:22] I think I have to install some drivers [19:42] zzarr_: the fs is readonly because you probably forgot fstab, so the "ro" mount is inherited from initramfs [19:43] 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] blackflow, you are correct, I realized that the fs is not remounted on start [20:31] I'll have a look at your link