Chinaunix首页 | 论坛 | 博客
  • 博客访问: 473289
  • 博文数量: 711
  • 博客积分: 3000
  • 博客等级: 中校
  • 技术积分: 4200
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-28 14:18
文章分类

全部博文(711)

文章存档

2011年(1)

2008年(710)

我的朋友

分类:

2008-10-29 11:56:46


  
   前面主服务画面 (< 画面 4-9 >) 下第五个选项 ADDSWAP, 我们
  用方向键往下移动到此, 之後按 键。 这画面中的 /dev/hdb2
  是系统自己抓到的, 无须额外手工指定, 不过, 前提是之前进行硬碟
  分割时, 已经把 /dev/hdb2 的分割区型态 (Partition Type) 正确
  设定为 〃Linux swap〃。
  
   以下自动化程序所作的有三个动作, 第一就是对现有的 Swap
  Partition 执行规划动作 (mkswap), 第二个动作, 是让该新规划好的
  Swap partition 即刻生效 (swapon)。 最後一步, 则是安装到将来系
  统的 /etc/fstab, 这样系统安装完成後, 每次系统开机时就会自动启
  动虚拟记忆体。
  
  
  << 画面 4-10 >>
   ______________________ SWAP SPACE DETECTED ________________________
   ? ?
   ? Slackware Setup has detected a swap partition: ?
   ? ?
   ? 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 ?
   ? drive(s)? ?
   __________________________________________________________?
   ? < Yes > < No > ?
   __________________________________________________________?
  
【责编:admin】

--------------------next---------------------

阅读(258) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~