You are not logged in.
Pages: 1
When using "grub-install" I always get "grub-install: error: cannot find EFI directory"
A couple of month ago I could just use grub-install without any error and I didn't change any hardware since then
"LS /sys/firmware/EFI/efivars" returns a whole bunch of files.
I tried creating a partition on a GPT drive with the type EFI system out of desperation but can't mount it to /mnt/boot. I am getting this error
mount: /mnt/boot: wrong fs type, bad option, bad superblocks on /dev/sdc2, missing codepage or helper program, or other error
I have no clue what to do now. I've been trying to partition differently a couple of times but nothing worked.
Regards Belph
Last edited by Belph (2019-01-05 19:40:14)
Offline
What guide are you following to install Arch?
Please post the output of
# parted -l
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Oof, I don't know how to post the output here without typing it in. But it shows me that the partition table is loop and not GPT. I assume that is he important information there, right?
Offline
I suspect that loop device will be the iso you are booted into.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I suspect that loop device will be the iso you are booted into.
If you mean if that is the USB stick that I am booted it right now, then no, that one has msdos as partition table.
It is actually the SSD I want to install Arch on that has loop as partition table.
Offline
Online
Model: ATA HGST HTS545050A7 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 500GB 500GB ext4
Model: ATA TOSHIBA DT01ACA1 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1000GB 1000GB ext4
Model: ATA Samsung SSD 840 (scsi)
Disk /dev/sdc: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 120GB 120GB ext4
Model: Sony Storage Media (scsi)
Disk /dev/sde: 7801MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 7801MB 7800MB primary fat32 boot, lba
Offline
Please use code tags: https://wiki.archlinux.org/index.php/Co … s_and_code
Also, you forgot to answer my earlier question:
What guide are you following to install Arch?
That may well answer my next question: do you know how you ended up with loop partition tables on all but one of your physical disks?
Please also post the output of
wipefs /dev/sda
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Please use code tags: https://wiki.archlinux.org/index.php/Co … s_and_code
Also, you forgot to answer my earlier question:
WorMzy wrote:What guide are you following to install Arch?
That may well answer my next question: do you know how you ended up with loop partition tables on all but one of your physical disks?
Please also post the output of
wipefs /dev/sda
I am sorry, I've been using the Arch Installation guide here on the website. And for grub just the wiki page about grub.
I have no clue how they all became loop.
Offline
WorMzy wrote:Please use code tags: https://wiki.archlinux.org/index.php/Co … s_and_code
Also, you forgot to answer my earlier question:
WorMzy wrote:What guide are you following to install Arch?
That may well answer my next question: do you know how you ended up with loop partition tables on all but one of your physical disks?
Please also post the output of
wipefs /dev/sda
I am sorry, I've been using the Arch Installation guide here on the website. And for grub just the wiki page about grub.
I have no clue how they all became loop.
I used the wipefs command on sdc since that is the drive I want to install arch on but it's still loop
Offline
The wipefs output is for diagnosis purposes, please post the output as requested.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
The wipefs output is for diagnosis purposes, please post the output as requested.
DEVICE OFFSET TYPE UUID LABEL
sdc 0x438 ext4 5e3ac50f-e4a9-42e9-a40e-acfb09b45858
Offline
Again, please edit your posts to use code tags.
So it looks like you've created the filesystem on the raw disk (/dev/sdc), rather than on a partition (e.g. /dev/sdc1). I'm not sure if it's possible to remedy that without starting over, but I'm going to go ahead an recommend that you do that anyway. It seems you have a habit of skim reading, which may be how you found yourself in this situation. Read the wiki carefully, and take your time. Make sure you understand what you are doing before you do it.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Again, please edit your posts to use code tags.
So it looks like you've created the filesystem on the raw disk (/dev/sdc), rather than on a partition (e.g. /dev/sdc1). I'm not sure if it's possible to remedy that without starting over, but I'm going to go ahead an recommend that you do that anyway. It seems you have a habit of skim reading, which may be how you found yourself in this situation. Read the wiki carefully, and take your time. Make sure you understand what you are doing before you do it.
I've tried a lot of things after it didn't work the first time. Also a reason why I might get I information wrong is due to a language barrier. Would you say I should start over the guide from the very beginning? I've done that several times already. I just seen to mess up the partitioning every time, also I am confused since it doesn't work like it used to anymore.
Offline
Model: ATA HGST HTS545050A7 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 500GB 500GB ext4
Model: ATA TOSHIBA DT01ACA1 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1000GB 1000GB ext4
Model: ATA Samsung SSD 840 (scsi)
Disk /dev/sdc: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
2 1049kB 538MB 537MB
1 538MB 120GB 119GB
Model: Sony Storage Media (scsi)
Disk /dev/sde: 7801MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 7801MB 7800MB primary fat32 boot, lba
That's how I had set it up the first few times I tried it today, I think. Just redid how I started today.
EDIT: sdc is the one I want to use.
Last edited by Belph (2018-09-19 19:04:08)
Offline
Model: ATA HGST HTS545050A7 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 500GB 500GB ext4
Model: ATA TOSHIBA DT01ACA1 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1000GB 1000GB ext4
Model: ATA Samsung SSD 840 (scsi)
Disk /dev/sdc: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
2 1049kB 538MB 537MB fat32 boot, esp
1 538MB 120GB 119GB ext4
Model: Sony Storage Media (scsi)
Disk /dev/sde: 7801MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 7801MB 7800MB primary fat32 boot, lba
So this is how my partitions are right now. I made the bootable esp partition and mounted it to the /mnt/boot just like it says in the a chance installation guide here https://wiki.archlinux.org/index.php/Installation_Guide
Now within the grub installation guide here https://wiki.archlinux.org/index.php/GR … _Partition
Model: ATA Samsung SSD 840 (scsi)
Disk /dev/sdc: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
2 1049kB 538MB 537MB fat32 boot, esp
1 538MB 120GB 119GB ext4
I think now I should check if there is a EFI directory on that partition
To confirm this is the ESP, mount it and check whether it contains a directory named EFI, if it does this is definitely the ESP.
But I am struggling with that I think. I mounted the partition to /mnt/boot as mentioned before but within this folder there is just a grub folder.
Offline
You can skip that check, since you've just created the ESP yourself. That it doesn't contain an EFI folder is expected.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1