Tuesday, December 5, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  2] [ 0]  / answers: 1 / hits: 607  / 8 Months ago, fri, april 21, 2023, 6:26:43

I am going through The Odin Project and being a Windows 10 user, I decided to go for the virtual machine route + Xubuntu. So far so good, though I can feel that the system is a bit sluggish at times. I've been thinking of going to full-blown dual boot setup, but I am concerned about one thing. One thing I use my PC for is recording TV programs with a digital (ATSC) tuner card. The software I use (NextPVR) automatically wakes up the PC a few minutes prior to any TV listing which is set to be recorded. Once it is done, PC idles for about 1 minute and goes to sleep. My concern is whether having a dual boot setup will have some adverse effect on the sleep/wake functionality. I have searched a bit on the subject of Win 10 and Linux dual boot, but most questions focus on installation rather than a specific feature like sleep.

More From » dual-boot


Sleep to RAM

If your computer (in Windows) is set to sleep to RAM then dual boot with Ubuntu should cause no problem with your TV recording setup.

This is because when Windows (or Ubuntu) is in the sleep state, the computer is not fully turned off. When the computer is awakened either manually or by a software, it does not go through the boot sequence. That is, grub the bootloader is not called.

Hibernate to Disk

If your computer is set to hibernate to disk then you will need to make one change in the grub setting so that grub boots to Windows by default.

Grub is the bootloader installed by Ubuntu. When you boot your computer (after you have installed Ubuntu in dual boot mode), grub comes up first and shows you the option to boot Ubuntu or Windows. If you don't do anything it will wait a few seconds and boot Ubuntu. This is the default behavior, but it can be changed. Read all the answers to How do I set Windows to boot as the default in the boot loader? for how to do it.

Time in Ubuntu

Windows and Ubuntu deal with local time differently. See Clock time is off on dual boot for more on this issue.

There are two ways to deal with this problem. Here I will show you how to make Ubuntu use the same method used by Windows, so that the clock does not change the time when you switch between windows and Ubuntu.

Open a terminal in Ubuntu by pressing Ctrl+Alt+T and enter:

sudo timedatectl set-local-rtc 1 --adjust-system-clock

You will need to enter your password. When you enter your password the cursor will not move you will not see anything like *****. This is normal for Ubuntu.

You will need to use this command only once. After using this command Ubuntu will use local time to set the hardware clock (RTC) like windows.

Hope this helps

[#199] Saturday, April 22, 2023, 8 Months  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 290
Total Questions: 115
Total Answers: 114

Location: Egypt
Member since Tue, May 3, 2022
2 Years ago