LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 778|回复: 6

如何通过loadlin在dos中引导linux

[复制链接]
发表于 2004-6-18 10:44:06 | 显示全部楼层 |阅读模式
c:\loadlin vmlinuz root=/dev/hda4

loadlin v1.6 (c) 1994...2002 hans lermen <lermen@fgan.de>

cpu is in v86-mode (may be windows,emm386,qemm,386max....)
you need pure 386/486 real mode or a vcpi server to boot linux
but never under windows-3.1 or windows'95
(however,real dos-mode of windows95 can have ems driver with vcpi)
if loading via vcpi you also must have:
  1.an interceptable setup-code(see manual.txt)
  2.identical physical-to-virtual mapping for the first 640kbytes

your current dos/cpu configuration is:
  load buffer size:0*00000000      ,setup buffer size:0*3e00
  total memory:    0*00100000
  cpu is in v86 mode
  setup intercept:no
  statz:cpu_v86,but no vcpi available (check aborted)
  input params (size 0*0016):
    vmlinuz root=/dev/hda4
  loadlin started from dos-prompt
warning:not enough free memory (load buffer size)

请问是什么原因?应该怎样解决?谢谢!
发表于 2004-6-18 10:53:56 | 显示全部楼层
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=71740


如果是硬盘安装fedora 1或者 2,在dos下安装的,应该参考一下这个。是少参数。
 楼主| 发表于 2004-6-18 11:21:43 | 显示全部楼层
将Linux安装光盘中的 dosutils 中的 loadlin.exe 与 vmlinuz 拷贝到一个FAT32 分区中,然后启动到DOS,转到该分区,执行 loadlin vmlinuz root=/dev/hda(x) (x) 指的是Linux安装的Root分区,这样就能进入 Linux(magic 或 Redhat)了

我是想用DOS进入linux。
发表于 2004-6-18 13:30:44 | 显示全部楼层
c:\loadlin vmlinuz root=/dev/hda4   ramdisk_size=32000

这样呢?
 楼主| 发表于 2004-6-18 15:37:12 | 显示全部楼层
谢谢管理员的回复,但还是不行。

cpu is in v86-mode (may be windows,emm386,qemm,386max....)
you need pure 386/486 real mode or a vcpi server to boot linux
but never under windows-3.1 or windows'95
(however,real dos-mode of windows95 can have ems driver with vcpi)
if loading via vcpi you also must have:
1.an interceptable setup-code(see manual.txt)
2.identical physical-to-virtual mapping for the first 640kbytes

我想应该是设置或配置的问题吧?
发表于 2004-6-18 16:24:22 | 显示全部楼层
DOS实模式,原谅我我也不知道什么叫实模式。
你可以通过win98启动盘,或者一个叫vfloppy的虚拟DOS环境来加载DOS环境然后来运行

而不能通过win系统下的command窗口来运行
发表于 2004-6-18 17:35:37 | 显示全部楼层
必须得是纯净的dos内存环境,去掉config.sys和autoexec.bat,只用640K的基本内存,不能加载himem.sys和ems.sys。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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