荔园在线

荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀

[回到开始] [上一篇][下一篇]


发信人: cycker (重新开始), 信区: Linux
标  题: [转贴]从硬盘ISO光盘镜像文件安装Debian(Woody)
发信站: 荔园晨风BBS站 (Thu Dec 12 13:49:23 2002), 转信

张贴者: heligb (addict)
张贴日期 08/21/02 15:16



因为家里没有宽带,用modem上网,只好从朋友那里copy了woody的7个ISO文件,在
自己的摸索下找到了从硬盘ISO光盘镜像文件安装Debian的方法(仅凭记忆,可能
稍有出入):

1:从第一个光盘ISO文件中解出/dists/woody/main/disks-i386/current目录(
current可能是一串数字)到一个目录里,例如disk。
2:软盘启动dos,找到disk目录中的install.bat运行,开始安装。
3:安装过程中要注意的是内核驱动的安装,要选择安装你需要的网卡声卡驱动,
要支持的文件系统等。会编译内核的话,也可以跳过,以后自己编译内核。
4:在安装基本系统时,按Alt+F2切换到另一个终端。执行:
mount -o loop /the/path/to/your/iso-file /cdrom
按Alt+F1切换回来,选择mounted filesystem,再选择/cdrom,此时安装程序问你
是你指明一个包含有基本系统安装文件的目录,还是自动搜索列表。两者都行,初
学者最好选后一种。以后步骤与其他种类的发布版类似。按照提示一步步做下去。
完了重启动,再安装其他软件包。
5:重启动后,在安装软件包时deb包的源选择使用apt的source.list方式。编辑
source.list文件不要用手动方式(老手除外)。使用以下方式:
按Alt+F2切换到另一个终端。执行:
mount -o loop /the/path/to/your/iso-file /cdrom
apt-cdrom -m -d /cdrom add
这样apt-cdrom会自动在source.list中添加内容。
6:选择tasksel安装你需要类型的包,如还要安装其他包可以使用dselect(最好
弄懂使用方法后再用),deb包的源选择还是使用apt的source.list方式。
source.list文件的处理同上。
7:以后步骤与其他种类的发布版类似。按照提示一步步做下去。
8:以后需要添加软件包,可以找到软件包在哪一个ISO光盘镜像中,使用相同的方
式处理source.list文件,用apt-get insatll 命令安装。

9:下面是apt-howto的关于cdrom源的段:

 Adding a CD-ROM to the sources.list file
If you'd rather use your CD-ROM for installing packages or updating your
 system automatically with APT, you can put it in your sources.list.
To do so, you can use the apt-cdrom program like this:

     apt-cdrom add

with the Debian CD-ROM in the drive. It will mount the CD-ROM, and if
it's a valid Debian CD it will look for package information on the disk.
 If your CD-ROM configuration is a little unusual, you can also use
the following options:

     -h           - program help
     -d directory - CD-ROM mount point
     -r           - Rename a recognized CD-ROM
     -m           - No mounting
     -f           - Fast mode, don't check package files
     -a           - Thorough scan mode

For example:

     apt-cdrom -d /home/kov/mycdrom add

You can also identify a CD-ROM, without adding it to your list:

     apt-cdrom ident

Note that this program only works if your CD-ROM is properly
configured in your system's /etc/fstab.



--
真的猛士,敢于直面无聊的日子.

※ 修改:·cycker 於 Dec 13 21:33:09 修改本文·[FROM: 192.168.36.220]
※ 来源:·荔园晨风BBS站 bbs.szu.edu.cn·[FROM: 192.168.36.24]


[回到开始] [上一篇][下一篇]

荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店