Page 1 of 1
Issue with obtaining Grub on Windows
Posted: Wed Mar 25, 2020 2:08 pm
by nexos
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.
Re: Issue with obtaining Grub on Windows
Posted: Thu Mar 26, 2020 12:35 am
by iansjack
Re: Issue with obtaining Grub on Windows
Posted: Thu Mar 26, 2020 12:55 am
by Octocontrabass
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).
Re: Issue with obtaining Grub on Windows
Posted: Thu Mar 26, 2020 10:50 am
by nexos
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.
Re: Issue with obtaining Grub on Windows
Posted: Thu Mar 26, 2020 11:14 am
by PeterX
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
Re: Issue with obtaining Grub on Win by bydows
Posted: Thu Mar 26, 2020 11:16 am
by iansjack
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.
Re: Issue with obtaining Grub on Windows
Posted: Fri Mar 27, 2020 2:01 am
by Octocontrabass
nexos wrote:Also, MinGW for Linux didn't work at all.
Can you be more specific? Did you also try Mingw-w64?
Re: Issue with obtaining Grub on Windows
Posted: Sat Mar 28, 2020 12:10 pm
by nexos
I tried WSL and Grub2Win and neither worked
Re: Issue with obtaining Grub on Windows
Posted: Sun Mar 29, 2020 1:37 pm
by nexos
Ok I finally got it working