Lenovo Thinkcentre M73e won't boot from HDD: Difference between revisions

From Wurst-Wasser.net
Jump to navigation Jump to search
Line 18: Line 18:
** To verify the HDD-system was properly set up (I fiddled with partitioning a bit too much), I booted from CD and from the the hdd. Which ended up exactly the same! \o/
** To verify the HDD-system was properly set up (I fiddled with partitioning a bit too much), I booted from CD and from the the hdd. Which ended up exactly the same! \o/


== Solution #1: MBR ==
* Create a MBR-Partition
* Let the Installer run as usual, and let him remove and create partitions as he likes - as long as he keeps the MBR-Partition


== unverified ==
== Solution #2: EFI-copy (unverified) ==
HP and Sony only boot Windows. So we have many work arounds, some work better than others.
HP and Sony only boot Windows. So we have many work arounds, some work better than others.



Revision as of 14:55, 27 October 2023

About

I own (at the time I write this) two Lenovo Thinkcentre M73e:

  • with a Intel Pentium CPU
  • with a Intel i3 CPU

Most tests where done with OpenSUSE Tumbleweed, few ones with Debian Bookworm. Results seem all the same.

The Problem

The PC kept telling me:

1962 No Operating System Found

i3 (Model XXX)

The i3-CPU-PC won't boot, in any circumstance, the newly installed Linux. BUT, it would boot if I booted from CD first and chose to boot from the harddisk from there.

I've read countless Webpages..but nothing worked.

  • Installing Linux on a MBR-Partioned Disk got it to at least beginning to boot, freezing short after, might be on the right track
    • To verify the HDD-system was properly set up (I fiddled with partitioning a bit too much), I booted from CD and from the the hdd. Which ended up exactly the same! \o/

Solution #1: MBR

  • Create a MBR-Partition
  • Let the Installer run as usual, and let him remove and create partitions as he likes - as long as he keeps the MBR-Partition

Solution #2: EFI-copy (unverified)

HP and Sony only boot Windows. So we have many work arounds, some work better than others.

Since you do not have any Windows you can just create the Windows efi boot file with the Windows name. Then the UEFI will think it is booting Windows but really boots grub.

You will have to recreate in the efi partition the Windows folder, a boot folder under Windows and copy grubx64.efi into that folder and rename it to bootmgfw.efi.

mount /dev/sda1 /mnt
cd /mnt/EFI

# use ls to see if mounted correctly
ls -l
mkdir Microsoft
mkdir Microsoft/Boot
cp /mnt/EFI/ubuntu/grubx64.efi /mnt/EFI/Microsoft/Boot/bootmgfw.efi

# Most systems also have a /Boot folder and can boot grub from that using a hard drive entry.
mkdir Boot

cp /mnt/EFI/ubuntu/grubx64.efi /mnt/EFI/Boot/bootx64.efi

# Your ls -l should then have this in the efi partition:
/EFI/Boot
/EFI/Microsoft/Boot
/EFI/ubuntu

You have a large 2TB drive. System will run better with a smaller / (root) partition and then larger /home or /mnt/data partition(s). With a large root, grub, kernels & system files may be anywhere in root or anywhere on drive. So drive has to jump all over 2TB to find its files. I expect it has ways to optimize that, but with a smaller / then it does not have that much space to find files from.

Pentium (Model XX)

This one worked just fine. Installed, booted, all working great. When I was debugging the i3-issue, I switched disks between the two, and then this machine also ran into the same problem.

What fixed it for me: I set the MBR-flag in YAST Partitioner. Or did I remove it? Dang, don't remember. Must try it again and write it down here.