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
Getting started with El Torito
Getting started with El Torito
- Attachments
-
[The extension s has been deactivated and can no longer be displayed.]
H Technology Solutions - Business Operating System Specialists
- Combuster
- 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
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.
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.
Re: Getting started with El Torito
Sorry for the confusion.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.
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
-
- Member
- Posts: 127
- Joined: Sat Sep 29, 2007 5:43 pm
- Location: Amsterdam, The Netherlands
Re: Getting started with El Torito
This sample should get you started: http://wiki.osdev.org/El-Torito#A_BareB ... tion_Table
Regards,
Stephan J.R. van Schaik.
Regards,
Stephan J.R. van Schaik.