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

Figure out a way to re-produce a bootable ISO #2

Open
minexew opened this issue Jan 27, 2017 · 7 comments
Open

Figure out a way to re-produce a bootable ISO #2

minexew opened this issue Jan 27, 2017 · 7 comments

Comments

@minexew
Copy link
Member

minexew commented Jan 27, 2017

The closest I got was using

mkisofs -J -r -l -b 0000Boot/0000Kernel.BIN.C -no-emul-boot -o Temple.iso TempleOSCD/

The kernel gets loaded, but fails to identify the boot drive, asks for the I/O port number and then crashes.
Perhaps not all of the kernel gets loaded. (tested on QEMU)

What the built-in ISO9660ISO function does to produce a bootable image, is use a small Stage-1 loader and binary-patch in the kernel's raw on-disc location. Which is, needless to say, pretty clunky.

@grepwood
Copy link

Did you supply the port numbers? Terry said in the readme that you need to do that because TempleOS can't figure those out.

@digitalcombine
Copy link

I don't believe you can create an ISO this way for TempleOS. TempleOS don't seem to understand the standard ISO9660 filesystems and uses it's own RedSea ISO filesystem instead.

To roll your own ISO, first you install TempleOS on to a hard drive file and run it from something like qemu. In the T:/Misc directory is DoDistro.HC.Z which will create an ISO for you. From there you can retrieve the ISO with his qemu scripts (I believe, but not 100% sure).

@mczero80
Copy link

I am too interested in building a new ISO file. I watched a Terry video on youtube where he instructs how to build a new distro, but the starting ISO that I downloaded was missing the Kernel/KEnd.HC that he was editing in his video. This repository has that file... Perhaps I am thinking to complicated. I don't know.

Sorry to disturb this issue thread

@minexew
Copy link
Member Author

minexew commented Dec 10, 2018

@mczero80 Try to find an ISO with SHA-1 hash 1a1ec79...

It might be in https://archive.org/details/TempleOS_ISO_Archive as TempleOSV503, I don't remember

@mczero80
Copy link

@mczero80 Try to find an ISO with SHA-1 hash 1a1ec79...

It might be in https://archive.org/details/TempleOS_ISO_Archive as TempleOSV503, I don't remember

That's the correct ISO! Thank you very much 👍

@omerien
Copy link

omerien commented Aug 11, 2022

GOT THE ISO TO WORK
I'm using UTM (it's for Mac and it's based on QEMU)
Here's my configuration:
Capture d’écran 2022-08-11 à 15 42 39
Capture d’écran 2022-08-11 à 15 42 57
Capture d’écran 2022-08-11 à 15 43 20

@omerien
Copy link

omerien commented Aug 11, 2022

(I'm talking about the ISO you created, and yes I had the same message as you before changing randomly some settings)

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

No branches or pull requests

5 participants