LinuxQuestions.org
Help answer threads with 0 replies.
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 11-30-2012, 08:51 AM   #1
LukasH
Member
 
Registered: Jul 2012
Posts: 31

Rep: Reputation: Disabled
VirtualBox GuestAdditions - error?


Hello everyone,


I followed this explanation on how to install the GuestAdditions on a Ubuntu Server VM using VirtualBox: http://mylinuxramblings.wordpress.co...-server-10-04/

But when I do the following step:

sudo mount /dev/cdrom /media/cdrom

I get the following error: “mount: special device /dev/cdrom does not exist”. Has anyone encountered this before?

I tried ls -l /dev/cdrom to see what actually is in there, and it says

Code:
foundation less SharedFolder Vagrant Vagrant.pub

Last edited by LukasH; 11-30-2012 at 09:02 AM. Reason: did more error research
 
Old 11-30-2012, 10:01 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
http://www.virtualbox.org/manual/ch04.html#idp12082384
 
Old 12-04-2012, 03:48 AM   #3
LukasH
Member
 
Registered: Jul 2012
Posts: 31

Original Poster
Rep: Reputation: Disabled
That does not help me at all, since I did not find a soluton to my error.

Escpecially, as this Manual (which I have read before) is not specified for Ubuntu Server.

So please, if anyone has more ideas than posting a manual link, help!

Last edited by LukasH; 12-04-2012 at 04:19 AM.
 
Old 12-04-2012, 09:30 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
That does not help me at all, since I did not find a soluton to my error.
...is not specified for Ubuntu Server.
SO WHAT? You haven't even told us what build of "Ubuntu Server".

"my car doesn't start"
"what kind of car is it?"
"blue".


Your opening post is missing some key information, such as:
  1. What OS/build does the Host have installed?
  2. What is the Virtual Guest OS/build?
  3. What version of Virtualbox is installed on the Host?
  4. How did you install virtualbox?
Quote:
So please, if anyone has more ideas than posting a manual link, help!
Even a broke watch is right twice a day.

Maybe if you can provide those answers, someone here can help you learn to help yourself.
 
Old 12-04-2012, 09:40 AM   #5
LukasH
Member
 
Registered: Jul 2012
Posts: 31

Original Poster
Rep: Reputation: Disabled
Though that post is harsh, I will try to get ofc the information that is wanted.

1. Ubuntu 12.04 LTS (image received from this place)
2. Ubuntu 12.04.1, Precise Pangolin, server version (image received from this place)
3. Up-to-date (which is 4.2.4)
4. By a manual download of the .deb-file matching my host system on the official oracle page

Hope that helps?
 
Old 12-04-2012, 10:41 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Try it again with the device sr0 instead of cdrom:
Code:
sudo mount /dev/sr0 /mnt/cdrom
 
Old 12-10-2012, 03:54 AM   #7
LukasH
Member
 
Registered: Jul 2012
Posts: 31

Original Poster
Rep: Reputation: Disabled
I get a "mount: no medium found on /dev/sr0" on that one

Anymore ideas?
 
Old 12-10-2012, 04:24 AM   #8
LukasH
Member
 
Registered: Jul 2012
Posts: 31

Original Poster
Rep: Reputation: Disabled
Okay, so here is another update. It worked with /dev/sr0, after I deleted the virtual cdrom-device and rebuilt another one.

The next thing that happened now is the Error_1.png you can find attached.
The errorlog you can find on Error_log.png.

I will continue working on that and post my results in here, but I do appreciate any form of help!
Attached Thumbnails
Click image for larger version

Name:	Error_1.png
Views:	55
Size:	11.4 KB
ID:	11382   Click image for larger version

Name:	Error_log.png
Views:	44
Size:	18.7 KB
ID:	11383  

Last edited by LukasH; 12-10-2012 at 04:28 AM.
 
Old 12-10-2012, 04:51 AM   #9
LukasH
Member
 
Registered: Jul 2012
Posts: 31

Original Poster
Rep: Reputation: Disabled
Okay, here is the solution for the header issue:

Basically it all comes down to a

Code:
sudo apt-get install linux-headers-generic --fix-missing
and a (though I don't know if that is really required)

Code:
sudo grub-update
(Note: Depending on the distro you have take care if it's GRUB2 or an older version)

___

And here comes the edit: That did not work. Though it updated the headers, it still says the The "headers for the current running kernel were not found" and fails. Wuuuargh...
___

Edit #2:

That should help a lot.

Last edited by LukasH; 12-10-2012 at 05:13 AM. Reason: Not right solution obv
 
  


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
VirtualBox error non-root dh2k Slackware 7 03-05-2012 08:00 AM
Virtualbox error, but what do i do? Knightron Linux - Virtualization and Cloud 2 10-01-2011 07:09 PM
VirtualBox error anurag2202 Linux - Virtualization and Cloud 8 09-22-2010 12:41 AM
Can't activate guestadditions in VirtualBox in Slackware jasonwryan Linux - Software 3 04-01-2009 01:15 PM
VirtualBox Error Mr. Rey Linux - Software 3 08-19-2008 04:26 PM

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

All times are GMT -5. The time now is 09:34 AM.

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