Results 1 to 5 of 5

Thread: How to replace grub to syslinux?

  1. #1

    Default How to replace grub to syslinux?

    Hi. How to replace grub to syslinux?

    PHP Code:
    continue@localhost:~> sudo fdisk -/dev/sda
    Disk 
    /dev/sda931.53 GiB1000204886016 bytes1953525168 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:

    PHP Code:
    sudo mkdir /boot/syslinux 
    PHP Code:
    sudo syslinux --install /dev/sda1 
    PHP Code:
    sudo cp /usr/share/syslinux/*.c32 /boot/syslinux 
    Write mbr:

    PHP Code:
    sudo dd bs=440 conv=notrunc count=if=/usr/share/syslinux/mbr.bin of=/dev/sda 
    On boot was getting:

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

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,856
    Blog Entries
    2

    Default Re: How to replace grub to syslinux?

    Did a quick search on your error.
    More than likely the problem is not an openSUSE specific error but related to your syslinux implementation.
    Recommend...
    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.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3

    Default Re: How to replace grub to syslinux?

    Quote Originally Posted by tsu2 View Post
    Did a quick search on your error.
    More than likely the problem is not an openSUSE specific error but related to your syslinux implementation.
    Recommend...
    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.

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

  4. #4

    Default Re: How to replace grub to syslinux?

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

  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,856
    Blog Entries
    2

    Default Re: How to replace grub to syslinux?

    Quote Originally Posted by continue98 View Post
    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).

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •