public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2
Date: Wed, 20 May 2015 14:47:51 +0100	[thread overview]
Message-ID: <20150520144751.042614f3@digimed.co.uk> (raw)
In-Reply-To: <201505201429.37167.michaelkintzios@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1776 bytes --]

On Wed, 20 May 2015 14:29:27 +0100, Mick wrote:

> > > Thanks, does the 1mb partition have to have anything in it?  
> > 
> > No. If doesn't even need a filesystem, just create the partition with
> > the correct type and GRUB will work.  
> 
> From what I recall gdisk just starts at sector 2048, doesn't this leave
> space for MBR code?  Note the message "MBR: protective" below:

So does fdisk with an MBR partition table. It defaults to 2048 to avoid
alignment problems with disks using 4k blocks.

> # gdisk /dev/sda
> GPT fdisk (gdisk) version 0.8.10
> 
> Partition table scan:
>   MBR: protective
>   BSD: not present
>   APM: not present
>   GPT: present
> 
> Found valid GPT with protective MBR; using GPT.

You still need the BIOS boot partition. This is about BIOS vs UEFI
booting.

% sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.0

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 5860533168 sectors, 2.7 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 04EFD165-FDDF-4C24-BA81-868B97BF9949
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048            4095   1024.0 KiB  EF02  BIOS boot partition
   2            4096         2101247   1024.0 MiB  8300  boot0
   3         2101248        35655679   16.0 GiB    8200  swap0
   4        35655680      5860533134   2.7 TiB     8300  silastic0


-- 
Neil Bothwick

Top Oxymorons Number 2: Exact estimate

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2015-05-20 13:48 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-17 11:48 [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2 Nuno Magalhães
2015-05-17 13:24 ` Peter Humphrey
2015-05-17 14:09   ` Rich Freeman
2015-05-17 15:35     ` covici
2015-05-17 15:43       ` Canek Peláez Valdés
2015-05-17 16:05     ` Peter Humphrey
2015-05-17 19:36       ` Stefan G. Weichinger
2015-05-17 20:48         ` Nuno Magalhães
2015-05-17 22:08           ` Stefan G. Weichinger
2015-05-17 22:44             ` Nuno Magalhães
2015-05-18  1:08             ` Rich Freeman
2015-05-18 18:21               ` Nuno Magalhães
2015-05-18 19:27                 ` Rich Freeman
2015-05-19  6:15                 ` Alan McKinnon
2015-05-19  9:02         ` Peter Humphrey
2015-05-19 10:13           ` Neil Bothwick
2015-05-19 12:54             ` Rich Freeman
2015-05-19 14:44               ` Peter Humphrey
2015-05-19 14:53                 ` Rich Freeman
2015-05-19 15:00                   ` Peter Humphrey
2015-05-19 15:15                     ` Rich Freeman
2015-05-19 15:11                   ` Peter Humphrey
2015-05-19 15:22                     ` gottlieb
2015-05-19 15:34                       ` Rich Freeman
2015-05-19 15:38                         ` gottlieb
2015-05-19 16:23                         ` covici
2015-05-19 20:17                           ` Rich Freeman
2015-05-19 21:30                             ` Stefan G. Weichinger
2015-05-19 15:21                   ` Marc Joliet
2015-05-19 19:39                 ` Nuno Magalhães
2015-05-20  9:16     ` Peter Humphrey
2015-05-20  9:23       ` Neil Bothwick
2015-05-20  9:42         ` Peter Humphrey
2015-05-20 10:23           ` Neil Bothwick
2015-05-20 11:56             ` Peter Humphrey
2015-05-20 12:20               ` Alan Mackenzie
2015-05-25  1:24                 ` Bruce Hill
2015-05-20 10:26           ` Rich Freeman
2015-05-20 10:51             ` covici
2015-05-20 12:06               ` Neil Bothwick
2015-05-20 12:21                 ` covici
2015-05-20 12:55                   ` Neil Bothwick
2015-05-20 13:24                     ` covici
2015-05-20 13:49                       ` Neil Bothwick
2015-05-20 13:29                     ` Mick
2015-05-20 13:47                       ` Neil Bothwick [this message]
2015-05-20 12:01             ` Peter Humphrey
2015-05-20 12:08               ` Neil Bothwick
2015-05-20 14:26                 ` Peter Humphrey
2015-05-20 15:08                   ` Peter Humphrey
2015-05-20 16:46                     ` Bob Wya
2015-05-20 17:04                       ` J. Roeleveld
2015-05-20 20:34                       ` Neil Bothwick
2015-05-20 20:35                     ` Neil Bothwick
2015-05-21  8:13                       ` Peter Humphrey
2015-05-21  8:33                         ` Neil Bothwick
2015-05-21 11:34                           ` Rich Freeman
2015-05-21 11:44                             ` Peter Humphrey
2015-05-21 12:10                               ` Neil Bothwick
2015-05-21 12:14                                 ` Neil Bothwick
2015-05-21 13:19                                 ` Rich Freeman
2015-05-21 14:06                                   ` Neil Bothwick
2015-05-21 12:13                             ` Neil Bothwick
2015-05-20 10:19         ` Alec Ten Harmsel
2015-05-20 10:22           ` Neil Bothwick
2015-05-17 23:24 ` Neil Bothwick

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=20150520144751.042614f3@digimed.co.uk \
    --to=neil@digimed.co.uk \
    --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