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
NEW OEM Dell Inspiron 14 5406 P126G Laptop Battery 11.25V 40Wh JK6Y6 CF5RH
$37.00
NEW OEM USB-C Type-C Charger For Dell XPS 15 2in1 9575 Precision 5530 130W
$35.99
OEM 130W USB-C Type-C Charger for Dell XPS 15 9500 9570 9575 17 9700 DA130PM170
$35.88
NEW OEM 52Wh, 7.6V NF2MW Dell Battery For Dell Latitude 8W3YY
$37.00
OEM Dell Inspiron 11 13 14 15 17 3000 5000 7000 AC Adapter Charger 65W 4.5mm Tip
$10.99
OEM Dell 90W Laptop Charger AC Adapter 19.5V 4.62A 50-60 Hz Latitude, XPS
$8.74
OEM Dell Latitude Laptop 65W AC Adapter Power Charger E7470 E7440 E7270 E6430
$8.99
OEM DELL 65W AC Adapter Charger 7.4mm Latitude 7490 7480 E7440 E7450 E7470 E7270
$11.88
OEM 130W Power Adapter Charger For Dell XPS 15 9530 9550 9560 9570 7590 06TTY6
$33.22
Genuine OEM 42wh YRDD6 Battery For Dell Inspiron 3493 3582 3583 3584 7586 3793
$32.89