有谁知道安装minix?

guohero 2003-11-17 11:08:39
我的xp安装在d盘,c盘为激活盘安装有win98,现想在c盘安装minix,请高手们赐教!
...全文
81 6 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
caocao81 2003-11-19
  • 打赏
  • 举报
回复
up
sxzzsf 2003-11-18
  • 打赏
  • 举报
回复
zhang zhi shi
guohero 2003-11-18
  • 打赏
  • 举报
回复
谢谢,不过好复杂呀,又要找硬盘,哎
stephenxue 2003-11-18
  • 打赏
  • 举报
回复
To make this partition you will be put in the editor "part". Follow the
advice under the '!' key to make a new partition of type MINIX. Do not
touch an existing partition unless you know precisely what you are doing!
Please note the name of the partition (hd1, hd2, ..., hd9, sd1, sd2, ...
sd9) you make. (See the devices section in usage(8) on Minix device names.)
:
Select device ----first---- --geom/last-- ------sectors-----
Device Cyl Head Sec Cyl Head Sec Base Size Kb
/dev/hd0 ? ? ?
? ? ? ? ? ? ? ? ?
Num Sort Type
? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ?

Type '+' or '-' to change, 'r' to read, '?' for more help, '!' for

根据提示按下r,系统将显示硬盘的逻辑结构,我的如下:
Select device ----first---- --geom/last-- ------sectors-----
Device Cyl Head Sec Cyl Head Sec Base Size Kb
/dev/hd0 485 16 63
0 0 0 488 15 62 0 492912 246456
Num Sort Type
1 hd1 12 0 1 0 4 15 62 63 4977 2488
2* hd2 81 None 5 0 0 426 14 52 5040 425303 212651
3 hd3 00 None 0 0 0 0 0 -1 0 0 0

at-hd0: Conner Peripherals 240MB - CP2251

使用方向键←↑→↓可将光标移动到上面表格的任何一个选项下,使用“—”和“+”键可以改变选项的值,安装MINIX需要两个MINIX分驱,每个驱要有一百多兆,我的盘分完驱之后如下:

Size in sectors ----first---- --geom/last-- ------sectors-----
Device Cyl Head Sec Cy l‘ Head Sec Base Size Kb
/dev/hd0 485 16 63
0 0 0 488 15 62 0 492912 246456
Num Sort Type
1 hd1 12 0 1 0 4 15 62 63 4977 2488
2* hd2 81 MINIX 5 0 0 426 14 52 5040 425303 212651
3 hd3 81 MINIX 426 14 53 488 15 62 430343 62569 31284

可以根据自己的情况来分。我是根据表中cyl这项来分的,比如1——cyl(这表示num为1这一行与cyl这列交叉的项,以下不再解释)为0,表示hd1从0柱面开始,而1——cyl’为4,表示hd1到4柱面结束;下一个驱便是从2——cyl的5到2——cyl’的426,以后便以此类推。完成分派以后,按“q”,显示:

Save partition table? (y/n) y

Please finish the name of the primary partition you have created:
(Just type RETURN if you want to rerun "part") /dev/

在“/dev/”后面输入逻辑驱的编号,我输的是:hd3,屏幕将显示如下:

You have created a partition named: /dev/hd3
The following subpartitions are about to be created on /dev/hd3:

Root subpartition: /dev/hd3a 1440 kb
/usr subpartition: /dev/hd3c rest of hd3

Hit return if everything looks fine, or hit DEL to bail out if you want tothink it over. The next step will destroy /dev/hd3.
:

自此,硬盘分驱如下:
/dev/hd0 Whole hard disk #0
/dev/hd1 MS-DOS C: drive
/dev/hd3 MINIX primary partition
/dev/hd3a MINIX root partition
/dev/hd3c MINIX /usr partition

回车时候,屏幕将显示:

Migrating from floppy to disk...


Scanning /dev/hd3c for bad blocks. (Hit DEL to stop the scan if are absolutely
sure that there can not be any bad blocks. Otherwise just wait.)

cp /fd0/etc/hostname.file /mnt/etc/hostname.file
cp /fd0/etc/motd /mnt/etc/motd
……
mkdir /mnt/root
mkdir /mnt/tmp
cp /fd0/.ellepro.b1 /mnt/.ellepro.b1
/dev/fd0 unmounted from /fd0
/dev/hd3a unmounted from /mnt

What is the memory size of this system in kilobytes? [4096 or more]

最后一行询问系统的内存大小,一般大于4兆,于是直接回车使用其默认值。于是屏幕显示:
econd level file system block cache set to 1024 kb.

Please insert the installation ROOT floppy and type 'halt' to exit Minix.
You can type 'boot hd3' to try the newly installed Minix system. See
"TESTING" in the usage manual.
#
根据提示,在#后面输入halt,回车。屏幕将显示:

System Halted
fd0>

在>后面输入boot hd3,这时系统将重新启动。
四.安装基础系统。
由上面的引导进入MINIX,屏幕显示:
Minix 2.0.0 Copyright 1997 Prentice-Hall, Inc.
Executing in 32-bit protected mode
at-hd0: Conner Peripherals 240MB - CP2251
Memory size = 8010K MINIX = 295K RAM disk = 1024K Available = 6692K
Tue Oct 1 16:39:24 MET 1996
/dev/hd3c is read-write mounted on /usr
Starting standard daemons: update.
Login as root and run 'setup /usr' to install floppy sets.
Minix Release 2.0 Version 0
noname login:

输入用户名root,看见#提示符后,输入setup /usr,系统将显示:
What is the size of the images on the diskettes? [all]
What floppy drive to use? [0]
Please insert input volume 1 and hit return
以上两问均使用默认值,直接回车;最后一行提示插入#2,接着会提示插入#3和#4,屏幕将显示:
created directory: local/lib
created directory: local/man
created directory: local/src
created directory: man
Can't make directory mdec: File exists
……
src/commands/talkd/talk.h, 03 tape blocks
src/commands/talkd/talkd.c, 03 tape blocks
src/commands/talkd/talkd.h, 01 tape blocks
/tmp/LAST, 0 tape blocks
Done.

stephenxue 2003-11-18
  • 打赏
  • 举报
回复
我在完成毕业设计时,做过一次,当时就是找不到相关的文档,摸索的非常艰苦,为了以后能进行,也为了其他人不再像俺这样,我把过程详细的写下来,也许没有比这更详细的中文文档了,呵呵。

虽然MINIX自带的文档已经非常齐全,但是所有的这些都是in English,让人读起来未免有一点点的不爽,在加上人们疯狂的安装MINIX的年代已经久远了,网上很难找到像样的帮助,所以我把自己最近安装MINIX的详细过程叙述如下,以为以后安装MINIX的“倒霉鬼”(其实自我感觉我也够倒霉了,都到了21世纪还要苦苦的寻求如何安装MINIX)安装所用。
必要的硬件:
1.一个小于8G的硬盘。MINIX存在1024柱面问题,保险起见最好使用小于8G的硬盘,我使用的是3.2G的硬盘,而且强烈建议专门为此准备一个硬盘,因为安装的过程中会反复重装操作系统和分区,很难保证硬盘中原有数据的存在。
2.10张好用的软盘。想想MINIX的年代,自然就理解为什么软盘必不可少了,不要再想入非非的什么优盘、ZIP什么的。
3.MINIX的代码。最容易获得的代码是在Andrew S. Tanenbaum的《Operating System Design and Implementation》的随书光盘上面,而如果没有该光盘,也可以从http://www.cs.vu.nl/~ast/minix.html直接下载。注意千万不要改变各子目录之间的关系和名字。为了表述方便,无论你的源码在何种介质上,均将其copy到硬盘的C驱下,请查看一下,MINIX代码最底层的目录应该包含以下子目录:
bochs
compiler
debugger
dosutils
listing
minix
netutils
smx
而这个“最底层”的目录便是我在后面使用的当前目录。将其命名为OS
OK,一台可用的电脑当然是必不可少的,就不用我多非唇舌了,下面就开始安装了。

