Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Knoppix 6.7.1 Setting The Right Time?

  1. #1
    Junior Member
    Join Date
    Apr 2011
    Posts
    23

    Knoppix 6.7.1 Setting The Right Time?

    Hi, just downloaded and installed the cd version of 6.7.1. All successful, but cannot set the time? I have tried doing "time-admin" through the root terminal but nothing happens. It comes up with : "command not found". Any ideas? Thanks. By the way, this is a lot better than 6.4!

  2. #2
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    You could always set the time in the BIOS...

    The big trouble I ran into in the past was having a dual-boot system, where Windows and Knoppix both have to interpret the time correctly. Knoppix has a tendency to clear out stuff that you'd rather have set ongoingly, like the timezone (because it's essentially based on a system philosophy that assumes it is loaded from a non-writable medium.) So, I ended up changing some stuff in the startup script(s) to make it work better for me. That's the beauty of the Linux approach!

    Let us know what you decide to do, and if you need help doing it, we're ready to help.

    Cheers!
    Krishna

  3. #3
    Junior Member
    Join Date
    Apr 2011
    Posts
    23
    Hi there and thanks for the reply. I am only running Knoppix on this Dell Inspiron 1545 so would very much lie to know how to set the time right. I could install the dvd version, but that has an awful lot of stuff on it that I never use. This cd version is just about perfect for me! Thanks once again.

  4. #4
    Junior Member
    Join Date
    Apr 2011
    Posts
    23
    Hi there, solved the problem by going into boot system and setting the clock right there. Thanks a lot.

  5. #5
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    I always use in BIOS Greenwich time (UTC). For Linux you need in '/etc/default/rcS' the item: "UTC=yes" and within the kernel line the item "tz=..". Change "tz=.." as you need for your region; I have "tz=Europe/Berlin". Possible items for "tz" you'll find in '/usr/share/zoneinfo'.

    To avoid trouble in case of Dualboot with Windows, you must force Windows also to use UTC.
    Go to the registry key
    Code:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
    
    and create a dword-entry
    RealTimeIsUniversal=1
    Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
    Own Rescue-CD with Knoppix (Knoppix V6.7.1 remaster)

  6. #6
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    There are contrarians like myself that go for tz=localtime,
    keep the hw clock on local, Windows happy & lxpanel clock happy,
    only date= is off by difference between local & utc.

    I've never found a way to set the hw clock that lets you have
    Windows happy, date= on utc & lxpanel clock on local.
    tz=/America/New_York is NOT for me.

    I'm not sure, but I think KK sets up the EN version of Knoppix
    this way.
    Last edited by utu; 09-22-2011 at 05:52 PM.

  7. #7
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    If you use UTC within BIOS and let Linux and Windows do the job, to calculate your local time, all are happy

    You'll get right time (also summertime and wintertime here in Europe) and the right date in the panel display either of Linux or of Windows.

    KK uses "tz=localtime" within Knoppix as default in the hope, users are clever and change it to timezone of their region.

  8. #8
    Junior Member
    Join Date
    Jun 2011
    Posts
    23
    Quote Originally Posted by utu View Post
    I've never found a way to set the hw clock that lets you have
    Windows happy, date= on utc & lxpanel clock on local.
    tz=/America/New_York is NOT for me.
    If you using persistent storage, then
    1. Change in '/etc/default/rcS' the line 'UTC=no'
    2. Then use tz=/America/New_York during boot process

    I would suggest 'UTC=no' to be default option in future distros OR
    Make 'noutc' option in bootprompt ( I hope its not available currently)
    Last edited by vkrishn; 09-23-2011 at 02:09 AM. Reason: Typo

  9. #9
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    ... that's not the UNIX/ Linux way and you'll run in trouble in case of dualboot systems.

    Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
    Own Rescue-CD with Knoppix (Knoppix V6.7.1 remaster)

  10. #10
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Seems to me vkrishn's way is the Debian way.
    Works for me. I prefer NOT to modify my Windows install in any way.

    My only adaptation here (now) is ALSO to modify ALL instances of tz=localtime
    in /mnt-system/boot/syslinux/syslinux.cfg to tz=America/New_York.

    Dual booting that chains through or modifies my HDD's MBR have always been
    a problem for me. My Dell laptop has a nice boot management feature
    that allows one to select from its menu what device to boot. If my
    Linux's are always self-bootable on USBs or CDs I never have to modify
    the Windows install in any way.

    I like fixing broken Linuxes, but I cringe at the thought of trying
    to fix a broken Windows system.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU picture

Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU

$399.04



Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS

$716.98



Dell PowerEdge R920 24 SFF 4x E7-8891 v2 3.2GHz =40 Cores 1024GB No HDD H730P picture

Dell PowerEdge R920 24 SFF 4x E7-8891 v2 3.2GHz =40 Cores 1024GB No HDD H730P

$985.00



Intel XEON E5-2699 V3 CPU PROCESSOR 18 CORE 2.30GHZ 45MB L3 CACHE 145W SR1XD picture

Intel XEON E5-2699 V3 CPU PROCESSOR 18 CORE 2.30GHZ 45MB L3 CACHE 145W SR1XD

$45.00



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



Intel Xeon E5-2699v4 SR2JS 2.2GHz 22-Core 55MB 145W Server Processor CPU picture

Intel Xeon E5-2699v4 SR2JS 2.2GHz 22-Core 55MB 145W Server Processor CPU

$144.95



Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3 picture

Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3

$17.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$39.99



HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA

$234.98



Dell Precision T5600/t5610 Xeon E5-2670 2.6Ghz 16GB DDR3 RAM NO HDD Nvidia picture

Dell Precision T5600/t5610 Xeon E5-2670 2.6Ghz 16GB DDR3 RAM NO HDD Nvidia

$90.00