grub icon indicating copy to clipboard operation
grub copied to clipboard

Suggestions for i386-PC mode

Open rdragonz opened this issue 4 years ago • 10 comments

I believe that porting all commands from the EFI mode to the i386-PC mode. This would allow all computers to use all the features available in this port.

rdragonz avatar Dec 30 '19 09:12 rdragonz

"all commands"? that's impossible.

a1ive avatar Dec 30 '19 10:12 a1ive

All commands that are not UEFI specific, sorry I made a mistake in the original post.

rdragonz avatar Dec 30 '19 10:12 rdragonz

Could you please list these commands?

a1ive avatar Dec 30 '19 10:12 a1ive

Specifically map and wimboot, these commands are the best features of this port.

rdragonz avatar Dec 31 '19 02:12 rdragonz

I could port 'wimboot' to i386-pc. However we can't port 'map' to i386-pc. Instead, we need to completely rewrite this module, but I'm not good at assembly.

a1ive avatar Dec 31 '19 04:12 a1ive

wimboot would be a good addition, considering there is already a BIOS version of it, but it has nowhere near the ease of use as the version in this fork of grub2. Regarding map, there is already a version of the map command in grub4dos. (See https://sourceforge.net/projects/grub4dos/files/GRUB4DOS/)

rdragonz avatar Jan 01 '20 06:01 rdragonz

Regarding map, there is already a version of the map command in grub4dos.

I'm not good at assembly languages (BIOS int13h call).

a1ive avatar Jan 01 '20 08:01 a1ive

Doesn't loop work OK instead of map for most ISOs? I thought grub2 already had wimboot for i386 in your version as well as UEFI?

steve6375 avatar Jan 04 '20 10:01 steve6375

Loop does not work for raw isos such as FreeDOS, and no this build does not have wimboot in i386 mode currently

rdragonz avatar Jan 04 '20 15:01 rdragonz

I don't understand? grubfm has wimboot support and I thought it was also in a1ive's grub2? See /boot/grub/open.lua image Also distro/windows.sh image

Does it matter that it is not built-in to the grub2 kernel?

Most people either use memdisk for DOS payloads, or call grub.exe (grub4dos executable). Can you give a specific example of a DOS ISO that works in grub4dos but does not work in grub2?

steve6375 avatar Jan 05 '20 11:01 steve6375