Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello

I have a task at hand. I am making writing an application to send messages via GSM from my computer to mobile.
When I turn on the computer, before booting the Operating System, a message is sent to my mobile that access to my computer is requested. Based on the reply I give(Yes/No), the user must be able to boot or not boot into the Operating System.
I want to know how to make my application run before the operating system is booted. Any articles or examples would be helpful. The Operating system may be Linux/Windows

Thank You in advance
Posted
Comments
dan!sh 14-Feb-13 23:46pm    
How will you send message to phone? Via internet? I am not sure if that can be done.
Sergey Alexandrovich Kryukov 15-Feb-13 0:06am    
Not that important... the problem is more fundamental. Please see my answer.
—SA
Abhishek Durvasula 14-Feb-13 23:55pm    
actually that part is done through a GSM module.

1 solution

I see the contradiction in the question.

Suppose you have solved this problem. Eventually, some code sends you a GSM message. What is the platform running this code? Whatever you do, the environment which allows your code to send a message has a messaging subsystem, networking, and after all, a system loaded operational. What is that if not an OS?

If you follow my logic, you will see that to send a message, you already have OS loaded. I suggest you to think on a different idea. You can let your OS to load; according to my arguments, this is unavoidable. But you may block the logging on until your confirmation. And this is pretty simple.

How about that?

—SA
 
Share this answer
 
Comments
Abhishek Durvasula 15-Feb-13 0:58am    
I was thinking of writing the code in C/C++ and compile it to assembly level. Then customize the MBR. Is this not possible?
Sergey Alexandrovich Kryukov 15-Feb-13 1:05am    
I don't think you ever need to customize MRB. Linux is usually loaded via Grub. What is "compile to assembly level"? Do you really know what is assembly and what compilers do? I doubt it now...
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900