Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

WDe and GPT, booting DOS (Users)

posted by Richard, 10.11.2022, 13:11

> Some details where FD may differ from MS-DOS:
>
> - the MS-DOS kernel is named IO.SYS.
> - the boot code of DOS71BSG.BIN loads IO.SYS at 0070:0000
> - the boot code loads just the first 4 sectors of IO.SYS.
> - the boot code checks four bytes of loaded IO.SYS ( at pos 0 and pos 200h
> )
> - the boot code loads SI:DI with the start cluster of IO.SYS
> - the boot code of MS-DOS jumps to 0070:0200 to switch control to the
> kernel
> - when jumping, there are a few values on the stack that IO.SYS might use.
>
> So there's pretty much that may go wrong when using DOS71BSG for
> FreeDOS...:-D




So, I finally have M$DOS 7.1 installed on a spinning hard drive (which I swap with FreeDOS T2211 on a spinning hard drive - using a SATA extension cable for ease of access/change). I have never used DOS 71 before (only 6.22 and FreeDOS).


I attempted your method and I "think" that the 3 sectors of the FAT32 partition (of approx 2 GByte) have been modified correctly (I hope). Bytes from the ORIGINAL 3 sectors (0x0b to 0x59) were manually edited into DOS71BSM.bin (keeping DOS71BSG.bin unchanged) - attempted using WDE to replace the first 3 sectors with DOS71BSM.bin.




[image]





I have never used any GRUB programs before (except for dual boot (Windows + Linux) - where the whole GRUB process was automatic, no need for me to do anything).


Can you give me some guidance on how to actually perform the grub-mkconfig step? - I gather that this may have to be done in LINUX (I am learning/using Mint21) - assume that the M$DOS71 hard drive is /dev/sdd

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 136 users online (0 registered, 136 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum