I successfully installed FreeNAS 0.7.4919 on VBox 3.0.12, so maybe I can help.
It's not clear exactly what you did when you tried to install, so I'll tell you what I did.
I downloaded a FreeNAS ISO image. Be sure you get the right one for your computer - i386 or AMD 64 bit. As I learned the hard way, if you get the wrong one the install will hang. (I'm using a Dell 531 with AMD-64.)
1. First, create a new guest: in the VBox GUI, click on the "New" button. In the dialog that pops up:
a. give the guest a name of your choosing.
b. For the OS, choose "BSD".
c. For the OS version choose either "FreeBSD" or "FreeBSD 64-bit", depending on whether or not you're installing the 64-bit version.
2. Click Next for Memory: I entered 256MB for the base memory size. The default for this OS is 128MB. Most commentaries on FreeNAS that I've seen recommend 256MB.
3. click Next for Vitrtual Hard Disk: Check "Boot hard disk" and select "create new hard disk".
4. click Next for a popup called "Welcome..etc.", and then click Next again for Hard Disk Storage Type: for storage type, I choose "dynamically expanding storage", but you could choose "fixed". Here are my thoughts on this:
a. I suppose that fixed storage will be faster at run time. That's good if I have a lot of activity on my share files.
b. All the data in the disk will be kept in one file by the VM. So if I want to back up the disk by just copying that file, it'll take a lot more time and space if it's a fixed size.
c. I can assign another disk later. So I could allocate expanding-space for the OS, and fixed space (on another physical drive) for the data.
d. I ended up allocating 350MB of expanding space on a separate physical drive for everything.
5. Click Next for Virtual Disk Location and Size:
a. The "location" is actually a file name. It's the name of the file that holds all the virtual disk data. You can name it anything, but the default is the name of the guest machine. Note: you cannot change this name later. If you change it on the file system, the guest won't boot. (unless there's a trick I don't know).
b. Set the size of the disk: The maximum size for expanding storage, and the actual size for fixed storage. I had to think about this. I want as much storage as possible, but the other guests are going to be grabbing storage over time - and I don't want to run out.
6. Click Next for Hard Disk Summary, and if it's OK, click Finish.
7. You'll then get a summary the guest machine. Click Finish.
Now, before you install FreeNAS, you've got to do a couple of things.
In the VBox GUI, with your new guest selected:
8. Click on Network: You'll see the parameters for a network adapter (Adapter #1). It should be enabled.
a. The adapter type must be PCnet-PCI II (that's a roman "2" at the end). Other ones won't work with a FreeBSD system (I haven't tried them all, but the default definitely does not work).
b. For "Attached to" select "Bridged Adapter". Otherwise, you won't see your DHCP router.
c. Click OK.
9. Click on "CD/DVD ROM":
a. check "Mount"
b. select "ISO image file".
c Then click on the little folder-browse icon on the right of the image file name. Locate your FreeNAS ISO.
d. Click on OK.
10. Here's something I had to do to get a decent IP address:
a. In the VBox GUI, select your FreeNAS machine, and click on "Network".
b. Click on the little yellow gear icon next to the "Attached to" option.
c. This will pop up the MAC address for the virtual adapter.
d. Now go into your router (or whatever you're using for DHCP) and bind an IP address to that MAC.
11. Click on OK, and you're ready to install.
12. To install,
start up your guest machine.
At the end of the install, you'll get an important message on console. It starts with "To use the DATA partition". Write down this message verbatim.
From the menu at the end of the install, select "Set LAN IP Address". Be sure that "DHCP" is selected (unless, of course, you need a static IP).
After my first install (I did it 3 times), I found that the second adapter (eth0) had to use DHCP. But I'm not sure if that's still true.
Use a browser to manage the web browser. The URL is the IP address of the first adapter. The ID/password is admin/freenas. You can change that via the menu on the console.
Last edited by oksofar
on 1. Dec 2009, 22:38, edited 1 time in total.