Installation script?

Posted on 2014-04-10
Medium Priority
Last Modified: 2014-05-06
Hello Experts,

Will GRUB2 can execute a script at system boot?

Question by:Puspharaj Selvaraj
LVL 35

Accepted Solution

Duncan Roe earned 2000 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)
LVL 62

Expert Comment

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)

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Fine Tune your automatic Updates for Ubuntu / Debian
Cron is one of the most popular and basic utilities found on Unix systems. Combined with other tools, cron makes it exceptionally easy to automate a broad range of tasks on your server.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

597 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