Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 2085  / 2 Years ago, fri, july 15, 2022, 9:39:59

My laptop was running the latest Ubuntu, because of a minor issue, the motherboard was replaced. The new motherboard has the same specifications as old. But after replacing, the OS is not detected.




  • Is there some setting in BIOS which can fix the issue or should I
    really re-install Ubuntu?

  • If I re-install Ubuntu, will I lose the
    data?



Help appreciated.



enter image description here


More From » boot

 Answers
7

The path to Ubuntu efi loader should be added to your motherboard UEFI.



Boot from Ubuntu LiveUSB and run in terminal:



sudo efibootmgr -c -l "EFIUBUNTUSHIMX64.EFI" -L ubuntu


Then reboot normally. You will get a boot option "ubuntu".



If your EFI partition is not the default /dev/sda1, then the command will look this way:



sudo efibootmgr -c -l "EFIUBUNTUSHIMX64.EFI" -L ubuntu -d /dev/sdX -p N


where /dev/sdX is the disk and N is the partition number. If your EFI partition is /dev/sdb2, then it will look as -d /dev/sdb -p 2.


[#18515] Saturday, July 16, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
utonmbo

Total Points: 134
Total Questions: 104
Total Answers: 118

Location: Argentina
Member since Mon, Jan 3, 2022
2 Years ago
;