Tiny Core Base > TCB Q&A Forum

How to make custom boot codes?

(1/3) > >>

bigpcman:
Can someone explain how to make custom boot codes.

florian:
/proc/cmdline contains all the bootcodes, thus your can parse/grep this file for your own custom ones.

bigpcman:
Thanks for the tip. When I look in /proc/cmdline it is a 0 byte file. So I must being missing something here.

^thehatsrule^:
That's because it's in /proc

Just try and read it :)

bigpcman:
I guess I'm a little dense. I don't know what "read" /proc means. Could you explain what you mean to this old man. I don't see the big picture yet as to how boot codes work. I thought they would end up being simply a list of links to scripts that I could add to. Using vi, cmdline is empty  Here's what I did:

Navigation

[0] Message Index

[#] Next page

Go to full version