WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Bootcode 'nortc': what does it do?  (Read 2435 times)

Offline dspence

  • Newbie
  • *
  • Posts: 25
Bootcode 'nortc': what does it do?
« on: November 09, 2016, 03:38:19 PM »
Hi all,

I have a computer that has Tiny Core 5.4 installed on.  It was working fine for months.  Then suddenly it wouldn't boot anymore (maybe it was turned off for some weeks).  It got stuck after printing  the line "Setting Language to en_US.utf8 Done."

I tried a few times, and it always stopped there.  I waited for more than 10 minutes on a couple of occasions, in case it was just being very, very slow to do something.

I searched and found this thread:
http://forum.tinycorelinux.net/index.php?topic=20004.0

So I booted the machine using USB stick, and added bootcode 'nortc' to file extlinux.conf.  After that, the machine was able to boot Tiny Core Linux from its internal drive.  It booted this way several times, then I removed 'nortc' from extlinux.conf and it got stuck at the same place.

That was yesterday.  Today, it booted, without the 'nortc' bootcode.  The date set from the RTC was 2002-01-01.

What does the 'nortc' bootcode actually do?  Does anyone have a guess what might be happening?

Thanks. :)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Bootcode 'nortc': what does it do?
« Reply #1 on: November 09, 2016, 03:58:04 PM »
The  nortc  boot code skips setting system time from hardware clock (Real Time Clock).
Maybe your main boards battery went empty. Not unlikely for older systems, especially if they weren't running for some time.
« Last Edit: November 09, 2016, 04:00:29 PM by Misalf »
Download a copy and keep it handy: Core book ;)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Bootcode 'nortc': what does it do?
« Reply #2 on: November 10, 2016, 12:41:52 AM »
Using the nortc boot code TC will set system date and time from Internet with ntp, which expect net connectivity during startup.

Without nortc hw date and time used (motherboard RTC) or BIOS default.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline dspence

  • Newbie
  • *
  • Posts: 25
Re: Bootcode 'nortc': what does it do?
« Reply #3 on: November 10, 2016, 04:32:27 PM »
Thanks for the responses.

So if the machine has a rtc, and the rtc battery is empty, this will cause boot failure?

What will happen if I have the 'nortc' boot code, and no network connection?  (I will try it.)