[syslinux] Upgraded to Syslinux 5.00 - Failed to load ldlinux.c32
Igor Sverkos
igor.sverkos at googlemail.com
Sun Dec 16 08:53:28 PST 2012
Hello,
today I upgraded from Syslinux 4.06 to to Syslinux 5.00. But now the
system won't boot anymore and I get the message
Failed to load ldlinux.c32
Boot failed: please change disks and press a key to continue
What I have done:
1) Installed Syslinux 5.00
2) Reinstalled "mbr.bin" to /dev/sda and /dev/sdb using
dd bs=440 count=1 conv=notrunc if=/usr/share/syslinux/mbr.bin of=/dev/...
3) Updated extlinux using
extlinux --update /boot/extlinux
(I also tried "extlinux --install")
4) Removed everything in /boot/extlinux excluding "extlinux.conf" and
"ldlinux.sys".
5) Copied *.c32 from /ush/share/syslinux to /boot/extlinux:
sysresccd# ls -l /boot/extlinux
total 1292
-rwxr--r-- 1 root root 1512 Dec 16 15:51 cat.c32
-rwxr--r-- 1 root root 22860 Dec 16 15:51 chain.c32
-rwxr--r-- 1 root root 1264 Dec 16 15:51 cmd.c32
-rwxr--r-- 1 root root 1412 Dec 16 15:51 config.c32
-rwxr--r-- 1 root root 1692 Dec 16 15:51 cpuid.c32
-rwxr--r-- 1 root root 2692 Dec 16 15:51 cpuidtest.c32
-rwxr--r-- 1 root root 1940 Dec 16 15:51 disk.c32
-rwxr--r-- 1 root root 12596 Dec 16 15:51 dmitest.c32
-rwxr--r-- 1 root root 3220 Dec 16 15:51 elf.c32
-rwxr--r-- 1 root root 2664 Dec 16 15:51 ethersel.c32
-rw-r--r-- 1 root root 1159 Nov 29 17:52 extlinux.conf
-rwxr--r-- 1 root root 9976 Dec 16 15:51 gfxboot.c32
-rwxr--r-- 1 root root 1520 Dec 16 15:51 gpxecmd.c32
-rwxr--r-- 1 root root 168692 Dec 16 15:51 hdt.c32
-rwxr--r-- 1 root root 3652 Dec 16 15:51 hexdump.c32
-rwxr--r-- 1 root root 1740 Dec 16 15:51 host.c32
-rwxr--r-- 1 root root 1676 Dec 16 15:51 ifcpu64.c32
-rwxr--r-- 1 root root 4076 Dec 16 15:51 ifcpu.c32
-rwxr--r-- 1 root root 4136 Dec 16 15:51 ifmemdsk.c32
-rwxr--r-- 1 root root 1840 Dec 16 15:51 ifplop.c32
-rwxr--r-- 1 root root 1600 Dec 16 15:51 kbdmap.c32
-rwxr--r-- 1 root root 4688 Dec 16 15:51 kontron_wdt.c32
-rwxr--r-- 1 root root 428010 Dec 16 16:45 ldlinux.c32
-r--r--r-- 1 root root 54784 Dec 16 16:45 ldlinux.sys
-rwxr--r-- 1 root root 184152 Dec 16 15:51 libcom32.c32
-rwxr--r-- 1 root root 66720 Dec 16 15:51 libcom32gpl.c32
-rwxr--r-- 1 root root 112496 Dec 16 15:51 liblua.c32
-rwxr--r-- 1 root root 23820 Dec 16 15:51 libmenu.c32
-rwxr--r-- 1 root root 24692 Dec 16 15:51 libutil_com.c32
-rwxr--r-- 1 root root 4608 Dec 16 15:51 linux.c32
-rwxr--r-- 1 root root 2900 Dec 16 15:51 ls.c32
-rwxr--r-- 1 root root 6332 Dec 16 15:51 lua.c32
-rwxr--r-- 1 root root 9972 Dec 16 15:51 mboot.c32
-rwxr--r-- 1 root root 2424 Dec 16 15:51 meminfo.c32
-rwxr--r-- 1 root root 26176 Dec 16 15:51 menu.c32
-rwxr--r-- 1 root root 3384 Dec 16 15:51 pcitest.c32
-rwxr--r-- 1 root root 2960 Dec 16 15:51 pmload.c32
-rwxr--r-- 1 root root 3000 Dec 16 15:51 prdhcp.c32
-rwxr--r-- 1 root root 1404 Dec 16 15:51 pwd.c32
-rwxr--r-- 1 root root 12080 Dec 16 15:51 pxechn.c32
-rwxr--r-- 1 root root 1300 Dec 16 15:51 reboot.c32
-rwxr--r-- 1 root root 12868 Dec 16 15:51 rosh.c32
-rwxr--r-- 1 root root 1552 Dec 16 15:51 sanboot.c32
-rwxr--r-- 1 root root 3016 Dec 16 15:51 sdi.c32
-rwxr--r-- 1 root root 15276 Dec 16 15:51 sysdump.c32
-rwxr--r-- 1 root root 2060 Dec 16 15:51 vesainfo.c32
-rwxr--r-- 1 root root 26736 Dec 16 15:51 vesamenu.c32
-rwxr--r-- 1 root root 1804 Dec 16 15:51 vpdtest.c32
-rwxr--r-- 1 root root 2416 Dec 16 15:51 whichsys.c32
-rwxr--r-- 1 root root 3520 Dec 16 15:51 zzjson.c32
6) Rebooted
My extlinux.conf:
sysresccd# cat /boot/extlinux/extlinux.conf
# This configuration file was generated automatically by gen-extlinuxconf.
TIMEOUT 30
UI menu.c32
MENU TITLE Boot Menu
MENU COLOR title 1;37;40
MENU COLOR border 30;40
MENU COLOR unsel 37;40
LABEL kernel1_bzImage-3.6.10-gentoo
MENU LABEL Gentoo Linux bzImage-3.6.10-gentoo
LINUX /bzImage-3.6.10-gentoo
INITRD /better-initramfs-current.cpio.gz
APPEND softraid lvm root=UUID=96cd6b6a-ea89-46ba-bdea-16851772f32c
System details:
- The system has two disks (sda and sdb)
- sda1 and sdb1 are MD raid 1 (md127) and containing /boot (ext4)
- sda2 and sdb2 are MD raid 1 (md126) and containing a LVM volume
containing the rootfs (ext4) and other logical volumes
root at sysresccd /root % cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5]
[raid4] [raid10]
md126 : active raid1 sda2[0] sdb2[1]
20662200 blocks super 1.2 [2/2] [UU]
md127 : active raid1 sda1[0] sdb1[1]
307188 blocks super 1.0 [2/2] [UU]
Thanks.
--
Regards,
Igor
More information about the Syslinux
mailing list