To repair windows bootloader ...
- remove the HDD which has LL installed on it
- insert Win7 installation DVD & then boot from it
- choose option "repair your computer" (it searches for Windows installation)
- select OS to repair
- next go to the Windows command prompt, you should then see the prompt:
after the prompt type:
then the prompt will appear again, this time type:
- press shutdown
- then boot up Windows (make sure you don't boot into the Win7 DVD)
You will now no longer have the grubscreen (as grub partition gone), but your windows bootloader is fixed & restored.
- turn off computer & put your LL HDD back in the machine.
You will now need to reinstall GRUB 2, deleting any old or corrupted files in the process:
- insert your LL installation DVD & boot into LL from it (i.e. LL in the live environment)
For arguments sake, lets assume LL's root is installed on the partition /dev/sdb1, and Windows OS installed on the HDD designated /dev/sda (if you don't know or are unsure of the /dev/sdx designation of either Windows or LL, check it using gparted from your LL DVD to check - just type gparted into LL's menu search box):
So using terminal from your Live DVD, type:
Code:
sudo mount /dev/sdb1 /mnt
sudo grub-install --boot-directory=/mnt/boot /dev/sda
Reboot, select LL boot option from your PC's Settings.
When in LL update the grub (so it finds Windows OS), by typing following in terminal:
When you reboot you should then see both Windows & LL listed on the grubscreen.
Hope this helps - this has happened to me before with LL/Win7 dual-boots!
Have a good day
Mike
64bit OS (32-bit on
Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except
pi which uses a micro SDHC card):
2017 -
Raspberry pi 3B (4cores) ~
[email protected] -
LibreElec, used for upgrading our Samsung TV (excellent for the task)
2012 -
Lenovo G580 2689 (2cores; 4threads] ~
[email protected] -
LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 -
Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom
[email protected] -
LL 3.8 32-bit (64-bit too 'laggy')
2008 -
Asus X71Q (2cores) ~ Intel
[email protected] -
LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 -
Dell Latitude D630 (2cores) ~ Intel
[email protected] -
LL4.6, works well with kernel 4.4; 4.15 doesn't work