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
Lenovo LOQ 15.6" FHD 144Hz Gaming Notebook R7-7435HS 16GB RAM 512GB SSD RTX 4070
$879.99
2024 Lenovo IdeaPad Laptop Notebook 15.6" Intel Processor Upto 20GB RAM 1TB SSD
$259.00
Lenovo X1 Carbon Gen 6 14” Laptop Core i7 4.2GHz 16GB RAM 256GB SSD Windows 11
$272.98
Lenovo LOQ 15.6" FHD 144Hz Gaming Notebook R7-7435HS 16GB RAM 512GB SSD RTX 4050
$679.99
Lenovo LOQ 15.6" FHD 144Hz Gaming Laptop i5-12450HX 12GB RAM 512GB SSD RTX 3050
$599.99
Lenovo Yoga 6th Gen ThinkPad 11e 2-in-1 Laptop Windows 11 Pro. 8GB RAM 256GB SSD
$118.00
Lenovo ThinkPad L440 14" Laptop Intel Core i3 8GB RAM 500GB HDD Windows 10 Pro
$49.95
Lenovo ThinkPad T480 14" FHD i5 8350u 16GB 512gb NVME WIFI CAM WIN 11 PRO laptop
$269.99
Lenovo Tiny Desktop PC i7 8th Gen, up to 64GB RAM, 4TB SSD, Windows 11/10 Pro
$256.35
Lenovo ThinkPad T15 Gen 1 15.6" Laptop i7-10610U 512GB SSD 16GB RAM Win 11 (SNB)
$302.36