Manually fixing MBR with Linux/UNIX/FreeBSDtools

All zis ayed

Honorable
Dec 5, 2013
4
0
10,510
I had a Windows 8 Preview USB Installer. It worked well. I wished to make it Live CD for Linux as well, along side, side by side. Now the Live CD Maker/Installer software like Multiboot or Pendrive did install the Live CD, but was it my mistake or the programmers' insight that the previously installed Win 8 bootsect was lost. Need to work on it without destroying data. Need to fix it with command line from syslinux or GRUB or anything other than Windows bootrec or fixmbr methods.
 

stillblue

Honorable
Nov 30, 2012
1,163
0
11,660


Linux overwrites the windows mbr and replaces it with Grub which should detect the windows. Are you trying to put two on one flash? Can be done but far easier just to use two flashes. If you are trying a dual boot on a hard drive then install boot-repair in linux and run that to repair the grub. If you install a generic mbr the linux side will not boot. You can do that with testdisk after you install it. Testdisk is a command line program that you must run as admin. su or sudo testdisk about the 5th screen when the default is analyse arrow down to mbr.