Page 2 of 3

Posted: 6. Nov 2008, 11:47
by nichos
thanx becker,
for a start "devices>install guest additions" does not work & same goes for the rest I tried in the manual.

V.Disk Manager is not to be found in "File" to press the "Add" button, only V.Machine Manager is found in Add/Remove Applns.

I don't seem to be able to continue. Obviously this lark is not for me, too stupid.

i think you saw before my effords here from page 5 thread #43 onwards : http://www.overclock.net/operating-syst ... 1-a-5.html

Posted: 6. Nov 2008, 20:36
by stefan.becker
So if you read this: Have you checked the correct CD device? Have a look at /media for mounted volumes.

And call the Installer correct like in the Manual, not your documented way.

Posted: 7. Nov 2008, 00:23
by nichos
" /media for mounted volumes" is not found in file browser, either in location or search.

How can I check the correct CD device?

"....install guest additions....." is copy/pasted from the notes I downloaded.

What is not correct?

Posted: 7. Nov 2008, 02:41
by stefan.becker
Try the command "mount" iin a Console.

Where the hell have you read the apt-get for install the guest additions as run file?

Start it with "sudo sh ....".


You have much Problems with linux, not with VBOX. I think, if you need linux, buy a book and read.

Posted: 8. Nov 2008, 18:10
by Sasquatch
nichos:

Code: Select all

sudo mount /cdrom
cd /cdrom
./VirtualBoxLinuxAdditions-x86.run #or whatever name it is
Now go to your local library or online book store and buy a Linux book like Stefan said. It's really the best way to start learning about Linux.

Posted: 9. Nov 2008, 22:55
by nichos
Thanx again Sas, all well & good, keep reading but make little sense of chinese.

I run your suggestion & says that must ask the Administrator, (I asked the wife but she said don't know either), how can I get ahead & install the ruddy thing?

"......nick@nick-desktop:/cdrom$ /cdrom/VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 1.5.2 Guest Additions for Linux installation................................................................................................................................................
VirtualBox 1.5.2 Guest Additions installation
This program must be run with administrator privileges. Aborting
nick@nick-desktop:/cdrom$ .............."

Posted: 11. Nov 2008, 21:29
by Sasquatch
My bad, you have to run the installer as root, so use sudo too.

Posted: 13. Nov 2008, 00:08
by nichos
Sudo for installer too, gives this:

".................nick@nick-desktop:~$ sudo mount /cdrom
[sudo] password for nick:
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: /dev/scd0 already mounted or /media/cdrom0 busy
mount: according to mtab, /dev/scd0 is already mounted on /media/cdrom0
nick@nick-desktop:~$ cd /cdrom
nick@nick-desktop:/cdrom$ sudo /cdrom/VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 1.5.2 Guest Additions for Linux installation................................................................................................................................................
VirtualBox 1.5.2 Guest Additions installation
Building the VirtualBox Guest Additions kernel module...
Unable to build the kernel module. See the log file /var/log/vboxadd-install.log
for more details.
nick@nick-desktop:/cdrom$ ..............."

Posted: 13. Nov 2008, 00:35
by fixedwheel
nichos wrote:nick@nick-desktop:/cdrom$ sudo /cdrom/VBoxLinuxAdditions.run
you are already in /cdrom - and the manual says you should call the script in a shell:

Code: Select all

nick@nick-desktop:/cdrom$ sudo sh ./VBoxLinuxAdditions.run
probably the lost privilege is a result of not calling in a new privileged shell


and instead losing su privilege after every sudo, you could at first switch your shell completely to root privilege ... and be careful ...

Code: Select all

nick@nick-desktop:~$ sudo su -
nick@nick-desktop:~# mount /cdrom
nick@nick-desktop:~# cd /cdrom
nick@nick-desktop:/cdrom# sh ./VBoxLinuxAdditions.run

Posted: 13. Nov 2008, 14:15
by nichos
Just can't manage it.

Went to "Users Settings>properties & input a root password, but still get this.

the "su -" for multiple commands got me confused si did notuse it.

"............nick@nick-desktop:~$ sudo /media/cdrom0/VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 1.5.2 Guest Additions for Linux installation................................................................................................................................................
VirtualBox 1.5.2 Guest Additions installation
Building the VirtualBox Guest Additions kernel module...
Unable to build the kernel module. See the log file /var/log/vboxadd-install.log
for more details.
nick@nick-desktop:~$ ........."

Posted: 13. Nov 2008, 15:14
by fixedwheel
nichos wrote:"............nick@nick-desktop:~$ sudo /media/cdrom0/VBoxLinuxAdditions.run
why dont you put the sh before?! ... it is in my example, and it is stated in the vbox help/manual
the Virtualbox manual wrote:Change to the directory where your CD-ROM drive is mounted and execute as root:

sh ./VBoxLinuxAdditions.run
i'll translate this text to the commands for you:

Code: Select all

nick@nick-desktop:~$ cd /media/cdrom0

nick@nick-desktop:/media/cdrom0$ sudo sh ./VBoxLinuxAdditions.run

Posted: 13. Nov 2008, 19:29
by nichos
I tried with/without "sh ./" with no results.

" ......./var/log/vboxadd-install.log.........." and this log file cannot be found in searches I did ech time before in the hope of understanding what is happening.

".......nick@nick-desktop:~$ cd /media/cdrom0
nick@nick-desktop:/media/cdrom0$ sudo sh ./VBoxLinuxAdditions.run
[sudo] password for nick:
Verifying archive integrity... All good.
Uncompressing VirtualBox 1.5.2 Guest Additions for Linux installation................................................................................................................................................
VirtualBox 1.5.2 Guest Additions installation
Building the VirtualBox Guest Additions kernel module...
Unable to build the kernel module. See the log file /var/log/vboxadd-install.log
for more details.
nick@nick-desktop:/media/cdrom0$ ................"

Posted: 13. Nov 2008, 20:28
by stefan.becker
Please use the newest Version 2.04 instead of your fred flintstone release.

Posted: 13. Nov 2008, 21:36
by nichos
Is this the one you mean? as I could not find the VBox 2.4 i386.

"VirtualBox 2.0.4 for Windows hosts x86"

Posted: 13. Nov 2008, 22:16
by stefan.becker
Yes. What else?