Bug#852513: grub-efi-amd64: during configuration: "No space left on device"

Norbert Preining preining at logic.at
Wed Jan 25 03:46:55 UTC 2017


Ok, here is the analysis:

> > 	Could not delete variable: No space left on device

The problem is with efibootmgr that cannot add new entries.

It turns out that there were incredible many entries in
	/sys/fs/pstore
related to some dumps. I have removed all of them.

Also, the strace of efibootmgr gives:
	open("/sys/firmware/efi/efivars/Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c", O_WRONLY|O_CREAT, 0644) = 3
	ioctl(3, FS_IOC_GETFLAGS, 0x7ffc3470bba4) = 0
	write(3, "\7\0\0\0\1\0\0\0h\0r\0E\0F\0I\0n\0d\0 \0B\0o\0o\0t\0"..., 154) = -1 ENOSPC (No space left on device)
so I deleted also some very strange things "...dump..." (or so) in
that directory.

After a reboot efibootmgr now can add entries it seems and the installation
runs smoothly.

grub should/must detect whether the installation via efibootmgr
failed, otherwise it is completely useless.

Thanks

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



More information about the Pkg-grub-devel mailing list