View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 20 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Timezone error
PostPosted: Sat Dec 13, 2003 3:39 am 
Offline
Joined: Sat Dec 13, 2003 3:02 am
Posts: 16
1. I can’t change timezone! It starts as US/Pacific. I choose Europe/Stockholm and choose Yes to "do you want to SET…". I get two error lines (which I can’t see since they flashes by too fast), and the timezone is still set to US/Pacific.

It _did_ work when I tried yesterday, but it does not today. (Both times doing auto installation)


2. In the "Do you wish to SET…" screen, it says Universal: 3.30, Local: 4.30. That’s wrong, it should say Local: 9.30. (I’m not sure which timezone UTC is though)

Is this read from NTP, of from the local clock?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 13, 2003 4:49 am 
Offline
Site Admin
Joined: Fri Oct 31, 2003 11:40 pm
Posts: 357
Location: Irvine, Ca
Its reading the local clock. You say it won't set the tz during an auto install ?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 13, 2003 5:14 am 
Offline
Joined: Sat Dec 13, 2003 3:02 am
Posts: 16
That's right, I choose <Y>es but it's still set to US/Pacific. I'm getting some error, but it goes away to fast for me to read it.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 13, 2003 5:25 am 
Offline
Joined: Sat Dec 13, 2003 3:02 am
Posts: 16
I've managed to read the error now, it's
/usr/local/bin/KnoppMyth-tz: line 122: /etc/timezone: read-only filesystem.

Since this step is done before partitioning/formating etc, /etc is on the CD, right? So of course it's read-only. Is the timezone thing suppose to be done after the formating, or should /etc be a ram drive, or what...?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 13, 2003 10:18 am 
Offline
Joined: Sat Dec 13, 2003 9:44 am
Posts: 1
I had the same problem during the installation, and yes since it is on the CD, it doesn't change the timezone. But after rebooting and removing the KnoppMyth CD, it asks you again and then it takes.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 13, 2003 11:12 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
also if you are completely through the install you can always run Knoppmyth-tz from a root prompt and it will run that script agian.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 13, 2003 11:41 am 
Offline
Joined: Sat Dec 13, 2003 3:02 am
Posts: 16
Why does it ask for timezone when it needs to ask again after a reboot? Sounds odd to me...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 07, 2004 9:06 pm 
Offline
Joined: Mon Apr 05, 2004 5:04 pm
Posts: 29
Xsecrets wrote:
also if you are completely through the install you can always run Knoppmyth-tz from a root prompt and it will run that script agian.


root@stevo:/# Knoppmyth-tz
bash: Knoppmyth-tz: command not found

Steve

_________________
-Howski
-------------------
Knoppmyth R5A16
Soyo Dragon KT400 Black Edition
Athlon XP 2400+ (2001MHz)
512MB SDRAM
nVidia GeForce4 5200 64MB
Hauppauge WinTV-PVR350
Hauppauge WinTV-PVR250


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 08, 2004 5:38 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
Anders wrote:
Why does it ask for timezone when it needs to ask again after a reboot? Sounds odd to me...


Just for practice :lol:

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 08, 2004 5:59 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
Quote:
root@stevo:/# Knoppmyth-tz
bash: Knoppmyth-tz: command not found


KnoppMyth-tz, not Knoppmyth-tz or knoppmyth-tz :(


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 08, 2004 8:27 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
This really is a nusciance and a cause of confusion. There is about 1 new post per day from someone with a problem caused by this.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 08, 2004 9:05 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
well as soon as you can figure out how to fix the script I'm sure the developers would be happy to include your improvements.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 08, 2004 11:36 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I can think of a number of approaches...

The one that's the most obvious is for the init scripts on the cd to make a ramdisk, copy /etc into it, and mount that over the existing /etc. The only problem is that it'll take a fair chunk of RAM. On my Mandrake box here at work du -k /etc shows about 32Mb of stuff. Obviously various types of cleverness are possible to reduce the memory footprint (have /etc which is a symlink farm and /real_etc which contains most of the files, ...)

You could wait on setting the time until (or rerun it) after the copy to disk has been done and mount /etc from the HD before doing it... Running it when it's not going to work isn't very useful anyway...

Another aproach is to make setting the time/TZ an early interaction in the init scripts, after the root FS is mounted but before any of the servers are brought up. To avoid being annoying make it conditional on the existance of a file (e.g. - /etc/never_been_kissed) which you can't delete from the CD ('cause it's RO) but you can delete from /etc. That way the servers don't come up with a bad time/TZ on the first HD boot.

One of the few advantages to being old and having an nasty twisty mind is being on a first name basis with most of the dirty tricks, evil hacks, and weird work-arounds out there. ;-) :twisted: ;-)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 08, 2004 6:24 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
yes these are all great ideas, but the fact still remains someone has to write the code, which seems to be the problem here. Not that the code or process is too difficult to figure out, just that noone has or has made the time to do it.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 08, 2004 10:13 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
First on my list is to get together a complete step by step write up of how to do an install or upgrade with TV-Out getting this right in the process and get that posted. Then I can start thinking about putting the research time in to learn enough about the mechanisms used in vanilla Knoppix and how KnoppMyth differs, and a variety of debian issues (KnoppMyth is my first debian based distro), and ...

OBTW - No fair shifting the ground, all you said the first time was "figure out how" not "do it" or "write the code". ;-)


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu