View previous topic :: View next topic |
Author |
Message |
gentoofrm n00b

Joined: 05 Mar 2004 Posts: 39
|
Posted: Mon Sep 20, 2004 10:59 pm Post subject: time zoneinfo localtime : dual boot - Linux and Windows |
|
|
Settiup up time, clock, date, zoneinfo and localtime might be a pesky issue when you dual boot to Linux and Windows.
The following two methods work for me. The first one seems better.
example timezone: PST8PDT (West Coast of North America)
< First Method >
Code: | (super user terminal)
# cd /sbin
# hwclock
# date
# date MMDDhhmmyyyy
/* where MM=Month, DD=Day, hh=Hour (24 format), mm=minute, yyyy=year*/
/etc/rc.conf
CLOCK="PST8PDT"
# ln -sf /usr/share/zoneinfo/PST8PDT /etc/localtime |
< Second Method >
Code: | (super user terminal)
# cd /sbin
# hwclock
# date
# date MMDDhhmmyyyy
/* where MM=Month, DD=Day, hh=Hour (24 format), mm=minute, yyyy=year*/
/etc/rc.conf
CLOCK="local"
# ln -sf /usr/share/zoneinfo/PST8PDT /etc/localtime
/etc/profile
ln -sf /usr/share/zoneinfo/PST8PDT /etc/localtime |
|
|
Back to top |
|
 |
mudrii l33t

Joined: 26 Jun 2003 Posts: 789 Location: Singapore
|
Posted: Thu Oct 07, 2004 2:36 am Post subject: |
|
|
THX for nfo nice clue _________________ www.gentoo.ro |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|