upgraded to 5.1.24. Running Debian Jessie in VM. Get permission denied as root trying to run autorun.sh on CD. Does work fine in Solaris, Winxp, and Win7. Maybe I don't know the procedure to load it.
If I am in the GUI, and insert the CD, it asks to run it. Then it either says Oops had a problem or can't find program. I assume this should run for Debian Jessie?
[NonIssue] Guest options cd
-
- Posts: 114
- Joined: 22. May 2010, 23:27
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: many
- Location: Germany
Re: Guest options cd
Lacking information: What is the host?JoeTinAZ wrote:upgraded to 5.1.24. Running Debian Jessie in VM. Get permission denied as root trying to run autorun.sh on CD. Does work fine in Solaris, Winxp, and Win7. Maybe I don't know the procedure to load it.
If I am in the GUI, and insert the CD, it asks to run it. Then it either says Oops had a problem or can't find program. I assume this should run for Debian Jessie?
Have you ever used Guest Additions before? (Are you familiar with their use?)
Do you mean Additions, when you say "options cd"?
But apart from all the confusion, you are spreading (not intending to, i guess), a quick answer could be:
Jessie is configured to not automatically give root access to the CD, once it is attached to the system. What i do (most of the time) is this:
Verify the CD is mounted, note where (MOUNTPOINT=/media/USERNAME/VBOX...), and execute this:
Code: Select all
sudo bash $MOUNTPOINT/VBoxLinuxAdditions.run
Re: Guest options cd
Yes, the VboxLinuxAdditions, and yes, that worked. before, I attached the cd and did su and called autorun.sh. Thank you, this suggestion worked fine.
-
- Oracle Corporation
- Posts: 3362
- Joined: 7. Jun 2007, 09:11
- Primary OS: Debian Sid
- VBox Version: PUEL
- Guest OSses: Linux, Windows
- Location: Dresden, Germany
- Contact:
Re: [NonIssue] Guest options cd
Autorun does not properly work in Debian guests, that's a known issue. IIRC Debian mounts CDs with the 'user' option which makes it impossible to execute and binary or script directly from the CD.
So when the medium with the Guest Additions is inserted just start the installer manually as suggested.
So when the medium with the Guest Additions is inserted just start the installer manually as suggested.
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: [NonIssue] Guest options cd
Oh. So you can't run the GAs installer manually either? That would explain why I totally failed to install the GAs when I was trying to test something with Debian 9 a couple of weeks ago. The GAs was just a nice to have so I just moved on to the main problem.frank wrote:IIRC Debian mounts CDs with the 'user' option which makes it impossible to execute and binary or script directly from the CD.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: [NonIssue] Guest options cd
Manual is the only way to install the additions in Debian 9. Usually from the command line in an elevated terminal (su/sudo ) as follows:
Note: the version I use is custom but it works the same with the official binaries.
Code: Select all
sh '/media/cdrom0/VBoxLinuxAdditions-amd64.run'
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: [NonIssue] Guest options cd
Thanks Perry.