chenall / grub4dos

外部命令和工具源码:https://github.com/chenall/grubutils 下载:
http://grub4dos.chenall.net
GNU General Public License v2.0
647 stars 136 forks source link

grldr 20230922 & 20231014: can not 'root (cd)' anymore after booting from iso #431

Closed deomsh closed 9 months ago

deomsh commented 10 months ago

Problem with newest grldr versions 20230922 & 20231014: can not 'root (cd)' anymore after booting from iso (El Torito boot). Up to version 20230610 NO problems (tested grldr versions without the problem: 20220915, 20221026, 20221128, 20222122, 20230306, 20230329, 20230610).

If I change the root after booting an iso with grldr, I can't use 'root (cd)', ALWAYS Error 23. Only 'root (0xE0)' is working (if 0xE0 is the drive number). Afterwards '%@root%' is still '(cd)'.

Same problem in Limbo x86 (QEMU-based).

See the print-screens:

VBox After booting from iso grub4dos 20231014, problem with root (cd), NOT with root (0xE0) with colored marks VBox After booting from iso grub4dos 20230922, problem with root (cd), NOT with root (0xE0) with colored marks VBox After booting from iso with grub4dos version 20230610, NO problem with root (cd), or drvnum (0xE0) with colored marks

BTW: no problems with grub4efi (only using '(cd0)' instead of '(cd)' and other drive number):

VBox After booting from iso with grub4efi 20231016, NO problem with root (cd0), or drvnum (0xA0) with colored marks

yaya2007 commented 10 months ago

这个问题已经解决。

deomsh commented 10 months ago

Thanks, I hope there is a new release soon

yaya2007 commented 10 months ago

The 2023-11-27 version has been corrected.

deomsh commented 10 months ago

I understand. But a new grub4dos release would be nice. For now there are NO grub4dos releases after 2021, only grub4efi....

deomsh commented 9 months ago

Thanks to post #433 I found the download for Grub4dos 2023-11-27.

I tested for %@root% after booting to CD. Device (cd) is gone, now always (0xe0). In scripts device=%~d1 etcetera included. So thanks a lot!

Side-note: grub4dos 2023 versions seems to need more memory. In Virtual Box 7 I needed at least 131MB, otherwise grub4dos scripts gave ERROR 13, grubutil 'fat' needed at least 259MB (below ERROR 13 too). With memory below 131MB the message 'A20 debug: C806 done! ...' was long visible, while starting grub4dos.