[syslinux] chainboot Windows on second drive

H. Peter Anvin hpa at zytor.com
Tue Jun 17 14:03:03 PDT 2008


Aeron Draxar wrote:
> Ok, this was done with no error.
> 
> Now, the last stage (writting the MBR) crashes the partition table.
> If I 'sudo cat ./core/extlinux.bss > /dev/sda' I get a permission error
> (note that the system is actually running on sda).
> If I 'sudo dd if=./core/extlinux.bss of=/dev/sda bs=512 count=1', the
> mbr is written but running gparted immediatly shows that the partition
> table is screwed.
> If I restore grub's mbr with 'sudo dd if=/boot/grub/grub.mbr of=/dev/sda
> bs=512 count=1', grub's MBR is restored and the partitions too.
> 
> What did I do wrong? Is core/extlinux.bss the right MBR?

NONE of them are MBRs!

> If I try mbr/mbr.bin, it doesn't boot (mb it's for removable medias?)

mbr/mbr.bin is the right file to use.  You probably need to set the 
proper partition active in the partition table (use fdisk).

	-hpa




More information about the Syslinux mailing list