linux 分区与启动的小故事

来源:互联网 发布:淘宝店铺优惠券金额 编辑:程序博客网 时间:2024/05/17 04:10

使用fdisk分区

fisrt sector 从2048开始,为什么呢?:)


一个扇区512字节   2048*512byte=1024byte*1024=1kb*1024=1mb;  也就是空出来前面1024扇区有 1MB

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. 

bios中启动方式  legacy被efi启动代替而褪去,(没有完全死掉),EFI引导模式需要特殊的引导系统,它使用efi系统去引导

最早要为efi引导代码留出1Mb的空间,现代的分区工具 fdisk 随着也这样做了          


有关efi 和legacy启动模式 这里有一篇写的很好的文章:http://blog.csdn.net/z15732621736/article/details/49048779 :)