You are viewing...

Fedora 16 rc.local and virtualbox

Updated on December 19, 2011 at the 21th hour
Posted under:

DISCLAIMER: Expressed views on this blog are my own.

It appears it took me quite a while to figure out how to finally get my shared folder auto-mounted on boot.

I’ll show you the error I got <---- Starting /etc/rc.local Compatibility ^[[1;31mfailed^[[0m –--->. I put the arrows there, but its from /var/log/boot.log saying that it tried to start up rc.local but failed.

This was after I followed these directions.

It specifically says on the Release Notes that you just have to create the file, so why am I following a tutorial? *sighs* Well, maybe it works, I don’t know.

Anyway, following those directions got me to that point, so I decided to try the command “systemctl status rc.local.service” to see what I would get. Good enough for me, I got the same error, so I could make changes to the rc.local file and test it immediately. It appears that the command used here, doesn’t work so well for Fedora, but I was lead there from the Fedora tutorials on their site, so my implication is valid, but it appears I was being lead on…. “Douchebags!” I yelled. The correct way to do it is here.

Essentially, here's what you want to do (all as root user or sudo command):

1. You want to create an rc.local file in let’s say /etc/init.d. Put the commands you want.

2. Use chmod a+x to give it execute permissions

3. Create a symbolic link to it inside of /etc

4. Run systemctl start rc-local.service. To see if it works.

5. Once it works, restart your computer and check if it works.


Have a nice day!

P.S. You could always do the fstab part instead.
You just read "Fedora 16 rc.local and virtualbox". Please share if you liked it!
You can read more recent posts here.