use boot cheat code tz=America/Vancouver
I Installed Knoppix 8.1 on Hard drive.
There is an issue with the Time setting.
Here is what I found out so far:
a) The BIOS of my MSI motherboard is set to universal time UTC.
b) In /etc/adjtime I find
'0.000000 1177000000 0.000000
1177000000
UTC'
c) After setting my time zone via ---> Preferences ---> Date and Time to 'America/Vancouver
I checked /etc/timezone and found the right entry - America/Vancouver - and the right time appears in the panel.
After each restart/reboot of the computer, /etc/timezone is overwritten with 'localtime'
and I have to set the timezone new as I did before.
What can I do to have the /etc/timezone entry permanent?
use boot cheat code tz=America/Vancouver
I have a multi system configuration - Ubuntu 16.04 and Windows 10.
I installed Knoppix and I have to select the system I want to use from a grub.conf. menu which comes up after start.
Where do I have the access to enter the cheat code for Knoppix?
Here is the entry for Knoppix boot in my grub.cfg. Where would I have to enter the code 'tz-America/Vancouver?
PHP Code:
menuentry 'Debian GNU/Linux (buster/sid) (on /dev/sdc1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-d3e1c0de-0517-45d5-b1a8-518122a550b8' {
insmod part_msdos
insmod reiserfs
set root='hd2,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 d3e1c0de-0517-45d5-b1a8-518122a550b8
else
search --no-floppy --fs-uuid --set=root d3e1c0de-0517-45d5-b1a8-518122a550b8
fi
linux /boot/vmlinuz root=/dev/sdc1 rootwait lang= apm=power-off nomce libata.force=noncq tz=localtime loglevel=1 lang=en apm=power-off initrd=minirt.gz nomce hpsa.hpsa_allow_any=1 loglevel=1 rw
}
I guess this would be the line where I have to replace tz=localtime to ---> tz=America/Vancouver ?linux /boot/vmlinuz root=/dev/sdc1 rootwait lang= apm=power-off nomce libata.force=noncq tz=localtime
Yes exactly, that's the line....it works probably for all cheat codes...Great feature...This might be my main Linux OS from now on!I guess this would be the line where I have to replace tz=localtime to
---> tz=America/Vancouver ?
Thank you fredvej for the hint...Issue [SOLVED]
Sorry, I forgot to mention that I also had to change timezone in
-> Root/boot/grub the menu.lst
(when running Knoppix)default 0timeout 30
color cyan/blue white/blue
title KNOPPIX
root (hd2,0)
kernel /boot/vmlinuz root=/dev/sdc1 rootwait lang= apm=power-off nomce libata.force=noncq tz=America/Vancouver loglevel=1 lang=en apm=power-off initrd=minirt.gz nomce hpsa.hpsa_allow_any=1 loglevel=1 rw
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$11.99
Team T-FORCE VULCAN Z 16GB (2 x 8GB) DDR4 3200 PC Ram Intel XMP 2.0 Memory
$27.99
A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L
$23.98
A-Tech 16GB DDR4 2400 MHz PC4-19200 Laptop SODIMM 260-Pin 2Rx8 Memory RAM 1x 16G
$24.99
A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G
$11.99
Hynix 16GB 2Rx8 PC4-2666V-R HMA82GR7AFR8N-VK Server Memory RAM
$14.99
A-Tech 16GB 2x 8GB PC3-10600 Desktop DDR3 1333 MHz DIMM 240pin Memory RAM 16G 8G
$23.98
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$31.95
A-Tech 256GB 8x 32GB 4Rx4 PC4-17000L DDR4 2133 MHz ECC LRDIMM Server Memory RAM
$199.92
A-Tech 128GB 4x 32GB 2Rx4 PC4-21300R DDR4 2666 ECC REG RDIMM Server Memory RAM
$131.96