Page 1 of 1

the OS FAQ: iso boot from linux

Posted: Mon May 30, 2005 5:28 am
by distantvoices
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. ;-)

Re:Working on the OS FAQ

Posted: Mon May 30, 2005 8:27 am
by Brendan
Hi,
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. ;-)
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...


Cheers,

Brendan

Re:the OS FAQ: iso boot from linux

Posted: Mon May 30, 2005 12:09 pm
by Pype.Clicker
great stuff, brendan ;)

Re:the OS FAQ: iso boot from linux

Posted: Mon May 30, 2005 1:26 pm
by hgb
Perhaps brendan, you will like to use this ;).

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
for END, if you put any second argument, it will padd. Perhaps help.

Re:the OS FAQ: iso boot from linux

Posted: Sat Jul 15, 2006 6:13 am
by bluecode
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...

Posted: Mon Dec 03, 2007 8:09 am
by Solar
Bumping this, as the thread is still linked from the Wiki, and the download is still missing...

Posted: Tue Dec 04, 2007 9:28 am
by jal
Solar wrote:Bumping this, as the thread is still linked from the Wiki, and the download is still missing...
So... anyone asked brendan yet?


JAL