Getting started with El Torito

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
jasonc122
Member
Member
Posts: 27
Joined: Fri Jan 01, 2010 7:51 am

Getting started with El Torito

Post by jasonc122 »

Hi,

I've read the wiki and specification regarding El Torito and had a go at putting it all together without much luck. Trouble is I haven't the time to mess with implementing this specification.

Has anyone got a running example (in nasm or whatever) that can execute a boot image according to the El Torito spec?

Like I said, I had a go myself without much luck. The attached file is an attempt at creating an El Torito image. However when running it in qemu I get "0MB Medium Detected". i.e. nasm boot.s, qemu -cdrom boot

TIA
Attachments

[The extension s has been deactivated and can no longer be displayed.]

H Technology Solutions - Business Operating System Specialists
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Getting started with El Torito

Post by Combuster »

You are saying a lot of different things. Are you
1) trying to create a El-torito image? Use mkisofs/genisoimage
2) trying to boot a El-torito image? It's the BIOS' job to do that.
3) trying to write a bootsector to be started with El-torito? using grub or a floppy bootsector is much easier.
4) short on time? That's too bad, we don't do your homework, and there are no shortcuts in OS development.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
jasonc122
Member
Member
Posts: 27
Joined: Fri Jan 01, 2010 7:51 am

Re: Getting started with El Torito

Post by jasonc122 »

Combuster wrote:are saying a lot of different things. Are you
1) trying to create a El-torito image? Use mkisofs/genisoimage
2) trying to boot a El-torito image? It's the BIOS' job to do that.
3) trying to write a bootsector to be started with El-torito? using grub or a floppy bootsector is much easier.
4) short on time? That's too bad, we don't do your homework, and there are no shortcuts in OS development.
Sorry for the confusion.

I'm trying option 3 - aiming to write a boot sector to be started with El Torito without using GRUB. How do I go about this?

Do I use mkisofs and pass it my boot sector?

TIA
H Technology Solutions - Business Operating System Specialists
StephanvanSchaik
Member
Member
Posts: 127
Joined: Sat Sep 29, 2007 5:43 pm
Location: Amsterdam, The Netherlands

Re: Getting started with El Torito

Post by StephanvanSchaik »

This sample should get you started: http://wiki.osdev.org/El-Torito#A_BareB ... tion_Table


Regards,
Stephan J.R. van Schaik.
Post Reply