Boot Kernel From CD

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
User avatar
A-OS
Posts: 10
Joined: Mon Sep 24, 2007 5:30 am

Boot Kernel From CD

Post by A-OS »

Does Any One Know How To Boot A Kernel From A CD?



:D
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

Yes. Read the wiki. (You're looking for El Torito)
User avatar
kataklinger
Member
Member
Posts: 381
Joined: Fri Nov 04, 2005 12:00 am
Location: Serbia

Post by kataklinger »

And search the forum, please! :roll:
dchis
Posts: 1
Joined: Tue Sep 18, 2007 5:18 pm
Location: Cluj/Zalau Romania

Post by dchis »

Take a look at this one too, if you plan to use grub as a bootloader. http://www.gnu.org/software/grub/manual ... D-ROM.html
User avatar
A-OS
Posts: 10
Joined: Mon Sep 24, 2007 5:30 am

Post by A-OS »

Were Would I Find 'stage2_eltorito'?
User avatar
bluecode
Member
Member
Posts: 202
Joined: Wed Nov 17, 2004 12:00 am
Location: Germany
Contact:

Post by bluecode »

On my Kubuntu it is in /usr/lib/grub/x86_64-pc/.
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

Why not just make a bootable floppy image, and then from your burn software click make bootable and point it to the floppy image, now you have a bootable CD.
User avatar
kataklinger
Member
Member
Posts: 381
Joined: Fri Nov 04, 2005 12:00 am
Location: Serbia

Post by kataklinger »

Dex wrote:Why not just make a bootable floppy image, and then from your burn software click make bootable and point it to the floppy image, now you have a bootable CD.
Because it's ugly and it's harder to do that way. Because you must make a code that boots system from floppy, which is just pain in the *s*, first. Because there is awkward emulation. Maybe because he hates flippies just like I do! :)
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Post by neon »

All I do is use VFD to create a virtual floppy disk, create a floppy image from it, then just burn it to a CD... It's not that hard.

It is rather ugly though compared to the "correct" way.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

kataklinger wrote:
Dex wrote:Why not just make a bootable floppy image, and then from your burn software click make bootable and point it to the floppy image, now you have a bootable CD.
Because it's ugly and it's harder to do that way. Because you must make a code that boots system from floppy, which is just pain in the *s*, first. Because there is awkward emulation. Maybe because he hates flippies just like I do! :)
But you can just as easy use a hdd image and emulate Hdd :wink:
Post Reply