View previous topic :: View next topic |
Author |
Message |
AlphaXeos n00b
Joined: 02 Aug 2016 Posts: 28
|
Posted: Tue Aug 02, 2016 8:02 am Post subject: GRUB2 Installation Issues |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30954 Location: here
|
Posted: Tue Aug 02, 2016 12:08 pm Post subject: |
|
|
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 |
|
|
AlphaXeos n00b
Joined: 02 Aug 2016 Posts: 28
|
Posted: Tue Aug 02, 2016 7:47 pm Post subject: |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30954 Location: here
|
Posted: Tue Aug 02, 2016 8:04 pm Post subject: |
|
|
According with Gentoo Handbook efi directory must be fat32 formatted _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
AlphaXeos n00b
Joined: 02 Aug 2016 Posts: 28
|
Posted: Tue Aug 02, 2016 8:18 pm Post subject: |
|
|
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 |
|
|
AlphaXeos n00b
Joined: 02 Aug 2016 Posts: 28
|
Posted: Tue Aug 02, 2016 8:25 pm Post subject: |
|
|
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 |
|
|
AlphaXeos n00b
Joined: 02 Aug 2016 Posts: 28
|
Posted: Tue Aug 02, 2016 8:27 pm Post subject: |
|
|
I figured it out!
I forgot to mount /dev/sda2 to /boot afterwards
Thanks for the help! |
|
Back to top |
|
|
|