[CentOS] CentOS 7 /boot location

Devin Reade gdr at gno.org
Mon Apr 27 04:05:12 UTC 2015


--On Sunday, April 26, 2015 11:13:02 PM -0400 Peter Larsen 
<peter at peterlarsen.org> wrote:

> On 04/25/2015 01:43 PM, Devin Reade wrote:
>> I noticed that (in a case with a two disk md mirror and lvm), the
>> CentOS 7 installer is now placing /boot as the *last* partition on
>> the disk.
>
> The position doesn't really matter.

Correct, and I wasn't sufficiently clear.  Not only did the installer
put /boot on the last partition, but on the last sectors of the disk
(which is really what caught my attention).  And yes, both are forced
to primary partitions:

# fdisk -l /dev/sda
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048   975749119   487873536   fd  Linux raid 
autodetect
/dev/sda2   *   975749120   976773119      512000   fd  Linux raid 
autodetect

I wasn't so much surprised at the partition number but rather the
sector offset of /boot.

Devin




More information about the CentOS mailing list