WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Confusing Local Time  (Read 14322 times)

Offline ordep

  • Jr. Member
  • **
  • Posts: 74
Re: Confusing Local Time
« Reply #30 on: July 23, 2012, 05:54:34 AM »
While you get the output of 'showbootcodes' as posted above, what is the output of 'uname -a'?


Linux box 3.0.21-tinycore #3021 SMP Sat Feb 18 11:54:11 EET 2012 i686 GNU/Linux

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Confusing Local Time
« Reply #31 on: July 23, 2012, 06:29:08 AM »
Any idea where that "BOOT_IMAGE=TCL-sdb9" could come from?
Have you manually ever given such a name anywhere?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline ordep

  • Jr. Member
  • **
  • Posts: 74
Re: Confusing Local Time
« Reply #32 on: July 23, 2012, 07:10:36 AM »
Any idea where that "BOOT_IMAGE=TCL-sdb9" could come from?
Have you manually ever given such a name anywhere?

In my working box Salix in lilo.conf the section for TCl reads:
Quote
image = /mnt/TCL/tce/boot/vmlinuz
initrd = /mnt/TCL/tce/boot/core.gz
root = /dev/sdb9
label = TCL-sdb9
read-only

Aha, and there is the

Quote
append="quiet vt.default_utf8=1"

at the beginning of lilo.conf.

So it seems those bootcodes come from the lilo.conf. 
« Last Edit: July 23, 2012, 07:41:34 AM by ordep »

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Confusing Local Time
« Reply #33 on: July 23, 2012, 10:57:19 AM »
There you go!

What started as "Confusing Local Time" eventually turns out to be "Confusion about a misconfigured bootloader".

Better fix your boot configuration...
I seem to vaguely remember that one may have to update or rerun lilo after installing a new kernel or changing config. Consult documentation.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline ordep

  • Jr. Member
  • **
  • Posts: 74
Re: Confusing Local Time
« Reply #34 on: July 23, 2012, 07:26:04 PM »
There you go!

What started as "Confusing Local Time" eventually turns out to be "Confusion about a misconfigured bootloader".

Better fix your boot configuration...
I seem to vaguely remember that one may have to update or rerun lilo after installing a new kernel or changing config. Consult documentation.

Yes that is SOP in my Linux book!  ;)
It is then still confusing why TCL uses those codes and not the once give. Godfather DSL or KNOPPIX will not do it with the same lilo.conf settings.
« Last Edit: July 23, 2012, 09:57:41 PM by ordep »

Offline ordep

  • Jr. Member
  • **
  • Posts: 74
Re: Confusing Local Time
« Reply #35 on: July 23, 2012, 11:15:01 PM »
Now how about these codes:

Quote
~$ showbootcodes
BOOT_IMAGE=TCL-sdb9 ro root=819 noswap noutc tz=PHT-8

or now

Quote
~$ date
Tue Jul 24 11:07:11 PHT 2012

Added in lilo.conf in TCL section
Quote
append = "noswap noutc tz=PHT-8"

Hopefully this ends all confusions. :D :D :D

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Confusing Local Time
« Reply #36 on: July 24, 2012, 02:34:00 AM »
Also delete "root =" & "read-only"
Any system based on initramfs must not have such options.

"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline ordep

  • Jr. Member
  • **
  • Posts: 74
Re: [SOLVED] Confusing Local Time
« Reply #37 on: July 24, 2012, 11:25:41 PM »
Can we then say that if TCL is installed on a hard drive and boot loader is lilo the boot codes have to be placed into the /etc/lilo.conf file as append = .

In my lilo.conf the section for TCL reads now:
Quote
image = /mnt/TCL/tce/boot/vmlinuz
initrd = /mnt/TCL/tce/boot/core.gz
root = /dev/sdb9
append = "quiet noswap noutc tz=PHT-8"
label = TCL-sdb9

The vga=mode, in my case vga=791, is placed before the Linux bootable partition config begins at the end of the global section.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: [SOLVED] Confusing Local Time
« Reply #38 on: July 25, 2012, 01:55:25 AM »
What is the output of "showbootcodes" now?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline ordep

  • Jr. Member
  • **
  • Posts: 74
Re: [SOLVED] Confusing Local Time
« Reply #39 on: July 25, 2012, 03:44:10 AM »
What is the output of "showbootcodes" now?

Quote
BOOT_IMAGE=TCL-sdb9 quiet noswap noutc tz=PHT-8

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: [SOLVED] Confusing Local Time
« Reply #40 on: July 25, 2012, 08:16:19 AM »
Looks much better now.  :)

Still not sure if that "root = /dev/sdb9" should be in there though...
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline ordep

  • Jr. Member
  • **
  • Posts: 74
Re: [SOLVED] Confusing Local Time
« Reply #41 on: July 26, 2012, 09:21:00 PM »
root = /dev/sdb9 there or not does not seem to make any difference.

Just to double check for the whole concept of bootcodes in lilo.conf I booted from CD with "base". Installed to HD w/o any bootcodes.  Used the bootcodes in lilo.conf as outlined as "append = *". Run lilo, booted into the new TCL partition and all was set correctly such as set to local time.