為什么Linux的fdisk分區時第一塊磁盤分區的First Sector是2048?


這個問題曾經困擾我很久,在了解了MBR之后,我曾認為第一塊分區之前為一個block。但是用fdisk查看是2048,一直不了解其中的緣由,今天查了一下資料,大概了解了,其中的細節留着慢慢去了解。

最直接的回答:

With the death of the legacy BIOS (ok, its not quite dead yet) and its replacement with EFI BIOS, a special boot partitionis needed to allow EFI
systems to boot in EFI mode. 

Starting the first partition at sector 2048 leaves 1Mb for the EFI boot code. Modern partitioning tools do this anyway and fdisk has been updated
to follow suit. 

其意思也就是由於EFI的興起,要給EFI 代碼留磁盤最開始的1M空間。

后面還涉及到LBA和CHS,一篇參考留待后面看。

http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/disc-partition-alignment.html

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM