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
  •  


HP i7-7700 Desktop Computer PC up to 32GB RAM, 4TB SSD, Windows 11 or 10, WiFi picture

HP i7-7700 Desktop Computer PC up to 32GB RAM, 4TB SSD, Windows 11 or 10, WiFi

$285.54



Dell i5 Desktop Computer PC up to 32GB RAM, 4TB SSD, 24

Dell i5 Desktop Computer PC up to 32GB RAM, 4TB SSD, 24" LCD, Windows 11 or 10

$274.94



Dell i5-6500 Desktop Computer PC up to 16GB RAM, 4TB SSD, Windows 10 Pro, WiFi picture

Dell i5-6500 Desktop Computer PC up to 16GB RAM, 4TB SSD, Windows 10 Pro, WiFi

$227.65



Dell i5-7500 Desktop Computer PC up to 32GB RAM, 4TB SSD, Windows 11 or 10, WiFi picture

Dell i5-7500 Desktop Computer PC up to 32GB RAM, 4TB SSD, Windows 11 or 10, WiFi

$295.20



Dell OptiPlex 7010 Intel Core i5-3570 8GB RAM 500GB HDD No OS Desktop picture

Dell OptiPlex 7010 Intel Core i5-3570 8GB RAM 500GB HDD No OS Desktop

$49.99



Lenovo P310 Desktop - Intel Core i7-6700 @ 3.40GHz 8GB RAM 1TB HDD - Windows 11 picture

Lenovo P310 Desktop - Intel Core i7-6700 @ 3.40GHz 8GB RAM 1TB HDD - Windows 11

$150.00



NEW HP S01 SLIM DESKTOP PC 10TH GEN CORE i3-10105 3.70GHZ 8GB 256GB SSD WIN 11 picture

NEW HP S01 SLIM DESKTOP PC 10TH GEN CORE i3-10105 3.70GHZ 8GB 256GB SSD WIN 11

$199.99



RYZEN 7 8 CORE Gaming Desktop PC RTX 2060/2070/3060 SSD+HDD 16GB Win10 WiFi picture

RYZEN 7 8 CORE Gaming Desktop PC RTX 2060/2070/3060 SSD+HDD 16GB Win10 WiFi

$450.00



Dell i5 Mini Computer PC up to 32GB RAM, 2TB SSD, Windows 11 or 10, USB-C WiFi picture

Dell i5 Mini Computer PC up to 32GB RAM, 2TB SSD, Windows 11 or 10, USB-C WiFi

$301.36



Dell Desktop Computer 16GB 2TB, 512GB SSD Wi-Fi Core i5 Windows 10 PC New 24

Dell Desktop Computer 16GB 2TB, 512GB SSD Wi-Fi Core i5 Windows 10 PC New 24"LCD

$239.99