Running grub-mkrescue on windows

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Running grub-mkrescue on windows

Post by DeezRamChips »

Hi everyone ^_^

So, I'm developping an OS Optimized IDE (with grub2 and other useful tools implemented).

To install grub on linux, I'm using

Code: Select all

grub-mkrescue --output=boot.iso iso
How could I do this in windows ?



For the ones interested by the IDE, It's open source and I'll post something when I'm done ^_^

Thanks !
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

Re: Running grub-mkrescue on windows

Post by Octacone »

DeezRamChips wrote:Hi everyone ^_^

So, I'm developping an OS Optimized IDE (with grub2 and other useful tools implemented).

To install grub on linux, I'm using

Code: Select all

grub-mkrescue --output=boot.iso iso
How could I do this in windows ?



For the ones interested by the IDE, It's open source and I'll post something when I'm done ^_^

Thanks !
As far as I know you can only install GRUB as your primary Windows bootloader. Try Cygwin and see if it supports GRUB.
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Re: Running grub-mkrescue on windows

Post by DeezRamChips »

Ok, thanks !

I just rememberd that I can just copy the new kernel.bin to the iso

Silly me xD
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

Re: Running grub-mkrescue on windows

Post by Octacone »

DeezRamChips wrote:Ok, thanks !

I just rememberd that I can just copy the new kernel.bin to the iso

Silly me xD
Np! ;) How is your OS going?
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
User avatar
Ch4ozz
Member
Member
Posts: 170
Joined: Mon Jul 18, 2016 2:46 pm
Libera.chat IRC: esi

Re: Running grub-mkrescue on windows

Post by Ch4ozz »

DeezRamChips wrote:Ok, thanks !

I just rememberd that I can just copy the new kernel.bin to the iso

Silly me xD
Im using ISO Master to replace the bin files in the iso file and it works great
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Re: Running grub-mkrescue on windows

Post by DeezRamChips »

Well, I haven't had time to do anything on it for A while :/ Had a lot of work for school xD

I've uploaded the source code od the ide on github (it's only the beginning, I haven't uploaded the editing part)
https://github.com/AlexandreRouma/OS-Studio

And, is iso master command line compatible ? (have to use

Code: Select all

Shell("command here")
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Re: Running grub-mkrescue on windows

Post by DeezRamChips »

Oh, nevermind, found a library called DiskUtils !
https://discutils.codeplex.com/
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Re: Running grub-mkrescue on windows

Post by DeezRamChips »

So, I tried DiskUtils, but it did not work :/

Where did you get Isomaster for windows ?
User avatar
Ch4ozz
Member
Member
Posts: 170
Joined: Mon Jul 18, 2016 2:46 pm
Libera.chat IRC: esi

Re: Running grub-mkrescue on windows

Post by Ch4ozz »

DeezRamChips wrote:So, I tried DiskUtils, but it did not work :/

Where did you get Isomaster for windows ?
Hm I cant remember, Im sure you will find a link on google though
User avatar
max
Member
Member
Posts: 616
Joined: Mon Mar 05, 2012 11:23 am
Libera.chat IRC: maxdev
Location: Germany
Contact:

Re: Running grub-mkrescue on windows

Post by max »

DeezRamChips wrote:Hi everyone ^_^

So, I'm developping an OS Optimized IDE (with grub2 and other useful tools implemented).

To install grub on linux, I'm using

Code: Select all

grub-mkrescue --output=boot.iso iso
How could I do this in windows ?



For the ones interested by the IDE, It's open source and I'll post something when I'm done ^_^

Thanks !
Are you using Cygwin? Simply install it in Cygwin. You can then run it as if you'd do on Linux. It's in the "obsolete" packages.
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Re: Running grub-mkrescue on windows

Post by DeezRamChips »

I don't have an "obsolete" package :/
Image
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Re: Running grub-mkrescue on windows

Post by DeezRamChips »

Just realize there is an hide obsolete button I'm so stupid...

Sorry xD
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Re: Running grub-mkrescue on windows

Post by DeezRamChips »

But, I still can't find the grub2 package :/
User avatar
max
Member
Member
Posts: 616
Joined: Mon Mar 05, 2012 11:23 am
Libera.chat IRC: maxdev
Location: Germany
Contact:

Re: Running grub-mkrescue on windows

Post by max »

DeezRamChips wrote:But, I still can't find the grub2 package :/
Take 1.98-2, it's actually GRUB2. Might not be the very newest version but it's sufficient.
grub-1.98-2.PNG
grub-1.98-2.PNG (3.73 KiB) Viewed 6570 times
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Re: Running grub-mkrescue on windows

Post by DeezRamChips »

can you send me your cygwin set, I don't have the Misc thing :(
Post Reply