Gentoo Archives: gentoo-user

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

Attachments

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

Replies

Subject Author
Re: [gentoo-user] new installation - partitions Joseph <syscon780@×××××.com>