Trying to find out how to modify the grub commands.
I am kind of new so please be kind. I have looked and have read the Grub Manual, but nothing I have read matches, and the only place I can see to edit is in Grub
I have
/dev/sda1 MSDos 6.22 (and this boots ok)
/dev/sda2 Freedos 1.3 and it wont boot.
/dev/sda3 ShareDos (just an empty partition to put programs and stuff I want to test in both MSDos and FreeDos
/dev/sda4 Manjaro
Installing gave me the three options I want, but the freedos one is wrong it tries to do some odd things
I can’t find the current contents of the individual grub menu options unless I am using grub.
When the freedos on /dev/sda2 boots I want to hide /dev/sda1 and mount /dev/sda2 as C:
How do I edit the the menu options couldn’t find them where I expected them.
And while I am reading the manual I found on grub at gnu I am a little overwhelmed and have no idea what to do.
Menu entries are normally at /boot/grub/grub.cfg. If you use os-prober then it will be automatically generated on update-grub, so overwrites /boot/grub/grub.cfg.
Ah found it thank you!. I was hoping it was going to be a bit more straight forward
menu i item, menu 2 etc this is all a convoluted mess of someone far more cleaver than I am.
I just want to modify this so that when freedos boots the msdos partition is hidden and freedos is the main one, so it can load. no way I am going to get this without mucking it up, maybe its safer to switch to something that can use the graphical grub editor. I just want to program in msdos and freedos. and use Linux to do things that I don’t have drivers for. Maybe use Vs Code as the editor for djgpp stuff. That’s it not spend forever learning grub before I can relearn dos programming lol. sigh