![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-12 07:55 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Regarding the syntax issue of grub4dos-0.4.3 menu.lst |
| Printable Version 2,775 / 5 |
| Floor1 gxsanhen | Posted 2007-12-30 03:50 |
| 初级用户 Posts 29 Credits 68 | |
|
Since I started using GRLDR 0.95 in 2005, there has been no update until now. Now I've started researching GRUB again because I need to use large-capacity IMG files, so I've had many problems these days and have been struggling for a few days. Tonight I finally successfully solved this problem perfectly. Therefore, I would like to ask Master Budian!
If GRLDR is version 0.95, the following script can boot the standard IMG: title Run Ghost password --md5 $1$xpH$dgNZf0p5KCySzw.Aaz//d1 root (hd0,0) kernel (hd0,0)/boot/grub/memdisk.gz initrd (hd0,0)/boot/grub/boot.img But for non-standard format large-capacity IMG, the above script can't boot. The following script also doesn't work. Is it that GRLDR 0.95 doesn't support non-standard format IMG? title memdrive duplicated from floppy image file (hd0,0)/sbm.bin map --mem (hd0,0)/boot/grub/boot.img (fd0) map --hook chainloader (fd0)+1 rootnoverify (fd0) savedefault --wait=2 Continue, I can successfully run with GRLDR in grub4dos-0.4.3-2007-12-25, but I must use the above writing method script, that is title memdrive duplicated from floppy image file (hd0,0)/sbm.bin map --mem (hd0,0)/boot/grub/boot.img (fd0) map --hook chainloader (fd0)+1 rootnoverify (fd0) savedefault --wait=2 This can successfully run non-standard large-capacity IMG. But the following writing method, with GRLDR in grub4dos-0.4.3-2007-12-25, still can't boot large-capacity non-standard format IMG... title Run Ghost password --md5 $1$xpH$dgNZf0p5KCySzw.Aaz//d1 root (hd0,0) kernel (hd0,0)/boot/grub/memdisk.gz initrd (hd0,0)/boot/grub/boot.img Is it that the current GRLDR doesn't support the above script writing method to boot non-standard IMG or what's the reason? I have been used to the above writing method and didn't pay attention to the new version's writing method, so it has troubled me for three days, changed many IMG files, still no good. Until now I just noticed that the script writing method is different. But with the above writing method, the new version of GRLDR can successfully boot the standard IMG format file. If it doesn't support, why doesn't the GRUB instruction document explain it? Please instruct... |
|
| Floor2 gxsanhen | Posted 2007-12-30 04:10 |
| 初级用户 Posts 29 Credits 68 | |
|
Continue to test the results:
The following writing in GRLDR from grub4dos-0.4.3-2007-12-25 is successful: title Run Ghost password --md5 $1$xpH$dgNZf0p5KCySzw.Aaz//d1 root (hd0,0) kernel (hd0,0)/boot/grub/memdisk.gz c=240 h=2 s=36 floppy initrd (hd0,0)/boot/grub/boot.img But with GRLDR 0.95, the above writing still fails to load non-standard IMG. When searching the forum, I also noticed the issue of grammar, but I didn't pay attention to whether the version supports it, so I went through a lot of detours and wasted a lot of time. I hope Mr. Budian can take the time to write out the usage instructions in MENU.LST for us noobs to learn. |
|
| Floor3 429499381 | Posted 2008-01-05 05:38 |
| 中级用户 Posts 202 Credits 452 | |
|
It's a relatively advanced technique. At that time, someone should collect it and compile a CHN
|
|
| Floor4 lianjiang2004 | Posted 2008-01-05 07:26 |
| 金牌会员 Posts 1,884 Credits 3,946 | |
Originally posted by gxsanhen at 2007-12-30 04:10: The requirement you mentioned has already been addressed by the official. Hehe. It is recommended to check the official forum. http://grub4dos.sourceforge.net/wiki/index.php/Main_Page http://bbs.znpc.net/forumdisplay.php?fid=4 |
|
| Floor5 CCCLOVE | Posted 2008-01-05 19:50 |
| 新手上路 Posts 3 Credits 6 | |
| Floor6 429499381 | Posted 2008-01-14 11:54 |
| 中级用户 Posts 202 Credits 452 | |
|
The LZ has been talking about above and above, which makes me confused about which one is above. If you don't click, of course, you don't want to spend more time analyzing. What you wrote is basically okay, just use the latest grammar. If you have to use your previous writing, the non-standard IMG needs the CHS parameter (not sure).
title Run Ghost password --md5 $1$xpH$dgNZf0p5KCySzw.Aaz//d1 root (hd0,0) kernel (hd0,0)/boot/grub/memdisk.gz initrd (hd0,0)/boot/grub/boot.img Your way of writing "title Run Ghost" may have problems in the new version! I remember there was a post that wrote about removing root (hd0,0) |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |