This passage is aimed at programmers. For non - programmers, it can be explained in the following simple language:
Simply put, in one sentence: Directly overwrite the first sector (that is, the DBR boot sector) of the floppy disk with the 4th sector of GRLDR. But there is one point to correct, which is described as follows:
In the 4th sector of GRLDR, the 60 bytes from offset 0x02 to 0x3d (that is, the 3rd to the 62nd bytes) are not program code but data, and these data must be taken from the corresponding area of the floppy disk. Otherwise, the floppy disk you made will not be in FAT format, and thus DOS will think it is not formatted.
That is, you have to find a way to save the 60 bytes from the 3rd to the 62nd bytes of the floppy disk, for example, record them on paper. Then use the 4th sector of GRLDR to overwrite the boot sector of the floppy disk. After that, use a diskeditor hexadecimal editor software to restore the 60 bytes from the 3rd to the 62nd bytes of the boot sector to the original old data on the floppy disk, that is, the values you just recorded. Then it's OK.
After this, copying a GRLDR file to the root directory of the floppy disk will make it a GRUB boot floppy disk.
This method is applicable to any FAT12/16 format floppy disk, whether it is a standard one or a non - standard one, and it will be successful.
A sector means a 512 - byte data block. The first sector is the first 512 bytes, the second sector is the 513th to 1024th bytes, and so on.
因为我们亲手创建,这个世界更加美丽。