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
VIRT-IMAGE(1)						   Virtual Machine Install Tools					     VIRT-IMAGE(1)

NAME
virt-image - create virtual machines from an image descriptor SYNOPSIS
virt-image [OPTION]... IMAGE.XML DESCRIPTION
virt-image is a command line tool for creating virtual machines from an XML image descriptor "IMAGE.XML" (virt-image(5)). Most attributes of the virtual machine are taken from the XML descriptor (e.g., where the files to back the virtual machine's disks are and how to map them into the guest), though certain information must be added on the command line, such as the name of the guest. The XML descriptor defines most attributes of the guest, making it possible to bundle and distribute it together with the files backing the guest's disks. OPTIONS
Most options can be omitted, in which case virt-image will use defaults from the XML descriptor. When defaults are taken from the XML descriptor, they are indicated below as a path. --name is the only required command line option. -h, --help Show the help message and exit --connect=CONNECT Connect to a non-default hypervisor. See virt-install(1) for details General Options General configuration parameters that apply to all types of guest installs. -n NAME, --name=NAME Name of the guest instance -r MEMORY, --ram=MEMORY Memory to allocate for guest instance in megabytes. Defaults to "/image/devices/memory" in the XML descriptor. -u UUID, --uuid=UUID UUID for the guest; if none is given a random UUID will be generated. If you specify UUID, you should use a 32-digit hexadecimal number. --vcpus=VCPUS Number of vcpus to configure for your guest. Defaults to "/image/devices/vcpu" in the XML descriptor. This option can also be used to set CPU topology, please see virt-install(1) for more info. --cpuset Set which physical cpus the guest can use. Please see virt-install(1) for more info. --cpu Configure the CPU and CPU features exposed to the guest. Please see virt-install(1) for more info. --check-cpu Check that vcpus do not exceed physical CPUs and warn if they do. --os-type=OS_TYPE Optimize the guest configuration for a type of operating system (ex. 'linux', 'windows'). This will attempt to pick the most suitable ACPI & APIC settings, optimally supported mouse drivers, virtio, and generally accommodate other operating system quirks. See virt-install(1) for valid values. --os-variant=OS_VARIANT Further optimize the guest configuration for a specific operating system variant (ex. 'fedora8', 'winxp'). This parameter is optional, and does not require an "--os-type" to be specified. See virt-install(1) for valid values. Full Virtualization specific options Parameters specific only to fully virtualized guest installs. --noapic Force disable APIC for the guest. --noacpi Force disable ACPI for the guest. Networking Configuration -w NETWORK, --network=NETWORK Connect the guest to the host network. See virt-install(1) for details -m MAC, --mac=MAC This is deprecated in favor of "--network ...,mac=MAC,..." -b BRIDGE, --bridge=BRIDGE This is deprecated in favor of "--network bridge=BRIDGE" Graphics Configuration If no graphics option is specified, "virt-image" will default to '--graphics vnc' if the DISPLAY environment variable is set, otherwise '--graphics none' is used. --graphics TYPE,opt1=arg1,opt2=arg2,... Specifies the graphical display configuration. This does not configure any virtual hardware, just how the guest's graphical display can be accessed. See virt-install(1) for details usage info. --vnc This option is deprecated in favor of "--graphics vnc,..." --vncport=VNCPORT This option is deprecated in favor of "--graphics vnc,port=PORT,..." --vnclisten=VNCLISTEN This option is deprecated in favor of "--graphics vnc,listen=LISTEN,..." -k KEYMAP, --keymap=KEYMAP This option is deprecated in favor of "--graphics vnc,keymap=KEYMAP,..." --sdl This option is deprecated in favor of "--graphics sdl,..." --nographics This option is deprecated in favor of "--graphics none" Miscellaneous Options -p, --print Print the libvirt XML, but do not start the guest. --boot=BOOT The zero-based index of the boot record to use. The XML descriptor can contain multiple "/image/domain/boot" elements for use on different hypervisors. By default, the one that is most appropriate for the current hypervisor is selected. --replace Shutdown and remove any existing guest with the passed "--name" before installing from the image. --noreboot Prevent the domain automatatically booting after importing the image. --skip-checksum Do not check disk images against checksums (if they are listed in the image xml). -d, --debug Print debugging information. EXAMPLES
Create and start a guest called "example" with a VNC console from "image.xml": # virt-image --name example --vnc -i image.xml Print the libvirt XML for a guest called "example" without graphics, but do not create or start a virtual machine: # virt-image --print --name example --nographics --image image.xml AUTHOR
Written by David Lutterkort. See the AUTHORS file in the source distribution for the complete list of credits. BUGS
Please see http://virt-manager.org/page/BugReporting COPYRIGHT
Copyright (C) 2006-2007 Red Hat, Inc, and various contributors. This is free software. You may redistribute copies of it under the terms of the GNU General Public License "http://www.gnu.org/licenses/gpl.html". There is NO WARRANTY, to the extent permitted by law. SEE ALSO
virt-image(5), virt-install(1), the project website "http://virt-manager.org" 2012-01-24 VIRT-IMAGE(1)
All times are GMT -4. The time now is 06:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy