Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] new installation - partitions
Date: Thu, 04 Sep 2014 13:05:30
Message-Id: 20140904130528.GF7483@syscon7
In Reply to: Re: [gentoo-user] new installation - partitions by Neil Bothwick
1 On 09/04/14 08:25, Neil Bothwick wrote:
2 >On Wed, 3 Sep 2014 22:30:32 -0600, Joseph wrote:
3 >
4 >> I have a new SSD 480GB drive and I'm trying to partition it. It was
5 >> some time before I went through this so I found this information:
6 >> http://wiki.gentoo.org/wiki/SSD
7 >>
8 >> But they omitted the Boot partition.
9 >> Device Start End Size Type
10 >> /dev/sda1 2048 6143 2M BIOS boot partition
11 >> /dev/sda2 6144 4200447 2G Linux swap
12 >> /dev/sda3 4200448 117231374 53.9G Linux filesystem
13 >>
14 >> There is Bios Boot 2MB but no Boot partition where kernel is located.
15 >
16 >The BIOS boot partition is there to enable a non-EFI system to boot from
17 >a GPT partitioned disk, it is not the same as /boot. If you want a
18 >separate /boot, it is not a requirement, you need to create is as a
19 >separate partition, like this
20 >
21 >% sudo fdisk -l /dev/sda
22 >
23 >Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
24 >Units: sectors of 1 * 512 = 512 bytes
25 >Sector size (logical/physical): 512 bytes / 4096 bytes
26 >I/O size (minimum/optimal): 4096 bytes / 4096 bytes
27 >Disklabel type: gpt
28 >Disk identifier: 04EFD165-FDDF-4C24-BA81-868B97BF9949
29 >
30 >Device Start End Size Type
31 >/dev/sda1 2048 4095 1M BIOS boot partition
32 >/dev/sda2 4096 2101247 1G Linux filesystem
33 >/dev/sda3 2101248 35655679 16G Linux swap
34 >/dev/sda4 35655680 5860533134 2.7T Linux filesystem
35 >
36 >Here sda1 is the BIOS boot and sda2 is /boot.
37 >
38 >> The instruction from official Gentoo web-page is difference from
39 >> display I'm getting on my screen when I use "fdisk"
40 >> http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=4
41 >
42 >If you are using GPT partitons, and you should, gdisk is the tool to use
43 >(emerge sys-apps/gptfdisk).
44 >
45 >> I don't have an option of extended partition not can I make Boot
46 >> partition /dev/sda2 (128MB) bootable by pressing "a" in fdisk.
47 >
48 >GPT is not hindered by any of that legacy "4 partitions is enough for
49 >anyone so lets kludge in some more" crap, you just create partitions.
50
51 Does GPT needs so much room for boot partition 1G? My current system boot partition is 30Mb Gentoo handbook recommend 128Mb
52
53 So the boot partition (/dev/sda2) will be ext2. What type of will be /dev/sda1 ? ext2 as well.
54
55
56 --
57 Joseph

Replies

Subject Author
Re: [gentoo-user] new installation - partitions Neil Bothwick <neil@××××××××××.uk>