How to replace grub to syslinux?

Hi. How to replace grub to syslinux?

continue@localhost:~> sudo fdisk -l /dev/sda
Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST1000LM024 HN-M
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x01fab33c

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sda1  *          2048 1682366463 1682364416 802.2G  7 HPFS/NTFS/exFAT
/dev/sda2       1682366464 1934024703  251658240   120G 83 Linux
/dev/sda3       1934024704 1953525167   19500464   9.3G 82 Linux swap / Solaris

How i tried to do:

sudo mkdir /boot/syslinux

sudo syslinux --install /dev/sda1

sudo cp /usr/share/syslinux/*.c32 /boot/syslinux

Write mbr:

sudo dd bs=440 conv=notrunc count=1 if=/usr/share/syslinux/mbr.bin of=/dev/sda

On boot was getting:

Failed to load ldlinux.c32 
Boot failed: please change disks and press a key to continue.

Did a quick search on your error.
More than likely the problem is not an openSUSE specific error but related to your syslinux implementation.
You verify the file exists (I think it’s created dynamically on first boot but could be wrong)
You’ve fully written all necessary files into your syslinux folder.

If you’re still having problems,
You’ll probably get better help from teh syslinux forums who know more about what you’re doing than we here in openSUSE who almost exclusively use GRUB2.


I am not find forum on syslinux. At install i am used: gentoo syslinux wiki

Which partition should the boot flag be on? The directory (/boot / syslinux) is located at /dev/sda2

Which partition should the boot flag be on? The directory (/boot/syslinux) is located at /dev/sda2

According to the syslinux articles and comments I read,

  • Syslinux must be installed on a FAT32 or FAT filesystem
  • Although I read that MBR should be initialized on the disk, I imagine there shouldn’t be any issue with GPT

Although I don’t remember seeing it mentioned, I imagine the boot partition with the syslinux files should be marked(boot flag).