Jump to content

alive64

Üye
  • Posts

    55
  • Joined

  • Last visited

Everything posted by alive64

  1. Device naming is different between GRUB2 and GRUB4DOS. In GRUB2, Partitions are numbered from 1 instead of 0 while drives are still numbered from 0, and prefixed with partition-table type.
  2. command = "g4d_cmd=\"find --set-root /fm.loop;/NTBOOT NT6=" .. g4d_file .. "\";" ..  => command = "g4d_cmd=\"find --set-root /NTBOOT;/NTBOOT NT6=" .. g4d_file .. "\";" ..  It seems that grub4dos can't find /NTBOOT. in grub4dos commandline, plz type 'ls /' & 'find --set-root /NTBOOT'
  3. you mean 'NTBOOT' method always fails to grub4dos error? maybe you modified something in grubfm.iso so grub4dos couldn't find the wim file or NTBOOT files -- BOOTMGR/NTLDR only supports (hdx,y) if device_type == "1" then if grub.file_exist ("/NTBOOT.MOD/NTBOOT.NT6") then -- NTBOOT NT6 WIM icon = "nt6" tog4dpath (file, device, device_type) command = "g4d_cmd=\"find --set-root /fm.loop;/NTBOOT NT6=" .. g4d_file .. "\";" .. "linux $prefix/grub.exe --config-file=$g4d_cmd; " name = grub.gettext("Boot NT6.x WIM (NTBOOT)") grub.add_icon_menu (icon, command, name) end you should adjust the path of /NTBOOT and make sure it can load /NTBOOT.MOD/NTBOOT.MOD & /NTBOOT/NTBOOT.NT6 correctly.
  4. title = "(hd0,msdos2)" command = "export path=(hd0,msdos2); lua $prefix/main.lua" grub.add_icon_menu ("hdd", command, title)
×
×
  • Create New...