LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: cnyifeng

没有光驱和软驱,现有RH的情况下,如何可以装上debian?

[复制链接]
 楼主| 发表于 2002-11-4 12:41:49 | 显示全部楼层

那又有什么用呢?

我要的是安装debian,而不是引导到他的内核中去,内核还不都是一样的,只有安装了其它的软件,debian才称其为debian。
   那么还有什么办法可以安装debian呢,而不仅仅是引导近她的内核呢?
   是不是要用root.bin呢,但是引导root.bin不行,有什么其他的办法吗?
发表于 2002-11-4 12:53:38 | 显示全部楼层

还有办法。你能从网络启动吗?

发表于 2002-11-4 12:54:56 | 显示全部楼层

呵呵,在这篇文章里面有关于从硬盘安装的介绍!

4.4 Preparing Files for Hard Disk Booting
The installer may be booted using boot files placed on an existing hard drive partition, either launched from another operating system or by invoking a boot loader directly from the BIOS.

A full, "pure network" installation can be achieved using this technique. This avoids all hassles of removable media, like finding and burning CD images or struggling with too numerous and unreliable floppy disks.

The installer cannot boot from files on an NTFS file system.


--------------------------------------------------------------------------------

4.4.1 Hard disk installer booting using LILO
This section explains how to add to or even replace an existing linux installation using LILO.

At boot time, LILO supports loading in memory not only the kernel, but also a disk image. This RAM disk can be used as the root file-system by the kernel. Choose the flavor in Choosing the Right Installation Set, Section 4.2.2 that best fits your taste, and you will be (almost) done.

Copy the following two or three files from the Debian archives in a convenient location on your hard drive, for instance in /boot/newinstall/.

linux.bin (kernel binary)
root.bin (root image)
drivers.tgz (optional kernel modules) and extract recursively everything now (easier than later).
Remember on which physical partition (e.g. /dev/hda4) are the .o drivers you just extracted from drivers.tgz.

You can also replace linux.bin and drivers.tgz by your custom kernel and the carefully chosen drivers that you will need for the installation, for instance a module for your exotic and unsupported network interface. Do not forget that your custom kernel must have (at least) the RAMDISK and initrd features built-in. See the very beginning of Replacing the Rescue Floppy Kernel, Section 10.3 for the list of the other mandatory built-in kernel features required to boot and launch the installer. Do not go on and do not read there the irrelevant floppy-related stuff after the list of features.

Finally, to configure LILO proceed to Booting from linux using LILO, Section 5.4.2.
发表于 2002-11-4 13:00:26 | 显示全部楼层

哦,我知道了。

从硬盘安装,应该这样修改lilo.conf:
(假定你把linux.bin和root.bin放在/boot/newinstall目录下面)

image=/boot/newinstall/linux.bin
label=newinstall
initrd=/boot/newinstall/root.bin

呵呵,我已经试验成功了!
 楼主| 发表于 2002-11-4 13:12:32 | 显示全部楼层

你的方法有点问题

你给的方法有问题,难道我为了装一个debian,还要再搞出一台服务器来引导我的机子?虽然我有条件去做,但这样就没有普遍性了,其他人不能根据我的安装经历来重做了。
    我还要试一试,看看有没有什么比较好的办法。
    不过刚才你给的地址还真得不错,我喜欢。收藏!!!!!
发表于 2002-11-4 14:06:10 | 显示全部楼层

好吧,那我就写一个完整的debian硬盘安装方案。

呵呵,保证让您满意就是了。

文章写作中……
发表于 2002-11-4 14:34:24 | 显示全部楼层

好!我写了一个教程!

一个非常简单的教程,但是已经经过我的试验哦。
呵呵。

http://www.linuxsir.cn/forum.php?mod=viewthread&tid=12099
 楼主| 发表于 2002-11-4 14:49:59 | 显示全部楼层

我也已经进去了

但是接下来还有一大堆的东东要弄,真是麻烦那!!!!!!
    首先要把网卡给驱动起来呀,接下来才可以慢慢的安装!!!
发表于 2002-11-4 14:55:37 | 显示全部楼层

别着急!

弄完了你就体会到debian的好了!

真的!我当初的感受和你差不多!
 楼主| 发表于 2002-11-4 15:23:56 | 显示全部楼层

静下心来才发现原来debian和FreeBSD的安装及其相似

要是想体验一下的话,可以试试FREEBSD,也是挺好玩的,不过我那时候使用光盘安装的,没有这么麻烦!!
   现在光驱软驱都没有,安装起来比上一次有难度了。
   怪就怪linux太稳定,自从4个月前装了机之后,就一直没有机会好好的再装一次?!!!哎~~~~~~~~~~~~~~~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表