Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] new installation - partitions
Date: Thu, 04 Sep 2014 13:57:14
Message-Id: e44c7c39-09ba-4815-ba54-ead56d547e8d@email.android.com
In Reply to: Re: [gentoo-user] new installation - partitions by Joseph
1 On 4 September 2014 15:54:17 CEST, Joseph <syscon780@×××××.com> wrote:
2 >On 09/04/14 14:29, Neil Bothwick wrote:
3 >>On Thu, 4 Sep 2014 07:05:28 -0600, Joseph wrote:
4 >>
5 >>> >Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
6 >>> >Units: sectors of 1 * 512 = 512 bytes
7 >>> >Sector size (logical/physical): 512 bytes / 4096 bytes
8 >>> >I/O size (minimum/optimal): 4096 bytes / 4096 bytes
9 >>> >Disklabel type: gpt
10 >>> >Disk identifier: 04EFD165-FDDF-4C24-BA81-868B97BF9949
11 >>> >
12 >>> >Device Start End Size Type
13 >>> >/dev/sda1 2048 4095 1M BIOS boot partition
14 >>> >/dev/sda2 4096 2101247 1G Linux filesystem
15 >>> >/dev/sda3 2101248 35655679 16G Linux swap
16 >>> >/dev/sda4 35655680 5860533134 2.7T Linux filesystem
17 >>> >
18 >>> >Here sda1 is the BIOS boot and sda2 is /boot.
19 >>> >
20 >>> >> The instruction from official Gentoo web-page is difference from
21 >>> >> display I'm getting on my screen when I use "fdisk"
22 >>> >>
23 >http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=4
24 >>> >
25 >>> >If you are using GPT partitons, and you should, gdisk is the tool
26 >to
27 >>> >use (emerge sys-apps/gptfdisk).
28 >>> >
29 >>> >> I don't have an option of extended partition not can I make Boot
30 >>> >> partition /dev/sda2 (128MB) bootable by pressing "a" in fdisk.
31 >>> >
32 >>> >GPT is not hindered by any of that legacy "4 partitions is enough
33 >for
34 >>> >anyone so lets kludge in some more" crap, you just create
35 >partitions.
36 >>>
37 >>> Does GPT needs so much room for boot partition 1G? My current system
38 >>> boot partition is 30Mb Gentoo handbook recommend 128Mb
39 >>
40 >>My BIOS boot partition is 1MB not 1GB. My /boot partition is 1GB to
41 >allow
42 >>room for a couple of System Rescue CD ISO images.
43 >>
44 >>> So the boot partition (/dev/sda2) will be ext2. What type of will
45 >>> be /dev/sda1 ? ext2 as well.
46 >>
47 >>No, it's type is "BIOS boot partition", it's a completely different
48 >type
49 >>of partition and not used by your Linux installation at all, it's
50 >purely
51 >>there for the BIOS.
52 >
53 >Thank you for explanation.
54 >
55 >Is your /home on "root" partition? I've notice that handbook does not
56 >designate separate partition for "home" anymore.
57
58 The handbook only provides an example which should work.
59
60 There is no reason to blindly follow it if you have other ideas on how to partition your disks.
61
62 --
63 Joost
64 --
65 Sent from my Android device with K-9 Mail. Please excuse my brevity.