=== ssh07322 is now known as ssh0732 [11:11] Hello. I am trying to upgrade my EOL Ubuntu Server according to https://help.ubuntu.com/community/EOLUpgrades but when I attempt to run the ./impish upgrade script I get errors messages. [11:11] Unable to init server: Could not connect: Connection refused [11:11] (impish:4244): Gtk-CRITICAL **: 13:09:11.291: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed [11:45] --frontend=DistUpgradeViewText (as suggested in #ubuntu) seems to have helped === andypandy_ is now known as andypandy [13:29] how to re-install / recover (default) grub? [13:29] is it apt install grub-common or grub2-common? [13:33] aaal: depends on how you're booting / which architecture. is this amd64 with uefi booting? [13:33] which ubuntu release? [13:34] amd64 [13:34] not sure if uefi, it's kvm [13:34] echo -n 'This system booted via: '; [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS [13:34] release is 1804 or 2004 [13:34] lsb_release -ds [13:35] if you'll run these commands you'll have the exact answers [13:35] bios [13:35] 1804 [13:36] just a notice: free support for 18.04 will end mid last year [13:37] im not sure but the culpit may be me installing ubuntu-server which replaced grub with grub-ec2 and then maybe some error, yes i will jump to 2204 [13:37] is this an ec2 instance then? [13:37] it's not aws so no? [13:38] okay, i was just wondering because you mentioned grub-ec2 [13:39] yes, it was my mistake doing any of it [13:39] i tried to install grub2-common but got some error /dev missing (im in chroot [13:40] i think it'll be best to purge all grub* packages and install grub-pc [13:41] then grub-install to the boot disk [13:47] grub-probe: error: cannot find a device for / (is /dev mounted?) [13:47] but it should be [13:48] anyway grub-pc is what i was looking for [13:49] nvm about the error [13:55] aaal: well that's not a good sign if grub can't find the root device [13:56] mount -o rbind /dev /mnt/dev etc [13:56] there's hope [13:56] ? is this a chroot? [13:57] yes [13:59] then you probably don't need grub in the first place [14:00] i mean i have to chroot to rescue my install [14:00] no? [14:00] oh this system currently won't boot. i wasn't aware of that. [14:00] yes i dungoofed [14:01] grub install to drive NOT partition yes? [14:02] yes, grub no longer supports installation to partitions other than a dedicated bios_grub partituon on gpt. [14:02] https://help.ubuntu.com/community/LiveCdRecovery [14:03] https://help.ubuntu.com/community/Grub2/Installing [14:03] ok done no errors [14:04] i forgot to tell you to also run update-grub. [14:04] ok [14:04] https://bpa.st/4IEQ [14:05] looks like it should boot yes? [14:06] https://bpa.st/VTXQ [14:06] it doesn't say that it won't [14:07] https://bpa.st/2CHA [14:07] did update-gr [14:08] i think that was it..? [14:08] if grub.cfg actually refers to these kernels and grub is installed on the bios boot device then is should work [14:12] quit chroot but can't umount /dev/ says it's busy [14:13] unmounted sys and proc fine [14:16] nvm === PeGaSuS is now known as James === James is now known as PeGaSuS