一.制作启动软盘。
首先用DOS6.22启动盘引导电脑(当然是使用那个专门为安装MINIX准备的硬盘,把你原来的硬盘暂时取下来吧),进入MINIX子目录,执行:
fdvol 1440 A: i386\ROOT i386\USR - 制作MINIX引导盘,需要一张盘(#1)
fdvol 1440 A: i386\USR.TAZ - 基本的OS,需要3张盘(#2、#3、#4)
fdvol 1440 A: SYS.TAZ - 系统源代码,需要2张盘
fdvol 1440 A: CMD.TAZ - 命令代码,需要3张盘

二.对硬盘分驱。
先使用fdisk将硬盘(将硬盘设为第一个IDE的主盘)分为primary和extended两个驱,extended驱要有四五百兆的free space。然后建立两个logical驱,退出fdisk,系统提示重新启动。

/*重启再次进入DOS之后,不要格式化新分的两个logical驱,进入\os\minix\DOSUTILS\FIPS目录,执行fips*/
三.安装MINIX。
将#1盘插入,引导到MINIX安装的界面,按下“=”之后如下:

Minix 2.0.0 Copyright 1997 Prentice-Hall, Inc.
Executing in 32-bit protected mode
Memory size = 8010K MINIX = 295K RAM disk = 480K Available = 7236K
RAM disk loaded.
Tue Oct 1 16:21:37 MET 1996
Finish the name of device to mount as /usr: /dev/


在“/dev/”后面输入“fd0c”表示以root或者usr模式登录,然后出现:

/dev/fd0c is read-write mounted on /usr
Starting standard daemons: update.
Login as root and run 'setup' to install Minix.
Minix Release 2.0 Version 0
noname login:

使用root登录,然后键入“setup”,开始安装MINIX。出现:

# setup
This is the Minix installation script.
Note 1: If the screen blanks suddenly then hit F3 to select "software scrolling".
Note 2: If things go wrong then hit DEL and start over.
Note 3: The installation procedure is described in the manual page usage(8). It will be hard without it.
Note 4: Some questions have default answers, like this: [y] Simply hit RETURN (or ENTER) if you want to choose that answer.
Note 5: If you see a colon (:) then you should hit RETURN to continue.
:

这是安装前的一些宏观性的提示,翻译出来就是这个意思:
1. 如果屏幕突然出现空白,就按下F3键,然后选择“software scrolling”
2. 如果安装错误,就按下DEL键,重新来过。
3. 安装过程在使用手册(8)上面有详细叙述,如果没有它,将很难完成整个安装过程。
4. 一些选项具有默认选项,比如[y],只用按下回车,如果希望选择的就是“yes”
5. 如果看见“:”,必须按下回车键以继续安装。

然后是选择键盘,一般是使用默认的美国标准键盘,显示如下:

What type of keyboard do you have? You can choose one of:

french italian latin-am scandinavn uk us-swap
german japanese olivetti spanish us-std

Keyboard type? [us-std]

接下来的分驱是整个安装过程中比较繁琐的部分,我在安装过程中就在此卡住了十几个小时,显示如下:

Minix needs one primary partition of at least 30 Mb (it fits in 20 Mb, but
it needs 30 Mb if fully recompiled. Add more space to taste.)

If there is no free space on your disk then you have to back up one of the
other partitions, shrink, and reinstall. See the appropriate manuals of the
the operating systems currently installed. Restart your Minix installation
after you have made space.

unixlife 2003-11-17
  • 打赏
  • 举报
回复
用模拟器来装最好。去这里下一个:http://bochs.sourceforge.net

然后再下一个 minix :http://www.cs.vu.nl/~ast/minix.html
解压后模拟安装,很简单

19,614

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