Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MINIX 3 ISO Support #26

Closed
alxersov opened this issue Aug 17, 2018 · 7 comments
Closed

MINIX 3 ISO Support #26

alxersov opened this issue Aug 17, 2018 · 7 comments

Comments

@alxersov
Copy link

Is it possible to add support for MINIX3 ISO images?

I get the following error for the current version:

bootiso -i minix_R3.4.0rc6-d5e4fc0.iso

bootiso: The selected ISO is not hybrid, doesn't supports UEFI nor legacy BIOS booting with SYSLINUX.
         It cannot result in any successful booting with bootiso.

Thanks,
Alexei

@jsamr
Copy link
Owner

jsamr commented Aug 17, 2018

@alxersov Unfortunately, the message claim is true. As per the official website:

This guide is a workaround to install MINIX on Intel PC using USB. There is no actual USB support, use it at your own risk.

And the provided guide involves using a virtual machine! Way too complex... Plus I would have to add a dependency on QEMU. I'm sorry, you'll have to get your hands dirty :-(

But if one day SYSLINUX supports it, I might reconsider.

@jsamr
Copy link
Owner

jsamr commented Aug 17, 2018

@alxersov See also bootiso preamble:

Works seamlessly with hybrid and non-hybrid ISOs (SYSLINUX or UEFI compliant)

@alxersov
Copy link
Author

@jsamr Thank you! So SYSLINUX does not support this ISO, but why? 🤔 What is wrong with the image? It is possible to boot MINIX over network using PXE. If PXELINUX works doesn't this mean that SYSLINUX should also support MINIX? I am a little confused and I'd like to better understand how it all works and where the limitation comes from.

@jsamr
Copy link
Owner

jsamr commented Aug 18, 2018

@alxersov The main issue with this image is that it's not hybrid. Hybrid ISOs include a full disk image encompassing a partition table (usually MBR) and a boot mechanism, such as UEFI compliant partition or legacy BIOS bootloader.

While I was typing, I made a test.
And actually, the latest was hybrid!
image

Can you try again? I doubt though it will result in a successful boot process since I mounted the ISO and made a few checks.

I. Found thoses lines in the readme:

HARDWARE
*MINIX 3 OS requires the following hardware:
        - PC with a Pentium or compatible processor
        - at least 200 MB of free disk space
        - IDE CD-ROM drive
        - IDE hard disk
        - NOT SUPPORTED: USB and SCSI disks; Some Serial ATA disks work.

II. There is no UEFI partition (ESP)

$ fdisk -l minix_R3.3.0-588a35b.iso 
Disque minix_R3.3.0-588a35b.iso : 577.5 MiB, 605581312 octets, 1182776 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Type d'étiquette de disque : dos
Identifiant de disque : 0x00000000

Périphérique              Amorçage Début     Fin Secteurs Taille Id Type
minix_R3.3.0-588a35b.iso1              0   12287    12288     6M 81 Minix / Linux ancien
minix_R3.3.0-588a35b.iso2          12288   82087    69800  34.1M 81 Minix / Linux ancien
minix_R3.3.0-588a35b.iso3          82088 1182775  1100688 537.5M 81 Minix / Linux ancien

@alxersov
Copy link
Author

Thanks for checking. I've tried minix_R3.3.0-588a35b.iso image. bootiso processed this image with no error, but the PC would not boot from USB ("No valid operating system" error).

@jsamr
Copy link
Owner

jsamr commented Aug 19, 2018

@alxersov The good news is that the ISO I checked is an hybrid ISO, while the one you reported wasn't. I bet MINIX maintainers are on the way to make it bootable. For such thing to happen, they would need to add MBR bootloader program. If you want more information on this boot process, check wikipedia entry for MBR :-).

@jsamr
Copy link
Owner

jsamr commented Aug 19, 2018

@alxersov You could directly ask on their google group if there is any planned support for USB boot, and how different SYSLINUX would it be from PXELINUX (which I don't know about much).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants