Failed to load com32 file menu c32 windows

Здравствуйте. Столкнулся с проблемой запуска Live-USB.
  • Печать

Страницы: [1] 2  Все   Вниз

Тема: Создаются «битые» Live-USB. Ubuntu Gnome 14.10  (Прочитано 48926 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Александр 01

Здравствуйте. Столкнулся с проблемой запуска Live-USB.
При запуске флешки с установленной Live-системой,
вместо открытия установленной Live-системы,»выскакивают»
оповещения типа:

В UNetbootin:
 — Failed to load COM32 file menu .c32 —
boot:

В usb-creator-gtk:
 — Loading Operating System…
Failed to load COM32 file gfxboot .c32     
boot:

Как будто бы данные программы не до устанавливают некоторые файлы…

 (ТАК ЖЕ ДЕЛАЛ ЗАМЕНУ ФЛЕШЕК — БЕЗРЕЗУЛЬТАТНО).

Создал ISO-образ своей системы с помощью Systemback,
скачивал для теста большое количество Ubuntu-Linux ISO-образов(не официальных сборок, и с оф.сайтов — не сборок).
Создавал Live-USB в Linux Mint 17, но это ничего не меняет.
Результат тот же…

Ну не могут же 20 скачанных ISO-ОБРАЗОВ, и после созданных в разных операционных системах Live-USB флешек, быть «битыми» !!!

На сайте: COMPIZOMANIA
есть ПРОГРАММА УСТАНОВКИ ДИСТРИБУТИВА Ubuntu/Linux Mint НЕПОСРЕДСТВЕННО С ЖЁСТКОГО ДИСКА — под названием GRML-rescueboot
ССЫЛКА: http://compizomania.blogspot.com/2012/12/ubuntulinux-mint-iso.html
И вот, что интересно, некоторые «битые» ISO-образы — ЗАПУСКАЮТСЯ В ЭТОЙ ПРОГРАММЕ…
Получается, что UNetbootin и  usb-creator-gtk — работают неправильно…

Подскажите как решить данную проблему.
За ранее спасибо.

« Последнее редактирование: 15 Декабря 2014, 00:03:58 от Александр 01 »


| toZen |

Александр 01, в свое время заметил этот косяк на 14.04, а вот в 12.04 все было в порядке. Это явный баг системы, потому-что у меня на Crunchbang все пишется идеально. Сам файл menu.32 — это как логически следует из названия, файл меню запуска опций установщика системы. Можно запустить установку и без него, просто наберите в строке install и нажмите Enter, должна начаться установка. Я именно так запускал.  Или же, после записи можете этот файл скопировать на носитель вручную.

« Последнее редактирование: 15 Декабря 2014, 00:33:24 от τοΖεη »


Александр 01

Здравствуйте τοΖεη.

Прописал в boot: install + Enter,
Ответ системы:
Loading install… failed: No such file or directory
(Загрузка … не удалась: Нет такого файла или каталога) повидимому всё таки программа «лагает».
Дело в том, что тот же «баг» и на Linux Mint присутствует.
(В Linuxe этот «баг» начался относительно недавно — примерно полтора-два месяца назад).
Специально установил чистый LM-17 Cinnamon, всё без изменений, и вот в Ubuntu тоже самое.

« Последнее редактирование: 15 Декабря 2014, 00:50:27 от Александр 01 »


| toZen |

Александр 01, тогда, скопируйте этот файл (menu.c32) из директории /usr/lib/syslinux/ на флешку.
Поправьте, если я не прав, пишу с мобилы.


Пользователь решил продолжить мысль [time]14 Декабрь 2014, 22:59:17[/time]:


Ну и в догонку, самый надежный способ по мне — dd и sync в конце.

« Последнее редактирование: 15 Декабря 2014, 08:57:28 от τοΖεη »


Александр 01

Есть только файл vesamenu.c32,
а директории /usb/lib/syslinux/bios — красные отсутствуют.

Скопировал vesamenu.c32 — не запускается.


| toZen |

…а директории /usb/lib/syslinux/bios — красные отсутствуют.

Извините, опечятался вчера. Уже исправил.
Только, я уже не помню куда именно я копировал. Толи в /, толи в /boot…поэксперементируйте, ничего страшного не случится.

« Последнее редактирование: 15 Декабря 2014, 09:02:02 от τοΖεη »


Оффлайн
Sly_tom_cat

Если образ гибридный (у Ubuntu он такой) то проще всего (ИМХО) создать установочную флешку — это просто скопировать побайтно образ прямо на устройство (как на CD копируются образы).

Т.е. нужно узнать где у вас флешка. Понять это можно из вывода команд:

sudo  parted -l
или

sudo  fdisk -l

А потом просто выполнить

sudo cp <путь и имя образа>.iso /dev/sd<буква устройства соответствующего флешке>


Александр 01

« Последнее редактирование: 16 Декабря 2014, 14:01:12 от Александр 01 »


Оффлайн
Sly_tom_cat


Александр 01


Оффлайн
Sly_tom_cat

Александр 01, ты бот?  :idiot2: Нет. Команда копирования — не моя.

Я же сказал — не нужна файловая система (а вы ее создаете зачем-то), копировать образ не на раздел (dev/sdb1), а на устройство (/dev/sdb).

Мне сколько раз это нужно повторить?


Оффлайн
psp911

…Сам файл menu.32 — это как логически следует из названия, файл меню запуска опций установщика системы. Можно запустить установку и без него, просто наберите в строке install и нажмите Enter, должна начаться установка…

Спасибо, добрый человек! Сработало. День убил на этот глюк.
Неужели Ubuntu такие детские проблемы умеет создавать.


| toZen |

psp911, к сожалению — это не единственная проблема, которая имеет длинный хвост.


Оффлайн
Sly_tom_cat

И именно потому, что многие утилиты создания LiveUSB глючат… Подчеркиваю — глюк не в ubuntu а в утилитах…. именно поэтому я и советую всем делать загрузочные USB простым копированием (как это описано выше).


Оффлайн
Kernel2012

grml-rescueboot поддерживает не Ubuntu подобные дистрибутивы? Вот я например, пробовал запустить через GRUB2 Mageia-4.1-x86_64-DVD.iso и Sabayon_Linux_15.02.1_amd64_KDE.iso, Sabayon_Linux_15.02.1_amd64_GNOME.iso — ни один не стартанул. При выборе просто сбрасывается окно GRUB2 на первоначальной состояние (ни чего не происходит).

А вот deepin_2014.1_amd64.iso запустился. Уверен что и linuxmint-17.1-cinnamon-64bit.iso запустится и другие Ubuntu-подобные.

Кто-нибудь что-нибудь знает об этом?


  • Печать

Страницы: [1] 2  Все   Вверх

jroovy

White ninja
White ninja
Posts: 14
Joined: 25 Jul 2021, 12:12
Distribution: archlinux

Unable to boot Porteus 5.0 rc3 in Legacy mode

Hi! So i created a Porteus usb using Rufus. UEFI mode works fine but when I boot in Legacy mode it says: «Failed to load COM32 file vesamenu.c32»


User avatar

Ed_P

Contributor
Contributor
Posts: 7435
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.0 ISO
Location: Western NY, USA

Unable to boot Porteus 5.0 rc3 in Legacy mode

Post#2

by Ed_P » 25 Jul 2021, 16:10

Check the drive’s Partition Table and be sure it’s not GPT. Legacy systems don’t support it.

This thread may help you. UEFI and Legacy — at the same time?

Ed


Rapha_

Samurai
Samurai
Posts: 158
Joined: 12 Jun 2021, 21:59
Distribution: Xfce 4.12 — 5.rc3 — x86_64
Location: France

Unable to boot Porteus 5.0 rc3 in Legacy mode

Post#3

by Rapha_ » 25 Jul 2021, 22:10

I don’t think using Rufus is a good way to install Porteus (it could be not the same Syslinux version ) :(

Now, you have to complete the installation of Porteus with the script inside the Usb :

From Linux: in command line (in the good directory) :

Code: Select all

sh Porteus.installer-for-Linux.com

From Windows:

Every things is explained with «install.txt» (in boot/docs )

(I believe that «UEFI mode» don’t need install)


jroovy

White ninja
White ninja
Posts: 14
Joined: 25 Jul 2021, 12:12
Distribution: archlinux

Unable to boot Porteus 5.0 rc3 in Legacy mode

Post#4

by jroovy » 26 Jul 2021, 02:21

Ok, so I tried the steps in Ed_P’s post, but now I got this in Legacy: «vesamenu.c32: not a COM32R image»


jroovy

White ninja
White ninja
Posts: 14
Joined: 25 Jul 2021, 12:12
Distribution: archlinux

Unable to boot Porteus 5.0 rc3 in Legacy mode

Post#5

by jroovy » 26 Jul 2021, 02:24

So i created an MBR on my flash drive, format as Fat32, copied iso contents to the drive, then run the Porteus-installer-for-Windows.exe, and it gives me that error above when I boot to Legacy.


User avatar

Ed_P

Contributor
Contributor
Posts: 7435
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.0 ISO
Location: Western NY, USA

Unable to boot Porteus 5.0 rc3 in Legacy mode

Post#6

by Ed_P » 26 Jul 2021, 04:11

I admire your persistence jroovy. :good: Which DE ISO are you working with?

Ed


jroovy

White ninja
White ninja
Posts: 14
Joined: 25 Jul 2021, 12:12
Distribution: archlinux

Unable to boot Porteus 5.0 rc3 in Legacy mode

Post#7

by jroovy » 26 Jul 2021, 04:35

MATE iso


jroovy

White ninja
White ninja
Posts: 14
Joined: 25 Jul 2021, 12:12
Distribution: archlinux

Unable to boot Porteus 5.0 rc3 in Legacy mode

Post#8

by jroovy » 26 Jul 2021, 07:28

Ok, so I solved the problem by doing this:

1) Copy the Porteus 5.0 rc3 iso contents to the flash drive
2) Run the Porteus-installer-for-Windows.exe
3) Replace all matching .c32 files in the drive’s «./boot/syslinux/» with the ones from a Porteus 4.0 iso

And now it boots in both Legacy and UEFI mode :)

So I think the problem is this:

On Porteus 5.0 iso, the .c32 files are:

Code: Select all

$ file *.c32
chain.c32:    ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
ldlinux.c32:  ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
libcom32.c32: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
libutil.c32:  ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
reboot.c32:   ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
vesamenu.c32: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped

While on the Porteus 4.0 iso:

Code: Select all

$ file *.c32
chain.c32:    COM executable (32-bit COMBOOT, relocatable)
vesamenu.c32: COM executable (32-bit COMBOOT, relocatable)

Legacy BIOS can’t read ELF files, is what I’m guessing

Hope this helps :)


raja

Shogun
Shogun
Posts: 434
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and Porteus-Artix-64
Location: Chennai,India

Unable to boot Porteus 5.0 rc3 in Legacy mode

Post#9

by raja » 26 Jul 2021, 09:06

blaze, I think ,Porteus Insataller for windows.exe,still has syslinux-4.07 version of syslinux,where as you have replaced all files in syslinux folder with version -6.03.

This link gives all files including syslinux.exe (32bit) and syslinux64.exe downloaded from kernel.org. version-6.03

Please redo windows installer with these two exe files. At present , it has got syslinux.com file for windows95 and syslinux.exe for winNT, (both 4.07 version) The batch file to be modified, find system architecture, if win32 ,goto andf execute «syslinux.exe, else if it is 64bit goto and execute, syslinux64.exe

