Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Suggestions for i386-PC mode #22

Open
rdragonz opened this issue Dec 30, 2019 · 10 comments
Open

Suggestions for i386-PC mode #22

rdragonz opened this issue Dec 30, 2019 · 10 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@rdragonz
Copy link

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.

@a1ive
Copy link
Owner

a1ive commented Dec 30, 2019

"all commands"?
that's impossible.

@rdragonz
Copy link
Author

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

@a1ive
Copy link
Owner

a1ive commented Dec 30, 2019

Could you please list these commands?

@rdragonz
Copy link
Author

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

@a1ive
Copy link
Owner

a1ive commented Dec 31, 2019

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.

@rdragonz
Copy link
Author

rdragonz commented Jan 1, 2020

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/)

@a1ive
Copy link
Owner

a1ive commented Jan 1, 2020

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

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

@a1ive a1ive added enhancement New feature or request help wanted Extra attention is needed labels Jan 1, 2020
@steve6375
Copy link

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?

@rdragonz
Copy link
Author

rdragonz commented Jan 4, 2020

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

@steve6375
Copy link

steve6375 commented Jan 5, 2020

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants