[10:17] <iomari891> greetings, My laptop won't enter sleep mode. I'm using kubuntu 23:10 thought this issue has been hear before my upgrade and I have Nvidia graphics. It use to sleep with no issue but over the past few months it sleep s1 out of maybe 15 times. What might be the problem?
[10:22] <diogenes_Vx15> iomari891, Hello, so the issue started to appear after the upgrade?
[10:25] <iomari891> diogenes_Vx15: I can't say for sure. I've done may upgrades over the years and I can't exactly say when this started. At first it was intermittent so I ignored it. I had to maybe sleep 2 times before it worked so I lived with it. Now it hardly ever works. When I sleep it goes into text mode for a minute then it bounces back to screensaver password.
[10:30] <diogenes_Vx15> iomari891, ok let's see your specs: inxi -Fxxc0 | nc termbin.com 9999
[10:30] <diogenes_Vx15> share the url.
[10:58] <iomari891> diogenes_: Had to reboot and experiment. On reboot at the login screen sleep works. After I login and do nothing else it works. I want to go about my normall session and check after any app I open or close and see if I can find the culprit.
[11:02] <iomari891> diogenes_: https://termbin.com/5f9x
[11:05] <diogenes_Vx15> iomari891, ok then test it more and see how it behaves, also i'd suggest you change your login settings so you always start with a blank new session, i mean no session save.
[11:08] <iomari891> diogenes_Vx15: I don't save sessions
[11:08] <iomari891> thanks
[11:15] <iomari891> diogenes_Vx15: BTW, how long to termbim.com posts sty online?
[11:16] <diogenes_Vx15> iomari891, one month.
[11:25] <iomari891> thanks
[11:26] <iomari891> 2nd issue. My network connection doe snot reconnect after sleep mode. Same whether wired or wifi. Is there a setting to correct this?
[11:27] <iomari891> I can reconnected manually though.
[11:28] <diogenes_Vx15> iomari891, such issues even macs have.
[11:30] <diogenes_Vx15> iomari891, but you can follow this guide and adjust it to your hardware: https://forums.linuxmint.com/viewtopic.php?t=358480
[12:09] <iomari891> thanks
[18:13] <landc> I keep getting this error trying to install Kubuntu, can anyone help? https://i.imgur.com/iDW3FLo.png
[18:14] <landc> I wish it gave more informati than just 'This is a fatal error'...
[18:15] <diogenes_Vx15> landc, is this a virtual machine?
[18:16] <BluesKaj> Merry Christmas to all!
[18:16] <landc> diogenes_Vx15: No, it's not
[18:16] <landc> Merry christmas BluesKaj
[18:16] <diogenes_Vx15> Merry Christmas BluesKaj
[18:17] <BluesKaj> greetings landc, diogenes_Vx15
[18:18] <diogenes_Vx15> landc, tell us more about the hardware you are installing it on? what kind of PC, is it dual boot? What system was it running before? How did write the ISO to the USB drive?
[18:19] <landc> diogenes_Vx15: It's a desktop PC, X570, installing from USB, used Unetbootin to create the drive from an ISO download. It's dual boot, the other drive has Windows on it, the drive I'm targeting used to have Gentoo and openSUSE on it
[18:20] <diogenes_Vx15> landc, unetbootin is a bad choice.
[18:21] <landc> diogenes_Vx15: what's better for windows?
[18:21] <diogenes_Vx15> try to write the USB one more time but this time with Etcher.
[18:21] <landc> Alright
[20:04] <landc> diogenes_Vx15: Thanks, it's installed successfully now
[20:05] <diogenes_Vx15> landc, no problem.
[20:28] <landc> After installing kubuntu, there's no longer an option to boot my Windows installation. I still see Windows stuff in /boot/efi/EFI, but it looks like the kubuntu installation's kernel resides directly in /boot, not /boot/efi. I've tried running `update-grub` which does not detect Windows, and also tried `os-prober` which prints nothing.
[20:28] <landc> Anyone know what to do here?
[20:30] <diogenes_Vx15> landc, is windows on a separate drive?
[20:32] <landc> Yes
[20:34] <diogenes_Vx15> you can try to get to the Boot options before booting, i don't know what F key would it be for you but you can try Esc or F2 or F12 and get to boot manager and see if you can launche windows drive from there.
[20:34] <landc> Yeah, that's how I usually boot it but it's not there anymore for some reason
[20:35] <diogenes_Vx15> landc, i mean not grum menu but boot options of BIOS.
[20:35] <diogenes_Vx15> grub*
[20:35] <landc> Yep
[20:36] <diogenes_Vx15> so what options do you see there now?
[20:36] <diogenes_Vx15> it would be useful to make a pic.
[20:40] <landc> sure 1 sec
[20:42] <leonardus> diogenes_:  https://usercontent.irccloud-cdn.com/file/AZgPKddi/1000007504.jpg
[20:42] <leonardus> https://usercontent.irccloud-cdn.com/file/xVbzRXl3/1000007505.jpg
[20:42] <leonardus> Ubuntu doesn't show up until I go to the UEFI screen proper
[20:43] <leonardus> And it isn't actually on the Intel drive so not sure why it says that
[20:46] <landc> output of efibootmgr: https://dpaste.org/3fqrU/raw
[20:47] <landc> meant to ping diogenes_Vx15* ^ photos
[20:48] <diogenes_Vx15> landc, and which one is your windows?
[20:49] <landc> neither, that's what I'm trying to fix
[20:50] <diogenes_Vx15> ok let's see your system info: inxi -Fxxc0 | nc termbin.com 9999
[20:51] <landc> https://termbin.com/iq2e
[21:01] <diogenes_Vx15> landc, and now: lsblk | nc termbin.com 9999
[21:01] <diogenes_Vx15> sorry multitasking so it takes a bit of time.
[21:02] <landc> https://termbin.com/zzyp
[21:02] <landc> no worries, I appreciate that you're helping
[21:06] <diogenes_Vx15> landc, so you have a 9TB HDD, 500GB SSD and another 1TB SSD?
[21:07] <landc> Yes
[21:07] <landc> Kubuntu on the 1TB SSD, Windows is on the 500GB SSD
[21:09] <diogenes_Vx15> landc, what verison of windows?
[21:10] <landc> windows 10 with bitlocker
[21:13] <diogenes_Vx15> landc, ok we can try and chainload your windows partition.
[21:19] <diogenes_Vx15> if you want of course.
[21:19] <landc> Yeah sure
[21:20] <diogenes_Vx15> ok let's get the UUIDs first: lsblk -o KNAME,UUID | nc termbin.com 9999
[21:21] <landc> https://termbin.com/ll3f
[21:26] <diogenes_Vx15> landc, pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY mousepad /etc/grub.d/40_custom
[21:27] <landc> /usr/bin/env: ‘mousepad’: No such file or directory
[21:28] <diogenes_Vx15> sorry hehe
[21:28] <diogenes_Vx15> replace mousepad with kate
[21:28] <landc> Ah, alright I'm there
[21:28] <landc> right now it contains some comments and "exec tail -n +3 $0"
[21:29] <diogenes_Vx15> just belowe the line that reads: # the 'exec tail' line above.
[21:29] <diogenes_Vx15> add following:
[21:29] <diogenes_Vx15> menuentry 'Windows 10' {
[21:29] <diogenes_Vx15>    search --fs-uuid 0fe1175a-ca32-4bec-87e0-03ea129d2475 --set=root
[21:29] <diogenes_Vx15>    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
[21:29] <diogenes_Vx15> }
[21:30] <diogenes_Vx15> save, close and run: sudo update-grub
[21:31] <landc> Alright that's done
[21:31] <diogenes_Vx15> did you see a new menu entry Windows 10?
[21:32] <landc> I didn't see anything about Windows 10 when I ran update-grub, should I try rebooting at this point?
[21:32] <diogenes_Vx15> no no wait
[21:33] <landc> https://dpaste.org/ZwHPO/raw
[21:33] <diogenes_Vx15> let's see this: cat /etc/grub.d/40_custom | nc termbin.com 9999
[21:35] <landc> diogenes_Vx15: in the paste above ^
[21:35] <diogenes_Vx15> landc, ok reboot see if you get it there.
[21:39] <landc> diogenes_Vx15: Nothing new in the UEFI menu, and when I boot kubuntu it boots straight into the OS, no grub menu
[21:39] <diogenes_Vx15> landc, wait you get no grub menu at all?
[21:40] <landc> Yeah when I boot into kubuntu I only see the logo and then it prompts for my encryption key, then it boots
[21:40] <diogenes_Vx15> cat /etc/default/grub | nc termbin.com 9999
[21:41] <landc> https://termbin.com/5f17
[21:43] <diogenes_Vx15> comment out this line: GRUB_TIMEOUT_STYLE=hidden
[21:43] <diogenes_Vx15> and add timeout here: GRUB_TIMEOUT=5
[21:43] <diogenes_Vx15> after that run: sudo update-grub
[21:47] <landc> diogenes_Vx15: getting closer. I see the entry in grub now, but I get the error file '/EFI/Microsoft/Boot/bootmgfw.efi' not found
[21:48] <landc> I do have a 'bootmgr.efi' in /boot/efi/EFI/Microsoft/boot
[21:48] <landc> but no bootmgfw.efi
[21:48] <diogenes_Vx15> landc, ok then edit that 40_custom file and replace that name.
[21:58] <landc> diogenes_Vx15: still getting this when booting: "error: file `/EFI/Microsoft/Boot/bootmgr.efi' not found."
[21:59] <diogenes_Vx15> landc, ok then we might gave a wrong UUID, i will give you the variants for you to try.
[21:59] <diogenes_Vx15> menuentry "Windows 10" {
[21:59] <diogenes_Vx15>     search --fs-uuid --no-floppy --set=root DB01-4884
[21:59] <diogenes_Vx15>     chainloader /EFI/Microsoft/Boot/bootmgr.efi
[21:59] <diogenes_Vx15> }
[22:00] <diogenes_Vx15> if this won't work then change the uuid to: 904ef84c-4137-4873-a3d2-06f54ff4e03c
[22:00] <diogenes_Vx15> and don't forget: sudo update-grub
[22:01] <diogenes_Vx15> when it comes to chainloading a windows OS it's always a trial-and-error process.
[22:01] <landc> gotcha, will try each of those
[22:01] <diogenes_Vx15> ok and i will go off now, wish you luck and if something, come back tomorrow.
[22:02] <landc> Thanks for the help, will do