You are not logged in.

#1 2017-05-28 23:35:25

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,901

Timezone setting for ISO boot

Hello fellow BL users!

I can't seem to find a way to specify the timezone or to tell the system that my hw clock is in UTC or local time. AS I dual boot with Win10 the time in the BIOS ends up being 4 hrs later which Windows picks up. I would not want the BIOS time changed by the BL Live system.

What commandline options should I pass in GRUB2?

Thanks smile


Real Men Use Linux

Offline

#2 2017-05-29 08:57:14

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: Timezone setting for ISO boot

Linux usually wants the RTC in UTC while Windows prefers/expects localtime. The easiest way to solve this is to make Debian/BL use localtime too because on Windows it's difficult (I read).

See https://wiki.debian.org/DateTime#Hardwa … al_booting for a how-to.

Offline

#3 2017-05-29 11:49:41

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Timezone setting for ISO boot

nobody wrote:

on Windows it's difficult

^ This.

To set Windows to use UTC (also known as The One True Time Standard™), issue this command with Administrator privileges:

reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f

But then Windows will reset this after each major upgrade, my solution is here:

https://forums.bunsenlabs.org/viewtopic.php?id=3624

So, yes, it may be easier to set BunsenLabs to use "local" time (ugh):

sudo timedatectl set-local-rtc 1

Offline

#4 2017-05-29 15:34:44

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,901

Re: Timezone setting for ISO boot

Thanks for the suggestion....I will see if I can issue the timedatectl command in the live environment to set clock to localtime so as not to mess up the hw clock while in the live system. Once I do install BL to my hard drive I can then issue that command first thing after install.


Real Men Use Linux

Offline

Board footer

Powered by FluxBB