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
}
linux /boot/vmlinuz root=/dev/sdc1 rootwait lang= apm=power-off nomce libata.force=noncq tz=localtimeI guess this would be the line where I have to replace tz=localtime to ---> tz=America/Vancouver ?
I guess this would be the line where I have to replace tz=localtime to
---> tz=America/Vancouver ?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!
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
ASUS ROG STRIX B550-F GAMING AM4 AMD B550 SATA 6Gb/s ATX AMD Motherboard
$129.99
Asus H110M-C Rev 1.03 mATX Desktop Motherboard LGA 1151/Socket H4 DDR4 SDRAM
$28.99
ASRock Z490M Pro4 LGA 1200 Intel Z490 SATA 6Gb/s Micro ATX Intel Motherboard
$64.99
GIGABYTE Z790 UD AC LGA 1700 Intel Z790 ATX Motherboard with DDR5, Triple M.2, P
$194.99
ASUS PRIME B550-PLUS AC-HES Socket AMD AM4 B550 ATX M.2 Desktop Motherboard B
$79.99
ASRock Z590 EXTREME LGA 1200 Intel Z590 SATA 6Gb/s ATX Intel Motherboard
$99.99
GIGABYTE B450 AORUS Pro WiFi AM4 Intel Motherboard
$75.00
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
MSI MPG Z490 GAMING ATX Motherboard MPG-Z490-GAMING-EDGE-WIFI
$116.11
GIGABYTE B550 GAMING X AM4 AMD B550 ATX Motherboard Dual M.2 SATA 6Gb/s USB 3.2
$99.99