have added some words about building bootable cdrom images (iso9660) with the command mkisofs to
http://www.osdev.org/osfaq2/index.php/D ... er%20Linux
comments, corrections and proofreading welcome as usual.
the OS FAQ: iso boot from linux
-
- Member
- Posts: 1600
- Joined: Wed Oct 18, 2006 11:59 am
- Location: Vienna/Austria
- Contact:
the OS FAQ: iso boot from linux
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
BlueillusionOS iso image
Re:Working on the OS FAQ
Hi,
Cheers,
Brendan
I'm actually creating ISO9660 bootable iso images directly using NASM (e.g. "nasm -o cd.iso cdboot.asm"). It works on any OS without any special tools - very handy if you use NASM anyway. I've attached the "cdboot.asm" source code if anyone is interested...beyond infinity wrote: have added some words about building bootable cdrom images (iso9660) with the command mkisofs to
http://www.osdev.org/osfaq2/index.php/D ... er%20Linux
comments, corrections and proofreading welcome as usual.
Cheers,
Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:the OS FAQ: iso boot from linux
Perhaps brendan, you will like to use this .
for END, if you put any second argument, it will padd. Perhaps help.
Code: Select all
%define l(x) x
%define s(lab) l(lab)_start
%define e(lab) l(lab)_end
%define PAD align 2048, db 0
%macro START 1
s(%1)
%endmacro
%macro END 1-2
e(%1)
%if %0 = 2
PAD
%endif
%endmacro
Re:the OS FAQ: iso boot from linux
Sorry for resurrecting this thread, but we are currently linking to this thread in the OSFAQ, but the file (cdboot.asm) brendan uploaded is gone or at least can't be downloaded from that location...