You are not logged in.

#1 2024-08-04 04:21:46

DarKnight
Member
Registered: 2024-08-04
Posts: 2

[SOLVED] Can't install Grub due to "No space left on device"

I've spent 2 hours staring at wikis and other forum posts, so please don't tell my to go read a guide I need genuine help, because I have no idea how this happened.

This is actually my second time installing arch, but the first time went smoothly.

THIS TIME, when I try to run:   "grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub"  , it just spits out:  "error: cannot copy '/usr/share/locale/en@arabic/LC_MESSAGES/grub.mo' to '/boot/grub/locale/en@arabic.mo': No space left on device."

I've to use "efibootmgr -b xxxx -B" to remove old boot entries that I don't use anymore, but it didn't seem to fix it.

Also I don't know if this is related but why do both the directories say something about arabic? My system is supposed to be on english.

I'm sorry if I seem dumb or lazy, but I swear I've made a genuine effort to try and resolve this myself... I just can't figure it out.

Last edited by DarKnight (2024-08-04 20:51:04)

Offline

#2 2024-08-04 06:02:55

yataro
Member
Registered: 2024-03-09
Posts: 84

Re: [SOLVED] Can't install Grub due to "No space left on device"

It says there's not enough space. The partition that holds the /boot partition is full (and it looks like your boot is an ESP as well, I can't say that's a bad thing, just not really idiomatic). You should expand your boot to fit all kernels and the boot loader. If you can't resize it, or you're sharing ESP with Windows, just move /boot to the root partition.

Also I don't know if this is related but why do both the directories say something about arabic? My system is supposed to be on english.

Check this grub-install option:

--locales=LOCALES      install only LOCALES [default=all]

Offline

#3 2024-08-04 15:56:34

cryptearth
Member
Registered: 2024-02-03
Posts: 1,110

Re: [SOLVED] Can't install Grub due to "No space left on device"

please post output of

lsblk -f
fdisk -l

as for the locale: as the installer grabs the set locale you seem to have enabled it at some point
also: sorry to point you back to the wiki - but you seem not to have followed it correctly or mis-understood some sections - it's best to start over again: https://wiki.archlinux.org/title/Installation_guide

also: do you dual-boot with windows?

Offline

#4 2024-08-04 20:50:45

DarKnight
Member
Registered: 2024-08-04
Posts: 2

Re: [SOLVED] Can't install Grub due to "No space left on device"

To be clear, the ONLY OS I plan on having on my PC was Arch Linux (so no windows dual boot), so I decided to give up and just reformat my entire drive to ext4, which seems to have removed the data clogging grub-install. Afterwards install went like it should.

Sorry for bothering you about this, I asked this question at 11 PM wishing I'd just pass out and the problem would go away.

I STILL don't understand how an arabic locale was enables but when I reformatted the drive it went away.

Offline

#5 2024-08-05 00:04:03

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,578

Re: [SOLVED] Can't install Grub due to "No space left on device"

DarKnight wrote:

I STILL don't understand how an arabic locale was enables but when I reformatted the drive it went away.

It didn't go away. Now that there is enough space on the partition, everything was copied without any errors.

Offline

Board footer

Powered by FluxBB