Results 1 to 7 of 7

Thread: [ubuntu] Why does a Live USB with wrong time change it on the system?

  1. #1
    Join Date
    Oct 2005
    Location
    USA
    Beans
    86
    Distro
    Ubuntu

    [ubuntu] Why does a Live USB with wrong time change it on the system?

    I did a raw write of the 21.10 iso to a USB flash drive, and when I booted Ubuntu, the time was off because of the time zone, I guess. But then I booted to Windows 7, and the time is now off on Windows 7. So interesting. Somehow the system time got updated. The BIOS actually got updated from Linux? Hmm. It's 8:30p.m. or so, but the time on the Linux was 4:30a.m., and now the same for Windows 7. I think I've seen this once before long ago... Of course a quick update using an ntp server fixed it.

  2. #2
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: [ubuntu] Why does a Live USB with wrong time change it on the system?

    I have not seen that before between when going between my dual-boot between 20.04.3 and Windows 10. Though every once in a while (maybe months between) I do have to reset the time in Windows 10 just by unchecking the "Set by Network" and rechecking that same box. Then all returns to normal.

    I honestly have not used Windows 7 in years, except on VM's.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  3. #3
    Join Date
    Oct 2005
    Location
    USA
    Beans
    86
    Distro
    Ubuntu

    Re: [ubuntu] Why does a Live USB with wrong time change it on the system?

    Maybe something ACPI... Ah well, no matter.

  4. #4
    Join Date
    Aug 2010
    Location
    Lancs, United Kingdom
    Beans
    1,588
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: [ubuntu] Why does a Live USB with wrong time change it on the system?

    As I understand it, and in my experience, this is normal behaviour. Linux reads from and writes to the system clock as UTC. Windows does this using Localtime (all versions including WIndows 10 - I don't know about Windows 11 but expect it to be the same). There is a Windows registry setting to force it to use UTC for this. See for example https://superuser.com/questions/1336...336321#1336321 . I think it's the same with both legacy BIOS and UEFI systems.

  5. #5
    Join Date
    Oct 2005
    Location
    USA
    Beans
    86
    Distro
    Ubuntu

    Re: [ubuntu] Why does a Live USB with wrong time change it on the system?

    Ah ha! Thanks.

  6. #6
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    3,449
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: [ubuntu] Why does a Live USB with wrong time change it on the system?

    It is super easy to make Windows use UTC time or switch back and forth to Local Time.
    See: https://www.howtogeek.com/wp-content...e-UTC-Time.zip
    For background see: https://www.howtogeek.com/323390/how...-dual-booting/

  7. #7
    Join Date
    Oct 2005
    Location
    USA
    Beans
    86
    Distro
    Ubuntu

    Re: [ubuntu] Why does a Live USB with wrong time change it on the system?

    Just fired up Lubuntu Live session on an old 2011 Acer PC, and it did not switch to UTC, it used my PC firmware system time. So, I dunno, maybe not always the case.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •