手机站
网通分站
电信主站
密 码:
用户名:
当前位置 : 主页>操作系统>Linux>列表

轻轻松松的安装Slackware Linux -- 4.如何在硬碟建置Linux系统

来源:互联网 作者:west263.com 时间:2008-02-23
西部数码-全国虚拟主机10强!40余项虚拟主机管理功能,全国领先!双线多线虚拟主机南北访问畅通无阻!免费赠送企业邮局,.CN域名,自助建站480元起,免费试用7天,满意再付款! P4主机租用799元/月.月付免压金!

? Device Boot Begin Start End Blocks Id System ?
? /dev/hdb2 101 101 160 30240 82 Linux swap ?
? ?
? Do you wish to install this as your swap partition? ?
? ?
?___________________________________________________________________?
? < Yes > < No > ?
____________________________________________________________________?

上面这画面下, 按 就可以继续到下面画面, 假若要中断
的话, 按 键可以移动反白到 < No > 区域。


<< 画面 4-11 >>
________________________ MKSWAP WARNING ________________________
? IMPORTANT NOTE: If you have already made any of your swap ?
? partitions active (using the swapon command), then you ?
? should not allow Setup to use mkswap on your swap partitions, ?
? because it may corrupt memory pages that are currently ?
? swapped out. Instead, you will have to make sure that your ?
? swap partitions have been prepared (with mkswap) before they ?
? will work. You might want to do this to any inactive swap ?
? partitions before you reboot. ?
________________________________________________________________ ?
? < OK > ?
________________________________________________________________ ?



<< 画面 4-12 >>
________________________ USE MKSWAP? ________________________
? Do you want Setup to use mkswap on your swap partitions? ?
______________________________________________________________?
? < Yes > < No > ?
______________________________________________________________?


以上三个连续画面所执行的, 也可以用下面这个指令手工完成, 这
提供读者叁考。

$ /sbin/mkswap /dev/hdb2 30240

还有一点要注意, 假如以前已经做过这指令, 此处就不要重复。
至於操作方法, 上面画面中, 可以移动 键, 选择 No 不安装,
这样会直接跳到下面画面。 假若以前没有操作过, 可以直接按
,这样会自动执行 mkswap动作。


下面画面则无论如何一定要执行, 这样就立刻才可以使 Swap
Partition 生效。 以此例来说, 会立刻增加约 30MB 的虚拟记忆体。

<< 画面 4-13 >>
__________________ ACTIVATE SWAP SPACE? __________________
? If you have not already activated your swap partitions ?
? with 'swapon', you should do so at this time. Activate ?
? swap partitions with 'swapon'? ?
__________________________________________________________?
? < Yes > < No > ?
__________________________________________________________?


上面画面所执行的, 就等同於以下这指令:

$ /sbin/swapon /dev/hdb2

下面这画面, 安装程式询问说要不要更改 /etc/fstab, 这效果是
以後系统 (指安装完成後的系统) 每次开机後, 会自行启动该 Swap
Partition, 此处我们按 键, 选择安装。



<< 画面 4-14 >>
______________________ SWAP SPACE CONFIGURED ________________________
? Your swapspace has been configured. This information will ?
? be added to your /etc/fstab: ?
? ?
? /dev/hdb2 swap swap defaults ?
? ?
? ?
? ?
? ?
? ?
______________________________________________________________________?
? < OK > ?
______________________________________________________________________?


下面是最後一个画面, 安装程式询问我们是否接下来继续执行我
前面介绍的 『2. 指定安装目的分割区 (Target)』, 若按
回答 Yes, 则会立刻接续下去, 若按 选择 No, 则回到最外层
主服务画面。


<< 画面 4-15 >>
______________ CONTINUE WITH INSTALLATION? ______________
? Now that you've set up your swap space, you may ?
? continue on with the installation. Otherwise, you'll ?
? be returned to the main menu. Would you like to ?
? continue the installation and set up your TARGET ?

文章整理:西部数码--专业提供域名注册虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!