+ -
当前位置:首页 → 问答吧 → 寻,最方便的安装debian?

寻,最方便的安装debian?

时间:2003-09-03

来源:互联网

当然最方便的当然是网络安装了。
这点兄弟们应认同吧。那我还说寻做什么呢。兄弟们想一想,网络安装前,我们不是要下载一些文件吗?如
----------------------
文件系统文件;
驱动文件;
二张安装磁盘;
---------------------
是这四个文件吧。如果我们把这四个文件都做在一张光盘中不是很好吗。还有这样安装完后,可能是lilo 引导,其实这也没有什么,不过我还是喜欢gurb 引导的。可能是有图片吧。
所以我还希望debian能像red hat8 一样,可以直接在安装的时候装上gurb 。这样就完美了。
就算是一个新的硬盘,我们也可以很简单的装上debian了。当然看不了图。因为,这是网络安装。不过也是最快的,最新的,安装方法了吧。所以请兄弟们想想怎么样能做出一张这样的光盘。

作者: wide288   发布时间: 2003-09-03

没有什么办法吗?
看来只有先做张盘,以后在想办法把软盘变为光盘引导。真不好找。

作者: wide288   发布时间: 2003-09-05

debian的网站上有网络安装的光盘镜像文件下载。

作者: ziyouwa   发布时间: 2003-09-05

netinst
我告诉你吧,到debian官方网站找链接下载bootfs2.4.iso,mount上来,
find .查看光盘里都有哪些文件,替换掉主要的的几个文件,重做iso就可以了。
我正也要做呢。

作者: percy   发布时间: 2003-09-05

做完之后把下载文件的网址发上来吧。我也好学习学习。这样以后装debian 比装98都方便了。

作者: wide288   发布时间: 2003-09-05

如果你的各台电脑配置差不多的话,我告诉你最简单的安装debian的方法是:

认认真真安装一台电脑的debian

把所有的从/目录开始的内容做一个bak

然后在新的电脑上用软盘或则光盘启动安装过程
alt+f2打开新的console
挂载你的盘
开始疯狂的cp

作者: atfa   发布时间: 2003-09-06

这时做bootfs2.4.iso的脚本!

#!/bin/sh

# usage (local mode): mini-iso.sh <flavour>
# usage (fetch mode): mini-iso.sh <flavour> <FTP mirror> [yes|no]

# Goal: get boot floppies from the nearest FTP mirror, prepare them for the CD
# and create a netinst iso
# If an FTP mirrir is specified, the boot-floppy images will be downloaded from
# it first. FTP mirror string has the normal format, like
# http://ftp.at.debian.org/debian

# "yes" forces download of basedebs.tar. If omited, script will look for
# ./basedebs.tar and use it, if available. "no" tell not to use basedebs.tar.
#
# Requirements: wget, mkisofs, CD-RW recorder

flavour=$1
suite=woody
arch=i386
wget="wget --non-verbose"

if [ "$flavour" == "vanilla" ] ; then
flavour=""
fi

test -f common.sh && . ./common.sh

tmpdir=${tmpdir:-$HOME/.tmp}

mkdir -p $tmpdir 2>/dev/null || true

if [ "$2" ] ; then
path=$2/dists/$suite/main/disks-$arch/current
if [ -e resc2880${flavour}.bin ] ; then
echo resc2880${flavour}.bin found, not downloading.
else
echo Downloading the boot image...
$wget -O resc2880${flavour}.bin $path/images-2.88/$flavour/rescue.bin
fi
if [ -e drivers${flavour}.tgz ] ; then
echo drivers${flavour}.tgz found, not downloading.
else
$wget -O drivers${flavour}.tgz $path/$flavour/drivers.tgz
fi
if [ -e xlp.tgz ] ; then
echo xlp.tgz found, not downloading.
else
echo "Downloading language pack..."
$wget $path/xlp.tgz
fi
if [ "$3" = "yes" -a ! -e basedebs.tar ] ; then
$wget $path/../base-images-current/basedebs.tar || rm basedebs.tar
fi
fi

# Base check

if test -e resc2880${flavour}.bin -a -e drivers${flavour}.tgz -a -e xlp.tgz ; then
true
else
echo Required files missing, aborting!
cat $0 | head -n 15 | tail -n 13
exit 1
fi

# CD mastering

CD=${tmpdir}/minicd-$$

BF=${CD}/dists/${suite}/main/disks-${arch}/current

mkdir -p ${CD}/boot
mkdir -p ${BF}/${flavour}
mkdir -p ${BF}/images-1.44/${flavour}

cp resc2880${flavour}.bin ${CD}/boot/rescue.bin
cp drivers${flavour}.tgz ${BF}/${flavour}/drivers.tgz

mkdir -p ${CD}/.disk
touch ${CD}/.disk/kernel_installable
touch ${CD}/.disk/info

if [ -e basedebs.tar -a "$3" != "no" ] ; then
echo Found basedebs.tar, installing it...
cp basedebs.tar $CD
touch ${CD}/.disk/base_installable
fi

if [ "x${flavour}" != "x" ]; then
ln -s ../../../../../../../boot/rescue.bin ${BF}/images-1.44/${flavour}/rescue.bin
else
ln -s ../../../../../../boot/rescue.bin ${BF}/images-1.44/rescue.bin
fi

touch ${CD}/dists/${suite}/Release

if [ -f xlp.tgz ]; then
mkdir -p ${CD}/.xlp
gzip -dc xlp.tgz | ( cd ${CD}/.xlp; tar xf - )
fi

( cd ${CD}; mkisofs -r -b boot/rescue.bin -o ${CD}.iso . )

mv ${CD}.iso boot${flavour}.iso
rm -rf ${CD}

作者: percy   发布时间: 2003-09-06

哦,都是不错的方法,

作者: wide288   发布时间: 2003-09-06

晚上来percy大侠提供的这个脚本

作者: atfa   发布时间: 2003-09-06