Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
time zoneinfo localtime : dual boot - Linux and Windows
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
gentoofrm
n00b
n00b


Joined: 05 Mar 2004
Posts: 39

PostPosted: Mon Sep 20, 2004 10:59 pm    Post subject: time zoneinfo localtime : dual boot - Linux and Windows Reply with quote

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
View user's profile Send private message
mudrii
l33t
l33t


Joined: 26 Jun 2003
Posts: 789
Location: Singapore

PostPosted: Thu Oct 07, 2004 2:36 am    Post subject: Reply with quote

THX for nfo nice clue
_________________
www.gentoo.ro
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
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