9.2. �������Ԯģʽ

��Ԯģʽ�ṩ����ȫ�Ӵ��̡����̻�����������ʽ�����Ǵ�ϵͳӲ��������������һ��С�� Red Hat Linux ������������

��������������ʾ����Ԯģʽ�����������ij������н�ȳ�����ģʽ�������������У���� Red Hat Linux ϵͳʹ��λ��ϵͳӲ���ϵ��ļ�������һ������ — ���г��������ļ���������ࡣ

Ȼ��������Щ����£�������޷�ʹ Red Hat Linux ���е����������Է���ϵͳӲ�����ļ��ij̶ȡ�ʹ�þ�Ԯģʽ���������޷���Ӳ�������� Red Hat Linux����Ҳ���Դ�ȡ�����ڸ�ϵͳӲ���ϵ��ļ���

Ҫ�������Ԯģʽ��������ܹ�ʹ�����·���֮һ������ϵͳ��

ʹ�����Ϸ����������ڰ�װ������ʾ�������������

linux rescue

��ᱻ��ʾ�ش𼸸����������⣬����Ҫʹ�õ����ԡ�������ʾ��ѡ����Ч��Ԯӳ���λ�á��������ع��̡�����Ӳ��������������NFS ӳ������FTP��������HTTP����ѡ����ѡλ���б������һ����Ч�İ�װ���������װ������������������Ĺ��� #1 �е� Red Hat Linux �汾��ͬ�������ʹ��һ���������̻������������Ԯģʽ�������װ������ʹ����������õİ�װ����ͬ�����������Ӳ����������NFS ��������FTP ���������� HTTP �����������ð�װ������Ϣ���������Red Hat Linux ��װָ�ϡ���

�����ѡ��ľ�Ԯӳ����Ҫ�������ӣ���ᱻ��ѯ�Ƿ�Ҫ�����������ӡ� ���������ļ����ݵ���һ̨������ϻ�ӹ�������λ���ϰ�װһЩ PRM ������ʱ���������ӻ�����á�

�㻹�ῴ��������Ϣ��

The rescue environment will now attempt to find your Red Hat
Linux installation and mount it under the directory
/mnt/sysimage.  You can then make any changes required to your
system.  If you want to proceed with this step choose
'Continue'. You can also choose to mount your file systems
read-only instead of read-write by choosing 'Read-only'.
If for some reason this process fails you can choose 'Skip' 
and this step will be skipped and you will go directly to a
command shell.

�����ѡ������������������ͼ������ļ�ϵͳ���ص� /mnt/sysimage Ŀ¼�¡���������ط���ʧ�ܣ�����֪ͨ�㡣�����ѡ�� ��ֻ������������ͼ�� /mnt/sysimage Ŀ¼�¹�������ļ�ϵͳ�����ǹ���ģʽΪֻ���������ѡ����������������ļ�ϵͳ�����ᱻ���ء��������������ļ�ϵͳ���𻵣�ѡ������������

һ�����ϵͳ�����˾�Ԯģʽ���� VC���������̨�� 1 �� VC 2��ʹ�� [Ctrl]-[Alt]-[F1] ��ϼ������� VC 1��[Ctrl]-[Alt]-[F2] ������ VC 2���ϻ������ʾ��

-/bin/sh-2.05b#

�����ѡ���������������Զ�������ķ������������DZ��ɹ��ع����ˣ���ô��ͻ���뵥�û�ģʽ��

��������ļ�ϵͳ�����أ���Ԯģʽ�е�Ĭ�ϸ�����ֻ������һ����ʱ�ĸ������������������û�ģʽ�����м��� 3 �� 5���е��ļ�ϵͳ�������������ѡ��Ҫ�����ļ�ϵͳ�����������ɹ��ع����ˣ������ͨ��ִ�������������Ѿ�Ԯģʽ�ĸ������ı�Ϊ����ļ�ϵͳ�ĸ�������

chroot /mnt/sysimage

�������Ҫ���� rpm ֮�������ı�������ͻ�����ã���Ϊ��������Ҫ����ĸ�����������Ϊ /��Ҫ�˳� chroot ���������� exit����ͻ᷵�ص���ʾ��

�����ѡ���������������Կ�����ͼ�ھ�Ԯģʽ���ֹ����ط����������ǣ�����һ��Ŀ¼����, /foo��Ȼ������������

mount -t ext3 /dev/hda5 /foo

�����������У�/foo ���㴴����Ŀ¼��/dev/hda5 ��������صķ�������������������� ext2����� ext3 �滻Ϊ ext2��

����㲻֪�����������ƣ�ʹ�������������о����ǣ�

fdisk -l

����ʾ�£�����������������õ�������磺

ע

[1]

Ҫ������װ�����̣�����һ�ſհ״��̣�ʹ�� Red Hat Linux ���� 1 �ϵ� images/bootdisk.img �ļ�����ִ�����dd if=bootdisk.img of=/dev/fd0��

[2]

Ҫ������װ�������̣��������Red Hat Linux ��װָ�ϡ��е�˵����