Pular para o conteúdo principal

HORA ERRADA, DUAL BOOT

If you dual boot Windows and Ubuntu or any other Linux distribution, you might have noticed a time difference between the two operating systems.


When you use Linux, it shows the correct time. But when you boot into Windows, it shows the wrong time. Sometimes, it is the opposite and Linux shows the wrong time and Windows has the correct time.


That’s strange specially because you are connected to the internet and your date and time is set to be used automatically.


Don’t worry! You are not the only one to face this issue. You can fix it by using the following command in the Linux terminal:


sudo timedatectl set-timezone America/Sao_Paulo

If your timezone is not the Brazilian one, you can use: 

timedatectl list-timezones

timedatectl set-local-rtc 1

Again, don’t worry. I’ll explain in detail how the above command fixes the wrong time issue in Windows after dual boot. But before that, let me tell you why you encounter a time difference in a dual boot setup.


Why Windows and Linux show different time in dual boot? 

Comentários

Postagens mais visitadas deste blog

Ubuntu Won't Start After Windows Reinstallation

How to restore Grub from a live Ubuntu cd. This will restore grub if you already had grub installed but lost it to a windows install or some other occurence that erased/changed your MBR so that grub no longer appears at start up or it returns an error. (This how to is written for Ubuntu but should work on other systems. The only thing to take note of, when you see "sudo" that will mean to you that the following command should be entered at a root terminal.) Boot into the live Ubuntu cd. This can be the live installer cd or the older live session Ubuntu cds. When you get to the desktop open a terminal and enter. (I am going to give you the commands and then I will explain them later) Code: sudo grub This will get you a "grub>" prompt (i.e. the grub shell). At grub>. enter these commands Code: find /boot/grub/stage1 This will return a location. If you have more than one, select the installation that you want to provi...

Installing COMPIZ and Emerald

Introduction Compiz is a 3D desktop for your computer. Compiz Fusion is the new name for the plugins and tools from Beryl. This guide shows how to get it running on Ubuntu and Kubuntu 7.10 (Gutsy). For Kubuntu 8.04 you should use the installer KMenu -> System -> Desktop Effects . The following link shows a few demonstrations of Compiz Fusion: http://video.google.com/videosearch?q=compiz+fusion+ubuntu Install Compiz & Compiz Fusion plugins From Ubuntu: sudo apt-get install compiz compizconfig-settings-manager If you are running Kubuntu then use this command to install the most commonly needed packages. sudo apt-get install compiz compizconfig-settings-manager compiz-kde compiz-fusion-plugins-main compiz-fusion-plugins-extra emerald librsvg2-common If you are missing the window decorations, then you most likely need the compiz-kde, or emerald packages. Run Compiz To run Compiz for the current session, hold Alt, then press F2, then enter the following command, or for...

OS CHANGE NAME - WIN 7

1.  Open a  elevated command prompt  or a  command prompt at boot . NOTE:   If you have a  RAID  setup or a  PCI-E SSD  as your boot drive and want to open a command  prompt  at boot, then you may need to use the  Load  Drivers  option in the  System Recovery Options  screen to load it's  drivers  first before Windows will see the boot drive to be able to use the bcdedit command on it . 2.  In the elevated command prompt, type  bcdedit  and press enter. (see  screenshot  below) NOTE:   This will let you see what the  description  (name) and  identifier  of the operating system(s) listed in Windows Boot Manager are under the  Windows  Boot  Loader  section(s). For example,  Windows 7  (description) as  {current}  (identifier).   3.  In the elevated command prompt, type the command below for a listed ...