How does an operating system live cd when booted read files from the cd? Does it use an internal atapi driver of some sort or what are other ways that the cd can be read from in protected mode?
Thanks,
Joseph
CD File Reading
-
- Member
- Posts: 48
- Joined: Mon Aug 13, 2007 2:30 pm
CD File Reading
Last edited by JoeTheProgrammer on Thu May 29, 2008 4:27 pm, edited 1 time in total.
For booting El Torito, http://en.wikipedia.org/wiki/El_Torito_ ... tandard%29
After booting, a hardware driver for accessing sectors (for example scsi or atapi) on the CD and support for a CD filesystem (mostly ISO9660).
After booting, a hardware driver for accessing sectors (for example scsi or atapi) on the CD and support for a CD filesystem (mostly ISO9660).
- 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:
Read the wiki: Bootable CD
-
- Member
- Posts: 48
- Joined: Mon Aug 13, 2007 2:30 pm
I mean after the cd boots with grub and executes my kernel, how does the kernel read files on the cd?Combuster wrote:Read the wiki: Bootable CD
-
- Member
- Posts: 48
- Joined: Mon Aug 13, 2007 2:30 pm
My memory is a bit fuzzy on the subject, but if you can stay inside 1.44 MB (size of a floppy) then you can put whatever you want in that floppy image and it will be accessible through the floppy emulation the BIOS is doing for you when you boot from it. So you can easily put extra stuff in the additional "sectors" and load that whether you put a fat file system in there or not.
Obviously the rest of the CD/DVD is still ISO / UDF and to get to that you will need a driver I'd imagine. But you have 1.44 MB of space to put that driver in
I think the above is correct... if someone knows it isn't don't hesitate to correct me!
Obviously the rest of the CD/DVD is still ISO / UDF and to get to that you will need a driver I'd imagine. But you have 1.44 MB of space to put that driver in
I think the above is correct... if someone knows it isn't don't hesitate to correct me!
- Rob