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
AMD RYZEN 7 9800X3D 8-Core 16-Thread Desktop Processor AM5 4.70GHz IN-HAND
$612.99
Custom RGB Gaming Desktop PC Intel Core i7 3.40 Quad 32 GB SSD Nvidia RTX 3060
$413.00
HP PRODESK 600 G5 SFF | INTEL CORE I7-9700 3.00GHZ | 256GB | 16GB RAM | NO OS
$129.99
DELL Desktop Computer PC i7, up to 64GB RAM, 17TB SSD HDD, Windows 10/11 , WiFi
$129.00
Intel Core i7-6700 LGA 1151 3.4 GHz 8 GT/s Desktop CPU Processor SR2L2
$49.99
Intel Core Ultra 7 Desktop Processor 265K - 20 cores (8 P-cores + 12 E-cores) an
$428.40
Intel Xeon E5-2690 SR0L0 2.90 GHz 8 Core 20MB LGA-2011 Server CPU Processor 135W
$9.99
Intel Xeon E5-2667 v3 8-Core 3.2GHz SR203 Haswell-EP Processor *km
$7.99
ASUS ROG Strix G16CHR Gaming DT-14th Gen Intel Core i7-14700F (20-Core)-RTX 4060
$762.99
HP ProBook X360 11 G6 EE Touch Laptop 11.6” Core i3 8GB RAM 128GB SSD Windows 11
$186.63