Article View: cn.comp.os.linux
Article #13114Re: redhat 8�İ�װ����
From: lfree
Date: Thu, 31 Oct 2002 09:20
Date: Thu, 31 Oct 2002 09:20
162 lines
7162 bytes
7162 bytes
ǰ3�š�
����װ��̣�
�������ʹ��NFS ISO,FTP,HTTP��ʽ��װRedhat8.0
���IJ����ʺϳ�ѧ��,��Ȼ������ܿ���,����ò���,��Ҳ����֤�ܹ�
��װ�ɹ�.�Ҿ��ҵ������������һЩ.������Ҳ���ҵ����Ҹ�õİ�װ
��ʽ,����������.
0. ��������RH8.0��ISOӳ���ļ�,ʹ��md5sum����ļ������Ƿ���ȷ.
���������ʹ��windows����,��Ҳ����ʹ��md5sum��windows����
dos�İ汾, ������www.linuxiso.org����.
1. �����ѡ��İ�װ��ʽHTTP,FTP,NFS,��linux����windows������
Ӧ�ķ���. HTTP��FTP�ķ�ʽ��ö�Ҫ��ISO�,����ȫȡ������
���̿ռ�Ķ���. ʵ������Ҳ���Բ�Ҫ�ISO�ļ�,ͨ��������
��mount -o loop ����Ϳ���װredhat8.0,�ű�����:
mkdir -p disc1 disc2 disc3
mount -t iso9660 -o loop psyche-i386-disc1.iso disc1
mount -t iso9660 -o loop psyche-i386-disc2.iso disc2
mount -t iso9660 -o loop psyche-i386-disc3.iso disc3
rm -rf install
mkdir install
cd install
ln -s ../disc1/* .
rm -f RedHat
mkdir RedHat
cd RedHat
ln -s ../../disc1/RedHat/* .
rm -f RPMS
mkdir RPMS
cd RPMS
ln -s ../../../disc1/RedHat/RPMS/* .
ln -s ../../../disc2/RedHat/RPMS/* .
ln -s ../../../disc3/RedHat/RPMS/* .
����NFS��ʽҲ���DZȽϺõķ�ʽ,��windows��,���������������,
http://www.serassio.it/download/nfs.zip
��ϸ��ΰ�װ��NFS,����ϸ�Ķ�install.txt�ĵ�.linuxҲ�Ƚϼ�,
��������.������Կ��й��ĵ�.
2. ʹ��dd(linux)����rawwrite.exe(windows)�������װ����:
��linux��:
mount -o loop psyche-i386-disc1.iso /mnt/cdrom
������bootnet.img�Լ�drvnet.img�ļ�(ע���bootnet.imgӳ���а�
��ģ��,�㲻�ý����ڶ�����),�Լ�rawwrite.exe�ļ�:
ʵ���ϵ�һ���̽���֧��3c59x,8139too,eepro100,pcnet32,tulip������.
linux��:
dd if=bootnet.img of=/dev/fd0 bs=1M
��windows��:
�����ʹ��winiso�����ѹ��ȡ��,ִ��rawwrite.exe����.
3. �ڰ�װ���������ô�������,�����һ������,���֧���������,
�������ִ��ʱ����:linux dd.��������ʾ����ʱ,����ڶ�������.
(ע:����û��ʵ���)
������Щ��ʽ����˵���İ�װ��ʽ.
ʵ���������û�����̻���������,���ַ�ʽ�Ͳ�����,���˾��ڴ���.
4. ʵ�����������ȡ��loadlin.exe(�ڵ�һ��ISOӳ���ļ���),�Լ���bootnet.img
�е�vmlinuz,initrd.img�ļ�:
�����������:
mkdir -p /mnt/bootnet
mount -o loop bootnet.img /mnt/bootnet
cd /mnt/bootnet
����ͨ��samba����ftp����Ҫ��װ�Ļ���.
��Ҫ��װ�Ļ�����ִ��:
loadlin vmlinuz root=/dev/ram initrd=initrd.img
�������linux�°�װ:��grub�°�C���������з�ʽִ��:
(�����ں˸�Ϊxxx,initrd.img�ļ���Ϊyyy)
> root (hd0,N) #N��ʾ���ڵķ���,��0��ʼ.
> kernel /boot/xxx ro root=/dev/ram # Ҳ�����ں������dd����.
> initrd /boot/yyy
> boot
5. ���������Ļ���������֧��֮��,�Ǿͷdz���ù,���˾��ڴ���.
ʵ���Ͼ�Ҫ����initrm.img�ļ�,������Ҫ����ģ����뵽initrd.img�ļ���.
�����������: (����bootnet.img��drvnet.img�Ѿ�������/mnt/installĿ¼,
���ȡ����vmlinuz����ɵ�initrdx.img�ļ�����/mnt/installĿ¼)
#! /bin/bash
mkdir -p /mnt/bootnet
mkdir -p /mnt/drvnet
mkdir -p /mnt/initrd
mount -o loop /mnt/install/bootnet.img /mnt/bootnet
mount -o loop /mnt/install/drvnet.img /mnt/drvnet
cp -a /mnt/bootnet/vmlinuz /mnt/install
cp -a /mnt/bootnet/initrd.img /mnt/install
cd /mnt/install
gunzip -S .img initrd.img
mount -o loop /mnt/install/initrd /mnt/initrd
cd /mnt/drvnet
cat modinfo >> /mnt/initrd/modules/module-info
cat modules.dep >> /mnt/initrd/modules/modules.dep
cat pcitable >> /mnt/initrd/modules/pcitable
cd /tmp
gunzip -dc -S .cgz /mnt/initrd/modules/modules.cgz | cpio -i -d
gunzip -dc -S .cgz /mnt/drvnet/modules.cgz | cpio -i -d
find 2.4.18-14BOOT -print | cpio -o -H crc | gzip -9 >| \
/mnt/initrd/modules/modules.cgz
umount /mnt/bootnet
umount /mnt/drvnet
umount /mnt/initrd
cd /mnt/install
gzip -9 -S .img initrd
rm -rf /tmp/2.4.18-14BOOT
6.�����봫�䵽Ҫ��װ�Ļ���,�����������4��.
����չ��Mandrake9.0 iso�Ľű���
mkdir disk1 disk2 disk3
mount -t iso9660 -o loop Mandrake90-cd1-inst.i586.iso disk1
mount -t iso9660 -o loop Mandrake90-cd2-ext.i586.iso disk2
mount -t iso9660 -o loop Mandrake90-cd3-i18n.i586.iso disk3
rm -rf install
mkdir install
cd install
ln -s ../disk1/* .
rm -f Mandrake
mkdir Mandrake
cd Mandrake
ln -s ../../disk1/Mandrake/* .
ln -s ../../disk2/Mandrake/* .
ln -s ../../disk3/Mandrake/* .
> redhat 8��5�Ź��̣�ʵ�ʰ�װʱ�Ƿ����еĹ��̶���Ҫ��
Technical Details
Message-ID:
<3dc1d6de@news.cn99.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!news.cn99.com!News.Newsfan.NetReferences:
<3dc0f4f9$1@wfbak.newsfan.net>Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB X-Google-Thread: 10b277,d0ae4eeb9a0b3ef3,start X-Google-Attributes: gid10b277,public X-Google-ArrivalTime: 2002-10-31 07:14:26 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!news.cn99.com!News.Newsfan.Net From: "lfree" <windows-free@163.com:s/windows/linux/> Newsgroups: cn.comp.os.linux Subject: Re: redhat 8�İ�װ���� Date: 31 Oct 2002 17:20:30 +0800 Organization: News.Newsfan.Net Lines: 164 Message-ID: <3dc1d6de@news.cn99.com> References: <3dc0f4f9$1@wfbak.newsfan.net> NNTP-Posting-Host: 202.103.199.28 X-Trace: mail.cn99.com 1036076927 78771 202.103.199.28 (31 Oct 2002 15:08:47 GMT) X-Complaints-To: usenet@news.cn99.com NNTP-Posting-Date: Thu, 31 Oct 2002 15:08:47 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106