Page 1 of 1

How to mount VBoxGuestAdditions.iso

Posted: 16. Jun 2010, 12:36
by gewi
Hi!

Host: Win7
Guest: Ubuntu 10.04 Server Edition

I´d like to install the Guest Additions. To do this, I add the devices "VBoxGuestAdditions.iso" as CD/DVD device.
I know, the next step should be to mount this device in Ubuntu. But I do not get it done!

mount <file system> <mountpoint>
Which <file system> do I have to enter?

In fstab I have the following entry:

Code: Select all

/dev/sr0	/media/cdrom0	udf,iso9660	user,noauto,exec	0	0
However, cdrom0 is empty.

Then I changed fstab to this and rebooted.

Code: Select all

cdrom /media/cdrom udf,iso9660	user,noauto,exec	0	0
However, cdrom is empty aswell.

How do I mount VBoxGuestAdditions.iso?

Best regards, gewi

Re: How to mount VBoxGuestAdditions.iso

Posted: 16. Jun 2010, 16:02
by Perryg
How about just mounting it manually from the CLI?

Code: Select all

sudo mount /dev/scd0 /media/cdrom
Anyway this should help Howto: Install Linux Guest Additions + Xorg config

Re: How to mount VBoxGuestAdditions.iso

Posted: 16. Jun 2010, 17:23
by gewi
Thanks, this was the solution!
I didn´t know that /dev/scd0 was the <file system> to choose.
Best regards, gewi

Re: How to mount VBoxGuestAdditions.iso

Posted: 17. Jun 2010, 23:18
by Sasquatch
You fail to understand what is meant here. With fstab, the syntax is different compared to the mount command. The way fstab works is clearly documented at the top:
<file system> <mount point> <type>
This means that <file system> is the location of the file system, it's always a block device for local drives. For the CDROM, this is /dev/sr0 or /dev/scd0 (both the same, one is a symlink to the other). Hard drives have /dev/sd*, where * is the alphabet, starting with 'a' for the first drive, etc.
The <mount point> makes sense, where you hook it to for access, like /media/cdrom0.
Now <type> is the actual file system that is in use, e.g. ISO9660 or UDF for CDROM, ext3 for hard drives, etc.

The modification you first made need to be reverted, it's the system default and changing that is not a smart move.

Read the man pages for mount and fstab to learn more about them.