SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to purge my system of VB and start over. I'm getting this error on startup
Code:
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules. This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel 5.15.27.
/etc/rc.d/rc3.d/S10vboxadd: line 293: /opt/VBoxGuestAdditions-6.1.18/other/check_module_dependencies.sh: No such file or directory
vboxdrv.sh: Starting VirtualBox services.
vboxadd-service.sh: Starting VirtualBox Guest Addition service.
Cannot run /usr/sbin/VBoxService
I'm not on VB-6.1.18, I'm on VB-6.1.34 (not that it works), and VB-6.1.26 was in between. I also thought the guest additions were for guests, so I raised an eyebrow at the host accessing them. They are usually installed by the .run file which does have a --replace option, but not an --uninstall one.
Have a look in /etc/rc.d/init.d for the actual virtualbox startup files (vbox*) and then the /etc/rc.d/rc[0-6].d/ folders for the symlinks to run the virtualbox startup files depending on the runlevel.
it is not an advice, just a possibility: if you want you can remove /etc/rc.d/rc3.d/S10vboxadd or just move to it into another directory.
And if you want to completely remove vbox you need to [re]move this file too.
VirtualBox should've installed four scripts in /etc/rc.d/init.d/ and then many symlinks in /etc/rc.d/rc[0-6].d/. At least that's how it's done with VB 6.1.32 installed using their .run file.
The files in red are part of a normal Slackware install.
You should've removed the /etc/rc.d/init.d/vbox* files and /etc/rc.d/rc?.d/*vbox* symlinks. If you did a full removal of the contents of /etc/rc.d/init.d/, then you are missing the functions script, which may cause 3rd-party packages that rely on /etc/init.d/ for startup/shutdown to not function properly.
As you see from my previous post I have reinstalled the functions script.
Foe sure, VB is the only thing using /etc/rc.d/rc?.d/ directories, so 'RedHat-isms' (which I personally loathe) are zero besides VB. I'll now reinstall VB-6.1.34, along with some ancient windows version and try zoom on it.
business_kid was referencing the rc[0-6].d/ folders that are under /etc/rc.d/. Those are not used with normal Slackware startup, but allows Slackware to support pre-systemd 'RedHat-isms' startup with little to no modification.
I'm pretty sure they're aware of what /etc/rc.d/ itself is for.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.