DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was so excited about coming back to using Debian after quite a long time, and especially about a successful dual-boot set-up with Win7. But, you know...here I am with this problem.
I'm sure I had set the correct time zone during installation of Debian and at one stage the installer asked if other OSes on my machine had UTC set. Now, both Win7 and Debian had set the same correct time zone, but when I logged in to Debian it gave an incorrect time, which I set corrected.
After a reboot, however, the start-up process showed a horrifying error, saying the last boot time logged in the system was in the future! It suggested running fsckwithout -a or -p options while the file system is mounted read-only. I had to run fsck twice before I could logged in to my Debian system again without any problem. But when I logged in to Win7 it was showing an incorrect time, which I had to change manually. And guess what! - This changed the time in Debian to a future time seven hours ahead!
Is there a way I could set the same time in both my OSes?
My time zone is for Dhaka, Bangladesh (UTC +6 with DST, which actually makes it UTC +7).
Debian, like all other unix OSes, thinks that the time inside bios is in GMT, so it adds your time difference from GMT time to show you the current time for your location, aka local time
Windows on the other hand thinks that the bios clock is on local time and it simply does nothing.
To fix this, open your /etc/default/rcS and change the line "UTC=yes" to "UTC=no"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.