Le 21/09/2011 21:25, François Revol a écrit : > Le 21/09/2011 06:48, Decheng Fan a écrit : >> Hi, >> >> Thank you for so detailed explanation! This helps me a lot! I'll take time >> to read it more carefully and search through the Web for clearer >> understanding. Thanks again. >> > > IIRC there is a convention that the MBR partition info (somewhere in the > sector buffer it just read) that the MBR handed control to is passed > over to the partition boot sector in a specific register.
Replying to myself, we just had this discussion on IRC about it: 22:17 < phcoder> mmu_man: nearly no bootloader uses this info 22:18 < mmu_man> yeah, I know, I need to use it in Haiku someday :) 22:19 < mmu_man> would get rid of makebootable 22:19 < phcoder> mmu_man: beware that (a) in case of logical partition the info is difficult to use 22:19 < mmu_man> oh right 22:19 < mmu_man> :( 22:20 < phcoder> (b) some boot managers omit this information (especially some proprietary recovery stuff) 22:21 < mmu_man> and likely Haiku's bootman MBR 22:21 < mmu_man> how does DOS do it ? 22:21 < mmu_man> or does SYS.COM add the partition offset ? 22:21 < phcoder> mmu_man: there is a field in FAT BPB for this 22:22 < phcoder> it's misnamed "hidden sectors" 22:22 < mmu_man> aw 22:23 <@aljen> you mean ds:si pointing to selected partition entry in mbr when jumping into vbr's code ? 22:23 < mmu_man> yup Just so you know, seems not usable. François. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel