LINUX.ORG.RU

История изменений

Исправление continue, (текущая версия) :

ls -la /usr/lib по патерну ^sys*:

rescue:~ # ls /usr/lib | awk '~/^sys*/'
sysctl.d
sysimage
systemd
systemd-presets-branding
sysusers.d

ls -la /usr/lib64 по патерну ^sys*:

rescue:~ # ls /usr/lib64 | awk '~/^sys*/'
rescue:~ # 

В openSUSE эти файлы (насколько я понял) вот тут: /usr/share/syslinux. Вывод от ls -la /usr/share/syslinux:

rescue:~ # ls -la /usr/share/syslinux
total 1612
drwxr-xr-x 1 root root   1684 Aug 18 07:58 .
drwxr-xr-x 1 root root   5066 Aug 18 07:58 ..
-rw-r--r-- 1 root root    439 Apr 20 11:23 altmbr.bin
-rw-r--r-- 1 root root    439 Apr 20 11:23 altmbr_c.bin
-rw-r--r-- 1 root root    439 Apr 20 11:23 altmbr_f.bin
-rw-r--r-- 1 root root   1656 Apr 20 11:23 cat.c32
-rw-r--r-- 1 root root  25180 Apr 20 11:23 chain.c32
-rw-r--r-- 1 root root   1296 Apr 20 11:23 cmd.c32
-rw-r--r-- 1 root root   3728 Apr 20 11:23 cmenu.c32
-rw-r--r-- 1 root root   1532 Apr 20 11:23 config.c32
-rw-r--r-- 1 root root   4304 Apr 20 11:23 cptime.c32
-rw-r--r-- 1 root root   4568 Apr 20 11:23 cpu.c32
-rw-r--r-- 1 root root   1816 Apr 20 11:23 cpuid.c32
-rw-r--r-- 1 root root   2816 Apr 20 11:23 cpuidtest.c32
-rw-r--r-- 1 root root   1640 Apr 20 11:23 debug.c32
-rw-r--r-- 1 root root   4268 Apr 20 11:23 dhcp.c32
drwxr-xr-x 1 root root     82 Aug 18 07:58 diag
-rw-r--r-- 1 root root   3024 Apr 20 11:23 dir.c32
-rw-r--r-- 1 root root   2068 Apr 20 11:23 disk.c32
-rw-r--r-- 1 root root   8752 Apr 20 11:23 dmi.c32
-rw-r--r-- 1 root root  12568 Apr 20 11:23 dmitest.c32
drwxr-xr-x 1 root root     68 Aug 18 07:58 dosutil
drwxr-xr-x 1 root root    844 Aug 18 07:58 efi32
drwxr-xr-x 1 root root    844 Aug 18 07:58 efi64
-rw-r--r-- 1 root root   3928 Apr 20 11:23 elf.c32
-rw-r--r-- 1 root root   3036 Apr 20 11:23 ethersel.c32
-rw-r--r-- 1 root root  10516 Apr 20 11:23 gfxboot.c32
-rw-r--r-- 1 root root    440 Apr 20 11:23 gptmbr.bin
-rw-r--r-- 1 root root    440 Apr 20 11:23 gptmbr_c.bin
-rw-r--r-- 1 root root    440 Apr 20 11:23 gptmbr_f.bin
-rw-r--r-- 1 root root   1644 Apr 20 11:23 gpxecmd.c32
-rw-r--r-- 1 root root 169064 Apr 20 11:23 hdt.c32
-rw-r--r-- 1 root root   3740 Apr 20 11:23 hexdump.c32
-rw-r--r-- 1 root root   1852 Apr 20 11:23 host.c32
-rw-r--r-- 1 root root   4180 Apr 20 11:23 ifcpu.c32
-rw-r--r-- 1 root root   1800 Apr 20 11:23 ifcpu64.c32
-rw-r--r-- 1 root root   4296 Apr 20 11:23 ifmemdsk.c32
-rw-r--r-- 1 root root   1940 Apr 20 11:23 ifplop.c32
-rw-r--r-- 1 root root    432 Apr 20 11:23 isohdpfx.bin
-rw-r--r-- 1 root root    432 Apr 20 11:23 isohdpfx_c.bin
-rw-r--r-- 1 root root    432 Apr 20 11:23 isohdpfx_f.bin
-rw-r--r-- 1 root root    432 Apr 20 11:23 isohdppx.bin
-rw-r--r-- 1 root root    432 Apr 20 11:23 isohdppx_c.bin
-rw-r--r-- 1 root root    432 Apr 20 11:23 isohdppx_f.bin
-rw-r--r-- 1 root root  43008 Apr 20 11:23 isolinux-debug.bin
-rw-r--r-- 1 root root  43008 Apr 20 11:23 isolinux.bin
-rw-r--r-- 1 root root   1716 Apr 20 11:23 kbdmap.c32
-rw-r--r-- 1 root root   4932 Apr 20 11:23 kontron_wdt.c32
-rw-r--r-- 1 root root 122356 Apr 20 11:23 ldlinux.c32
-rw-r--r-- 1 root root   5144 Apr 20 11:23 lfs.c32
-rw-r--r-- 1 root root 184780 Apr 20 11:23 libcom32.c32
-rw-r--r-- 1 root root  67708 Apr 20 11:23 libgpl.c32
-rw-r--r-- 1 root root 102580 Apr 20 11:23 liblua.c32
-rw-r--r-- 1 root root  24016 Apr 20 11:23 libmenu.c32
-rw-r--r-- 1 root root  23964 Apr 20 11:23 libutil.c32
-rw-r--r-- 1 root root   4736 Apr 20 11:23 linux.c32
-rw-r--r-- 1 root root  90927 Apr 20 11:23 lpxelinux.0
-rw-r--r-- 1 root root   3032 Apr 20 11:23 ls.c32
-rw-r--r-- 1 root root   6948 Apr 20 11:23 lua.c32
-rw-r--r-- 1 root root  11796 Apr 20 11:23 mboot.c32
-rw-r--r-- 1 root root    440 Apr 20 11:23 mbr.bin
-rw-r--r-- 1 root root    440 Apr 20 11:23 mbr_c.bin
-rw-r--r-- 1 root root    440 Apr 20 11:23 mbr_f.bin
-rw-r--r-- 1 root root  25756 Apr 20 11:23 memdisk
-rw-r--r-- 1 root root   2524 Apr 20 11:23 meminfo.c32
-rw-r--r-- 1 root root  26480 Apr 20 11:23 menu.c32
-rw-r--r-- 1 root root   3380 Apr 20 11:23 pci.c32
-rw-r--r-- 1 root root   3560 Apr 20 11:23 pcitest.c32
-rw-r--r-- 1 root root   3616 Apr 20 11:23 pmload.c32
-rw-r--r-- 1 root root   1708 Apr 20 11:23 poweroff.c32
-rw-r--r-- 1 root root   3188 Apr 20 11:23 prdhcp.c32
-rw-r--r-- 1 root root   1544 Apr 20 11:23 pwd.c32
-rw-r--r-- 1 root root  12488 Apr 20 11:23 pxechn.c32
-rw-r--r-- 1 root root  46876 Apr 20 11:23 pxelinux.0
-rw-r--r-- 1 root root   1420 Apr 20 11:23 reboot.c32
-rw-r--r-- 1 root root  13988 Apr 20 11:23 rosh.c32
-rw-r--r-- 1 root root   1676 Apr 20 11:23 sanboot.c32
-rw-r--r-- 1 root root   3088 Apr 20 11:23 sdi.c32
-rw-r--r-- 1 root root  15060 Apr 20 11:23 sysdump.c32
-rw-r--r-- 1 root root   8904 Apr 20 11:23 syslinux.c32
-rw-r--r-- 1 root root 208788 Apr 20 11:23 syslinux.com
-rw-r--r-- 1 root root   3004 Apr 20 11:23 vesa.c32
-rw-r--r-- 1 root root   2240 Apr 20 11:23 vesainfo.c32
-rw-r--r-- 1 root root  26964 Apr 20 11:23 vesamenu.c32
-rw-r--r-- 1 root root   1908 Apr 20 11:23 vpdtest.c32
-rw-r--r-- 1 root root   2528 Apr 20 11:23 whichsys.c32
-rw-r--r-- 1 root root   3628 Apr 20 11:23 zzjson.c32

ls -la /boot/syslinux:

rescue:/ # ls -la /boot/syslinux
total 416
drwxr-xr-x 1 root root    146 Aug 18 08:10 .
drwxr-xr-x 1 root root    530 Aug 18 07:59 ..
-r--r--r-- 1 root root 122356 Aug 18 08:02 ldlinux.c32
-rw-r--r-- 1 root root 184780 Aug 18 08:06 libcom32.c32
-rw-r--r-- 1 root root  23964 Aug 18 08:06 libutil.c32
-rw-r--r-- 1 root root  25756 Aug 18 08:06 memdisk
-rw-r--r-- 1 root root  26480 Aug 18 08:06 menu.c32
-rw-r--r-- 1 root root    241 Aug 18 08:11 syslinux.cfg
-rw-r--r-- 1 root root  26964 Aug 18 08:09 vesamenu.c32

cat /boot/syslinux/syslinux.cfg:

rescue:/ # cat /boot/syslinux/syslinux.cfg
TIMEOUT 30
ONTIMEOUT gentoo
  
UI vesamenu.c32
MENU TITLE Boot
  
LABEL opensuse_test
      MENU LABEL opensuse_test
      LINUX /boot/vmlinuz

Попробовал ещё с boot флагом поиграть, получается вот так:

• Если boot flag стоит на /dev/sda1, то он пишет:

An operating system wasn't found. Try disconnecting any drives that don't contain an operating system. 
Press Ctrl+Alt+Del to restart.

• Если boot flag стоит на /dev/sda2, то он пишет:

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

P.S: Да, стоит Windows 10, но сама система на SSD, а это HDD (на нем тоже NTFS). С HDD я отрезал место под openSUSE

Исходная версия continue, :

ls -la /usr/lib по патерну ^sys*:

rescue:~ # ls /usr/lib | awk '~/^sys*/'
sysctl.d
sysimage
systemd
systemd-presets-branding
sysusers.d

ls -la /usr/lib64 по патерну ^sys*:

rescue:~ # ls /usr/lib64 | awk '~/^sys*/'
rescue:~ # 

В openSUSE эти файлы (насколько я понял) вот тут: /usr/share/syslinux. Вывод от ls -la /usr/share/syslinux:

rescue:~ # ls -la /usr/share/syslinux
total 1612
drwxr-xr-x 1 root root   1684 Aug 18 07:58 .
drwxr-xr-x 1 root root   5066 Aug 18 07:58 ..
-rw-r--r-- 1 root root    439 Apr 20 11:23 altmbr.bin
-rw-r--r-- 1 root root    439 Apr 20 11:23 altmbr_c.bin
-rw-r--r-- 1 root root    439 Apr 20 11:23 altmbr_f.bin
-rw-r--r-- 1 root root   1656 Apr 20 11:23 cat.c32
-rw-r--r-- 1 root root  25180 Apr 20 11:23 chain.c32
-rw-r--r-- 1 root root   1296 Apr 20 11:23 cmd.c32
-rw-r--r-- 1 root root   3728 Apr 20 11:23 cmenu.c32
-rw-r--r-- 1 root root   1532 Apr 20 11:23 config.c32
-rw-r--r-- 1 root root   4304 Apr 20 11:23 cptime.c32
-rw-r--r-- 1 root root   4568 Apr 20 11:23 cpu.c32
-rw-r--r-- 1 root root   1816 Apr 20 11:23 cpuid.c32
-rw-r--r-- 1 root root   2816 Apr 20 11:23 cpuidtest.c32
-rw-r--r-- 1 root root   1640 Apr 20 11:23 debug.c32
-rw-r--r-- 1 root root   4268 Apr 20 11:23 dhcp.c32
drwxr-xr-x 1 root root     82 Aug 18 07:58 diag
-rw-r--r-- 1 root root   3024 Apr 20 11:23 dir.c32
-rw-r--r-- 1 root root   2068 Apr 20 11:23 disk.c32
-rw-r--r-- 1 root root   8752 Apr 20 11:23 dmi.c32
-rw-r--r-- 1 root root  12568 Apr 20 11:23 dmitest.c32
drwxr-xr-x 1 root root     68 Aug 18 07:58 dosutil
drwxr-xr-x 1 root root    844 Aug 18 07:58 efi32
drwxr-xr-x 1 root root    844 Aug 18 07:58 efi64
-rw-r--r-- 1 root root   3928 Apr 20 11:23 elf.c32
-rw-r--r-- 1 root root   3036 Apr 20 11:23 ethersel.c32
-rw-r--r-- 1 root root  10516 Apr 20 11:23 gfxboot.c32
-rw-r--r-- 1 root root    440 Apr 20 11:23 gptmbr.bin
-rw-r--r-- 1 root root    440 Apr 20 11:23 gptmbr_c.bin
-rw-r--r-- 1 root root    440 Apr 20 11:23 gptmbr_f.bin
-rw-r--r-- 1 root root   1644 Apr 20 11:23 gpxecmd.c32
-rw-r--r-- 1 root root 169064 Apr 20 11:23 hdt.c32
-rw-r--r-- 1 root root   3740 Apr 20 11:23 hexdump.c32
-rw-r--r-- 1 root root   1852 Apr 20 11:23 host.c32
-rw-r--r-- 1 root root   4180 Apr 20 11:23 ifcpu.c32
-rw-r--r-- 1 root root   1800 Apr 20 11:23 ifcpu64.c32
-rw-r--r-- 1 root root   4296 Apr 20 11:23 ifmemdsk.c32
-rw-r--r-- 1 root root   1940 Apr 20 11:23 ifplop.c32
-rw-r--r-- 1 root root    432 Apr 20 11:23 isohdpfx.bin
-rw-r--r-- 1 root root    432 Apr 20 11:23 isohdpfx_c.bin
-rw-r--r-- 1 root root    432 Apr 20 11:23 isohdpfx_f.bin
-rw-r--r-- 1 root root    432 Apr 20 11:23 isohdppx.bin
-rw-r--r-- 1 root root    432 Apr 20 11:23 isohdppx_c.bin
-rw-r--r-- 1 root root    432 Apr 20 11:23 isohdppx_f.bin
-rw-r--r-- 1 root root  43008 Apr 20 11:23 isolinux-debug.bin
-rw-r--r-- 1 root root  43008 Apr 20 11:23 isolinux.bin
-rw-r--r-- 1 root root   1716 Apr 20 11:23 kbdmap.c32
-rw-r--r-- 1 root root   4932 Apr 20 11:23 kontron_wdt.c32
-rw-r--r-- 1 root root 122356 Apr 20 11:23 ldlinux.c32
-rw-r--r-- 1 root root   5144 Apr 20 11:23 lfs.c32
-rw-r--r-- 1 root root 184780 Apr 20 11:23 libcom32.c32
-rw-r--r-- 1 root root  67708 Apr 20 11:23 libgpl.c32
-rw-r--r-- 1 root root 102580 Apr 20 11:23 liblua.c32
-rw-r--r-- 1 root root  24016 Apr 20 11:23 libmenu.c32
-rw-r--r-- 1 root root  23964 Apr 20 11:23 libutil.c32
-rw-r--r-- 1 root root   4736 Apr 20 11:23 linux.c32
-rw-r--r-- 1 root root  90927 Apr 20 11:23 lpxelinux.0
-rw-r--r-- 1 root root   3032 Apr 20 11:23 ls.c32
-rw-r--r-- 1 root root   6948 Apr 20 11:23 lua.c32
-rw-r--r-- 1 root root  11796 Apr 20 11:23 mboot.c32
-rw-r--r-- 1 root root    440 Apr 20 11:23 mbr.bin
-rw-r--r-- 1 root root    440 Apr 20 11:23 mbr_c.bin
-rw-r--r-- 1 root root    440 Apr 20 11:23 mbr_f.bin
-rw-r--r-- 1 root root  25756 Apr 20 11:23 memdisk
-rw-r--r-- 1 root root   2524 Apr 20 11:23 meminfo.c32
-rw-r--r-- 1 root root  26480 Apr 20 11:23 menu.c32
-rw-r--r-- 1 root root   3380 Apr 20 11:23 pci.c32
-rw-r--r-- 1 root root   3560 Apr 20 11:23 pcitest.c32
-rw-r--r-- 1 root root   3616 Apr 20 11:23 pmload.c32
-rw-r--r-- 1 root root   1708 Apr 20 11:23 poweroff.c32
-rw-r--r-- 1 root root   3188 Apr 20 11:23 prdhcp.c32
-rw-r--r-- 1 root root   1544 Apr 20 11:23 pwd.c32
-rw-r--r-- 1 root root  12488 Apr 20 11:23 pxechn.c32
-rw-r--r-- 1 root root  46876 Apr 20 11:23 pxelinux.0
-rw-r--r-- 1 root root   1420 Apr 20 11:23 reboot.c32
-rw-r--r-- 1 root root  13988 Apr 20 11:23 rosh.c32
-rw-r--r-- 1 root root   1676 Apr 20 11:23 sanboot.c32
-rw-r--r-- 1 root root   3088 Apr 20 11:23 sdi.c32
-rw-r--r-- 1 root root  15060 Apr 20 11:23 sysdump.c32
-rw-r--r-- 1 root root   8904 Apr 20 11:23 syslinux.c32
-rw-r--r-- 1 root root 208788 Apr 20 11:23 syslinux.com
-rw-r--r-- 1 root root   3004 Apr 20 11:23 vesa.c32
-rw-r--r-- 1 root root   2240 Apr 20 11:23 vesainfo.c32
-rw-r--r-- 1 root root  26964 Apr 20 11:23 vesamenu.c32
-rw-r--r-- 1 root root   1908 Apr 20 11:23 vpdtest.c32
-rw-r--r-- 1 root root   2528 Apr 20 11:23 whichsys.c32
-rw-r--r-- 1 root root   3628 Apr 20 11:23 zzjson.c32

ls -la /boot/syslinux:

rescue:/ # ls -la /boot/syslinux
total 416
drwxr-xr-x 1 root root    146 Aug 18 08:10 .
drwxr-xr-x 1 root root    530 Aug 18 07:59 ..
-r--r--r-- 1 root root 122356 Aug 18 08:02 ldlinux.c32
-rw-r--r-- 1 root root 184780 Aug 18 08:06 libcom32.c32
-rw-r--r-- 1 root root  23964 Aug 18 08:06 libutil.c32
-rw-r--r-- 1 root root  25756 Aug 18 08:06 memdisk
-rw-r--r-- 1 root root  26480 Aug 18 08:06 menu.c32
-rw-r--r-- 1 root root    241 Aug 18 08:11 syslinux.cfg
-rw-r--r-- 1 root root  26964 Aug 18 08:09 vesamenu.c32

cat /boot/syslinux/syslinux.cfg:

rescue:/ # cat /boot/syslinux/syslinux.cfg
TIMEOUT 30
ONTIMEOUT gentoo
  
UI vesamenu.c32
MENU TITLE Boot
  
LABEL opensuse_test
      MENU LABEL opensuse_test
      LINUX /boot/vmlinuz

Попробовал ещё с boot флагом поиграть, получается вот так:

• Если boot flag стоит на /dev/sda1, то он пишет:

An operating system wasn't found. Try disconnecting any drives that don't contain an operating system. 
Press Ctrl+Alt+Del to restart.

• Если boot flag стоит на /dev/sda2, то он пишет:

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