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 Palmrest Keyboard For Lenovo Thinkpad E15 Gen 2 20T8 20T9 Black 5M10W64513
$80.99
For Lenovo IdeaPad 3 15IIL05 15IML05 15ADA05 15ARE05 Palmrest Keyboard Touchpad
$59.25
Lenovo H50-55 Tower AMD A10-7800@3.5GHz 12GB RAM Radeon R7 2 Tb wi-fi win 10 H
$109.99
Lenovo 500w Gen 3 Laptop, 11.6" IPS Glass, N6000, 8GB, 128GB SSD, Win 11 Home
$186.99
LENOVO LEGION 5 PRO 16ITH6H | CORE I7-11800H | 2TB | 16GB RAM | WIN11 | NEW
$699.99
Lenovo Ideapad Slim 3 15Iru8 15.6" Touchscreen i5-1335U 16GB 512GB SSD W11H-64
$349.99
Lenovo IP 5 16IAU7 16" 2.5K Chromebook i3-1215U 8GB Ram 128GB eMMC Chrome OS
$219.99
Lenovo Ideapad 1i 15.6" FHD Notebook Intel Core i5-1235U 8GB RAM 256GB SSD
$339.99
Lenovo Flex 7 14IRU8 14" 2.2K Touch Intel Core i7-1355U 16GB 1TB SSD W11H
$529.99
Lenovo K14 AMD Laptop, 14" FHD IPS LED , Ryzen 5 5600U, GB, 256GB SSD
$569.00