找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 2882|回复: 2

大侠:关于vmlinuz

[复制链接]
发表于 2006-12-21 12:50:19 | 显示全部楼层 |阅读模式
我下了KV2007,想在GRUB下用vmlinuz和initrd.gz来加载KV2007.ISO来DOS下杀毒.
我从映像中提取了vmlinuz和initrd.gz及KV2007.ISO三个文件放在C盘根目录下,在MENU.LST下编辑如下:
title KV2007
root (hd0,0)
kernel /vmlinuz   
initrd /initrd.gz
boot

启动后找不到光盘,
不知要怎么指定KV2007。ISO的映像?

小弟菜鸟,这样表达不知各位大侠知否我的意思.

[ 本帖最后由 go2 于 2006-12-21 12:52 PM 编辑 ]
发表于 2006-12-21 13:18:25 | 显示全部楼层
启动ISO?

好像比较困难啊


看这个很像LINUX的启动方式

LINUX通过GRUB启动的时候需要在kernel /vmlinuz   这行后面加一些参数


光盘里是否有 .cfg这类文件? linux一般在BOOT这个文件夹里能找到
打开看看需要加哪些参数, 是否可以通过硬盘启动起来.
回复

使用道具 举报

 楼主| 发表于 2006-12-21 16:51:09 | 显示全部楼层
楼上的大侠请看,以下是光盘根目录下的ISOLINUX.CFG的内容:
display boot/splash.cfg
default slax
prompt 1
timeout 40
F1 boot/splash.txt
F2 boot/splash.cfg

label slax
kernel boot/vmlinuz
append vga=769 max_loop=255 initrd=boot/initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw  autoexec=xconf;startx

label linux
kernel boot/vmlinuz
append vga=769 max_loop=255 initrd=boot/initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw

label memtest
kernel boot/memtest



以下是boot目录下的SPLASH.CFG的内容:
boot/splash.lss
0f

Welcome to use Jiangmin. Hit Enter to continue booting...


以下是boot目录下SPLASH.TXT的内容:
 0f+-----------------------------------------------------------------------------+
| You can affect the system by passing some special parameters to the Linux   |
| kernel. Type "slax" followed by one or more parameters as shown below, or   |
| just hit Enter to skip this prompt and to continue booting. Read the file   |
| "cheatcodes.txt" on the CD for much more boot options available for SLAX.   |
|                                                                             |
| slax nohotplug ........ to disable HW detection (+try nopcmcia noagp nodma) |
| slax passwd=ask ....... to ask for new root's password before starting slax |
| slax copy2ram ......... to copy all CDdata to RAM (needs 320MB RAM to work) |
| slax webconfig=ask..... to restore your configuration from SLAX website     |
| slax load=modules ..... to load optional modules, eg: load=wine,lang_cs,xfc |
| slax autoexec=cmd ..... to autostart command "cmd", skip slax login prompt  |
| slax nosound .......... mute sound instead of raising volume to 77%         |
| slax nohd ............. don't mount harddisks even in read-only mode        |
| slax nocd ............. don't mount any cdrom, look for SLAX data on disk   |
| memtest ............... to test RAM with memtest (instead of starting SLAX) |
|                                                                             |
| Examples:                                                                   |
| boot: slax copy2ram autoexec=startx ... copy CD to RAM and start X   +------|
| boot: slax load=wine,xmms ... to load modules wine.img and xmms.img  | SLAX |
+-----------------------------------------------------------------------------+
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1|闽公网安备35020302032614号 )

GMT+8, 2026-4-11 08:03

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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