Linux中国 Linux中国门户站!
设为主页 设为主页
收藏本站 收藏本站
 
当前位置 :首页 ->Linux技术 ->发行版专区 ->slackware ->正文

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

来源:Linux-cn.com 作者:Webmaster 时间:2007-05-05 点击: [收藏] [投稿]


Also, in a pinch, you can boot your system with a command like:
   mount root=/dev/hda1

On machines with low memory, you can mount root=/dev/fd1 or
mount root=/dev/fd0 to install without a ramdisk. See LOWMEM.TXT for details.

If you wold rather load the root/install disk from your second floppy drive:
   drive2  (or even this: ramdisk root=/dev/hd1)

DON'T SWITCH ANY DISKS YET! This prompt is just for entering extra paramters.
If you don't need to enter any paramters, hit ENTER to conitnue.

boot:

    萤幕画面在此处停止了。 正常的话, 在这里我们碰一下
键, 可以继续。


<< 画面 4-2 >>
...........

Please remove the boot kernel disk from your floppy drive, insert a
root/install disk (such as one of the Slackware color144, colrlite,
tty144, or tty12 disks) or some other disk you wish to load into a
ramdisk and boot, and then press ENTER to continue.


    接着您可以在萤幕上看到开机磁片侦测到硬体周边装置的一系列
讯息, 这些讯息此处简略掉了。 一直到下面画面,  萤幕再度停住,
此处, 我们浏览一下其说明, 其意思是说, 把刚开机用的 bootdisk
拿出来, 把 rootdisk (也就是系统安装磁片的第二片) 插进磁碟机



<< 画面 4-3 >>
VFS: Disk change detected on device 2/28
RAMDISK: Loading 1440 blocks into RAM disk ..................................
.............................................................................



<< 画面 4-4 >>

Welcome to the Slackware Linux installation disk, (v. 2.0.2)

###### IMPORTANT! READ THE INFORMATION BELOW CAREFULLY. ######
- You will need one or more partitions of type "Linux native" prepared. It is
  also recommended that you create a swap partition (type "Linux swap") prior
  to installation. Most users can use the Linux "fdisk" utility to create and
  tag the types of all these partitions. OS/2 Boot Manager users, however,
  should create their Linux partitions with OS/2 "fdisk", add the bootable
  (root) partition to the Boot Manager menu, and then use the Linux "fdisk" to
  tag the partitions as type "Linux native".
- If you have 4 megabytes or less of RAM, you MUST activate a swap partition
  before running setup. After making the partition with fdisk, use:
mkswap /dev/ ; swapon /dev/
- Once you have prepared the disk partitions for Linux, and activated a swap
  partition if you need one, type "setup" to begin the installation process.
- If you want the install program to use monochrome displays, type:
TERM=vt100
  before you start "setup".

You may now login as "root".

slackware login:

    以上连续画面到<<画面 4-4>> 停止, 就算开机成功, 接下来我们
可以 root 进入系统 (此时的环境已经是一个运转中的 Linux系统),
之後, 就可以正式进行系统硬碟规划以及安装动作。

    本节最後我们介绍一个相关的问题。 有时候, bootdisk 磁片开
机时, 没有能够自动侦测到您的硬体设备, 最常见的, 就是网路卡以
及CD-ROM 控制卡。 遇到这种情况时, 我建议您用 bootdisk 磁片开
机时, 在 boot: 提示符号後, 输入以下指令:

  boot: ramdisk sbpcd=0xAAA,LaserMate 针对 Panasonic 562B/563B 光碟机

  boot: ramdisk ether=B,0xCCC,eth0    针对网路卡

  boot: ramdisk sbpcd=0xAAA,LaserMate ether=B,0xCCC,eth0 合在一起

  以上: AAA: 该唯独光碟机控制卡之 IO port
        B:   该网路卡的 IRQ
        CCC: 开网路卡之 IP port


□ 关於 root 使用者


    root 是系统环境中, 最特殊的一个使用者帐号。 在Unix环境,
root是个虚拟的使用者, 这帐号用来让系统管理者(这时就是您) 以
最高的特权进入系统, 之後执行系统维护及管理等工作。

    这里暂时我们只需要知道这麽多, 在本系列Linux第二册〔轻轻
松松管理Linux> 里, 我有更详细说明。


□  关於虚拟萤幕 (Virtual Console, VC)

    即便只是进行系统安装工作, 我们也已经可以享用 Virtual
Console (VC) 所带来的便利, 第一次接触这观念的朋友, 不妨把 VC
想成有多的萤幕的 Linux 工作站。

    当您开机完成後, 在萤幕上您所看到的, 是第一个 VC, 您可以
-F2 (按下 键不放, 再按 F2键) 切换到第二个萤幕,
同理, -F3 是第三个萤幕, -F4 为第二个萤幕。

    Linux 是多人多工的作业系统, 所以在每一个 VC 下, 您都可以
执行各自独立的工作, 执行系统安装时也不例外。 额外一提, 本章往
下介绍中, 笔者所需要的画面摘录, 就是用这方法取得, 也就是在当
第一个 VC 执行安装工作时, 第二个 VC 执行记录与画面摘录, 这样
一边安装一边记录画面。


□ fdisk 硬碟分割区规划示范

    接下来我们就要进行硬碟分割区规划, 请读者特别小心操作这些
步骤, 以下我们是用 fdisk /dev/hdb 指定来执行分割动作, 假如您
只以一颗 IDE 硬碟, 您可以使用 fdisk /dev/hda 指令, 假如您只有
一颗 SCSI 硬碟, 则可以 fdisk /dev/sda 指令。

 如果您对本文有任何疑问或者建议,请到讨论区发表您的意见: >> 论坛入口 <<



上一篇:轻轻松松的安装Slackware Linux -- 0.自序,观念篇   下一篇:轻轻松松的安装Slackware Linux -- 5.其他非标准安装程序解析

文章评论】 【收藏本文】 【推荐好友】 【打印本文】 【我要投稿】 【论坛讨论
更多相关文章
Power by linux-cn.com 粤ICP备05006655号