You are not logged in.
I'm dual booting arch with ubuntu. I've been trying everything I could find in google, but nothing solved the problem.
Problem is I can't fix the time. If I fix it in Arch, it gets screwed in Ubuntu. If I fix it in Ubuntu, Arch's time gets screwed.
eg right now, ubuntu has the correct time set (Mar12 4:15pm eastern/new york). Arch reports:
Thu Mar 12 12:13:18 EDT 2009
can you give me some pointers? thanks.
Last edited by vajorie (2009-03-12 21:12:15)
Offline
Try switching the HARDWARECLOCK variable in /etc/rc.conf.
If its set to "UTC", change it to "localtime", or vice versa.
Its probably because Ubuntu is set to the opposite of whatever you have it set to in Arch. I'm not sure how to change it in Ubuntu, so its probably easiest to change it in Arch.
Last edited by tom5760 (2009-03-12 20:23:15)
Offline
In the rc.conf, make sure you have HARDWARECLOCK set to UTC. Since you don't have windows on the machine, it would be better. Have a look here.
I am not sure what Ubuntu uses behind the scene., but if you set it to UTC and then simply adjust your timezone to US/Eastern, it should work.
If you still have trouble look up man pages for date and hwclock
EDIT : Got beat by 10 secs !!
Last edited by Inxsible (2009-03-12 20:25:09)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
thanks. in ubuntu, the mode is given in /etc/default/rcS - I set arch's rc.conf to whatever it was as you said. in ubuntu's grub, there was also something I did not understand (a boot option clocksource=hpet), and google didn't tell me much about it, so I removed that too (for others who might find this post trying to find an answer, you do that by editing a single line in /boot/grub/menu.list (defoptions or something like that) and then running update-grub from ubuntu (in my setup, ubuntu's grub was never removed -I call Arch from it).
Offline