VBoxLinuxAdditions.run file does not exists

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.
Post Reply
ektasinha
Posts: 2
Joined: 7. Jul 2020, 03:52

VBoxLinuxAdditions.run file does not exists

Post by ektasinha »

Hello All,

I am trying to install oracle 11g Database on my MAC OS Catalina 10.15.5 machine.
I have installed Virtual box, and linux 6.4 on the same.

While I run below command, I get error
sh: /media/cdrom/VBoxLinuxAdditions.run: No such file or directory.

I checked /media/cdrom directory and could not find VBoxLinuxAdditions.run file. I did "Insert Guest Addition CD image" from Device option, and then /dev/cdrom into /media/cdrom.

Any advice?

Thanks in advance!!
granada29
Volunteer
Posts: 708
Joined: 3. Mar 2015, 07:27
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, macOS, Windows

Re: VBoxLinuxAdditions.run file does not exists

Post by granada29 »

Try mounting the disk image before running the command.

Code: Select all

mount /media/cdrom
ektasinha
Posts: 2
Joined: 7. Jul 2020, 03:52

Re: VBoxLinuxAdditions.run file does not exists

Post by ektasinha »

granada29 wrote:Try mounting the disk image before running the command.

Code: Select all

mount /media/cdrom
Hi,

You mean below command right?

[root@Linux1 ~]# mount /dev/cdrom /media/cdrom
mount: block device /dev/sr0 is write-protected, mounting read-only
[root@Linux1 ~]# sh /media/cdrom/VBoxLinuxAdditions.run
sh: /media/cdrom/VBoxLinuxAdditions.run: No such file or directory
[root@Linux1 ~]#

I tried this, But not working.

Also, mount /media/cdrom throws below error
[root@Linux1 ~]# mount /media/cdrom
mount: can't find /media/cdrom in /etc/fstab or /etc/mtab
granada29
Volunteer
Posts: 708
Joined: 3. Mar 2015, 07:27
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, macOS, Windows

Re: VBoxLinuxAdditions.run file does not exists

Post by granada29 »

You may have the wrong image file loaded. Are you sure you have loaded the guest additions into the virtual drive from the Device menu? After mounting the Guest Additions I always do the following, just to check I have the right image.

Code: Select all

root@millie64:~# cd /media/cdrom
root@millie64:/media/cdrom# ls
AUTORUN.INF  runasroot.sh			VBoxSolarisAdditions.pkg
autorun.sh   TRANS.TBL				VBoxWindowsAdditions-amd64.exe
cert	     VBoxDarwinAdditions.pkg		VBoxWindowsAdditions.exe
NT3x	     VBoxDarwinAdditionsUninstall.tool	VBoxWindowsAdditions-x86.exe
OS2	     VBoxLinuxAdditions.run
Post Reply