Solved

Installation script?

Posted on 2014-04-10
3
382 Views
Last Modified: 2014-05-06
Hello Experts,

Will GRUB2 can execute a script at system boot?

Thanks,
0
Comment
Question by:Puspharaj Selvaraj
3 Comments
 
LVL 34

Accepted Solution

by:
Duncan Roe earned 500 total points
ID: 39993651
No, the function of GRUB is to load the operating system. You can start your boot-time scripts from rc.local (usually somewhere under /etc/rc.d)
0
 
LVL 62

Expert Comment

by:gheist
ID: 39997868
Earliest chance to execute anything is rc.sysinit script.
Normally one will add a service with chkconfig (with headers mimicking scripts in /etc/init.d)
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question