> For the complete documentation index, see [llms.txt](https://tk233.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tk233.gitbook.io/notes/tools/ubuntu/windows-ubuntu-dual-boot-issues.md).

# Windows Ubuntu Dual Boot Issues

{% embed url="<https://askubuntu.com/questions/52963/how-do-i-set-windows-to-boot-as-the-default-in-the-boot-loader>" %}

### Windows Linux timestamp difference issue

### Let Linux to use local time

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

now, to check if the change is effective, run

```
timedatectl
```

<figure><img src="https://1287130752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVJ0h2a4qMIhB1I8GdV8%2Fuploads%2Fgit-blob-45232d5d480800e7592f3c494a93496f2c6a58de%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

To undo this change:

```
timedatectl set-local-rtc 0 --adjust-system-clock
```
