WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Diagnosing boot problems - any way to write boot messages to boot partition?  (Read 2546 times)

Offline as

  • Newbie
  • *
  • Posts: 30
I am trying to boot tinycore from a hard disk.

I have no serial console access and no network access and no screen access to the machine.  Believe me I have tried every trick I can to get screen access but no go.

My goal is to get the network running so I can log in to the machine.

However it's close to impossible to diagnose what the problem is with boot because I have no way to see the boot messages.

The only possible last option I can think of is somehow to get tinycore to write its boot messages back to the boot partition that it loaded from.  Then I can examine that partition and see what the boot problem was.

Is there any possible way that tinycore can write its boot log back onto the boot partition that the kernel loaded from?

thanks!

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
As I understand you can't access remotely the machine due to boot issues. How do you read the log?
Béla
Ham Radio callsign: HA5DI

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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
You can edit tc-config in a remastered initrd, mount your disk at the start and echo things there.
The only barriers that can stop you are the ones you create yourself.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Linux has no way to determine where it booted from.
It is the boot loader's responsibility to load thew kernel and initrd, and then jump to the kernel start address.
The kernel does not know how that was done.

Offline wksilva

  • Newbie
  • *
  • Posts: 11
Very interenting problem!

Do you know that there is a "Serial Over Ethernet" solution?

May not solve your problem, but can offer options...


The first problem is this to known if the BIOS is loading something or not.

Can you boot and ping the box with a standard TC?

In the "old days" it was possible to put the kernel + initrd in the boot partition, like:

    cat  kernel  initrd  >  /dev/sdb1

The partition of course must have "the boot flag on".

Make an initrd that starts the network, and see if you can ping.

This does not solve the problem with TC, but can help you to find out if the BIOS bootloader is working or not.