Since many people land into trouble, with this, please attend.

https://www.mediafire.com/file/to0iadpk … ar.gz/file

The ‘bios’ folder has got all files needed .

Linux Kernel-4.4.272 -32 bit; Linux Kernel-5.4.185 — 64 bit


User avatar

Ed_P

Contributor
Contributor
Posts: 7435
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.0 ISO
Location: Western NY, USA

Unable to boot Porteus 5.0 rc3 in Legacy mode

Post#10

by Ed_P » 26 Jul 2021, 12:27

Wow! :o Good analysis guys. :thumbsup: Thank you.

Ed


User avatar

ncmprhnsbl

DEV Team
DEV Team
Posts: 3707
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Unable to boot Porteus 5.0 rc3 in Legacy mode

Post#11

by ncmprhnsbl » 27 Jul 2021, 00:18

thanks raja,
here’s a quick one to try:

p-i-f-w.zip

i just changed the syslinux.com and syslinux.exe files and didn’t touch the installer.bat for now, so it’s 32bit only still(i’m guessing windows 64 is still backwards compatible with this)

raja wrote: ↑

26 Jul 2021, 09:06


The batch file to be modified, find system architecture, if win32 ,goto andf execute «syslinux.exe, else if it is 64bit goto and execute, syslinux64.exe

the question is, how exactly?
this is what it looks like now: (relevant section)
installer.bat:

Code: Select all

if %OS% == Windows_NT goto SetupNT
goto Setup95

:SetupNT
%~dp0syslinux.exe -maf -d %folder%bootsyslinux %drive%:
if %ERRORLEVEL% == 0 goto Done
goto Error

:Setup95
%~dp0syslinux.com -maf -d %folder%bootsyslinux %drive%:
if %ERRORLEVEL% == 0 goto Done
goto Error

what should «%OS% == ?» be to detect windows architecture?
or some other query to specifically ask architecture?
another question is: do we need to support windows 95 with syslinux.com? does anybody still use that?
i’m guessing that «Windows_NT» catches any post XP version of windows ..?
to mess around with this, i’ve used file-roller and p7zip, since .exe is apparently an archive format..
here’s p7zip for 5.0rc3:

p7zip-16.02-x86_64-4_ncm.xzm

(since 7-zip doesn’t play nice)

Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44


raja

Shogun
Shogun
Posts: 434
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and Porteus-Artix-64
Location: Chennai,India

Unable to boot Porteus 5.0 rc3 in Legacy mode

Post#12

by raja » 27 Jul 2021, 11:14

Hope this will work.

Code: Select all

IF EXIST "%PROGRAMFILES(X86)%" GOTO 64BIT ELSE GOTO 32BIT

:64BIT
%~dp0syslinux64.exe -maf -d %folder%bootsyslinux %drive%:
if %ERRORLEVEL% == 0 goto Done
goto Error

:32BIT
%~dp0syslinux.exe -maf -d %folder%bootsyslinux %drive%:
if %ERRORLEVEL% == 0 goto Done
goto Error

error and done to be added.

*info

echo %PROCESSOR_ARCHITECTURE%
if %PROCESSOR_ARCHITECTURE% == x86 GOTO 32BIT ELSE GOTO 64BIT

* after thought made me to discourage above, since ,there could be people who may be running winxp 32 bit in a 64 bit processor machine.

Anyway as you said, syslinux.exe can be executed in both and should suffice. Moreover , both use same syslinux.c source and only elf info inputted during compile.

Linux Kernel-4.4.272 -32 bit; Linux Kernel-5.4.185 — 64 bit


User avatar

ncmprhnsbl

DEV Team
DEV Team
Posts: 3707
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Unable to boot Porteus 5.0 rc3 in Legacy mode

Post#13

by ncmprhnsbl » 27 Jul 2021, 11:55

thanks again raja,
here:

p-i-f-w-2.zip

is with the above in the installer.bat with syslinux.exe and syslinux64.exe.
for windows users to test please..

Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44


jroovy

White ninja
White ninja
Posts: 14
Joined: 25 Jul 2021, 12:12
Distribution: archlinux

Unable to boot Porteus 5.0 rc3 in Legacy mode

Post#14

by jroovy » 27 Jul 2021, 13:36

ncmprhnsbl I’ve just tried it, doesn’t work :(
Tried running it as normal user and administrator, doesn’t work
It gives me the popup: «This app can’t run on your PC»

I’m on Windows 10 64bit (LTSC 2019)


beny

Full of knowledge
Full of knowledge
Posts: 1664
Joined: 02 Jan 2011, 11:33
Location: italy

Unable to boot Porteus 5.0 rc3 in Legacy mode

Post#15

by beny » 27 Jul 2021, 15:57

hi jroovy when you have this message on desktop «vesamenu.c32: not a COM32R image» hit the tab key maybe you have a list of boot option you can choose one,try if work for you..


I have the following pxelinux config:

DEFAULT vesamenu.c32
PROMPT 0

MENU TITLE In The Moon Network

LABEL install1404server
MENU LABEL Install Ubuntu 14.04.1 Server AMD64
include ubuntu-installer/amd64/boot-screens/menu.cfg
default ubuntu-installer/amd64/boot-screens/vesamenu.c32

All mentioned files are accessed by tftpd.

When I do network boot, my menu appears. When I select the (single) item, the following error message appears:

Failed to load COM32 file ubuntu-installer/amd64/boot-screens/vesamenu.c32

Loading is occurred on virtual machine.

What is happening which causes this error message?

asked Mar 27, 2016 at 19:18

Dims's user avatar

I just had this, I had to redownload everything under my ‘ubuntu-installer’ directory. I don’t know if they were supposed to be binary and they were ascii or the other way around or if they were simply corrupt. As soon as I put the freshly downloaded files in my tftp directory, pxe boot worked great.

answered Apr 27, 2016 at 4:58

clickwir's user avatar

The error message means the PXELINUX bootloader is attempting a TFTP download of file ubuntu-installer/amd64/boot-screens/vesamenu.c32 and failing.

Could be a file permissions issue, or a file corruption issue as suggested by @clickwir.

If the TFTP server software is set to log all requests, checking its log might be helpful: if the TFTP server has logged an error, it’s probably a file permissions issue on the server, but if the TFTP download has been successful, the file was probably corrupt on the server.

answered Aug 29, 2018 at 14:13

telcoM's user avatar

telcoMtelcoM

77.6k3 gold badges101 silver badges196 bronze badges


Я надеюсь оживить старый нетбук, установив на него Linux. Я сделал то, что, как я понимаю, большинство из нас должны делать: я создал Xubuntu 14.10 Live USB с Unetbootin, подключил флешку к компьютеру, попытался ее запустить …

и столкнулся с черным экраном и этой ошибкой:

Failed to load COM32 file menu.c32

boot: _

Чертова штука не реагирует ни на какие нажатия клавиш, и я ничего не могу сделать, кроме как выключить ее и плакать. Я попытался переформатировать USB-накопитель, заново загрузить Xubuntu .iso и переделать Live USB. Та же ошибка.

Что я могу сделать, чтобы это исправить?

Эта проблема также возникает с usb-creator, иначе известный как «Startup Disk Creator». Это также проблема со всеми вариантами Ubuntu, в том числе на основе Ubuntu 14.04 LTS, Ubuntu 14.10 и Ubuntu 15.04.



Ответы:


После некоторых копаний кажется, что это довольно распространенная проблема для некоторых людей, которые пытаются создать Ubuntu Live USB с Unetbootin.Ошибка еще не исправлена, но, к счастью, есть обходной путь.

Тебе понадобиться:

  • Рабочий компьютер с уже установленной Ubuntu
  • 1 минута вашего времени

Обходной путь:

  1. Подключите ваш созданный Live USB к компьютеру с уже установленной Ubuntu.
  2. Перейдите к /usr/lib/syslinux/bios/в вашем файловом менеджере. (В некоторых случаях путь вам нужен /usr/lib/syslinux/modules/bios/.
  3. Выберите следующие три файла: libcom32.c32, menu.c32и libutil.c32.
  4. Скопируйте (не обрезайте) вышеуказанные файлы в корневой каталог вашего Live USB-накопителя.
  5. Размонтируйте USB-накопитель, и все готово!

Это решение было основано на сообщении в блоге, найденном на AjoPaul.com

Альтернативный обходной путь Из командной строки:

После установки Ubuntu 14.10 на USB-накопитель выполните следующие команды:

cd /usr/lib/syslinux/modules/bios/
cp libcom32.c32 /media/path/to/usb/drive/
cp libutil.c32 /media/path/to/usb/drive/
cp menu.c32 /media/path/to/usb/drive/



Существует очень простое решение, у меня была та же проблема, когда я использовал Startup Disk Creator с моего ноутбука под управлением Ubuntu. Все, что вам нужно сделать, это нажать, Tabкогда вы получите ошибку. Когда вы нажмете Tab, вы увидите несколько новых опций, таких как «Live». просто введите live на клавиатуре и нажмитеenter . Это позволит вам запустить Xubuntu с USB-диска. После успешной загрузки в Xubuntu вы можете установить ОС на свой нетбук оттуда.

Также вы можете установить Xubuntu 14.04 или 16.04, поскольку эти версии будут поддерживаться в течение более длительного периода времени.

Этот метод работал для меня, когда я пытался загрузиться в Ubuntu 14.10. Это также должно работать для вас.






Я получил ту же ошибку, но не удалось файл был versamenu.c32.

Для моего Xubuntu 16.04 отсутствующие файлы доступны в

/usr/lib/syslinux/modules/bios. 

Я скопировал 4 файла:

libcom32.c32
menu.c32
libutil.c32
versamenu.c32 

в корень ( /) USB, и он работал хорошо, когда я пытался проверить Trinity Rescue USB

Several people reported they have problem booting Slax from USB device, with the following error message displayed:

failed to load com32 file /slax/boot/vesamenu.c32

I am not able to replicate this error, so I need your help to find out what particular change fixes it. So, if you are experiencing these troubles, please try the following and let me know what helps:

1) download latest syslinux
2) unzip
3) find file ./bios/com32/menu/vesamenu.c32
4) copy the vesamenu.c32 to your USB disk with Slax and try to boot Slax again.

If this helps to resolve your problem, please reply here that vesamenu.c32 is the only file which needs update. However, it is possible that some more files need to be added, so if only vesamenu.c32 won’t help to fix your problem, try to copy also ./bios/com32/libutil/libutil.c32, ./bios/com32/libcom/libcom.c32, and maybe some others from the ./bios/com32 directory. I don’t think that those are needed, but you can test.

I cannot solve this alone, since it doesn’t fail on my computer. Thank you very much for your time playing with this.

User comments

Понравилась статья? Поделить с друзьями:
  • Failed to initialize the game for windows live
  • Fable anniversary не запускается на windows 10
  • Failed to initialize renderer skyrim как исправить windows 10
  • Failed to initialize graphics device diablo 2 resurrection windows 7
  • Failed to initialize games for windows live что делать