🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.comp.os.linux
Article #12264

Re: ����redhat �޹���װ����

#12264
From: lfree
Date: Sat, 23 Nov 2002 11:17
173 lines
7775 bytes
����Դӵ�һ��iso�ļ���ȡ��
loadlin.exe
vmlinuz
hd.img�е�initd.img�ļ���

����һ��windows98�����̣��ٽ���һ���̰���
����������

loadlin vmlinuz root=/dev/ram initrd=initrd.img

ѡ��iso���ڷ���

������������Բο���

ת�أ�
         �������ʹ��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/* .



"�������" <danmy@hf.webex.com> д����Ϣ����:3ddfd370$1@News.Newsfan.Net...
> �ҵ����������ģ���������redhat 7.2 iso�⿪���ļ���cd1��cd2����û�й���
��
> �в���ϵͳ��redhat7.1,����������°�װϵͳ����������Ҫ����豸�ݡ�
Technical Details
Message-ID: <3de044e0@news.cn99.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!news.cn99.com!News.Newsfan.Net
References: <3ddfd370$1@news.cn99.com>

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: 10b277,813ad6bf0bb15e7f
X-Google-Attributes: gid10b277,public
X-Google-ArrivalTime: 2002-11-23 03:17:22 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!news.cn99.com!News.Newsfan.Net
From: "lfree" <windows-free@163.com:s/windows/linux/>
Newsgroups: cn.comp.os.linux
Subject: Re: ����redhat �޹���װ����
Date: 23 Nov 2002 19:17:52 +0800
Organization: News.Newsfan.Net
Lines: 175
Message-ID: <3de044e0@news.cn99.com>
References: <3ddfd370$1@news.cn99.com>
NNTP-Posting-Host: 202.103.199.191
X-Trace: mail.cn99.com 1038050236 84547 202.103.199.191 (23 Nov 2002 11:17:16 GMT)
X-Complaints-To: usenet@news.cn99.com
NNTP-Posting-Date: Sat, 23 Nov 2002 11:17:16 +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