LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-05-2010, 01:16 PM   #1
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Angry VirtualBox broken after kernel update in Arch Linux


I use Arch Linux and the kernel got upgraded, and it broke VirtualBox. It says to run "/etc/init.d/vboxdrv setup", but such a file does not exist. The Arch Wiki says "/etc/rc.d/rc.vboxdrv setup", but that doesn't exist either. What should I do?

And is it possible to write a script that runs on startup that automatically fixes VirtualBox whenever the kernel is upgraded?
 
Old 09-05-2010, 01:25 PM   #2
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
My good friend MTK358: What about reinstalling VBox with Pacman?
 
Old 09-05-2010, 01:32 PM   #3
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by Kenny_Strawn View Post
My good friend MTK358: What about reinstalling VBox with Pacman?
Not sure if it's worth the trouble, it's installed from AUR.

If no-one will give me any more suggestions i might try it.
 
Old 09-05-2010, 01:50 PM   #4
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Besides, /etc/init.d/vboxdrv setup and /etc/rc.d/rc.vboxdrv setup are commands that you type at the shell, not files. If you are browsing to the scripts with Nautilus or Dolphin, you've got it all wrong. "Setup" is a command that each of those scripts execute. "/etc/init.d/vboxdrv" and "/etc/rc.d/rc.vboxdrv" are the actual file names.
 
0 members found this post helpful.
Old 09-05-2010, 02:09 PM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
But they *are* files, even if you execute them with the command line. Every command (except for shell builtins) is a file.

Code:
# /etc/init.d/vboxdrv setup
bash: /etc/init.d/vboxdrv: No such file or directory
 
Old 09-05-2010, 03:06 PM   #6
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Yikes, that's pretty serious, so really, the only thing that will restore those files is Pacman. The kernel update, I'm sure, could have easily left you with nothing to do but reinstall Virtual Box.
 
Old 09-05-2010, 03:21 PM   #7
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Reinstalling...
 
Old 09-05-2010, 03:28 PM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Didn't help. The only difference is that it now says Oracle instead of Sun
 
Old 09-05-2010, 09:40 PM   #9
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Did you also try installing the DKMS package? How about rebooting so the modules are loaded?
 
Old 09-06-2010, 07:09 AM   #10
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
WTF? It works today! Maybe it needed a reboot.

And as far as I remember it said that the DKMS package is only for Ubuntu or something in the VirtualBox error message.
 
Old 09-06-2010, 07:51 PM   #11
eveningsky339
Member
 
Registered: Mar 2010
Location: Western Maine
Distribution: PCLinuxOS (LXDE)
Posts: 466

Rep: Reputation: 51
I gave up on VirtualBox after several OSes failed to install for no apparent reason. I tried giving Xen a go but it seems complicated and better suited for servers. KVM seems to be working well so far, fairly easy to set up. I'm using a simple GUI to manage my Debian VM.

Besides, VB is now owned by Oracle...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Arch Linux won't update! MTK358 Linux - General 3 08-14-2010 07:38 PM
Arch Linux update failed! MTK358 Linux - General 6 07-04-2010 07:47 PM
Virtualbox broken after update. custangro Ubuntu 7 06-07-2008 11:41 AM
SUSE 9.2: kernel update, Firefox broken finnjimm Linux - Software 3 06-20-2005 02:39 PM
Kernel update has broken SAMBA abovett SUSE / openSUSE 0 01-01-2005 08:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration