1. Solution
- Code: Select all
sudo apt-get install syslinux
if the package got installed use following to write the MBR.
- Code: Select all
sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda
2. Solution
- Code: Select all
sudo apt-get install mbr
if the package got installed use following to write the MBR.
- Code: Select all
sudo install-mbr -i n -p D -t 0 /dev/sda
Common for both
Replace sda if you want to install the MBR to a different drive. Take a look at your hard disks withif you’re unsure. Finally reboot and your windows should boot.
- Code: Select all
sudo fdisk -l
Here's my partitions - I installed to the Windows system reserved partition /dev/sda1. Should I try the main Windows partition /dev/sda2?
- Code: Select all
mint@mint ~ $ sudo fdisk -l
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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: 0x000e5cf3
Device Boot Start End Blocks Id System
/dev/sda1 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 * 206848 1014096833 506944993 7 HPFS/NTFS/exFAT
/dev/sda3 1014097918 1229006847 107454465 5 Extended
Partition 3 does not start on physical sector boundary.
Update: I installed the mbr to /dev/sda2 (main Windows partition) and now I get a message at boot that says, "MBR 1234FA: ". There's a program called boot-repair for linux, but after trying to select the advanced options to fix windows boot files/mbr, the rest of the options that aren't default are unselectable.






