无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 4847|回复: 8

实在没法了,GRUB4DOS做引导。虚拟机能启动,刻录不能启动。。。。。。

[复制链接]
发表于 2010-10-23 18:04:18 | 显示全部楼层 |阅读模式
上次是这样,没有办法用了EASYBOOT,这次又是这样。。。。。。。。。

大大们帮忙一下啊!

我做了一张光盘,下了2010-08-12的GRUB4DOS,用chinese文件夹里边的那个grldr,虚拟机做好了,能启动,一切都正常了,光盘看起来好了,但是刻录的时候好后,真机不能启动,难道必需用EASYBOOT引导GRUB4DOS,但是我看到很多盘又是用他引导的啊,怎么回事!?

我用的命令是:

cmd /c oscdimg.exe -b".\ISO\grldr"  -h -n  -o -x  -m -yo".\temp.txt" -l"精品软件合盘"  ".\ISO"  -t10/23/2010,18:57:00 ".\BOOT.iso"


temp.txt里边的内容:

grldr
menu.lst
boot\bcd
boot\boot.sdi
boot\bootfix.bin
boot\bootsect.exe
boot\etfsboot.com
boot\memtest.exe
boot\zh-cn\bootsect.exe.mui
boot\fonts\chs_boot.ttf
boot\fonts\cht_boot.ttf
boot\fonts\jpn_boot.ttf
boot\fonts\kor_boot.ttf
boot\fonts\wgl4_boot.ttf
sources\boot.wim
bootmgr
\I386\SETUPLDR.BIN
\BOOT\03PE.BIN
\BOOT\NTDETECT.COM
\WXPE\NTDETECT.COM
\WXPE\SETUPLDR.BIN
\WXPE\LKLDR.BIN
为什么不能启动,请帮忙给新手说一下!
 楼主| 发表于 2010-10-23 18:12:26 | 显示全部楼层
还发现了一个问题。
用9月份以后的引导SRS_F6后,menu.lst设置的那个背景也会显示为SRS_F6背景,但是会发虚,以前的版本不正常,。

并且用chinese文件夹里边的grldr的话,configfiles /SRS_F6/SRS_F6.LST,虚拟机会出现堆溢出(好像是),虚拟机 上边说如果真机会出现CPU重置。用另外一个,也就是没有汉化的却是正常的,只好用chainloader /SRS_F6/grldr(把SRS_F6.LST内置到了非汉化里边)。但现在还是不能引导光盘。被这个引导搞死了。

[ 本帖最后由 gogo11 于 2010-10-23 18:15 编辑 ]
回复

使用道具 举报

发表于 2010-10-23 21:57:13 | 显示全部楼层
启动的成功率是最要紧的。

建议你用 readme_grub4dos.txt 中提到的方法:

mkdir iso_root
copy grldr iso_root
mkisofs -R -b grldr -no-emul-boot -boot-load-size 4 -o grldr.iso iso_root

也就是说,主要靠 mkisofs 这个软件来保证制作的 ISO 的引导成功率。以上的 mkisofs 中的参数都是必须的,但你可以添加其它参数。你也可以在 google 中同时搜 mkisofs 和 grldr 这两个关键字,看看别人更好的命令行参数是什么。
回复

使用道具 举报

发表于 2010-10-23 22:35:50 | 显示全部楼层
回复

使用道具 举报

 楼主| 发表于 2010-10-24 10:03:21 | 显示全部楼层
谢谢pseudo ,我试试看~~~~~~·
回复

使用道具 举报

 楼主| 发表于 2010-10-24 10:13:05 | 显示全部楼层
谢谢不点,原来是要用mkisofs的,我上次也是用oscdimg.exe,最后没有办法用easyboot做了个和GRUB4DOS互相引导的菜单。
回复

使用道具 举报

 楼主| 发表于 2010-10-24 10:15:53 | 显示全部楼层
一直把他mkisofs当成linux自带的命令了,就没有想到过在windows下用~~

linux虽然学过,但很差劲~~
回复

使用道具 举报

 楼主| 发表于 2010-10-24 12:24:53 | 显示全部楼层
参数太多了,我想寻找把启动文件尽量往前靠,以解决类似与超过3.7gPE不能启动的问题。我英文不好啊!

把help贴上,请高手帮忙查找一下:

