You are not logged in.

#1 2024-02-11 04:24:22

kyomi
Member
From: Brazil
Registered: 2021-12-16
Posts: 14

[solved] Failed to install GRUB boot on /dev/sda1

Hi, I tried to change my disk from BIOS/MBR to BIOS/GPT but it's giving me this following error: https://0x0.st/HdQe.log. I tried to convert it back to MBR these following things:

* Use `sgdisk -m /dev/sda`
* Use `gdisk /dev/sda`, them `r`, then `g`
* Use `wipefs /dev/sda`, then install

But the error persists. What should I do?

Last edited by kyomi (2024-02-16 02:30:05)


i like programming and pizza

Offline

#2 2024-02-11 08:46:33

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,812
Website

Re: [solved] Failed to install GRUB boot on /dev/sda1

kyomi wrote:

this following error:

grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.

https://wiki.archlinux.org/title/GRUB#G … structions


Destruam et ædificabo

Offline

#3 2024-02-11 18:46:37

kyomi
Member
From: Brazil
Registered: 2021-12-16
Posts: 14

Re: [solved] Failed to install GRUB boot on /dev/sda1

Head_on_a_Stick wrote:
kyomi wrote:

this following error:

grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.

https://wiki.archlinux.org/title/GRUB#G … structions

I managed to install Arch Linux manually. Apparently `archinstall` does not create this required partition when using the partition layout suggestion option (when using BIOS instead of UEFI). Is there any way to convert it back do MBR (in case that I wanted to)?

Last edited by kyomi (2024-02-12 13:11:03)


i like programming and pizza

Offline

#4 2024-02-12 18:48:35

bybrl
Member
Registered: 2024-02-12
Posts: 9

Re: [solved] Failed to install GRUB boot on /dev/sda1

To convert a disk to MBR, you can use the fdisk command. 

sudo fdisk /dev/sdX #Replace with your disk
o
w

Do keep in mind though, that this does cause every partition to be removed.

Last edited by bybrl (2024-02-12 18:50:36)

Offline

#5 2024-02-16 02:29:43

kyomi
Member
From: Brazil
Registered: 2021-12-16
Posts: 14

Re: [solved] Failed to install GRUB boot on /dev/sda1

bybrl wrote:

To convert a disk to MBR, you can use the fdisk command. 

sudo fdisk /dev/sdX #Replace with your disk
o
w

Do keep in mind though, that this does cause every partition to be removed.

Alright, thank you. Marking this thread as solved.


i like programming and pizza

Offline

#6 2024-02-16 03:14:36

bybrl
Member
Registered: 2024-02-12
Posts: 9

Re: [solved] Failed to install GRUB boot on /dev/sda1

No problem!

Offline

Board footer

Powered by FluxBB