Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB2 Installation Issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
AlphaXeos
n00b
n00b


Joined: 02 Aug 2016
Posts: 28

PostPosted: Tue Aug 02, 2016 8:02 am    Post subject: GRUB2 Installation Issues Reply with quote

When i attempt
grub2-install --target=x86_64-efi --efi-directory=/boot
It gives me an error: /boot doesnt look like an EFI partition. Which im almost 100% sure it is. Is there a way i can check? And how could i reformat it? Ive tried reformatting but it keeps saying that theres already 2 mounted filesystems which i dont know how to get rid of.
Thanks
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30954
Location: here

PostPosted: Tue Aug 02, 2016 12:08 pm    Post subject: Reply with quote

Can you post output of parted print?
Code:
# parted
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
AlphaXeos
n00b
n00b


Joined: 02 Aug 2016
Posts: 28

PostPosted: Tue Aug 02, 2016 7:47 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Can you post output of parted print?
Code:
# parted
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print


Im unable to use my mouse right now until i reboot but ill just type jt out

Partition Table: gpt

1 Start: 1049kB End: 3146kB Size: 2097kB File system: ext4 Name: grub Flags: bios_grub

2 Start: 3146kB End: 137MB Size: 134MB File system: ext2 Name: boot Flags: boot, esp

3 Start: 137MB End: 674MB Size: 537MB File system: linux-swap(v1) Name: swap Flags:

4 Start: 674MB End: 2000GB Size: 2000GB File system: ext4 Name : rootfs Flags:
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30954
Location: here

PostPosted: Tue Aug 02, 2016 8:04 pm    Post subject: Reply with quote

According with Gentoo Handbook efi directory must be fat32 formatted
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
AlphaXeos
n00b
n00b


Joined: 02 Aug 2016
Posts: 28

PostPosted: Tue Aug 02, 2016 8:18 pm    Post subject: Reply with quote

fedeliallalinea wrote:
According with Gentoo Handbook efi directory must be fat32 formatted


I formatted it with mkfs.vfat -F32 and retried the grub installation and it gave me the same error
Back to top
View user's profile Send private message
AlphaXeos
n00b
n00b


Joined: 02 Aug 2016
Posts: 28

PostPosted: Tue Aug 02, 2016 8:25 pm    Post subject: Reply with quote

I also tried to use /dev/sda2 which is my EFI System partition as the efi-directory and it gave me the error

grub2-install: error: failed to get canonical path of `udev'.
Back to top
View user's profile Send private message
AlphaXeos
n00b
n00b


Joined: 02 Aug 2016
Posts: 28

PostPosted: Tue Aug 02, 2016 8:27 pm    Post subject: Reply with quote

I figured it out!

I forgot to mount /dev/sda2 to /boot afterwards


Thanks for the help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum