the OS FAQ: iso boot from linux

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
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

the OS FAQ: iso boot from linux

Post 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. ;-)
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re:Working on the OS FAQ

Post 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
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.
User avatar
Pype.Clicker
Member
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

Post by Pype.Clicker »

great stuff, brendan ;)
hgb

Re:the OS FAQ: iso boot from linux

Post 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.
bluecode

Re:the OS FAQ: iso boot from linux

Post 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...
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Post by Solar »

Bumping this, as the thread is still linked from the Wiki, and the download is still missing...
Every good solution is obvious once you've found it.
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Post 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
Post Reply