=== tds9 is now known as tds [03:06] pymagic: what are you seeing? [03:07] sarnold, boot repair gives me this: http://paste.ubuntu.com/p/d6qyFx9mY2/ -- I am trying to boot from nvme0n1p2 [03:07] Booting just boots me into bios [03:09] bummer :( this probably would have been a few seconds to fix before the reboot but at this point will require booting to rescue media to fix [03:10] pymagic: I think you need to set the boot order to specify Ubuntu [03:10] sarnold, I've rescue media [03:10] I booted into kubunt and can mount the drive [03:10] I tried boot-repair - no use [03:10] pymagic: start with these "physical machine" instructions to get into a rescue environment, chrooted to your install: https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/GRUB2SecureBootBypass#Physical_machine [03:11] I can try those commands [03:12] pymagic: yeah, I don't think anyone's taught boot-repair how to fix incorrectly configured debconf settings -- once you're in the rescue environment, chroot'ed to your installation, sudo dpkg-reconfigure grub-efi-amd64 [03:12] k - trying [03:12] booting into kubuntu - will take some time, thanks [03:13] sarnold, what will be ROOT_PARTITION value? [03:14] pymagic: it'll be the largest partition on your nvme drive; that might be nvme0n1p2 but check gdisk -l /dev/nvme0n1 to double-check [03:14] yes, it is that [03:21] sarnold, grub-efi-amd64 is not installed [03:22] I could do those steps in prepare the chroot [03:23] pymagic: are you sure you're inside the chroot? line 12 of your paste: [03:23] The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of [03:23] .. so I certainly expected it to be installed :) [03:23] The paste I did came out of boot-repair utility - maybe they installed it? uninstalled it? [03:23] not sure [03:23] All the steps in chroot - went through cleanly for me [03:24] last command was mount /boot/efi [03:24] try an apt install grub-efi-amd64 perhaps? see what that does? [03:25] sarnold, if i do dpkg --list | grep nvidia - I do see driver-440 - which is what was installed on my machine [03:25] I also see other packages that I installed that are not on kubuntu [03:25] pymagic: aha, good idea [03:26] I do have grub-gfxpayload-liss and grub-pc installed [03:26] they are going to be removed if i install grub-efi-amd64 - ok [03:26] grub-pc? that's for BIOS machines, not EFI machines [03:26] I've not clue how it was working so far [03:26] me neither [03:27] I had selected UEFI in the bios and could boot [03:27] it says EFI Variables are not supported on this system.../sys/firmware/efi/efivars not found, aborting [03:27] grub-probe : error: cannot find a GRUB drive for /dev/sdc1 - check your device.map [03:28] not sure why sdc1 is even a candidate for grub [03:28] curious and curiouser.. try getting another terminal, and check the /sys/firmware/efi/efivars directory from outside the chroot [03:29] nothing else [03:29] man this is confusing [03:29] efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime) [03:29] that's what I've got on mine.. [03:30] I dont [03:30] I have /sys/firmware/ -> acpi dmi and memmap [03:30] This is a new Ryzen 3900X X570 machine. AORUS bios [03:30] maybe try a mount -tefivars efivars /sys/firmware/efi/efivars/ ... I don't know if the --bind means it's got to be done from outside the chroot, or if it can go from inside the chroot .. [03:31] and if that works, then apt install -f ? [03:31] could it be that i booted using "Legacy" instead of UEFI into kubuntu [03:31] could that do it? [03:31] yeah, that'll cause chaos :) [03:32] reboot and try again? [03:32] if you *want* to keep the legacy thing, then reinstall that grub-pc! if you want to switch to uefi, then, yeah, reboot, flip the switch.. [03:32] Let me uefi - rebootin [03:33] bios is uefi :( csm support = on, storage boot = uefi , other pci device = uefi [03:35] In kubuntu, there is an option in grub which says "UEFI firmware settings" - when i clicked it, it took me to bios...where uefi settings were [03:38] pymagic: aha, turn off csm and try again :) [03:38] csm == legacy [03:38] I thought csm = uefi option? [03:38] csm is some cursed thing :) [03:38] k - disabling it and trying again [03:46] sarnold, Intramfs -unpacking failed - decoding...its trying to boot now [03:46] sarnold, but /sys/firmware now has efi :) [03:47] sarnold, now it says grub-efi-amd64-signed is already newest version [03:48] update-grub? [03:49] or perhaps update-grub2? not sure [03:51] I reinstalled that package using --reinstall [03:51] will try to reboot and see if that wrks [03:53] pymagic: so, next up is dpkg-reconfigure grub-efi-amd64 and make sure it thinks to install it in the correct place [03:54] ah - k - i'll have to get back into chroot again. I rebooted after i --reinstalled it [03:55] its now in a black screen - nothing on there [03:56] rebooting into kubuntu [04:01] sarnold, the reconfigure is askin me for Linux Command Line [04:02] pymagic: whatever it's got is probably fine [04:02] I think it had a legacy line or it was empty - it did not show me anything [04:02] you pastebin shows empty [04:02] leave it empty? [04:03] yeah [04:03] linux default command line: quiet splash -ok [04:04] update nvram variables to automatically boot into debian? ! [04:04] yes or no [04:05] sarnold, ? [04:06] pymagic: default sounds good, and yes, if you want to keep booting into ubuntu by default [04:06] sarnold, its now asking grub efi partition [04:06] and the only option it gives me is /dev/nvme0n1p1 - and not p2? [04:07] 536 Mb /boot/efi [04:07] say ok and select that - since i dont have a choice? [04:07] pymagic: yeah [04:08] pymagic: this is the EFI boot partiion, a smallish fat32 filesystem shared by all operating systems and uefi firmware on the system [04:08] now - reboot? [04:09] pymagic: if you're all done, yeah, give it a shot and lets see how it goes :) [04:12] sarnold, back to the bios screen [04:12] sarnold, :( [04:13] pymagic: oh no :( I had really hoped that dpkg-reconfigure was going to solve it all [04:13] sarnold, in my bios it only shows ubuntu 4.0 - 2TB - so it does not show the 512MB partition to boot from [04:13] isnt that an issue? [04:13] pymagic: that's probably fine [04:15] is there a way to chroot and see dmesg perhaps? - I am not even sure if the bios even tried to boot grub - it just hops back into the bios [04:15] pymagic: probably not.. try the rescue media again, and try efibootmgr -v -- here's my output https://paste.ubuntu.com/p/7bCc8qqWHr/ [04:16] pymagic: note that I've got windows listed here even though wiping windows was the first thing I did. the bootorder line describes which entries to try in which order.. and it takes the first 'working' one.. [04:17] sarnold, Trying [04:19] sarnold, with or without chroot? [04:20] pymagic: shouldn't matter, this one reads from the firmware settings [04:20] thanks - trying to boot into kubuntu [04:24] sarnold, http://paste.ubuntu.com/p/2KxWpWY6Ft/ [04:27] sarnold, not sure how i got ubuntu/grub to work with legacy mode so far - but it did work. The only thing that broke the system was - in some grub setting i changed GRUB_TIMEOUT=2 from 0, and ran update-grub - and that broke the system. Not sure if that helps [04:29] pymagic: well, I'm pretty well confused :( the order suggests using 1, 0, 2 [04:30] pymagic: 1 is labeled "flash drive" but has both "cdrom" and "usb" in the string [04:30] pymagic: 0 looks like the thing you want to boot.. [04:30] when i try 0 it goes back to bios after trying to boot - no grub screen [04:31] pymagic: try: efibootmgr -o 0,1,2 ? [04:31] k it set that [04:31] 0 = ubuntu [04:31] the problem is "ubuntu" = 0 - when i set it up from bios - tries to boot - then comes back to bios [04:32] I can reboot and try agian [04:32] efibootmgr -o 0,1,2 worked fine [04:32] pymagic: alright, I'm running very out of ideas, and it's time to run :( [04:32] I fired a reboot [04:32] Thanks for the help sarnold [04:33] pymagic: my last thought -- try getting back in to the rescue chroot, and from there, apt install --reinstall grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub-common [04:33] k - will give it a try- thanks [04:34] https://paste.ubuntu.com/p/DhYyvj2gQ6/ [04:34] turns out I've also got a grub2-common package installed. no idea why there's several. [04:34] sarnold, 0 = ubuntu - did not boot - same problem [04:34] :( [04:34] ubuntu 20.04lts? [04:36] pymagic: good luck, I hope you can sort this thing out :) I'm cautiously optimistic with the --reinstall approach.. I hope it's not too much trouble ;) [04:38] thanks [04:46] sarnold, got it :) [04:46] Thanks for all the help. === Wryhder is now known as Lucas_Gray === pedro__ is now known as DodgeThis [13:54] hey guys, how are you? Can you please help me with something. By my mistake, I added 2 eth0 address on my ubuntu 64 server(raspberry pi 4). And now I have 2 eth0 addresses which is very confusing. [13:59] kre10: how did you add them? [13:59] sdeziel hey there [14:00] sudo dhclient -r [14:00] and sudo dhclient === kre1073 is now known as kre10 [14:03] kre10: a simple trick would probably be to reboot, if you can [14:04] yep, I rebooted a few times [14:04] kre10: after rebooting, if you don't run those manual dhclient commands, do you still have the extraneous IPs? [14:04] yes === kedar is now known as kedar_apte [14:05] could you pastebin the output of 'ip a' [14:05] kre10: xenial or bionic or focal? [14:05] focal [14:05] can you see anything in the netplan? [14:06] in the folder /etc/netplan/ [14:06] there will be a yaml file [14:06] just a second [14:06] are u able to see two interfaces in the file? [14:06] eth0: [14:06] only one interface? [14:06] no, actually [14:07] yes [14:07] can you paste bin what u see? [14:07] Uploaded file: https://uploads.kiwiirc.com/files/e001cd861f42b0206e066e3601058174/pasted.txt [14:07] what is shown when u type .......... ip r [14:08] can u screen shot that and imgur it [14:08] OK [14:09] https://www.screenpresso.com/=qv43f [14:10] are you running bridged networks? [14:10] like for containers? [14:10] lxc / lxd / docker? [14:11] yes, I'm using docker [14:11] are u on the physicall server or ssh into the server? [14:12] can u exit and ssh again.... on the top you will see the disk usage and network details [14:12] can u screenshot that [14:12] ssh [14:12] ok [14:13] https://www.screenpresso.com/=NI5Zf [14:15] how many yaml files are you seeing in /etc/netplan/ ? [14:16] 1 [14:16] -rw-r--r-- 1 root root 416 Apr 1 20:23 50-cloud-init.yaml [14:17] have you tried doing this? ....... ip addr flush eth0 [14:18] also try doing this: ip link set dev eth0 down [14:19] u might loose connection with the server [14:19] do only if you have the ability to reboot or be on the server console [14:20] so after this command, I won't be able to login in the Pi? [14:20] not sure... wait a second.....just finding something usefl [14:21] ok [14:22] try this.... sudo ip addr del /24 dev eth0 [14:22] sudo ip addr del 192.168.0.109 /24 dev eth0 [14:22] ? [14:22] do not delete the ip adress with which you have ssh'd in the server [14:22] OK [14:23] now ? [14:23] have u run the command? [14:23] what was the output? [14:24] no output, still 2 IP's [14:24] should I reboot the system? [14:24] I doubt that will help... but no harm trying [14:25] I doubt too :( [14:26] no harm in trying [14:26] ok [14:29] if it has restaryed.... can u run this and tell me what it is ....... ps aux | grep dhc [14:32] zzlatev@playstation:~$ ps aux | grep dhc [14:32] root 243 0.0 0.0 0 0 ? I< 17:26 0:00 [sdhci] [14:32] root 1271 0.0 0.0 3172 2376 ? Ss 17:26 0:00 /usr/sbin/dhcpcd [14:32] zzlatev 3898 0.0 0.0 7684 660 pts/0 S+ 17:31 0:00 grep --color=auto dhc [14:32] sorry about that [14:32] kedar_apte still 2 IP's :( [14:33] systemctl disable dhcpcd.service [14:33] systemctl stop dhcpcd.service [14:33] and reboot [14:33] I think that 2 users are using eth0? because I ran this command with the new user - zzlatev which I created [14:33] OK [14:33] wait [14:33] wait [14:33] OK [14:33] both of the ip addresses are dhcp? [14:34] I think so, yes [14:34] both are from the router [14:34] ae both the ips reachable? [14:34] but I have to say that I have pihole which IP is the second one 192.168.0.109 [14:35] 192.168.0.111 is registred as reserved dhcp client in the router [14:35] also is the mac ip same for both or it is shwoing different? you can check that mac ip in the router dhcp list [14:35] ok [14:36] there's isn't a client with 192.168.0.109 [14:36] have you made any chage to /etc/network/interfaces? [14:38] nope [14:38] are all your containers using the same NIC? [14:38] sorry, NIC? [14:38] what is the default gateway for all containers? [14:38] NIC - network card [14:39] in /etc/network I have 4 folders - if-down.d , if-post-down.d , if pre-up.d, if-up.d [14:39] is there just one nic card? [14:39] I have one network card [14:39] what is the default gateway for all all containers? [14:39] what ip is being used as default gateway for all containers?> [14:39] 109 or 111 [14:40] 111 [14:41] and which IP is reserved on the router? [14:41] but I have access to the docker portainer with both IP's [14:41] 111 is reserved on the router [14:42] Honestly...I dont know... I have used up all my KB 🤔️ [14:42] here's all networks in docker [14:42] https://www.screenpresso.com/=reNlc [14:42] someone else could help [14:42] OK, thank you for trying! I appreciate it! [14:42] sure [14:47] hm, ifconfig -a shows only one eth0 [14:50] kre10: just learn to use the ip command and forget about ifconfig [14:51] Can you help me with it? [14:51] ip -s -s a f to 192.168.0.109/24 [14:51] should I try this? === tds8 is now known as tds [16:56] hello, is there a way to skip the media integrity check for ubuntu server? [16:56] (20.04.1) [16:57] Slashman: press the key combo it suggests [16:57] ctrl + C it was? [16:57] didn't see that on ubuntu server media [16:58] didnt test myself on server, but i assume the integrity checks are on all ubuntu 20.04 iso's [17:07] lotuspsychje: https://ibb.co/5rX9mkD [17:07] nothing I can do [17:07] super fun when installing from idrac where any read is from the network and ultra slow on a media that was already verified [17:07] Slashman: you need to early press the combo [17:08] Slashman: there used to be a bug on that, but it should be resolved by now [17:09] lotuspsychje: I should do a video, but there is no time [17:09] no message, nothing [17:10] I select expert mode, then it immediately goes to check integrity [17:13] Ubuntu now defaults to checking the integrity of the medium in use when booting into live sessions. This can be skipped by hitting Ctrl-C, but due to a bug the message that tells you to hit this key is not shown in some flavours [17:13] https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1870018 [17:13] Launchpad bug 1870018 in xubuntu-artwork (Ubuntu Focal) "Option (Ctrl-C) not shown to disable ISO verification" [Undecided,New] [17:14] Slashman: wich iso did you use please? [17:18] lotuspsychje: http://www.releases.ubuntu.com/20.04/ubuntu-20.04.1-live-server-amd64.iso [17:18] ok tnx Slashman lemme poke some ppl [17:19] lotuspsychje: thanks [17:23] Slashman: did you wait long enough till the test is skipped, it might take some time on older machines/media === StathisA- is now known as StathisA [21:19] howdy guys [21:20] quick question, have a running ubuntu server, bought a replacement.. both intel chipsets, dif gen tho. will the new board in theory boot the old drive? [21:20] to the point of being able to SSH in, from there i can obviously do what i need to do [21:21] server is running 16.04 if that helps [21:23] fretegi: should work unless the chipset is too new for the kernel to support it [21:23] fretegi: usually that'll be ethernet or wifi drivers [21:24] fretegi: you might want to try a usb live boot with the same distro version on the new motherboard first, just in case [21:24] royk, i was hoping for that! should be good i would think, current server is skylake, new one is haswell, intel nics in both cases [21:25] fretegi: or - well - just replace it and if the nics don't get online, make sure you have a console handy [21:25] well catch is.... i dont have a vga input monitor ha [21:25] heh [21:25] exactly lol [21:25] so hoping this thing boots my current install as i can ssh in and do what i need [21:25] just need a running environment [21:26] what sort of boot disk or disks do you have on the old system? [21:26] so i have 1 drive that the complete OS and then a raid array of data drives [21:26] data already backed up etc. so gonna build a new array on the new machine [21:27] ok, so perhaps put the new mobo on some non-conducting surface (a table cloth?) and connect the bootdisk and let it start up and check for results [21:27] should be a quick test [21:28] thats a thought, just never tried to boot one OS drive in another machine before [21:29] it usually works fine [21:29] Ubuntu installs pretty much all kernel modules right? loading whats needed at boot? [21:29] it's not like old windoze shite where everything is hardwired to whatever chipset you have [21:29] it has separate module packages, -modules and -modules-extra [21:30] so unless u have hardware so new that proper support doesnt exist on your installed kernel, should be good [21:30] fretegi: the kernel will autoload whatever it finds needed according to the pci IDs. Those change sometimes with newer hardware, so it usually works, but not always [21:30] the latter typically don't get installed if you choose a virt/minimal baseline [21:30] RoyK, fortunately for me, actually in a sense downgrading haha. going to older, but yet more capable gear [21:31] then it will probably work just fine :) [21:31] shibboleth, honestly dont recall, pretty sure i did a standard ubuntu server install [21:32] dpkg -l | grep linux-modules [21:32] may even be the same nic chips, checking now and for modules [21:32] shibboleth, yup exactly, remoting in now [21:33] fretegi: really, if going to an older intel board, I don't see a problem here [21:33] shibboleth, yea got both linux-modules && linux-modules-extra should be solid! [21:33] RoyK, yea me neither. Perfect well thanks for confirming im not totally nuts guys [21:33] well at least with this anyhow [21:34] also: later kernels (hwe) might enable support for more hw [21:38] shibboleth, yea good point [21:45] thanks guys, wish me luck, gonna fiddle with it this weekend if not sooner [21:59] shibboleth: if it's older hardware, I doubt that'll be a problem [22:17] hey guys, how are you? Can you please help me with something. By my mistake, I added 2 eth0 address on my ubuntu 64 server(raspberry pi 4). And now I have 2 eth0 addresses which is very confusing. === kre1028 is now known as kre10