1. Open a Konsole/Terminal window.
2. Log in as root user.
3. EITHER:
a) Open the file /etc/conf.d/modules using the
nano editor and add the required line to the end of the file, then save and exit nano:
- Code: Select all
nano /etc/conf.d/modules
OR:
b) Use redirection to add the required line to the end of the file:
- Code: Select all
echo 'modules="vboxdrv vboxnetflt vboxnetadp"' >> /etc/conf.d/modules
4. Delete the files you wrongly created:
- Code: Select all
rm /etc/conf.d/modules.save.*
You didn't give us enough enformation. What desktop environment are you using? If you are using KDE then, instead of the above four steps, you could do:
1. Open a Konsole/Terminal window.
2. Without logging in as root user, use the
kdesu command to launch KWrite with root user rights:
- Code: Select all
kdesu kwrite /etc/conf.d/modules
(You will be prompted to enter the root user's password.)
3. Add the required line to the end of the file, then save and exit KWrite.
4. Delete the files you wrongly created:
- Code: Select all
sudo rm /etc/conf.d/modules.save.*