Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] installed Gentoo on SSD - no bootable device
Date: Fri, 05 Sep 2014 19:22:06
Message-Id: 20140905192208.GM7971@syscon7
In Reply to: Re: [gentoo-user] installed Gentoo on SSD - no bootable device by "J. Roeleveld"
1 On 09/05/14 20:20, J. Roeleveld wrote:
2 >On 5 September 2014 19:55:49 CEST, Joseph <syscon780@×××××.com> wrote:
3 >>On 09/05/14 14:11, Neil Bothwick wrote:
4 >>>On Fri, 5 Sep 2014 07:06:27 -0600, Joseph wrote:
5 >>>
6 >>>> I made a typo my Bios is from around 2008 so it can not be EFI.
7 >>>> So I need a "BIOS boot partition" which in my case is "/dev/sda1"
8 >>but I
9 >>>> don't need the /dev/sda2 - this is my 128M boot partition. My
10 >>layout:
11 >>>>
12 >>>> Device Start End Size Type
13 >>>> /dev/sda1 2048 6143 2M BIOS boot partition
14 >>>> /dev/sda2 6144 268287 128M Linux filesystem
15 >>>> /dev/sda3 268288 4462591 2G Linux swap
16 >>>> /dev/sda4 4462592 937703054 445G Linux filesystem
17 >>>>
18 >>>> Can I combine sda1 and sda2? I mean delete both and create bigger
19 >>sda1
20 >>>> make it a BIOS boot partition and format it as ext2; install grub2
21 >>on
22 >>>> it.
23 >>>
24 >>>No you can't, read the previous posts. The BIOS boot partition is not
25 >>the
26 >>>same as /boot, it is a special partition needed for MBR compatibility
27 >>and
28 >>>nothing to do with the OS files. The partition layout you have is
29 >>>suitable, don't mess with it except possibly to create a separate
30 >>/home.
31 >>>sda1 and 2 are fine as they are, don't break them.
32 >>
33 >>It seems to me my BIOS can not read GPT partition so what are my
34 >>alternatives?
35 >>I think I will have to format the SSD in MBR
36 >>
37 >>How to use fidsk to partition HD in MBR; by default fdisk is going to
38 >>GPT.
39 >
40 >fdisk can only do MBR partitioning.
41 >gdisk does GPT partitioning and can add MBR compatibility.
42 >
43 >With a disk of less them 2TB I wouldn't bother with GPT if you don't have an EFI mainboard. Do yourself a favour and partition the SSD as if it were a spinning disk.
44
45 I'm trying to rescue my installation but it doesn't work.
46 I deleted sda1 and sda2 and converted them to sda1 Microsoft basic data
47 Installed legacy grub on it but it doesn't work.
48
49 Do I need to make sda1 bootable "*"
50
51 fdisk -l /dev/sda
52
53 Disk /dev/sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors
54 Units: sectors of 1 * 512 = 512 bytes
55 Sector size (logical/physical): 512 bytes / 512 bytes
56 I/O size (minimum/optimal): 512 bytes / 512 bytes
57 Disklabel type: gpt
58 Disk identifier: 37C37937-6310-4B04-93A6-05CD7792EF16
59
60 Device Start End Size Type
61 /dev/sda1 2048 268287 130M Microsoft basic data
62 /dev/sda3 268288 4462591 2G Linux swap
63 /dev/sda4 4462592 937703054 445G Linux filesystem
64
65 --
66 Joseph