/srv/irclogs.ubuntu.com/2018/12/27/#ubuntu-server.txt

maeudHi, can anyone help me with a preseed issue, it fails when trying to install the grub bootloader. Here is the partman section of my preseed file: https://pastebin.com/raw/F265bZgw  - The error is: "Volume group sda not found" then next line "Cannot process volume group sda" - I also have in my preseed: "d-i grub-installer/bootdev string /dev/sda1" but that's ignored if I chroot into /target and run parted, I can see /boot is on /d15:03
maeudran out of bug reports to read, nothing to go on15:04
TJ-maeud: looks wrong to me; you're mixing LVM and raw partitioning15:12
maeudI thought I needed /boot like that as everything else is encrypted TJ-15:13
TJ-maeud: that's not what I mean; you've done d-i partman-auto-lvm/... so it assumes an LVM layout but then d-i partman-auto/disk string /dev/sda so it expects an LVM VG 'sda'15:14
TJ-maeud: if you want LVM it needs to be in one or more of the partitions15:15
maeudfrom the docs that's meant to be used in conjunction TJ- ?15:16
maeudthat option sets the disk to use (if more than one) then you set the method to use15:17
TJ-maeud: but for the /boot/ file-system don't you need $lvmignore{ }  ?15:22
maeudI'll try it TJ- see if that helps15:22
maeudok running through now, see in 5 min or so15:24
TJ-maeud: also, is this creating MBR or GPT? IF GPT there needs to be a BIOS-boot partition for GRUB's core image15:24
maeudHow would I see that TJ- ?15:25
maeudit should be MBR, how can I confirm?15:25
maeud150GB disk15:25
TJ-maeud: examine the result when it works/fails :)15:25
cryptodango into bios and see if efi is enabled and if it is then likely it will be gpt15:26
TJ-maeud: as in "sudo blkid /dev/sda" should show PTTYPE=15:26
maeudyeah it's MBR15:26
maeudI saw msdos disk before15:26
maeudin parted15:26
maeudit's a VM cryptodan, but it's MBR15:27
maeudgen 1 VM in hyper-v15:27
TJ-maeud: OK, so grub-install will write the core.image to the spare sectors from #1 to just before the start of partition #115:27
maeudOK, it's working through the install, see in a min15:28
maeudno luck TJ-, it's still giving me the same error: "Volume group "sda" not found"15:33
TJ-maeud: so you need to capture debug logging, plus examine what has been created on disk, to figure out how it differs from your intention.15:41
TJ-I presume you're expecting sda1{ext4} sda2{LUKS->LVM}15:44
maeudpretty much, sda1 /boot, sda5 crypt15:45
TJ-sda5 implies an extended partition15:45
TJ-presumably partman creates that by default no matter how many partitions you configure15:46
maeudTJ-: https://imgur.com/a/yNmeHZl15:48
maeuddoes that look right?15:48
TJ-maeud: not really much use; use "lsblk /dev/sda"15:54
maeudlsblk doesn't exist in target TJ-16:06
maeudsorry, it does exist but can't read16:06
maeudit doesn't exist outside of target but if I copy it from target it doesn't have access to libs, sec16:06
maeudTJ-:  here's lsblk of /dev/sda: https://i.imgur.com/gvrklAB.png16:09
TJ-maeud: so the disk layout is correct; therefore there must be something affecting the LVM VG name for it to decide on 'sda'! does "sda" exist anywhere else in the preseed file?16:10
maeudjust "d-i partman-auto/disk string /dev/sda16:12
maeud"16:12
maeudIf I comment that line out TJ- it prompts for me to select partitioning method, then if I select manual, it says no root file system defined16:16
TJ-maeud: then there's something else going on your preseed file. If I were you I'd test it in a virtual machine to make investigation/examination easier16:17
maeudI am testing in a VM16:18
maeudsec let me post it16:18
maeudTJ-: https://pastebin.com/raw/6f3Anx4f16:21
maeudnothing else referencing it16:21
TJ-maeud: if it's a VM then you chroot mount the install and look at the debian-installer/partman  log files16:25
maeudI can't complete the install, do you mean in the vt?16:25
maeud /var/log/partman16:27
maeudI'll look there16:27
TJ-You're using a VM to test, so you can shut down the VM, and chroot-mount the disk-images16:27
TJ-I've never liked d-i preseeding, especially partman; I prefer scripts I can control16:31
maeudI'm using preseeding to do the minimal amount as possible as it's a bit of a nightmare16:32
maeudplaybook doing the rest16:32
maeudjust need to get an install up and running16:32
TJ-I wrote scripts to test a RAID+LUKS+LVM install this week16:36
maeudso how do I see what's going on here TJ-, I can see the debug logs for partman and syslog, hw16:38
maeudit's specifically grub install where it fails16:38
maeudI've pointed it to sda1 which we've confirmed is /boot16:38
TJ-how do you mean, you've pointed it to sda1 ?16:39
maeudremember with the bootdev option which seems to be ignored16:39
TJ-I'd check the d-i log see what command line it is using for grub-install, because it /should/ be "grub-install /dev/sda"16:40
maeudwhere about is that one, I chose the menu item for debug logs, it gives me hardware-summary, partman and syslog16:41
Ussatanyone here run a gitlab server that uses LDAP ?16:43
TJ-maeud: I'd suspect syslog16:43
maeudnothing in syslog, that's what I posted before, it literally just gives me those 2 errors about sda vg16:44
TJ-The joys of d-i !16:45
maeudthat's it16:46
maeudok it's in debug mode now16:50
lotuspsychjeplace your details here qwebirc1620617:06
qwebirc16206Hi! I can't install Ubuntu Server 18.04 on my machine.17:06
qwebirc16206I have 2 HDDs and want t setup RAID1.17:06
qwebirc16206Here is the error image: https://drive.google.com/file/d/1dfw_TpcUDGbepl4sO5arQ97Tc-SNUrHn/view17:07
qwebirc16206It says curtin command block-meta17:08
qwebirc16206and the step is 9/1117:08
Ussatdid you try to install ON the raid or make raid after ?17:10
qwebirc16206I tried to create RAID during the installation. Manual partitioning, like this:17:11
bipulqwebirc16206, Just share the steps of installation. And where are you installing it?17:11
qwebirc16206bipul: nothing special17:14
qwebirc16206https://drive.google.com/open?id=1kroSfFCI5Su1ODcdzkCncXo_Hj2lD7sV17:14
UssatPeronsally, I would raid after...17:14
maeudTJ-: the install process is using "grub-installer", it takes /target as an argument then throws that error about sda vg unknown17:14
maeudit's a udeb pkg17:14
qwebirc16206bipul: standard configuration up to partitioning17:15
qwebirc16206I have attached an image of what the partitions looked like17:15
TJ-maeud: so something in the configuration is confusing it into thinking the VG name is the raw disk name - no idea!17:16
qwebirc16206tomreyn: here is the info: Ubuntu-Server 18.04.1.0 LTS "Bionic Beaver" - Release amd64 (20180725.1+apt)17:17
qwebirc16206Ussat: what? how?17:17
tomreynqwebirc16206: ok. based on your screenshot, the installer seems to be trying to create a RAID-0 array, not RAID-1. are you sure you configured RAID-1?17:17
maeudand grub-installer is a 1.3k line bash script17:19
maeudawesome17:19
qwebirc16206tomreyn: yes, I have configured RAID117:19
qwebirc16206see this: https://drive.google.com/file/d/1kroSfFCI5Su1ODcdzkCncXo_Hj2lD7sV/view17:19
qwebirc16206where did you find RAID0?17:19
qwebirc16206Oh, indeed, I see it...17:20
Ussatqwebirc16206, https://www.digitalocean.com/community/tutorials/how-to-create-raid-arrays-with-mdadm-on-ubuntu-18-0417:20
tomreynqwebirc16206: this mentioned "raid-0", but maybe that's just the name of the curtin module: https://lh6.googleusercontent.com/6xRkZPJHz1IUEV4TZ8KLyK43BHrTFGSxRgkVdlkfrXUAxSV8bHKLXTHjgJRn0E90b4GPpyLYad5Qbw=w1720-h124217:21
UssatTo be fair, I dont raid much most of my servers are SAN connected to an isilon17:21
tomreynor maybe it's yet another curtion / subiquity bug.17:21
tomreynqwebirc16206: use the alternative (classic, debian) installer17:22
qwebirc16206I haven't seen that option...17:22
qwebirc16206There is this installation, OEM installation and check disk.17:22
qwebirc16206Is it this OEM installation that you meant?17:23
tomreynqwebirc16206: no, i'm referring to a different ISO download17:23
tomreynqwebirc16206: see "alterantive downloads" at https://www.ubuntu.com/download/server17:23
tomreynqwebirc16206: can you confirm that this system boots in UEFI mode?17:25
TJ-So much easier with scripts and deboostrap! :)17:26
tomreyni'm actually considering to write a new installer in bash17:27
tomreynmaybe someone did this already.17:27
qwebirc16206yes, it boots in UEFI17:29
qwebirc16206there is also a /boot/efi partition17:29
tomreyni noticed. i'm just thinking about reproducing it. i was hoping the latest build of the default server installer would fix most issues, but i guess many remain unfixed.17:31
kinghatis this odd that it shows i have 1 security update when i log in and when i search for updates it says up2date? https://paste.debian.net/hidden/d99e2318/17:33
TJ-kinghat: no, the motd may not have been updated yet17:34
tomreynright, there's some 'caching' involved17:35
kinghatoh. its been a few days iirc.17:35
TJ-update-motd I think17:36
kinghatas an extra package? will it work itself out?17:37
TJ-kinghat: there's a tool you can execute "update-motd" that runs all the scripts that add their bits to the MOTD17:37
TJ-kinghat: scripts are dropped in /etc/update-motd.d/ and those are run and their output gathered by update-motd17:38
kinghathmm this is odd: https://paste.debian.net/hidden/e994c8c2/17:38
TJ-kinghat: it could be due to the specific script, from update-notifier-common,  /usr/lib/update-notifier/update-motd-updates-available17:39
kinghati had messed with grub when i had to take over the machine to get my user back into the sudo group/sudoers file.17:39
TJ-kinghat: oh, that looks like something caused by curtin/containers stuff, check if there's files in /etc/default/grub.d/17:41
kinghatkinghat@kinghat-server:/etc/default/grub.d$ ls -ln17:42
kinghattotal 417:42
kinghat-rw-r--r-- 1 0 0 140 Aug 21 20:42 50-curtin-settings.cfg17:42
tomreynmenu.lst? sounds like grub1 (AKA 0.98) when it should be grub217:42
kinghati cant remember what i did to grub because it wasnt formatting correctly on the screen or something like that when i was trying to get into recovery. then i just used a live cd to get sudo to change the sudoers file.17:44
kinghatmaybe i did that grub-boot-repair thing. its been a month or more.17:45
tomreynpastebinit <( cat /etc/os-release; echo; dpkg -l | grep grub)17:45
tomreyni see. maybe the above output is irrelevant then17:46
kinghathttps://paste.ubuntu.com/p/9mmJ5S5JSs/17:46
tomreynjust install grub2 to the boot disk17:46
tomreynis this an AWS system?17:47
kinghatnah just ubuntu server on a thumb drive in the house.17:47
tomreyni'm not sure what grub-legacy-ec2 actually does but i guess i would just remove it then17:48
tomreynalso purge the bios variant of grub2 if you use efi17:48
TJ-There's a postinst script that runs and generates that /etc/default/grub.d/50-curtin-settings.cfg which causes some GRUB v1 crud to be done; I seem to recall it is due to some weirdness on AWS or some other 'cloud'17:49
tomreyni.e. sudo apt purge grub-pc grub-legacy-ec217:49
TJ-I can't find the bug now but I was dealing with that issue some time ago17:49
tomreynand then sudo grub-install /dev/whereever17:49
tomreynok TJ-17:49
kinghati dont know for sure if its efi or not. its an old HP workstation board that has a bunch of stuff turned off to be able to run outside of an HP chassis and a PSU converter etc.17:50
tomreyni remember that Xen PV systems always had trouble booting with grub217:50
tomreynIIRC there's some environment variable which can tell you how the system booted (UEFI vs BIOS), but i forgot the details and cant find it now17:52
TJ-hmmm, maybe it was something else, maybe to do with /etc/cloud/cloud.cfg.d/17:52
kinghatill look tomreyn17:53
tomreynif you have a /sys/firmware/efi directory then you have uefi17:53
TJ-tomreyn: I generally check sysfs /sys/firmware/efi/17:53
tomreyn:) thanks17:53
TJ-tomreyn: right, but it may not have booted with legacy mode, I seem to recall, there's a subtlety to it - checking the efivars I think17:54
tomreynactually i made this up about the environment variable.17:54
TJ-oops, lose the "not" from that last line17:54
kinghatkinghat@kinghat-server:/sys/firmware/efi$ ls17:54
kinghatconfig_table  efivars  fw_platform_size  fw_vendor  runtime  runtime-map  systab  vars17:54
tomreynkinghat: so thats a system which booted in uefi mode17:55
kinghatgot ya. so do i need to check `efivars` or just that i have `efivars`?17:55
tomreynunless TJ-'s subtlety applies, which i'm not aware of17:56
tomreynkinghat: given that sysfs is present / mounted, if you have a directory /sys/firmware/efi then you booted in uefi mode.17:57
tomreyni assume this is what you were asking?17:58
kinghattomreyn: yes basically.18:00
kinghatso still run the purges and sudo grub-install?18:01
tomreynkinghat: personally, in a situation where "i cant remember what i did to grub [..] maybe i did that grub-boot-repair thing", i would, yes.18:03
TJ-tomreyn: it would be really useful to have a /proc/sys/kernel/bootloader_method18:04
kinghatis there a default dir grub installs to or i should put it in dev/?18:04
kinghathttps://paste.debian.net/hidden/10785d0e/18:05
tomreynTJ-: yes, indeed.18:06
* TJ- considers a patch and what Linus' reaction would be :)18:06
tomreynROOOOAR!18:06
kinghatlel18:07
tomreynkinghat: looks fine to me, if it does to you?18:08
tomreynkinghat: you run grub.install against a storage, not a directory.18:08
kinghatwhat does the 2 not fully installed or removed means?18:08
TJ-have you ever tried to grep for 'efi' or 'EFI' in kernel where #define and  #DEFINE are everywhere!?18:09
tomreynkinghat: that you have 2 packages which are neither in state 'ii' not in state 'un'18:09
tomreyndpkg -l | grep -Ev '^(un|ii)'18:10
kinghathttps://paste.debian.net/hidden/d7ec8494/18:11
kinghathere is the dpkg grep: https://paste.debian.net/hidden/2ad5d621/18:12
tomreynjust "touch /boot/grub/menu.lst" and run it again, looks like the post removal script is buggy18:12
kinghattouch needs permission?18:13
tomreyndepends on what it wants to touch18:14
tomreynfor touching /boot/grub/menu.lst it'll need sudo18:14
tomreynalso make sure /boot is actaully mounted18:14
kinghathttps://usercontent.irccloud-cdn.com/file/1SP5V3OX/image.png18:15
tomreynwhy grub2? thats new18:15
tomreynbut i guess you can just agree and then reinstall anything thats missing18:16
kinghatummmm lol18:17
kinghatso this is effectively starting fresh with grub?18:18
kinghati havent clicked yes yet.18:18
TJ-tomreyn: looks like we can rely on the sysfs node: https://paste.ubuntu.com/p/5qYCCWm2C5/18:22
kinghatshould everything grub related on my system be removed and then added back?18:24
kinghattomreyn: https://paste.debian.net/hidden/08e4e972/18:38
tomreynTJ-: thanks for looking this up18:42
tomreynkinghat: such a nicely broken package. maybe just purge "dpkg --purge" grub-pc and grub-legacy-ec2. or purge all of grub , then reinstall grub-efi-amd64 grub-common18:46
tomreyn* grub2-common18:47
kinghattomreyn: `dpkg --purge grub*` ?18:48
tomreynkinghat: i think dpkg only handles one package at a time, but not sure18:54
tomreynother than that, yes18:54
kinghatyoure correct. try with apt purge?18:54
tewardanyone know if it's possible to boot an ISO stored within an LVM partition into RAM at grub launch time?18:57
tomreynkinghat: apt purge didnt seem to work, so i suggested dpkg --purge18:57
tewardasking because I need to weekly Clonezilla this system to a backup disk and i need some GRUB guidance :|18:57
teward(they give me an ISO)18:57
tomreynteward: there's "grub-imageboot" ("boot iso, harddisk and floppy images with grub2 and syslinux memdisk") and "grml-rescueboot" ("Integrates Grml ISO booting into GRUB"). i had mixes results with those on an uefi booting system (have not tried legacy bios). i think the grml ones worked with some iso's but not others.19:01
tomreyngenerally grub can boot from an iso19:01
tomreyn(but maybe not all of them, not sure)19:02
tewardtomreyn: right, but the tricky part is, the documentation I found doesn't anticipate the ISO being inside an LVM LV19:02
tewardit anticipates it being on a physical partition somewhere19:02
teward... which... I don't actually have at the moment.19:02
tewardsince this system is full-disk LVM.19:02
tewardsince this system is full-disk LVM except for 512MB at the start for a boot partition.19:02
tomreynoh, yes, you said LVM, sorry, no idea then19:02
tewardyeah that's where I'm getting stuck :|19:02
tewardI mean TO BE FAIR19:02
tewardI could probably replicate this in an LV19:02
tomreynshrink the PV, i guess19:02
tewardtomreyn: last time I did that I torched the partition table LOL19:03
tewardI'll do that after I take a Full Disk Image later :P19:03
tewardand i'll just USB boot for that ;P19:03
teward... remind me how to shrink a PV again xD19:03
tewardshrink a PV safely*19:03
tomreyni wouldnt dare doing it live either19:03
tomreynand i'd need to look up how to do it, too19:04
tomreyni did it before, and it worked, that's all i rmeember19:04
tewardi only need like 300MB so eh19:05
tewardi'mma backup my system with a full disk image first though19:05
tewardthat way if I fubar it i can restore it19:05
tewardagain19:05
tewardit shouldn't be hard to shrink the LVs.  I'll have to recreate the swap LV though19:05
tewardbut that won't be a problem.19:05
tomreynIIRC when you shrink the PV (after shrinking the LVs) you have to provide the target size explicitly, which is silly, it doesn'T have anything like ext4's "minimal size" option where it shrinks to the smallest possible size automatically19:06
tomreynso it's a bit of try and error: you guess the new size, then have lvm resize the PV, then it either prints a warning saying the ewuivalent of "this looks to small but it did it anyways" or the equivalent of "all fine".19:08
kinghattomreyn: i ran it again anyways and got this: https://paste.debian.net/hidden/e6779eea/19:08
tomreynin the former case you re-reun it with a slightly larger size19:08
tomreyn...until oyu get rid f the warning19:08
tomreynkinghat: yeay, this actually worked19:09
kinghatit didnt remove `grub.d` though.19:09
tomreynwhats left in /etc/grub.d ?19:09
kinghatkinghat@kinghat-server:/etc/grub.d$ ls -ln19:10
kinghattotal 419:10
kinghat-rwxr-xr-x 1 0 0 424 Dec 10 02:00 25_custom19:10
tomreynkinghat: and that contains?19:11
tomreyni have 40_custom and 41_custom on this bionic19:12
kinghattomreyn: https://paste.debian.net/hidden/73c80033/19:13
tomreynkinghat: did you or some other admin of this system create this file?19:13
kinghatim the only one. not that i remember.19:14
tomreynkinghat: and do those files actually exist on /boot/efi/EFI/ubuntu/ ?19:14
tomreyn...or in /boot/efi/EFI/BOOT19:16
kinghatyes. among others19:16
tomreynand blkid reports that your ESP'S UUID is 84C3-4FDF ?19:17
kinghathttps://paste.debian.net/hidden/adb4e53c/19:17
tomreynblkid | grep 'PARTLABEL="efi"'19:18
tomreynsdc1 is UUID 84C3-4FDF19:18
tomreynand is potentially your ESP19:18
tomreynso i guess you can keep it, or remove it, whatever you like19:19
tomreynit shouldnt do any harm19:19
tomreynjust adds 3 extra entries on your grub menu19:19
kinghatwont grub install just make a new one?19:20
tomreyna new what?19:20
kinghat`grub.d`19:21
tomreynnot if it's already there, otherwise it'll add to what's already there19:21
tomreyni mean: not if it's already there, it'll add to what's already there19:21
kinghatbut if its not there it will just start fresh?19:22
tewardtomreyn: the alternative is I shrink the LV's down considerably to make sure there's enough space and leftover extents to not deal with anything19:22
tewardbut then shrink the PV from there, but that's... tricky.19:22
tomreynteward: i don't think i'm getting the alternatives you're dioscussing. one is to shrink LVs, then the PV, the other is...?19:23
tewardtomreyn: > you guess the new size, then have lvm resize the PV, then it either prints a warning saying the ewuivalent of "this looks to small but it did it anyways" or the equivalent of "all fine".19:24
teward^ avoid this by ultrashrinking :P19:24
kinghatthere is actually a bunch of stuff still in `/boot`: https://paste.debian.net/hidden/f3ab06d3/19:25
tewardshrink the LV way smaller than it needs to be but meh19:25
tewardtomreyn: i'mma do a Full Disk Backup now then attempt to NOT explode the system heh19:25
tomreynteward: if you have unpartitioned space on the VG which is backed by exactly one PV then you can just pvresize with the trial-and-error approach. if you have a VG backed by multiple PVs youmay have to pvmove (to move VG data (extents) off one of the PVs) first, so you can remove this PV.19:32
tomreynand i dont think you need to do it 'way smaller', no19:32
kinghatim not sure if its ready to be 'regrubbed' or not but shouldnt `grub-pc` add everything back like the efi stuffs or does that have to be installed manually as well?19:33
tomreynkinghat: if those /boot/grub* are there while all the grub* packages are purged, then you should proibably purge those untracked files.19:34
tomreyn"dpkg -S /path/to/directoryorfile" to check whether its part of a package19:34
tewardtomreyn: i ALMOST deleted the wrong thing lol19:34
tewardswitched the lvremove options xD19:34
tomreynteward: whoops19:34
tewardthat could've been bad xD19:34
tomreyni think you real yjust want to test whether you bare metal recovery procedure works19:35
tewardconsidering i've already restored this twice before... :P19:36
kinghatkinghat@kinghat-server:/etc/grub.d$ dpkg -S /boot/grub19:36
kinghatdpkg-query: no path found matching pattern /boot/grub19:36
tomreynkinghat: congratulations for testing it.19:36
kinghatremove those as well?19:36
tomreynkinghat: i run an ubuntu 18.04 desktop which does uefi booting and don't have /boot/grub19:38
tomreynso i guess you dont need it. after all its not part of any package you have installed. so, yes, i guess it can go.19:38
kinghatill get rid of the `grub.bak` dir as well19:39
tomreynit would help if you knew what you did to your system :)19:39
tomreyni assuem this is a result of running "boot repair"19:39
kinghatya. then i manually went in via livecd sudo and fixed the sudoers file19:40
kinghatshould have just done that from the start19:40
kinghatbut i thought there was a problem with grub.19:40
kinghatthere wasnt.19:40
kinghati made a problem though. :P19:40
tewardtomreyn: another stupid quesiton, but is there a way to map known partitions to what their GRUB root= equivalents are :|19:41
tewardor do I have to drop to the grub cli to do that19:41
tomreynteward: the UUIDs? those are printed by blkid19:42
tomreynteward: is this what you meant?19:43
tewardtomreyn: close enough19:44
tewardi'll read the grub manpage19:44
tewardi have to full disk image this first19:44
kinghattomreyn: https://paste.debian.net/hidden/f250554c/19:44
tewardback in a bit.19:44
kinghatnot sure about the `/efi/ubuntu/` `grub.cfg` and `grubx64.efi` files19:46
tomreynkinghat: grub-install should replace them when you run it.19:48
kinghatok. can i remove the `grub.d` dir or just the `25_custom` file in it?19:48
tomreyn /boot/efi/ubuntu/grubx64.efi is stage1 of grub, grub.cfg points it to where stage2 is located19:49
tomreynkinghat: if you still dont have any grub packages installed, you can just remove all of /etc/grub.d/19:50
kinghatok its gone.19:51
kinghatso `grub-install` or `grub-pc`?19:51
tomreynbe sure to install grub2 and grub2-common and to run update-grub and grub-install soon, though, or you wont be able to boot.19:51
tomreynthose are apples and oranges: grub-install is a command, grub-pc is a package name.19:52
tomreynsorry, it's not "grub2 and grub2-common" but "grub-efi-amd64 and grub2-common"19:53
kinghati mean do i need to have grub before i can `grub-install`?19:53
tomreynalthough this may actually both work19:53
tomreynkinghat: yes, you wont have the grub-install command before you installed the package which provides it.19:54
tomreynso install it19:54
kinghatdoesnt one of the grub packages already bring in `grub-efi-amd64`?19:56
tomreynif you install "grub2" or "grub" this may depend on / install grub-efi-amd64, i have not checked19:58
kinghatregardless: https://paste.debian.net/hidden/a5456c62/19:58
tomreynwhat matters is that you'll have grub-efi-amd64 and grub-efi-amd64-bin and grub2-common in the end19:58
tomreyni dont see any errors on the output, do you have any questions?19:59
kinghatso now `update-grub` and then `grub-install`?19:59
tomreyncorret20:00
tomreyncorrect20:00
tomreyn"grub-install" takes one argument, the destination device.20:00
kinghatok i dont want to mess that one up.20:00
tomreyni usually install to multiple devices, just in case one breaks.20:01
kinghatso `grub-install /dev/sdc` via the blkid output here: https://paste.debian.net/hidden/adb4e53c/20:01
tomreynignore what i just said, this doesn'T apply to uefi (unless you have multiple ESPs)20:02
tomreynyes, "grub-install /dev/sdc" is probably correct.20:03
tomreyni'm a bit puzzled why this is not sda, though20:03
kinghati did `grub-probe -t device /boot/grub` and it says /dev/sdc2 but i only need the sdc?20:03
kinghatme too lol20:04
tomreynyou seem to have zfs on sda and sdb, i'm not into this20:04
kinghati dont know how that happened tbh.20:04
tomreynthere's a lot of rather relevant things you should try to be more in the know of. ;-)20:04
tomreynkinghat: it's good to know or be able to tell, by yourself, how the boot process works, in case it breaks20:05
kinghathttps://paste.debian.net/hidden/d27c8455/20:06
kinghatdo i need to `grub-update` again?20:07
kinghati havent restarted but i logged out of the session and back in and im not seeing any updates like before. so20:09
tomreynkinghat: no. check the files and modification dates in /boot/efi/EFI/ubuntu/20:09
tomreyni'd expect that at least grubx64.efi has a current file modification time20:10
tomreynmaybe grub.cfg also20:10
kinghathttps://paste.debian.net/hidden/d972f2cb/20:10
kinghatjust `grubx64.efi`20:10
tomreynok. that's fine. we already looked at grub.cfg and it pointed at the correct ESP20:13
kinghatscared to reboot20:13
tomreynyou shouild be able to reboot fine.20:13
kinghathere goes20:14
tomreynif it doesn't work immediately, see if you can pick this grubx64.efi on your uefi configuration interface20:14
kinghatyou mean from the bios?20:14
tomreynyes20:14
kinghatim remote atm.20:14
tomreynoh, good luck then20:15
tomreyni'd rather wait unil i'd be back on site20:15
tomreynunless i had out of band management20:15
tomreynor remote hands20:15
kinghatphysical access is... all the way downstairs..20:15
tomreynthat sounds acceptable, if you're not in a 64 floor skyscraper without a lift.20:16
kinghatlol20:16
kinghat`reboot` initiated!20:16
kinghatim in!20:20
kinghatyay!20:20
kinghattyvm tomreyn!20:20
tomreyn:)20:20
maeudjust can't get past this stupid grub issue at all20:20
=== crimastergogo_ is now known as crimastergogo
tewardtomreyn: well... that didn't go well.  Managed to restore, but I had to do some... not cool tactics.21:48
tewardUltimately just GUI booted to a Live Desktop USB with a patched gparted and did the LVM resize21:48
tewardwhich apparently WORKS when the right patch is applied21:48
tewardi'll have to bug the Desktop team at some point to fix this.21:49
maeudre-did the whole process and it starts the grub install, screen goes black and it loops trying to restart the screen22:12
maeudcan't win22:12
maeudlol22:12
Checkmateis there any tools to block bots ?22:45
Checkmateon website22:45
CodeMouse92Checkmate: fail2ban works pretty well, as far as blocking malicious bots and other attacks23:19
CodeMouse92In terms of valid search engine bots, robots.txt is how you control what they crawl.23:20
Intelois it possible to buy ip from somewere and use that ip in your vps provider (and not the ip of vps host it self)? You own the ip and can attach it to anywhere?23:29
mybalzitchyou'd need an ASN, and for your VPS provider to allow you to announce your ASN within their network. Not impossible but usually costly23:31
mybalzitchand I'm not sure they (ARIN) would sell you a /24 (255 IP's) let alone a single ip23:32
Intelowhere to get ip ?23:34
maeudtype "buy ip space" into Google23:35
Intelok23:36

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