linux

位置:IT落伍者 >> linux >> 浏览文章

如何在硬碟建置Linux系统之使用 bootdisk及 rootdisk 磁片 开机


发布日期:2023年01月12日
 
如何在硬碟建置Linux系统之使用 bootdisk及 rootdisk 磁片 开机

安装系统的第一步骤 就是拿刚刚制作好的 bootdisk 磁片

入第一部软碟机 启动电源 正常的话 您会在萤幕上看到以下画

<< 画面 >>

LILO

Welcome to the Slackware Linux Bootkernel disk!

If you have any extra parameters to pass to the kernel enter them at the

prompt below For instance you might need something like this to detect the

hard drive on PS/ and ValuePoint models from IBM:

ramdisk hd=cylhdssecs (Where cyl hds and secs are the number of

cylinders sectors and heads on the drive Most

machine wont need this)

Also in a pinch you can boot your system with a command like:

mount root=/dev/hda

On machines with low memory you can mount root=/dev/fd or

mount root=/dev/fd to install without a ramdisk See LOWMEMTXT for details

If you wold rather load the root/install disk from your second floppy drive:

drive (or even this: ramdisk root=/dev/hd)

DONT SWITCH ANY DISKS YET! This prompt is just for entering extra paramters

If you dont need to enter any paramters hit ENTER to conitnue

boot:

萤幕画面在此处停止了 正常的话 在这里我们碰一下

可以继续

<< 画面 >>

Please remove the boot kernel disk from your floppy drive insert a

root/install disk (such as one of the Slackware color colrlite

tty or tty disks) or some other disk you wish to load into a

ramdisk and boot and then press ENTER to continue

接着您可以在萤幕上看到开机磁片侦测到硬体周边装置的一系列

讯息 这些讯息此处简略掉了 一直到下面画面 萤幕再度停住

此处 我们浏览一下其说明 其意思是说 把刚开机用的 bootdisk

拿出来 把 rootdisk (也就是系统安装磁片的第二片) 插进磁碟机

<< 画面 >>

VFS: Disk change detected on device /

RAMDISK: Loading blocks into RAM disk

<< 画面 >>

Welcome to the Slackware Linux installation disk (v )

###### 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/ Boot Manager users however

should create their Linux partitions with OS/ 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 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=vt

before you start setup

You may now login as root

slackware login:

以上连续画面到<<画面 >> 停止 就算开机成功 接下来我们

可以 root 进入系统 (此时的环境已经是一个运转中的 Linux系统)

之后 就可以正式进行系统硬碟规划以及安装动作

本节最后我们介绍一个相关的问题 有时候 bootdisk 磁片开

机时 没有能够自动侦测到您的硬体设备 最常见的 就是网路卡以

及CDROM 控制卡 遇到这种情况时 我建议您用 bootdisk 磁片开

机时 在 boot: 提示符号后 输入以下指令:

boot: ramdisk sbpcd=xAAALaserMate 针对 Panasonic B/B 光碟机

boot: ramdisk ether=BxCCCeth 针对网路卡

boot: ramdisk sbpcd=xAAALaserMate ether=BxCCCeth 合在一起

以上: AAA: 该唯独光碟机控制卡之 IO port

B: 该网路卡的 IRQ

CCC: 开网路卡之 IP port

上一篇:Linux IP Masquerade mini HOWTO 中译版(3)

下一篇:如何选购Linux可以搭配的机器之一部可能的最佳组合 Linux PC