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
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
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
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
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
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
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
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
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
LEARN ABOUT OPENSOLARIS
rmmount
rmmount(1M) System Administration Commands rmmount(1M)
NAME
rmmount - removable media mounter for CD-ROM, floppy, Jaz drive, and others
SYNOPSIS
/usr/sbin/rmmount [-D]
DESCRIPTION
The rmmount utility is a removable media mounter that is executed by volume management whenever a removable medium, such as a CD-ROM or a
floppy, is inserted. Removable media is managed by an application or a volume manager. rmmount can also be called by using volrmmount(1).
Upon insertion of a medium and following invocation of the volcheck(1) command, rmmount determines what type of file system (if any) is on
that medium. If a file system is present, rmmount mounts the file system in one of the locations listed below.
For a diskette (floppy):
/floppy/floppy0 symbolic link to mounted floppy in local floppy drive
/floppy/floppy_name mounted named floppy
/floppy/unnamed_floppy mounted unnamed floppy
For a CD-ROM or a DVD-ROM:
/cdrom/cdrom0
symbolic link to mounted CD-ROM in local CD-ROM drive
/cdrom/CD-ROM_name
mounted named CD-ROM
/cdrom/CD-ROM_name/partition
mounted named CD-ROM with partitioned file system
/cdrom/unnamed_cdrom
mounted unnamed CD-ROM
For a Zip drive:
/rmdisk/zip0 symbolic link to mounted Zip medium in local Zip drive
/rmdisk/Zip_name mounted named Zip medium
/rmdisk/Zip_name/partition mounted named Zip medium with partitioned file system
/rmdisk/unnamed_zip mounted unnamed Zip medium
For a Jaz drive:
/rmdisk/jaz0 symbolic link to mounted Jaz medium in local Jaz drive
/rmdisk/Jaz_name mounted named Jaz medium
/rmdisk/Jaz_name/partition mounted named Jaz medium with partitioned file system
/rmdisk/unnamed_Jaz mounted unnamed Jaz medium
For a generic "rmdisk" drive:
/rmdisk/rmdisk0
symbolic link to mounted removable medium in local removable medium drive
/rmdisk/rmdisk_name
mounted named removable medium
/rmdisk/rmdisk_name/partition
mounted named removable medium with partitioned file system
/rmdisk/unnamed_rmdisk
mounted unnamed removable medium
If the media is read-only (for example, a CD-ROM or a floppy with write-protect tab set), the file system is mounted read-only.
If a file system is not identified, rmmount does not mount a file system. See the for more information on the location of CD-ROM, floppy,
and other media without file systems.
If a file system type has been determined, it is then checked to see that it is "clean." If the file system is "dirty," fsck -p (see
fsck(1M)) is run in an attempt to clean it. If fsck fails, the file system is mounted read-only.
After the mount is complete, "actions" associated with the media type are executed. These actions allow for the notification to other pro-
grams that new media are available.
Actions are executed in the order in which they appear in the configuration file. The action function can return either 1 or 0. If it
returns 0, no further actions will be executed. This allows the function to control which applications are executed.
In order to execute an action, rmmount performs a dlopen(3C) on the shared object and calls the action function defined within it. The def-
inition of the interface to actions can be found in /usr/include/rmmount.h.
File systems mounted by rmmount are always mounted with the nosuid flag set, thereby disabling setuid programs and access to block or char-
acter devices in that file system. Upon ejection, rmmount unmounts mounted file systems and executes actions associated with the media
type. If a file system is "busy" (that is, it contains the current working directory of a live process), the ejection will fail.
OPTIONS
-D Turn on the debugging output from the rmmount dprintf calls.
FILES
/usr/lib/rmmount/*.so.1 shared objects used by rmmount.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWvolu |
+-----------------------------+-----------------------------+
SEE ALSO
volcheck(1), volrmmount(1), fsck(1M), dlopen(3C), attributes(5)
SunOS 5.11 1 Mar 2007 rmmount(1M)