Re: Accidentally deleted MBR and grub; how to fix?
The MBR is the first sector of the disk and doesn't belong to any partition, so you can't delete it. You can delete the bootloader in it, but not the MBR itself.
Also, unless you have separate /boot partition, then the grub files are inside your main root partition and you can't delete it while running ubuntu because it's running from it.
Are you on windows or ubuntu currently?
Can you post the outputs of these two commands in terminal:
Code:
df -h
sudo parted -l (that's small L)
Darko.
-----------------------------------------------------------------------
Ubuntu 18.04 LTS 64bit
Bookmarks