⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 example.txt

📁 操作系统设计与实现源码
💻 TXT
📖 第 1 页 / 共 2 页
字号:
Minix installation demo.				Author: Kees J. Bot

	+-------------------------------------------------------+
	| This is a log of a Minix installation on my notebook  |
	| in the form of a number of screen images with bits of |
	| explanatory text in these boxes.  The floppy images   |
	| have already been made and the system is booted with  |
	| a diskette that contains both ROOT and USR combined.  |
	| That is why I typed 'fd0c' after starting 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/fd0c
/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:

	+-------------------------------------------------------+
	| As suggested I log in as root and enter 'setup' to    |
	| start the installation script.                        |
	+-------------------------------------------------------+

noname login: root
# 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.
:

	+-------------------------------------------------------+
	| I hit the ENTER key and am asked about my keyboard    |
	+-------------------------------------------------------+

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]

	+-------------------------------------------------------+
	| I'm blessed with a standard U.S. keyboard so I type   |
	| ENTER again.  Now it gets serious:                    |
	+-------------------------------------------------------+

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.

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.)
:
	+-------------------------------------------------------+
	| ENTER brings up the 'part' partition editor.  The     |
	| question marks indicate that no partition table is    |
	| loaded yet.  I must first choose a disk.              |
	+-------------------------------------------------------+

  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 advice

	+-------------------------------------------------------+
	| This notebook has only one disk, so I type '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 MINIX        5    0   0   426   14  52      5040    425303   212651
 3  hd3  00 None         0    0   0     0    0  -1         0         0        0
 4  hd4  00 None         0    0   0     0    0  -1         0         0        0

at-hd0: Conner Peripherals 240MB - CP2251

	+-------------------------------------------------------+
	| There are two partitions already present on the disk, |
	| one that contains setup stuff for the notebook and a  |
	| 208 megabyte partition that already contains Minix.   |
	| The AT disk driver has tickled the IDE disk to make   |
	| it tell its type and make.  It is a message from deep |
	| in the kernel, not from part.                         |
	| For this install I want a new partition, so I move    |
	| over to the Size field of the first unused slot, line |
	| 3 with type "None".  I could type a number now, but   |
	| I want to use the rest of the disk, so I hit 'm'      |
	| there once or twice to let part propose something.    |
	+-------------------------------------------------------+

  Size in sectors     ----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 MINIX        5    0   0   426   14  52      5040    425303   212651
 3  hd3  81 MINIX      426   14  53   488   15  62    430343     62569    31284
 4  hd4  00 None         0    0   0     0    0  -1         0         0        0

	+-------------------------------------------------------+
	| Note that the end of partition 2 and the start of     |
	| partition 3 are not on a cylinder boundary.  Minix    |
	| doesn't care about that, but Linux fdisk would throw  |
	| a fit if it would see this.  In this case I'm happy,  |
	| so I type 'q' to quit, and 'y' to save the table:     |
	+-------------------------------------------------------+

  Size in sectors     ----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 MINIX        5    0   0   426   14  52      5040    425303   212651
 3  hd3  81 MINIX      426   14  53   488   15  62    430343     62569    31284
 4  hd4  00 None         0    0   0     0    0  -1         0         0        0

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/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 to
think it over.  The next step will destroy /dev/hd3.
:

	+-------------------------------------------------------+
	| Let's destroy some zeros and ones, I hit ENTER:       |
	+-------------------------------------------------------+

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

	+-------------------------------------------------------+
	| Lots of files are put on the disk.  It is a combined  |
	| ROOT+USR diskette, so both parts are installed with-  |
	| out pause.  When done I am greeted with the following |
	| message, showing that Minix has a short memory,       |
	| because at boot it said: Memory size = 8010K.  I      |
	| could type 8010, but ENTER will do.
	+-------------------------------------------------------+

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]
Second level file system block cache set to 1024 kb.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -