I finally managed to install FreeBSD 6.1 in Microsoft Virtual PC 2004 with NATted networking behind a firewall. Here's how:
- Download the boot ISO image and mount it in the VM.
- Reset the VM.
- Run the FreeBSD setup until you have to choose the type of installation. Select "Standard".
- When asked to slice the disk, type A for "Auto", then Q for "Quit".
- When asked about the boot manager, select "Standard". Do not select the boot manager.
- When asked to partition the slice, again type A for "Auto", then Q for "Quit".
- Select the packages you want.
- When prompted for the media type, select "FTP Passive".
- When prompted for the download server, select the "Primary" server (not the "Main Site").
- When prompted for network configuration, skip IPv6, but do use DHCP.
- In the DHCP results dialog, correct the name server entry. It must be 192.168.131.254. (See this article for details.)
- Proceed with the installation, until prompted to reboot. Eject CD and reboot.
- Boot into your new system.
- When it seems to hang at "keymap blanktime", press Ctrl+C to proceed. (This is a DNS and sendmail problem; see this article in german for details.)
- Assuming you are connecting to the internet via the LAN, append the following to /etc/dhclient.conf:
interface "de0" { supersede domain-name-servers 192.168.131.254; }
- Then reboot using
shutdown -r now
.
Comments