Installing MINIX 3
Installing MINIX 3
Installing MINIX 3
This page describes the process of installing MINIX 3. If you want to run MINIX 3 on a virtual machine instead of natively, see the installation page for your VM of choice before reading this page:
Running MINIX 3 on VMware Running MINIX 3 on Qemu (and KVM) Running MINIX 3 on Bochs Running MINIX 3 on Parallels Running MINIX 3 on VirtualBox Running MINIX 3 on Microsoft VirtualPC 2007
1. Preparation
Please make sure your system meets the Installation Requirements first. If you already have the CD-ROM (e.g., from the book), you can skip steps 1.1 and 1.2, but it is wise to check the download page to see if a newer version is available. You may need to change the Boot Order in the BIOS so that the machine boots off the CD-ROM, as opposed to the hard disk.
Download the compressed USB image (e.g., usb_image-3.1.2a.zip) from the download page to your hard drive. Then, uncompress the USB image. Now you should "copy" the image file to your USB stick sector by sector. On Linux systems you can use the dd command. For windows systems you can download DD for Windows. WARNING: Please be careful when copying the image to your USB stick. If you specify the wrong output device when running dd, you could lose precious data. Please triple-check the arguments to the dd command before running it. On Windows you may run the following command to copy the image to your USB stick (assuming the USB stick is f:):
dd if=usb_image-3.1.2a of=\\.\f: --progress On Linux you may run the following command to copy the image to your USB stick (assuming the USB stick is /dev/sdb):
dd if=usb_image-3.1.2a of=/dev/sdb
System requires double clicking; the rest are single. Expand the + next to "Network adapters" to see what you have. Write it down. If you do not have a supported chip, you can still run MINIX 3, but without Ethernet. If you are running Linux, you can run the following command to find out which Ethernet card you have.
2. Booting
By now you should have allocated some free space on your disk. If you have not done so yet, please do it now unless there is an existing partition you are willing to convert to MINIX 3.
VirtualBox VirtualPC
7. AMD LANCE (also emulated by VMWare and VirtualBox) 10. DEC Tulip 21140A in VirtualPC
The following table tells you shows all the NIC options, as well as the driver name that corresponds to each option. NIC Selection 0. No Ethernet card (no networking) 1. Intel Pro/100 2. 3Com 501 or 3Com 509 based card 3. Realtek 8139 based card (also emulated by KVM) 4. Realtek 8169 based card 5. Realtek 8029 based card (also emulated by Qemu) 6. NE2000, 3com 503 or WD based card (also emulated by Bochs) 7. AMD LANCE (also emulated by VMWare and VirtualBox) 8. Intel PRO/1000 Gigabit 9. Attansic/Atheros L2 FastEthernet 10. DEC Tulip 21140A in VirtualPC 11. Different Ethernet card (no networking) Corresponding Driver Name (n/a) fxp dpeth rtl8139 rtl8169 dp8390 dp8390 lance e1000 atl2 dec21140A (n/a)
The installer says, "You can always change your mind after the setup." If you do, you will need to know the driver code above and adjust /etc/inet.conf by hand. Instructions are in the FAQ. The latest details can be deduced from a close reading of the script /bin/setup.
An IDE controller may have up to four disks. The setup script will now look for each one. Just ignore any error messages. When the drives are listed, select one. and confirm your choice. If you have two hard disks and you decide to install MINIX 3 to the second one and have trouble booting from it, see Installation Troubleshooting. 4.3.2. Select a disk region Now choose a region to install MINIX 3 into. You have three choices: 1. Select a free region 2. Select a partition to overwrite 3. Delete a partition to free up space and merge with adjacent free space For choices (1) and (2), type the region number. For (3) type: delete then give the region number when asked. This region will be overwritten and its previous contents lost forever. 4.3.3. Confirm your choices You have now reached the point of no return. You will be asked if you want to continue. If you do, the data in the selected region will be lost forever. If you are sure, type: yes and then ENTER. To exit the setup script without changing the partition table, hit CTRL-C.
The selected partition will be divided into three subpartitions: root, /usr, and /home. The latter is for your own personal files. Specify how much of the partition should be set aside for your files. You will be asked to confirm your choice.
5. Next Steps
Now that you've installed MINIX 3, you can go about configuring it. If you plan on booting multiple operating systems (i.e., you didn't install the MINIX boot loader to your Master Boot Record), you should read Running Multiple Operating Systems. You should also read Post Installation for some configuration tips and instructions on how to install packages. To do anything useful, you will need to install some packages as the base system is very barebones.