You are not logged in.

#1 2017-06-26 19:40:45

Min4Builder
Member
Registered: 2016-03-15
Posts: 6

SYSLINUX locked up

Hi.

Recently, I installed SYSLINUX over systemd-boot.
All went fine, it installed and I configured it.
But when I tried to boot, it gave me the following error:

Loading ../vmlinuz-linux failed: No such file or directory
boot:

Of course, the kernel image is on ../../vmlinuz-linux instead of ../vmlinuz-linux.
So I just have to change syslinux.cfg.
Unfortunately, the system doesn't boot, not even by CD, with that error.
The boot: prompt seems to just allow me to try that broken configuration again, or the fallback one, which is also broken.
How can I solve this?

Last edited by Min4Builder (2017-06-27 20:59:45)

Offline

#2 2017-06-28 12:34:53

Min4Builder
Member
Registered: 2016-03-15
Posts: 6

Re: SYSLINUX locked up

I ended up solving the problem. I didn't know which key to press to get to the boot menu, so I assumed you had to "reboot to firmware", which I couldn't, but I was wrong. It seems like the commands I tried should have worked, but the default arch syslinux package is broken, and I was recommended to look at the precompiled binaries from kernel.org.

Offline

#3 2017-06-28 14:37:33

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: SYSLINUX locked up

Min4Builder wrote:

but the default arch syslinux package is broken

That's a big news for those of us who uses syslinux at Arch.


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

#4 2017-06-28 14:40:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: SYSLINUX locked up

And what is the significance of precompiled syslinux(?) packages from kernel.org(?!?)  hmm I'm confused

Offline

#5 2017-06-28 15:36:29

Min4Builder
Member
Registered: 2016-03-15
Posts: 6

Re: SYSLINUX locked up

From http://www.syslinux.org/wiki/index.php?title=Download: Syslinux can be downloaded in .tar.gz, .tar.bz2, .tar.xz, and .zip formats from kernel.org

Offline

#6 2017-06-29 06:31:56

severach
Member
Registered: 2015-05-23
Posts: 192

Re: SYSLINUX locked up

The Arch Package page shows where to obtain Syslinux.

Compiling sofware (configure; make; make install) is generally to be avoided on Arch. Not because it can't be done, but because Arch provides ways that are better, faster, and easier than doing it manually. Click on that package page, select "Source Files" and click on the PKGBUILD. Those are the exact instructions for creating the Syslinux package you installed from the repos.

If you think there's a problem with the Syslinux package, start there and work backwards until you fix it.

I use Syslinux and I know it's not broken. The default folder for the Syslinux startup is /boot/syslinux and going .. from there I see that every file is exactly where syslinux.cfg is expecting it.

xyzzy@gq /boot/syslinux %  ls -l ..
total 99887
-rw-r--r-- 1 root root 23900389 Jun 24 00:54 initramfs-linux-fallback.img
-rw-r--r-- 1 root root 23900653 Jun 24 00:54 initramfs-linux.img
-rw-r--r-- 1 root root 21767437 Jun 27 11:38 initramfs-linux-lts44-fallback.img
-rw-r--r-- 1 root root 21767809 Jun 27 11:38 initramfs-linux-lts44.img
-rw-r--r-- 1 root root   987648 May 13 05:38 intel-ucode.img
drwx------ 2 root root    12288 Dec 20  2016 lost+found/
drwxr-xr-x 2 root root     3072 Mar 13 11:34 syslinux/
-rw-r--r-- 1 root root  5048592 Jun 22 06:25 vmlinuz-linux
-rw-r--r-- 1 root root  4483392 Jun 27 05:09 vmlinuz-linux-lts44
xyzzy@gq /boot/syslinux % sed -ne '/^LABEL arch$/,/^$/ p' syslinux.cfg 
LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=LABEL=RAID3TBROOT rw
    INITRD ../intel-ucode.img,../initramfs-linux.img

Offline

#7 2017-06-29 11:24:24

Min4Builder
Member
Registered: 2016-03-15
Posts: 6

Re: SYSLINUX locked up

I don't know exactly what is "broken" on the syslinux package; I was told it on the #syslinux IRC channel, and the fact that the boot: prompt doesn't work as intended confirmed it. And of course, I would probably make my own package with ABS instead of doing it manually. It does work for boots, it's just the prompt that doesn't work.
BTW, I use UEFI, so the default directory is /boot/EFI/syslinux, and I wrote my own syslinux.cfg and made a typo when typing the kernel location. That's why it didn't work.

Last edited by Min4Builder (2017-06-29 11:41:38)

Offline

#8 2017-07-06 03:41:59

gehidore
IRC Op
From: Near the pine trees
Registered: 2012-11-09
Posts: 35

Re: SYSLINUX locked up

Have you seen https://bugs.archlinux.org/task/49250 it covers what the issue is that you're having.


Windows get broken, penguins rarely get sucked into jet engines.

Offline

#9 2017-07-06 11:18:12

Min4Builder
Member
Registered: 2016-03-15
Posts: 6

Re: SYSLINUX locked up

I hadn't seen it, but it's probably what the person I talked with referred to. Anyways, I only use the default boot right now, so it's fixed (for me).

Offline

Board footer

Powered by FluxBB