Really not sure what happened but I will give details here...
This isn't a follow on of this thread viewtopic.php?f=10&t=150391&p=743835&hi ... ie#p743835 but it is the same hardware.
I have had a NZXT Classic Series H2 for a number of years ...had a really good motherboard which will be moved.....just didn't play well with the new versions of VMWare Workstation etc.
I have customers that come with computers with failing drives etc and will not pay for an upgrade....the motherboard is a lot newer than my old server one and he didn't want it back...
I used installed Debian 11 as shown in above thread and then moved it to my NZXT chassis....this is where things went wrong..
I had two ssd drives for testing...one for Windows and the Debian 11 one...
By mistake I moved the Windows one and it fired up no problems....I changed it for the Debian one and I ended up with a blinking cursor in left corner....I went into bios and saw the drive wasn't marked as uefi..... so I realised the efi partition had been corrupted on the move?!
I saw in the wiki about rEFInd and created a bootable usb with it....I could then boot into Debian 11 no problems...
I then set about fixing efi. I followed the wik1
Code: Select all
# mount /dev/sda1 /mnt/boot/efi
Code: Select all
# apt-get install --reinstall grub-efi
Code: Select all
grub-install /dev/sda
Installing for x86_64-efi platform.
efibootmgr: Could not set variable Boot0005: No such file or directory
efibootmgr: Could not prepare boot variable: No such file or directory
Installation finished. No error reported.
Code: Select all
$ sudo update-grub
Bit strange why the efi became damaged....
Any thoughts on as to why?
bookie