From: Joseph <syscon780@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] MBR partition
Date: Sat, 6 Sep 2014 04:44:56 -0600 [thread overview]
Message-ID: <20140906104456.GA23438@syscon7> (raw)
In-Reply-To: <540AA690.1090905@fastmail.co.uk>
On 09/06/14 07:15, Kerin Millar wrote:
>On 06/09/2014 04:10, Joseph wrote:
>> On 09/05/14 21:02, Joseph wrote:
>>> I'm configuring MBR partition for older disk and need to know what
>>> code to enter for boot partition.
>>> My BIOS is not EFI type.
>
>Not that it particularly matters but a partition dedicated to /boot
>contains a Linux filesystem and, thus, 83 is appropriate.
>
>>
>> My current configuration:
>> fdisk -l /dev/sda
>>
>> Disk /dev/sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors
>> Units: sectors of 1 * 512 = 512 bytes
>> Sector size (logical/physical): 512 bytes / 512 bytes
>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>> Disklabel type: dos
>> Disk identifier: 0x021589e5
>>
>> Device Boot Start End Blocks Id System
>> /dev/sda1 * 2048 155647 76800 83 Linux
>> /dev/sda2 155648 4349951 2097152 82 Linux swap / Solaris
>> /dev/sda3 4349952 937703087 466676568 83 Linux
>>
>> Does the sda1 has to start with "1" or 2048?
>
>As of util-linux-2.18, partitions are aligned to 1 MiB boundaries by
>default, so as to avoid performance degradation on SSDs and advanced
>format drives [1].
>
>Further, beginning at 2048 as opposed to 63 (in the manner of MS-DOS)
>provides more room for boot loaders such as grub to embed themselves.
>
>To have the first sector be a partition boundary is impossible because
>that is the location of the MBR and the partition table.
>
>In summary, let it be.
>
>--Kerin
Thank you for the information.
I'll continue on Monday and let you know. If it will not boot with sector starting at 2048, I will re-partition /boot sda1 to start at 63.
--
Joseph
next prev parent reply other threads:[~2014-09-06 10:44 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-06 3:02 [gentoo-user] MBR partition Joseph
2014-09-06 3:10 ` Joseph
2014-09-06 4:39 ` J. Roeleveld
2014-09-06 6:15 ` Kerin Millar
2014-09-06 10:44 ` Joseph [this message]
2014-09-06 11:49 ` [gentoo-user] " James
2014-09-06 12:48 ` Dale
2014-09-06 12:54 ` Alan McKinnon
2014-09-06 13:13 ` Rich Freeman
2014-09-06 14:05 ` Alan McKinnon
2014-09-06 14:22 ` Rich Freeman
2014-09-06 20:54 ` Kerin Millar
2014-09-06 22:58 ` Rich Freeman
2014-09-07 0:28 ` Dale
2014-09-07 1:53 ` Kerin Millar
2014-09-08 1:10 ` Dale
2014-09-06 12:56 ` Thanasis
2014-09-08 15:36 ` [gentoo-user] SUCCESS! " Joseph
2014-09-08 21:03 ` [gentoo-user] " James
2014-09-06 14:42 ` [gentoo-user] " Neil Bothwick
2014-09-07 11:38 ` Mick
2014-09-06 12:14 ` [gentoo-user] " James
2014-09-06 12:53 ` Dale
2014-09-06 12:49 ` [gentoo-user] " Alan McKinnon
2014-09-07 11:44 ` Mick
2014-09-07 12:25 ` Alan McKinnon
2014-09-07 12:45 ` Peter Humphrey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140906104456.GA23438@syscon7 \
--to=syscon780@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox