New
#1
Ubuntu Dual Boot
I am using the non-metro Windows 10 boot loader to manage a dual boot setup (legacy BIOS) with Ubuntu. Generally, everything works fine. However, sometimes when I perform an update in Ubuntu, grub overwrites the Windows MBR. Then I have to use EasyBCD to restore the Windows boot loader.
Here's the partition info on my primary drive:
I have tried using grub-install --force /dev/sda5 to move grub off the MBR, but receive a warning stating ext2 partitions cannot be embedded. This is weird since I have confirmed that the partition is in fact ext4.Code:sudo fdisk -l Disk /dev/sda: 120.0 GB, 120034123776 bytes 60 heads, 12 sectors/track, 325613 cylinders, total 234441648 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0xea0264f2 Device Boot Start End Blocks Id System /dev/sda1 * 2048 1026046 511999+ 7 HPFS/NTFS/exFAT /dev/sda2 1026048 171522991 85248472 7 HPFS/NTFS/exFAT /dev/sda3 171524094 234440703 31458305 5 Extended Partition 3 does not start on physical sector boundary. /dev/sda5 171524096 230117845 29296875 83 Linux /dev/sda6 230119424 234440703 2160640 82 Linux swap / Solaris ...
How do I prevent grub overwriting the MBR?
Last edited by claytoncarney; 03 Jul 2016 at 11:44.