Windows Host - Solaris 10 Guest - CDROM will not mount

Discussions about using Solaris guests in VirtualBox.
Post Reply
wendyoflynn
Posts: 3
Joined: 2. Feb 2012, 13:20
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Solaris/OEL

Windows Host - Solaris 10 Guest - CDROM will not mount

Post by wendyoflynn »

Hi,

I have tried several times to get the cdrom mounted on Solaris 10 guest - under Devices > CD/DVD Devices > selected image iso.

Also force mounted using:-

mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom/unnamed_cdrom

both fail to mount the volume and I therefore cannot access the source iso to install missing packages.

Any suggestions guys?

Speak later,

Wendy
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows Host - Solaris 10 Guest - CDROM will not mount

Post by Perryg »

Why the "unnamed_cdrom?

Code: Select all

# mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom 
Should do the trick

Code: Select all

# ls -al /dev/sr* |awk ‘{print “/” $11}’
Will verify the device name

Moving this to Solaris guests since it fits there better.
wendyoflynn
Posts: 3
Joined: 2. Feb 2012, 13:20
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Solaris/OEL

Re: Windows Host - Solaris 10 Guest - CDROM will not mount

Post by wendyoflynn »

After fiddling around with the device options in VirtualBox manager and mounting it as a live cd I get the following:-

# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c0t0d0s0 7.8G 6.7G 1.0G 87% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 3.1G 988K 3.1G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
7.8G 6.7G 1.0G 87% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
swap 3.1G 76K 3.1G 1% /tmp
swap 3.1G 28K 3.1G 1% /var/run
/dev/dsk/c0t0d0s7 41G 1.0G 40G 3% /export/home
Solaris_10 233G 173G 59G 75% /mnt/sf_Solaris_10

So it appears to have mounted but not quite in the right place and it will not let me move it or explore contents.

Any advice?

Speak later,

Wendy
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows Host - Solaris 10 Guest - CDROM will not mount

Post by Perryg »

Don't mount it as a live CD.

Just make sure that it is mounted in the guest section as a normal CD and boot/reboot the guest. vold should see this and mount it for you or you must force mount it with the command above.
wendyoflynn
Posts: 3
Joined: 2. Feb 2012, 13:20
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Solaris/OEL

Re: Windows Host - Solaris 10 Guest - CDROM will not mount

Post by wendyoflynn »

For some reason it mounted after i enabled port 1 under serial ports.

Well it worked - lol
Post Reply