« | July 2025 | » | 日 | 一 | 二 | 三 | 四 | 五 | 六 | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | | | |
| 公告 |
 |
Welcome to Lin's Space !
Just enjoy yourself .
Contact me:

jerry585@gmail.com |
Blog信息 |
blog名称:Lin's Space 日志总数:20 评论数量:99 留言数量:0 访问次数:240810 建立时间:2007年5月15日 |

| |
[Linux]Installing Minix on Vmware(我已经安上了) 软件技术
Great Void 发表于 2007/6/17 21:47:58 |
Instruction for Installing Minix on Vmware (For Windows)
Prerequisites
Hardware Requirements
1) Systems having at least 512 MB of Memory (Minix can run on machines having memory lesser than 512MB, however to avoid problems later on since we have to install multiple Minix, it is recommended to use a machine with minimum 512 MB of RAM and allocate 256MB to Vmware machines. )
2) Each minix requires 16MB Mem and 200MB hard-disk;
3) Have around 0.8GB free hard-disk space (recommended for 4 minix)
Software Requirements
1) Vmware 4.5.2.This shall be provided by Instructor. Kindly ask him for a legal copy. Since this is an Institutional course, using pirated copy is illegal.
2) Minix Operating SystemFor the purpose of Installing Minix on Vmware, we shall use Floppy Images of the installation files. Please download from here and extract to your host machine by Winrar. Then you have 11 files: root_usr.flp, sys_1.flp, sys_2.flp, usr_1.flp, usr_2.flp, usr_3.flp, cmd_1.flp, cmd_2.flp, cmd_3.flp, net.flp, amd_new.flp
With Vmware and Minix Floppy Images, we are all set to install Minix on Vmware.
For Installation of Vmware on Windows Machine, click on the link below
Installation of Vmware
Installation Suggestions
You could follow steps 1-12 in next section to setup a minix virtual machine. To save time, I suggest you download minix image file from:http://web.syr.edu/~mshang/other-flat.zipunzip it and overwrite other-flat.vmdk in your virtual machine directory. Set in Vmware: VM->settings->floppy 1->unmark “connect at power on”, and then you are all set in minix installation. Click “start virtual machine” to run minix.
Go to appendix of this document, see some funny functionalities.
If you would prefer to install minix from scratch, follow steps in next section.
Installation of Minix on Vmware From Scratch
1) Power up Vmware by either clicking on the shortcut on the desktop or either selecting Vmware WorkStation from Programs-->Accessories-->Vmware-->Vmware Workstation.
2) After starting the Vmware WorkStation, click on New Virtual Machine and click Next on the following installation Wizard.
3) Select “Custom”
4) Name the Virtual Machine to be created as Minix1 (or any other self-describing name) and give the path to save the Virtual Machine such as H:\My Virtual Machine\Minix
5) Hit the Next Button and then allocate 16MB RAM
6) Hit the Next Button and Select Network Address Translation (NAT)
7) Select BusLogic (its default) and press Next
8) Check Create a New Virtual Disk and hit Next
9) Select Disk Type as IDE (its Default)
10) Allocate 0.2GB (i.e. 200 MB) of disk space and check mark Allocate All Disk Space now.
Note: A warning for Pre-Allocated Disk occurs, click Yes and proceed.
11) Specify the Disk File name as Minix1.vmdk (by default it’s Other.vmdk) and hit Finish
Note: A Disk creating step shall take place for a couple of seconds, let it happen
Once the Disk Creating Process is over, the following screen is displayed.
1 500)this.width=500'>2) Click on the Edit button and remove Audio, USB controller, CDRom. This step isn’t necessary but since Minix cant uses them anyways.
500)this.width=500'>
Note: Now you have a 200M file with extension name (.vmdk), such as minix-flat.vmdk. Download image file from website http://web.syr.edu/~mshang/other-flat.zip, get file other-flat.vmdk to overwrite your file with the name minix-flat.vmdk, then your minix machine is done. All drivers and tools for final project are already there. If you prefer to installing it from the scrach, go to next step.
13) After that, click on Floppy 1 and from the right hand options, click on Use Floppy Image and Browse to find, folder Floppy 1 and select file root_usr.flp and say OK. ( Note: if there is no Floppy in device list, click “Add” to add one; If need two NICs, do the same thing to add one here)
500)this.width=500'>14) Now Click on Start the virtual machine and wait till you get a black screen shown below.
500)this.width=500'>
15) Once you get the above screen, click on the screen once and then press “=” sign.
Note: By Default, Mouse is Windows Hardware, so once you click on the black screen, the mouse freezes and now you can only use your keyboard. To free the mouse again press “Ctrl + Alt”
16) After you press, “=”, the following screen appears.
500)this.width=500'>17) At the cursor type fd0p2 i.e. mount as /dev/fd0p2 and hit Enter. The screen shown below shall appear after that prompting to input the login
500)this.width=500'>
18) At the login prompt type: root and hit enter. You see a “#” prompt, type setup and hit Enter.
500)this.width=500'>
19) After hitting Enter, the following screen appears. Hit Enter again to move on to next screen
500)this.width=500'>
20) Again, hit Enter to move on the next screen.
500)this.width=500'>21) Again, hit Enter to move to another screen
500)this.width=500'>
22) You shall then encounter a screen (after about 4 Enters) for configuring the partition. The screen is shows below.
500)this.width=500'>
23) Press “r” to get the present partition
500)this.width=500'>
24) Move the cursor to line 0 p0 00 none… and then in the last column type 200000 (if you allocate 0.2GB for Minix, here should be 20000) and enter “w” to save the partition. Then enter “y” to save it when prompted.
500)this.width=500'>
25) Then press “q” to quit. When prompted type “c0d0p0”after /dev/ i.e. /dev/c0d0p0 and press Enter till you get the screen shown below
500)this.width=500'>
26) Type setup /usr at the “#” prompt and hit Enter until prompted for “input volume 1”
500)this.width=500'>
27) Press Ctrl+ Alt to come out of the Minix screen and change the floppy image to point to sys_1.flp under XP and press Enter. After a few setup, you shall be prompted for inserting volume 2(VM->Removable Devices->Floppy->Edit->Browse->Floppy1->sys_1.flp)
500)this.width=500'>
28) Follow Step 27 for sys_2.flp. After floppy image points to sys_2.flp (VM->Removable Devices->Floppy->Edit->Browse->Floppy1->sys_2.flp), press Enter to continue. After finish installing sys_2.flp, type setup /usr at the # prompt and hit Enter.
29) You shall see screen similar to the one shown in Step 26.Repeat Step 27 but change the floppy image to point to usr_1.flp and press Enter. After a few setup, you shall be prompted for inserting volume 2. Deal in the same manner and make the image point to usr_2.flp. Then you shall be prompted for Volume 3, make the image point to usr_3.flp and hit Enter. (VM->Removable devices->Floppy->Edit->Browse->Floppy1->usr_1.flp/usr_2.flp/usr_3.flp)
30) Repeat Step 26 and Step 27 but make the floppy image point to cmd_1.flp. Follow step 27 but make the floppy image point to cmd_2 and then to floppy image cmd_3.flp and hit Enter.
(VM->Removable Devices->Floppy->Edit->Browse->Floppy1->cmd_1.flp/ cmd_2.flp /cmd_3.flp)
31) On this “#” prompt type setup / (Note: this time its not setup /usr).
32) After that make the Floppy image point to net.flp.(VM->Removable Devices->Floppy->Edit->Browse->Floppy2->net.flp).
33) On the hash prompt type# haltfd0> boot c0d0p0login Minix as root# cd /usr/src/kernel# make# cd /usr/src/tools# make# make hdboot# haltd0p0s0> boot c0d0p0
After the above steps have been implemented successfully, we get a screen as shown below
So far we have finished instillation of Minix, next to add Ethernet driver.
500)this.width=500'>
Installation of Ethernet Driver for Minix.
1) After restarting the machine, follow the steps given below
1. begin to install new nic driver: enter "Ctrl + Alt" to return windows, Open VM->Settings->Floppy 1, use floppy image and point it to the virtual boot floppy file 'amd_new.flp'.
# cd /usr/tmp
# vol /dev/fd0 | tar xvf -
# cd 204ether
# cp inc_Minix/* /usr/include/minix/. (Note there is a space between /* and /usr)
# cp src_cmd_sim/* /usr/src/commands/simple/.
# cp src_inet/* /usr/src/inet/.
# cp src_kernel/* /usr/src/kernel/.
# cd /usr/src/kernel
# make
500)this.width=500'>
# cd /usr/src/inet
# make install
500)this.width=500'>
# cd /usr/src/tools
# make hdboot
500)this.width=500'>
# cd /usr/src/commands/simple |
|
|