I’m attempting to install tumbleweed on my parents old Lenovo ThinkStation PC. I checked the basic requirements for hardware and it met them all, but it’s over 10 years old. The computer had Windows 7 on it, which has been out of support for some time. And they were open to moving to linux.
I used a bootable USB, which I know works well, because I just installed Tumbleweed on my computer. The install process seemed to go well, until the last step. I got the following error message in YaST2:
Execution of command “{{”/usr/sbin/shim-install",“–config-file=/boot/grub2/grub.cfg”]]" failed.
Exit code:5
Error output: Installing for x86_64-efi platform.
Installation finished. No error reported.
Could not prepare Boot variable: No space left on device
When I try to boot, it goes to grub rescue.
After searching the forum I found some possible solutions, but non-worked. I booted from the USB and went into Yast Bootloader and unselected VRAM. That didn’t work. I also navigated into BIOS, but couldn’t find anything that would help.
Also, during install, I used the default suggestions for partitions. I figured it would erase the old files, but when I’m in the Live USB, I can mount the main hard-drive and see all the old files and Windows software is still there.
Could that be the problem? Do I need to remove Windows to have enough space? Any other ideas?
There was no mention of the Win partition on install and no option to shrink it. I’m thinking the same as you are, just remove the old partitions in Partitioner and re-install. No need for it.
I didn’t at first realize the old partitions were still there and when I searched for solutions, it suggested the cause could be something else. It wasn’t until the end, that I realized they are still there.
But I like the way you are thinking. I’ll plan on this.
One possibility is that you are short of space in the EFI partition. However, it only needs 2-3M of space, so this is unlikely. But if Windows was using UEFI booting, then you can try removing the Windows stuff from the EFI partition. I think that’s under directory “Microsoft”.
The other possibility, is that NVRAM is full. I’m not actually sure of how to clean that up.
That probably won’t help. You could try resetting BIOS to factory defaults, to see if that helps. In the meantime, you should be able to use your install media to boot the system. Try the option “Boot hard drive”, and if that doesn’t do it there should be an option to boot linux system.