OSDev.org
https://forum.osdev.org/

Issue with obtaining Grub on Windows
https://forum.osdev.org/viewtopic.php?f=15&t=36617
Page 1 of 1

Author:  nexos [ Wed Mar 25, 2020 2:08 pm ]
Post subject:  Issue with obtaining Grub on Windows

Hello,
I am currently porting my operating system, NexOS, from Linux to Windows for various technical reasons. However, I still want to use Grub. I was wondering what the best way to make a Grub2 hard disk image on Windows 10 is. Thank you for your help.

Author:  iansjack [ Thu Mar 26, 2020 12:35 am ]
Post subject:  Re: Issue with obtaining Grub on Windows

https://sourceforge.net/projects/grub2win/

Author:  Octocontrabass [ Thu Mar 26, 2020 12:55 am ]
Post subject:  Re: Issue with obtaining Grub on Windows

nexos wrote:
I am currently porting my operating system, NexOS, from Linux to Windows for various technical reasons.

What reasons?

nexos wrote:
I was wondering what the best way to make a Grub2 hard disk image on Windows 10 is.

WSL (or WSL 2 if you want to use a loop device to mount the disk image).

Author:  nexos [ Thu Mar 26, 2020 10:50 am ]
Post subject:  Re: Issue with obtaining Grub on Windows

Ok thank you. The reason are because I like the PE format better then ELF, and I like the Visual Studio code editor which checks for syntax errors while editing. Also, MinGW for Linux didn't work at all.

Author:  PeterX [ Thu Mar 26, 2020 11:14 am ]
Post subject:  Re: Issue with obtaining Grub on Windows

nexos wrote:
Ok thank you. The reason are because I like the PE format better then ELF, and I like the Visual Studio code editor which checks for syntax errors while editing. Also, MinGW for Linux didn't work at all.

You can, of course, do as you like. But MinGW means "Minimal GNU for Windows". You already have GNU, if and when you use Linux. You have bash, gcc, make, Unix-style file commands (ls, cp etc.) and many useful OS dev tools like dd. MinGW is for Windows only and kind of obsolete in Linux.

Greetings
Peter

Author:  iansjack [ Thu Mar 26, 2020 11:16 am ]
Post subject:  Re: Issue with obtaining Grub on Win by bydows

You can use Visual Code with Linux. You can even run it on Windows to edit and compile code in WSL or on a remote Linux computer.

Author:  Octocontrabass [ Fri Mar 27, 2020 2:01 am ]
Post subject:  Re: Issue with obtaining Grub on Windows

nexos wrote:
Also, MinGW for Linux didn't work at all.

Can you be more specific? Did you also try Mingw-w64?

Author:  nexos [ Sat Mar 28, 2020 12:10 pm ]
Post subject:  Re: Issue with obtaining Grub on Windows

I tried WSL and Grub2Win and neither worked

Author:  nexos [ Sun Mar 29, 2020 1:37 pm ]
Post subject:  Re: Issue with obtaining Grub on Windows

Ok I finally got it working

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/