Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: MBR & GPT dual compliant format
Date: Fri, 29 Jul 2016 05:42:06
Message-Id: 2036759.oJvzzUmrRp@dell_xps
In Reply to: Re: [gentoo-user] Re: MBR & GPT dual compliant format by David Haller
1 On Thursday 28 Jul 2016 18:36:52 David Haller wrote:
2 > Hello,
3 >
4 > On Tue, 26 Jul 2016, James wrote:
5 > [..]
6 >
7 > Well, the best I found is this on the gdisk homepage:
8 > http://www.rodsbooks.com/gdisk/hybrid.html
9 >
10 > Basically, you shouldn't. The article tackles most aspects and
11 > pitfalls.
12 >
13 > [..]
14 > > #parted -l /dev/sda
15 > > Model: ATA WDC WD20EARX-00P (scsi)
16 > > Disk /dev/sda: 2000GB
17 > > Sector size (logical/physical): 512B/4096B
18 ^^^^^^
19 It seems you did not use gdisk or a late version of parted to created the
20 partition table? Modern partition tools align the logical and physical
21 sectors to 4096B.
22
23 > > Number Start End Size Type File system Flags
24 > > 1 1049kB 211MB 210MB primary ext2 boot
25
26 Instead of ext2 follow the guide for creating a FAT fs partition with an EF00
27 partition type.
28
29
30 > > 2 211MB 139GB 138GB primary linux-swap(v1)
31 > > 3 139GB 952GB 813GB primary ext4
32 > > 4 952GB 2000GB 1049GB primary ext4
33 >
34 > You'd have to get rid of one of those partitions (I'd say /boot).
35
36 James should set the boot flag in the partition table for /dev/sda1 and mount
37 it under /boot (or /boot/EFI) in fstab.
38
39
40 > By following the example in the above webpage, it worked on a file.
41 > But it is rather sure to fail if you need more than 3 partitions (as
42 > one is taken for the GPT, that leaves 3 more primary ones in the MBR
43 > and logical partitions is doomed to fail.
44 >
45 > HTH,
46 > -dnh
47
48 --
49 Regards,
50 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Re: MBR & GPT dual compliant format R0b0t1 <r030t1@×××××.com>