Ubuntu tips

hogeol·2022년 6월 1일
0

Ubuntu

목록 보기
7/12

Time sync on dual booting

If you install ubuntu with window (dual boot)
the window's time is changed.
It is because
Window interpret the time based on RTC(real-time clock),
but ubuntu interpret it based on UTC(Universal time coordinated)

  • UTC: based on 1970. 01. 01. 00:00

below command is using RTC on ubuntu.
In terminal,

timedatectl set-local-rtc 1

Set below so that it can be saved even after reboot

sudo vi /etc/default/rcS

In /etc/default/rcS, type first line like this

UTC=no

Infinite grub when boot computer

sudo vi /boot/grub/grub.cfg

In /boot/grub/grub.cfg, find Windows 10(loader)

  • if using vi, 'ESC + /' can find words

after chainloader +1 in windows 10 function, write

ntldr /bootmgr

save and reboot.

In my case, when using reboot in ubuntu, grub is infinite
so I don't using reboot. Instead, using power off and passively power on my computer

0개의 댓글