Skip to content

Instantly share code, notes, and snippets.

@arsho
Last active September 22, 2019 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arsho/2804038a19b04b4c262f06680bd03724 to your computer and use it in GitHub Desktop.
Save arsho/2804038a19b04b4c262f06680bd03724 to your computer and use it in GitHub Desktop.
Fix bootloader after deleting Ubuntu partition from Dual boot

Recover Grub after deleting Ubuntu 18.04 partition:

  • Download Windows 8.1 International English (.iso file) from Official website
  • Download Rufus
  • Insert USB 2 pendrive and burn the ISO to pendrive by
    • Select MBR
    • Select Legacy
  • Restart PC and select the pendrive
  • Select English
  • Select repair your computer
  • Choose TroubleShoot > Advanced Options > Command Prompt
  • Enter the following commands:
bootrec.exe /FixMbr
bootrec.exe /FixBoot

Problem

Cannot use LAN connection in Ubuntu 18.04 LTS. It was showing unmanaged network.

Solution

  • Edit /etc/NetworkManager/NetworkManager.conf changing the line managed=false to managed=true:
    sudo nano /etc/NetworkManager/NetworkManager.conf
    
  • Restart network manager with:
    sudo service network-manager restart
    

Reference:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment