Grub does not work correctly after Installation

Asked by Brutal_Moose on 2020-02-12

Hello, I have some experience setting up Windows Linux Dual boot, but unfortunately yesterday I ran into a problem. The grub menu does not have Windows 7 on it, and I don't know how to get it on there. I installed a new version of Linux onto an old laptop. The laptop does not have UEFI, it has the old BIOS system only, and I think the grub menu installation expected the Windows to have an entry in an ESP partition maybe. I don't know. There was no ESP partition prior to installing Linux ElementaryOS (an ubuntu variant)

This is for a client, and his applications on the Windows partition are important for his business, he cannot lose them, so we cannot merely reinstall Windows 7 and clear the system. How do I get Windows 7 on the Grub menu, or just go back to booting directly into Windows 7?

Lenovo laptop, very old, Windows 7 OEM 64-bit
4Gb RAM Intel i3 2gz

I have already attempted to use:
Boot-Recovery Live CD (new and old versions)
Grub-Recovery (the version I had was UEFI boot only, if you have the link to the BIOS version please reply with it)
Boot Ice (don't know the exact steps to take)
Windows 10 automated Startup Repair

Thank you for all your help!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2020-02-12
Last reply:
2020-02-12
Bashing-om (bashing-om) said : #1

Brutal_Moose; Hello

Maybe just as simple as an update.

Boot the ubuntu system and activate a terminal (key combo ctl+alt+t).
execute terminal commands - while on a wired internet connection:
sudo apt update
sudo apt upgrade
sudo update-grub

is the Win7 system picked up ?
Be aware that in legacy bios a "esp" partition will not exist unless GPT partitioning is a factor.

-my bit to try and help-

Manfred Hampl (m-hampl) said : #2

Which operating system are you running?

If it is ElementaryOS, then you are wrong here. This is support for Ubuntu only, and not for the operating systems "based on Ubuntu" like ElementaryOS.

ElementaryOS has its own support here: https://elementary.io/support

A hint for your problem: on Ubuntu systems the command "sudo os-prober" is meant to detect additional operating systems like windows. We have no knowledge how ElementaryOS handles such case.

Can you help with this problem?

Provide an answer of your own, or ask Brutal_Moose for more information if necessary.

To post a message you must log in.