?? install-redhat-from-harddisk.html
字號(hào):
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<META NAME="Author" CONTENT="Edward Fu">
<META NAME="GENERATOR" CONTENT="Mozilla/4.05 [zh-CN] (X11; I; Linux 2.1.127 i686) [Netscape]">
<TITLE>Freesoft Linux FAQ -- 從硬盤上安裝Redhat</TITLE>
</HEAD>
<BODY>
Huang Liang wrote:
<P>> i want to install the red-hat 5.0 (download from freesoft.cei.gov.cn)
<BR>> i put the "rpms" and "base" dir in a win98 disk(hda1) c:\
<BR>> but when i finish fdisk (the second hd),
<BR>> i mount the win98 disk as "/setup"
<BR>> and the second hd's linux native(hdb1) as "/"
<BR>> but setup program don't check the hda1,
<BR>> so....
<BR>> how to?
<BR>>
<BR>> any answer welcome
<P>I think your directory tree structure is incorrect if you use the standard
<BR>Redhat installation program.
<P>Don't modify the directory structure please. For details please check
the
<BR>source cade of the install program which is in the following directories:
<P>redhat-5.0/i386/misc/src/*
<P>What I think is that the distribution directory must have a directory
<BR>called "REDHAT" and "RPMS" and "base" directories should be under
<BR>the "REDHAT" directory. The names are _case sensitive_!
<P>As to my knowledge, linux mount will think the vfat to be msdos
<BR>unless you explicitly told it is a vfat insteadof msdos. So I'm not
sure
<BR>if you can install from a vfat partition because the filenames have
<BR>8.3 and Capital/lower_case problems if it mountd as msdos fat.
<P>Sigh, All problems are created by the Microsoft!
<P>If you have enough disk space, just make an ext2 partition and holds
all
<BR>distribution files there and install from there. It will be no problems.
<P>After you answered the first few questions to the Redhat installation
<BR>floppies (after the second one is mouted) you can switch to <F2>
<BR>console. Then, you do,
<P>for your first hard disk,
<P>cd /dev
<BR>mknod hda b 3 0
<BR>mknod hda1 b 3 1
<BR>....
<BR>mknod hda16 b 3 16
<P>for your second hard disk,
<P>mknod hdb b 3 64
<BR>mknod hdb1 b 3 65
<BR>....
<BR>mknod hdb16 b 3 80
<P>for your third hard disk,
<P>mknod hdc b 22 0
<BR>...
<P>for your fourth hard disk,
<P>mknod hdd b 22 64
<P>OK, you don't need to make them all, just the ones needed.
<P>and then.
<P>after you partitioned your new disk, you just say: (for example)
<BR>mke2fs /dev/hdb5
<P>which is the first secondary partition resides in the fourth
<BR>primary partition.
<P>mkdir /dosfs
<BR>mkdir /Linuxfs
<P>mount -t vfat /dev/hda1 /dosfs
<BR>mount -t ext2 /dev/hdb5 /Linuxfs
<BR>cp -rp /dosfs/RedHadLinuxDistribution/* /Linuxfs
<P>After all you should be able to see the following things under
<BR>/Linuxfs by giving ls -l /Linuxfs command.
<P>21 -r--r--r-- 1 min wheel
19686 May 27 1997 COPYING
<BR> 3 -r--r--r-- 1 min
wheel 3020 Nov 10 14:25
README
<BR> 3 -r--r--r-- 1 min
wheel 2751 Sep 19
1997 RPM-PGP-KEY
<BR> 1 drwxr-xr-x 5 min
wheel 1024 Dec 5
13:12 RedHat
<BR> 12 drwxr-xr-x 2 min
wheel 12288 Dec 15 17:08 SRPMS
<BR> 1 drwxr-xr-x 5 min
wheel 1024 Dec 5
13:04 doc
<BR> 1 drwxr-xr-x 4 min
wheel 1024 Dec 5
13:03 dosutils
<BR> 1 drwxr-xr-x 2 min
wheel 1024 Dec 15 17:24
images
<BR> 1 drwxr-xr-x 4 min
wheel 1024 Dec 5
13:02 misc
<P>If you don't then chech your path.
<BR>Now you can,
<BR>umount /Linuxfs
<BR>umount /dosfs
<BR>And restart the installation and select from "hard disk", device of
/dev/hdb5
<BR>and directory of /.
<P>It will work.
<BR>
<P>min
<P>--
<BR>----
<BR>NT=No Thanks, WWW=World Wide Wait
<BR>Does PnP mean "Plug and Pray"?
<BR>
<BR>
</BODY>
</HTML>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -