Sponsored Content
Special Forums UNIX and Linux Applications Virtualization and Cloud Computing Error in virtualbox while instaling guest additions Post 302790799 by timmypig on Saturday 6th of April 2013 11:41:01 PM
Old 04-07-2013
Upvan, apologies in advance for attempting to hijack your thread, but I'm struggling to get guest additions going in VirtualBox.

Background: I've fairly recently been obliged to start learning *nix after 25 years as a mainframe MVS => OS/390 => z/OS systems programmer. The *nix world is a complete and utter mystery to me, and so far I have walked away in disgust and fury from every attempt to get things running.

My Ubuntu image starts and complains about low graphics mode. OK, so I understand I have to install Guest Additions. I've exercised my Google-Fu and have seen all the different ways of doing this. But at the heart of the problem is making the .iso available as a virtual CD-ROM drive to mount. Nothing I've done will make the mount command work.

I have to do this using CLI as the GUI won't work due to low graphics mode. Catch-22.

If any of you kind folks can steer a noob in the right direction I'd appreciate it. If you're willing to help out please dumb it down as much as you can. I'd do the same for someone trying to get a CICS PTF from IBMLink and SMP/E receive it in z/OS!

Once again Upvan, sorry to hijack ...

---------- Post updated at 01:41 PM ---------- Previous update was at 01:23 PM ----------

Now I really feel like a goose. Just goes to show that if you swear enough, then open yourself up to ridicule, the answer will drop into your lap ...

$ sudo blkid ===> this showed that VirtualBox had given this image a CD-ROM
$ sudo mount /dev/sr0 /media/vbox ===> sweet!
$ cd /media/vbox
$ ls ===> see quite clearly the VBoxLinuxAdditions.run file ... so then I did:
$ sudo sh ./VBoxLinuxAdditions.run ===> this appears to have worked as it should. Ends with:
"You may need to restart the hal service and the Window System (or just restart the guest system) to enable the Guest Additions.
"Installing graphics libraries and desktop services components ...done."

I'll enjoy the smug feeling of having completed something before I reboot and have it all (inevitably) unravel.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Instaling JVM

Hi Everyone I`ve just started with unix can some please help me execute this command via webmin on avirtual server or how do you execute such .bin file this is the error ./j2sdk-1_3_1_15-linux-i586.bin: not found > ls -l total 69124 -rw------- 1 root wheel 8380 May 15 18:01... (2 Replies)
Discussion started by: J.Carlos MC05
2 Replies

2. Solaris

Problem Instaling Solaris

hi I was trying to install Solaris on my PC. when i selected Auto Ejaection of cd & auto reboot.....then it displayed that u will need to manually eject current disk, & Select an appropriate boot media to avoid installation process again.. then after selecting appropriate options, the... (0 Replies)
Discussion started by: rochitsharma
0 Replies

3. Solaris

Problem in instaling package SUNWman

Hi All, I am trying to install the package from CD rom and i am unable to do. i have located the package in CD and its there however when i am trying to run pkgadd -d /cdrom/sol_10_508_sparc_5/Solaris_10/Product/SUNWman i am getting error pkgadd: ERROR: no packages were found in... (4 Replies)
Discussion started by: kumarmani
4 Replies

4. UNIX for Advanced & Expert Users

additions

Hi I have a decimal number and want to add to 1 to Firstnumber ,2 to 2nd number .Please any one help I/p 10000.0000 20000.00 Expecting o/p 10001.000 200002.00 Regards, Akil (2 Replies)
Discussion started by: akil
2 Replies

5. UNIX for Dummies Questions & Answers

Can't open VirtualBox from Tera Term X11 error

Telnet into Solairs10 with Tera term. Go to sub /opt/VirtualBox and type # VirtualBox Failed to open the X11 display! How do I open X11 display? (17 Replies)
Discussion started by: SIFT3R
17 Replies

6. Cybersecurity

Virtualbox guest as a firewall for lUbuntu host

Using virtualbox, I am trying to use Alpine linux (guest) as a firewall for my lubuntu (host). My physical network card (NIC) is eth0. ISP WAN -> Alpine linux (guest) -> lubuntu (host) LAN I am trying to get the ip from my ISP DHCP server but I had no success. I know that in virtualbox I have... (0 Replies)
Discussion started by: TrickySecurity
0 Replies

7. UNIX for Beginners Questions & Answers

Oracle VirtualBox Guest Additions installation help

Good day I recently attempted to to install Vbox Guest additions on CentOS 7.(Running on Windows 7 ) The packages downloaded fine . However when attempting to run the installer on CentOS 7 for vboxadditions_5.1.28_117968 , I received an error message written to ... (0 Replies)
Discussion started by: MrRobot
0 Replies

8. Shell Programming and Scripting

Command line additions

Evening: For quite some time I've searched for the correct procedure(S) to get LM 18.3X "live" (usb pendrive) to recognize/accept a casper-rw partiton. Here is an example of what I'm trying to do; https://www.unix.com/usbubuntu.wordpress.com/make-it-persistent/ ...only with LM 18. If... (0 Replies)
Discussion started by: 69Rixter
0 Replies
eject(1)							   User Commands							  eject(1)

NAME
eject - eject media such as CD-ROM and floppy from drive SYNOPSIS
eject [-dfnpq] [device | nickname] DESCRIPTION
The eject utility is used for those removable media devices that do not have a manual eject button, or for those that do, but are managed by Volume Management (see vold(1M)). The device may be specified by its name or by a nickname; if Volume Management is running and no device is specified, the default device is used. Only devices that support eject under program control respond to this command. eject responds differently, depending on whether or not Vol- ume Management is running. With Volume Management When eject is used on media that can only be ejected manually, it will do everything except remove the media, including unmounting the file system if it is mounted. In this case, eject displays a message that the media can now be manually ejected. If a window system is running, the message is displayed as a pop-up window, unless the -p option is supplied. If no window system is running or the -p option is supplied, a message is displayed both to stderr and to the system console that the media can now be physically removed. Volume Management has the concept of a default device, which eject uses if no pathname or nickname is specified. Use the -d option to check what default device will be used. Without Volume Management When Volume Management is not running and a pathname is specified, eject sends the eject command to that pathname. If a nickname is sup- plied instead of a pathname, eject will recognize the following list: +-----------------------------+-----------------------------+ | Nickname | Path | |fd |/dev/rdiskette | |fd0 |/dev/rdiskette | |fd1 |/dev/rdiskette1 | |diskette |/dev/rdiskette | |diskette0 |/dev/rdiskette0 | |diskette1 |/dev/rdiskette1 | |rdiskette |/dev/rdiskette | |rdiskette0 |/dev/rdiskette0 | |rdiskette1 |/dev/rdiskette1 | |floppy |/dev/rdiskette | |floppy0 |/dev/rdiskette0 | |floppy1 |/dev/rdiskette1 | +-----------------------------+-----------------------------+ The list above can be reproduced with the -n option. Do not physically eject media from a device which contains mounted file systems. eject automatically searches for any mounted file systems which reside on the device and attempts to umount them prior to ejecting the media (see mount(1M)). If the unmount operation fails, eject prints a warning message and exits. The -f option may be used to specify an eject even if the device contains mounted partitions; this option works only if Volume Management is not running. eject can also display its default device and a list of nicknames. If you have inserted a floppy diskette, you must use volcheck(1) before ejecting the media to inform Volume Management of the floppy's presence. OPTIONS
The following options are supported: -d Displays the name of the default device to be ejected. -f Forces the device to eject even if it is busy, if Volume Management is not running. -n Displays the nickname to device name translation table. -p Does not try to call the eject_popup program. -q Queries to see if the media is present. OPERANDS
The following operands are supported: device Specifies which device to eject, by the name it appears in the directory /dev. nickname Specifies which device to eject, by its nickname as known to this command. EXAMPLES
Example 1: Ejecting a CD while Volume Management is running To eject a CD from its drive, while Volume Management is running (assuming only one CD-ROM drive): example> eject cdrom0 Example 2: Ejecting a CD-ROM without running Volume Management To eject a CD-ROM drive with pathname /dev/dsk/c0t3d0s2, without Volume Management running: example> eject /dev/dsk/c0t3d0s2 Example 3: Ejecting a floppy disk To eject a floppy disk (whether or not Volume Management is running): example> eject floppy0 EXIT STATUS
The following exit codes are returned: 0 The operation was successful or, with the -q option, the media is in the drive. 1 The operation was unsuccessful or, with the -q option, the media is not in the drive. 2 Invalid options were specified. 3 An ioctl() request failed. 4 Manually ejectable media is now okay to remove. FILES
/dev/diskette0 default diskette file /dev/sr0 default CD-ROM file (deprecated) /dev/dsk/c0t6d0s2 default CD-ROM file /usr/lib/vold/eject_popup popup used for manually ejected media ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
volcancel(1), volcheck(1), volmissing(1), mount(1M), rmmount(1M), vold(1M), ioctl(2), rmmount.conf(4), vold.conf(4), attributes(5), volfs(7FS) DIAGNOSTICS
A short help message is printed if an unknown option is specified. A diagnostic is printed if the device name cannot be opened or does not support eject. Device Busy An attempt was made to eject a device that has a mounted file system. A warning message is printed when doing a forced eject of a mounted device. BUGS
There should be a way to change the default on a per-user basis. If Volume Management is not running, it is possible to eject a volume that is currently mounted (see mount(1M)). For example, if you have a CD-ROM drive at /dev/dsk/c0t3d0s2 mounted on /mnt, the following command (without Volume Management running) will work: example> eject /dev/dsk/c0t3d0s0 since both slices s0 and s2 reference the whole CD-ROM drive. SunOS 5.10 20 Sep 1996 eject(1)
All times are GMT -4. The time now is 06:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy