/srv/irclogs.ubuntu.com/2018/11/11/#ubuntu-server.txt

sevynosbtw, is this procedure good for a lvm partition?00:00
tomreynsevynos: you'll need to enable any and all such intermediary layers from the live cd, too, as you would during the normal boot.00:01
tomreyni.e. assemble raid, 'open' full disk encryption, detect and activate existing LVM2 PVs, VGs, LVs00:03
sevynosok, I'll look at that. thanks00:06
tomreynbasically thats pvscan + lvchange -ay YourVolumeGroupNameGoesHere00:09
Mr_Panloadmod sasl00:42
=== wildlander is now known as JumpingBedsWithP
=== JumpingBedsWithP is now known as JumpBedsPyjames
=== crimastergogo_ is now known as crimastergogo
SSMAdminHi 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?09:50
zzarr_Hello!11:35
zzarr_I have installed ubuntu-server un a HP laptop (Probook 4330s)11:35
zzarr_but it will not boot11:36
blackflowzzarr_: can you elaborate? is there an error displayed?12:44
zzarr_no, the computer says there's no bootable device12:49
zzarr_it's a non-efi bios12:49
blackflowzzarr_: did you choose wrong driver for GRUB installation?12:50
blackflowI 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 disk12:51
blackflowwrong *drive12:51
zzarr_yes, the usb drive boots fine12:51
blackflowzzarr_: and grub was installed to _disk_ not to a partition?12:52
zzarr_yes12:52
zzarr_it's server 18.04.1 I installed12:53
blackflowzzarr_: can you boot into a rescue environment and pastebin partitioning summary on the drive? eg. the output of   parted /dev/sda unit mib print12:57
blackflowfrom 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 boot12:57
zzarr_yes12:58
zzarr_there's no efi (no /boot/efi)12:59
blackflowpastebin the output of that command, please13:00
zzarr_I will13:02
zzarr_https://pastebin.com/hKjbwjcB13:10
zzarr_sorry that it took time, the network was not correctly setup13:11
blackflowzzarr_: looks okay, so it doesn't make any sense, unless grub is not really installed on that drive.13:20
zzarr_it should be, there was no error message while installing13:21
blackflowzzarr_: 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-install13:21
blackflowassuming of course you checked the most obvious, like boot device in bios. Is it trying that SSD at all.13:22
zzarr_yes13:22
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:23
zzarr_it installed just fine13:27
zzarr_if it does not work, could I use another bootloader?13:28
blackflowyou shouldn't. grub is not an issue here, except maybe it not being installed properly.13:29
zzarr_it says that it's installed correctly13:29
blackflowthere'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:30
blackflowzzarr_: you tried it in a chroot?13:31
zzarr_I know, but I installed Ubuntu desktop a while back13:31
zzarr_you mean grub-install?13:32
blackflowyes13:32
zzarr_in that case yes13:32
blackflowand rebooted, and it still doens't find the boot device?13:32
zzarr_I bind-mounted /proc, /dev and /sys13:32
zzarr_yes13:32
blackflowtry plugging that SSD into another machine and see if it boots there.13:33
blackflowoh, wait, one more thing.... how old is that machine?13:33
zzarr_201113:33
zzarr_(I think)13:33
blackflowis it possible that the bios can't read GPT?13:34
blackflowprevious Ubuntu (Desktop) versions by default installed with MBR scheme13:34
zzarr_I guess so13:34
blackflowfrankly, 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
blackflowI 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 filesystem13:35
zzarr_well, that would be an option13:35
zzarr_I have to go soon, but, I'll try the installer and see if' there's a MBR option13:37
zzarr_other whys I will debootstrap and make a manual install13:37
SSMAdminHi 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?13:41
=== crimastergogo_ is now known as crimastergogo
cryptodan_mobileInstall with efi and it will format the drive as gpt15:52
tomreynSSMAdmin: 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.15:58
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:24
tomreynSSMAdmin: hehe, no problem, glad i could point this out then.16:25
SSMAdmin@tomreyn thank you :-)16:26
=== evilem is now known as emerson
zzarr_I'm back17:45
zzarr_I managed to install the system and grub "yay"17:45
zzarr_just forgot about a small thing... the kernel17:46
tomreynminor issues ;)18:04
zzarr_I fixed that, now I just need to understand how to bring an network device up so I the machine get's an ip18:06
tomreyndepends much on the ubuntu version18:07
zzarr_18.04.118:07
zzarr_no ifconfig18:07
tomreynserver, right?18:07
zzarr_yes18:07
tomreynyou wont use it as a desktop?18:07
zzarr_no18:07
tomreynthen it's systemd-networkd, optionally managed by netplan18:09
zzarr_okey, is there a simple way to just activate a device like this command in the old days "ifconfig eth0 up"18:10
ahasenackwell, you can always just run "dhclient <nicname>"18:11
zzarr_right, I'll do that18:12
tomreynzzarr_: https://help.ubuntu.com/lts/serverguide/network-configuration.html.en#ip-addressing18:12
zzarr_thanks :)18:13
tomreynnote the 'temporary' approach there, too, in case dhcp wont work18:14
zzarr_I see, no matter what I do, the fs is read-only and I can't get the network to work18:21
zzarr_I think I have to install some drivers18:22
blackflowzzarr_: the fs is readonly because you probably forgot fstab, so the "ro" mount is inherited from initramfs19:42
blackflowas 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_network19:43
zzarr_blackflow, you are correct, I realized that the fs is not remounted on start20:30
zzarr_I'll have a look at your link20:31

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