Usage: mkisofs [options] file...
Options:
  -nobak                      Do not include backup files
  -no-bak                     Do not include backup files
  -abstract FILE              Set Abstract filename
  -A ID, -appid ID            Set Application ID
  -biblio FILE                Set Bibliographic filename
  -cache-inodes               Cache inodes (needed to detect hard links)
  -no-cache-inodes            Do not cache inodes (if filesystem has no unique unides)
  -check-oldnames             Check all imported ISO9660 names from old session
  -check-session FILE         Check all ISO9660 names from previous session
  -copyright FILE             Set Copyright filename
  -debug                      Set debug flag
  -b FILE, -eltorito-boot FILE
                              Set El Torito boot image name
  -eltorito-alt-boot          Start specifying alternative El Torito boot parameters
  -B FILES, -sparc-boot FILES Set sparc boot image names
  -G FILE, -generic-boot FILE Set generic boot image name
  -sparc-label label text     Set sparc boot disk label
  -c FILE, -eltorito-catalog FILE
                              Set El Torito boot catalog name
  -C PARAMS, -cdrecord-params PARAMS
                              Magic paramters from cdrecord
  -d, -omit-period            Omit trailing periods from filenames (violates ISO9660)
  -dir-mode mode              Make the mode of all directories this mode.
  -D, -disable-deep-relocation
                              Disable deep directory relocation (violates ISO9660)
  -file-mode mode             Make the mode of all plain files this mode.
  -f, -follow-links           Follow symbolic links
  -gid gid                    Make the group owner of all files this gid.
  -graft-points               Allow to use graft points for filenames
  -help                       Print option help
  -hide GLOBFILE              Hide ISO9660/RR file
  -hide-list FILE             File with list of ISO9660/RR files to hide
  -hidden GLOBFILE            Set hidden attribute on ISO9660 file
  -hidden-list FILE           File with list of ISO9660 files with hidden attribute
  -hide-joliet GLOBFILE       Hide Joliet file
  -hide-joliet-list FILE      File with list of Joliet files to hide
  -hide-joliet-trans-tbl      Hide TRANS.TBL from Joliet tree
  -hide-rr-moved              Rename RR_MOVED to .rr_moved in Rock Ridge tree
  -gui                        Switch behaviour for GUI
  -i ADD_FILES                No longer supported
  -input-charset CHARSET      Local input charset for file name conversion
  -output-charset CHARSET     Output charset for file name conversion
  -iso-level LEVEL            Set ISO9660 conformance level (1..3)
  -J, -joliet                 Generate Joliet directory information
  -joliet-long                Allow Joliet file names to be 103 Unicode characters
  -jcharset CHARSET           Local charset for Joliet directory information
  -l, -full-iso9660-filenames Allow full 31 character filenames for ISO9660 names
  -max-iso9660-filenames      Allow 37 character filenames for ISO9660 names (violates ISO9660)
  -L, -allow-leading-dots     Allow ISO9660 filenames to start with '.' (violates ISO9660)
  -log-file LOG_FILE          Re-direct messages to LOG_FILE
  -m GLOBFILE, -exclude GLOBFILE
                              Exclude file name
  -exclude-list FILE          File with list of file names to exclude
  -pad                        Pad outout to a multiple of 32k (default)
  -no-pad                     Do not pad output to a multiple of 32k
  -M FILE, -prev-session FILE Set path to previous session to merge
  -N, -omit-version-number    Omit version number from ISO9660 filename (violates ISO9660)
  -new-dir-mode mode          Mode used when creating new directories.
  -force-rr                   Inhibit automatic Rock Ridge detection for previous session
  -no-rr                      Inhibit reading of Rock Ridge attributes from previous session
  -no-split-symlink-components
                              Inhibit splitting symlink components
  -no-split-symlink-fields    Inhibit splitting symlink fields
  -o FILE, -output FILE       Set output file name
  -O, -optimize               Optimize for iso space(md5 technology)
  -path-list FILE             File with list of pathnames to process
  -p PREP, -preparer PREP     Set Volume preparer
  -print-size                 Print estimated filesystem size and exit
  -P PUB, -publisher PUB      Set Volume publisher
  -quiet                      Run quietly
  -r, -rational-rock          Generate rationalized Rock Ridge directory information
  -R, -rock                   Generate Rock Ridge directory information
  -sort FILE                  Sort file content locations according to rules in FILE
  -split-output               Split output into files of approx. 1GB size
  -sysid ID                   Set System ID
  -T, -translation-table      Generate translation tables for systems that don't understand long filenames
  -table-name TABLE_NAME      Translation table file name
  -ucs-level LEVEL            Set Joliet UCS level (1..3)
  -udf                        Generate UDF file system
  -dvd-video                  Generate DVD-Video compliant UDF file system
  -uid uid                    Make the owner of all files this uid.
  -U, -untranslated-filenames Allow Untranslated filenames (for HPUX & AIX - violates ISO9660). Forces -l, -d, -L, -N, -relaxed-filenames, -allow-lowercase, -allow-multidot
  -relaxed-filenames          Allow 7 bit ASCII except lower case characters (violates ISO9660)
  -gbk4dos-filenames          Allow 8 bit ASCII GBK standard code characters (violates ISO9660)
  -gbk4win-filenames          Allow 8 bit ASCII GBK standard code characters (violates ISO9660)
  -no-iso-translate           Do not translate illegal ISO characters '~', '-' and '#' (violates ISO9660)
  -allow-lowercase            Allow lower case characters in addition to the current character set (violates ISO9660)
  -allow-multidot             Allow more than one dot in filenames (e.g. .tar.gz) (violates ISO9660)
  -use-fileversion LEVEL      Use file version # from filesystem
  -v, -verbose                Verbose
  -version                    Print the current version
  -V ID, -volid ID            Set Volume ID
  -volset ID                  Set Volume set ID
  -volset-size #              Set Volume set size
  -volset-seqno #             Set Volume set sequence number
  -x FILE, -old-exclude FILE  Exclude file name(depreciated)
  -hard-disk-boot             Boot image is a hard disk image
  -no-emul-boot               Boot image is 'no emulation' image
  -no-boot                    Boot image is not bootable
  -boot-load-seg #            Set load segment for boot image
  -boot-load-size #           Set numbers of load sectors
  -boot-info-table            Patch boot image with info table
  -z, -transparent-compression
                              Enable transparent compression of files
  -hfs-type TYPE              Set HFS default TYPE
  -hfs-creator CREATOR        Set HFS default CREATOR
  -g, -apple                  Add Apple ISO9660 extensions
  -h, -hfs                    Create ISO9660/HFS hybrid
  -H MAPPING_FILE, -map MAPPING_FILE
                              Map file extensions to HFS TYPE/CREATOR
  -magic FILE                 Magic file for HFS TYPE/CREATOR
  -probe                      Probe all files for Apple/Unix file types
  -mac-name                   Use Macintosh name for ISO9660/Joliet/RockRidge file name
  -no-mac-files               Do not look for Unix/Mac files (depreciated)
  -boot-hfs-file FILE         Set HFS boot image name
  -part                       Generate HFS partition table
  -cluster-size SIZE          Cluster size for PC Exchange Macintosh files
  -auto FILE                  Set HFS AutoStart file name
  -no-desktop                 Do not create the HFS (empty) Desktop files
  -hide-hfs GLOBFILE          Hide HFS file
  -hide-hfs-list FILE         List of HFS files to hide
  -hfs-volid HFS_VOLID        Volume name for the HFS partition
  -icon-position              Keep HFS icon position
  -root-info FILE             finderinfo for root folder
  -input-hfs-charset CHARSET  Local input charset for HFS file name conversion
  -output-hfs-charset CHARSET Output charset for HFS file name conversion
  -hfs-unlock                 Leave HFS Volume unlocked
  -hfs-bless FOLDER_NAME      Name of Folder to be blessed
  -hfs-parms PARAMETERS       Comma separated list of HFS parameters
  -prep-boot FILE             PReP boot image file -- up to 4 are allowed
  --cap                       Look for AUFS CAP Macintosh files
  --netatalk                  Look for NETATALK Macintosh files
  --double                    Look for AppleDouble Macintosh files
  --ethershare                Look for Helios EtherShare Macintosh files
  --exchange                  Look for PC Exchange Macintosh files
  --sgi                       Look for SGI Macintosh files
  --macbin                    Look for MacBinary Macintosh files
  --single                    Look for AppleSingle Macintosh files
  --ushare                    Look for IPT UShare Macintosh files
  --xinet                     Look for XINET Macintosh files
  --dave                      Look for DAVE Macintosh files
  --sfm                       Look for SFM Macintosh files
  --osx-double                Look for MacOS X AppleDouble Macintosh files
  --osx-hfs                   Look for MacOS X HFS Macintosh files

[ 本帖最后由 gogo11 于 2010-10-24 12:27 编辑 ]
回复

使用道具 举报

发表于 2010-10-24 14:21:54 | 显示全部楼层
一个好的 ISO 制作工具,应该把启动扇区自动安排在靠近开头的位置,保证 BIOS 能够顺利访问到。做不到这一点的,都属于有问题的 ISO 制作工具。

虽然我不能确定 mkisofs 是否能够做到这一点,但我相信它做到了,否则它的启动成功率是很难保障的。

以上是指直接被 BIOS 加载的引导扇区文件。当引导扇区文件被加载之后,往往一个引导软件还需要寻找其他的配置文件,在 grub4dos 的情形,就是 menu.lst。更进一步,在 menu.lst 中,往往还需要启动别的系统,例如,需要某个 floppy.img 或者某个 setupldr.bin 之类的。这些文件也需要安排在靠近开头。

在你列出的参数中,我感觉下面这个可能有用:

-sort FILE                  Sort file content locations according to rules in FILE

抱歉,我没有经验,因为我几乎从来不制作 ISO【我制作的 ISO 都是测试用的,目的是检验 ISO 的启动成功率的】。

至于说具体应该怎么做,你可以继续在 google 中搜。
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-3-30 00:01

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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