[syslinux] grub in the mbr

H. Peter Anvin hpa at zytor.com
Sun Oct 10 11:58:53 PDT 2004


max.ebert at titoly.de wrote:
> hi,
> i ve grub in the mbr of my usb stick and now i am not longer able to use
> the syslinux bootmanager. i tried to delete grub from mbr with:
> dd if=/dev/null of=/dev/sda bs=512 count=1
> 
> but nothing changed grub is still in the mbr hope somebody can help me
> 

It's not, but you have to write a new MBR.  You can use the MBR that 
came with syslinux, mbr.bin:

cat mbr.bin > /dev/sda

Then create a FAT partition with fdisk, mkdosfs /dev/sda1, syslinux 
/dev/sda1.

	-hpa




More information about the Syslinux mailing list