Gentoo Archives: gentoo-user

From: pk <peterk2@××××××××.se>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] fdisk warnings during install; questions
Date: Fri, 10 May 2013 10:26:51
Message-Id: 518CCB5E.1020608@coolmail.se
In Reply to: [gentoo-user] fdisk warnings during install; questions by Walter Dnes
1 On 2013-05-10 03:11, Walter Dnes wrote:
2
3 >> WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util
4 >> fdisk doesn't support GPT. Use GNU Parted.
5 >
6 > I've repartitioned it 3 or 4 times, but it still comes up with that
7 > error when I fire up fdisk. Is it a problem, and if so, can I dd a few
8 > sectors to remove whatever it's complaining about?
9
10 I would suggest using a tool that understands both MBR and GPT. One of
11 the the tools suggested by others in this list should suffice. I would
12 not recommend using dd.
13
14 > 2)
15 >> The device presents a logical sector size that is smaller than the
16 >> physical sector size. Aligning to a physical sector (or optimal I/O)
17 >> size boundary is recommended, or performance may be impacted.
18
19 I think most (if not all tools) that understands GPT should be able to
20 align the disk properly so using such a tool will/should take care of
21 alignment as well...
22
23 > The fdisk default seems to be to start partition 1 at sector 2048. I
24 > don't know the hardware side of disks. Is that OK.
25
26 No idea. All I know is that you cannot trust the firmware of modern
27 disks to tell you the layout of the disk since it can "move" sectors
28 around to get around damaged sectors (or do whatever the firmware
29 developers thinks is best)...
30
31 Here's some reading for (perhaps) greater understanding (some) of the
32 issues:
33 https://wiki.archlinux.org/index.php/Advanced_Format
34 https://en.wikipedia.org/wiki/Master_boot_record
35 https://en.wikipedia.org/wiki/GUID_Partition_Table
36
37 Also this seems relevant:
38 http://superuser.com/questions/352572/why-does-the-partition-start-on-sector-2048-instead-of-63
39
40 Best regards
41
42 Peter K