Loop Mount .iso in FreeBSD   March 2nd, 2010

command I’d normally use in Linux does not work. For example:

Linux

mount -o loop image.iso /mnt

This works fine in Linux and lets you “mount” the .iso file as if it were burned and in the drive. This does not work on FreeBSD. You get an error like:

mount: image.iso mount option is unknown: Invalid argument

FreeBSD

The solution (the only one I’ve found so far) is to use a much more in-depth command like:

mount_cd9660 -o ro /dev/$(mdconfig -a -t vnode -f /path/to/file.iso) /mount-point

Hopefully this little note helps someone else have less trouble than I did in mounting .iso images in FreeBSD.

source here

A few years ago I posted about howto mount an ISO image with FreeBSD when I was hosting my websites on a FreeBSD 4.11 box. However the method for mounting an ISO image changed in later releases, as advised to me in an email by Leif Neland. Today I was emailed by Rollin Kibbe with instructions about how to mount ISO images with FreeBSD 6.2 so have decided to post them here (and I also recently posted about how to mount ISO images with Linux).

The updated information, as of Freebsd 6.2 is

mdconfig -a -t vnode -f [ISO filename]
mount -t cd9660 /dev/md? [mount destination]

To Remove:

umount [mount destination]
mdconfig -d -u /dev/md?

I haven’t had time yet to test this in a FreeBSD virtual machine, so many thanks for Rollin for this information.

source here

Well, I have documentation on how to create a FreeBSD 8 Desktop environment here:
How to install and configure a FreeBSD 8 Desktop with Xorg and KDE?

However, if you install FreeBSD as a VMWare guest, you will want to install two additional pieces of software when you are finished:

  1. You need to install the VMWare X11 driver (no, it will not be installed when you install the VMWare tools)
  2. You need to install VMWare-tools

This guide is to walk you through resolving the second of these two issues. I assume you followed my article for building the FreeBSD desktop, and if you did, these steps will work for you. But if you didn’t, I can’t guarantee that there won’t be some steps that are slightly different for you.

In order for me to consider the VMWare-Tools installed and working, the following features must work:

  • Clipboard Synchonization
  • Grab/Release Mouse Input when mouse enters/leaves the guests screen
  • Autofit Guest (automatically making the guests screen resolution take all available space)
  • Time Synchronization (the time in the VMWare guest will match the hosts time).

In this document, I successfully get these features working.

I have VMWare Workstation 6.5.3 build 185404 and the host is Windows 7. Read the rest of this entry »