What the El-Torito specification says you can do, and what BIOSes actually let you do... have never been exactly aligned.
Assume that unless it's no emulation mode and 1 sector long, it is going to explode horribly.
Disturbingly often you'll be right.
Are CD Sectors the same as Disk Sectors?
Re: Are CD Sectors the same as Disk Sectors?
My loader is no emulation mode, but it is certainly more than one sector long. I would be fairly well pissed off if it didn't load on other computers.Owen wrote:What the El-Torito specification says you can do, and what BIOSes actually let you do... have never been exactly aligned.
Assume that unless it's no emulation mode and 1 sector long, it is going to explode horribly.
Disturbingly often you'll be right.
Re: Are CD Sectors the same as Disk Sectors?
Hi guys, all good points.
Can we branch into this question.
How do I get my bootloader, which will contain my my OS into the CD so it will load upon boot.
The bootloader could be as large as 32k.
Using Windows.
Or should I just keep them as separate files??
Alistair,
Can we branch into this question.
How do I get my bootloader, which will contain my my OS into the CD so it will load upon boot.
The bootloader could be as large as 32k.
Using Windows.
Or should I just keep them as separate files??
Alistair,
Re: Are CD Sectors the same as Disk Sectors?
The better way is to use separate files/areas. I use following boot order for CD/DVD: stage 1 -> [stage 2 ->] kernel.
If you have seen bad English in my words, tell me what's wrong, please.
Re: Are CD Sectors the same as Disk Sectors?
I think most areCasm wrote:The Windows kernel is smaller than that.egos wrote:All right, it is not one but a few sectors.
Programming is 80% Math, 20% Grammar, and 10% Creativity <--- Do not make fun of my joke!
If you're new, check this out.
If you're new, check this out.
Re: Are CD Sectors the same as Disk Sectors?
The same way you can argue that the bunch of sectors located somewhere in a data area (may be in FAT16 file system), but not covered by existing file is just a hidden file. You are totally wrong! This is NOT a file since it doesn't need to be presented in ISO file structure (although may be if you want). But if you are worried about the number of physical sectors in it, then call it boot record. It will be correct term.Casm wrote:You can call it whatever you like, but it is not a boot sector. It is an ordinary file; albeit a hidden one...
That is not a boot sector. It is a complete program - larger than MS-DOS programs used to be. Since all files on a CD are contiguous, it doesn't even have that to make it different.