CD Bootable

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
digo_rp
Member
Member
Posts: 233
Joined: Sun Jun 05, 2005 11:00 pm

CD Bootable

Post by digo_rp »

Hi all, may I have some help, please.

my problem is: my os works very well at VirtualBox, but at real hardware pc, it doesn´t ...

I´m creating a bootable cd with nero, and I´m using grub to start my os.

I cannot read fat at that cd bootable...

anyone could help me, please ?
Tosi
Member
Member
Posts: 255
Joined: Tue Jun 15, 2010 9:27 am
Location: Flyover State, United States
Contact:

Re: CD Bootable

Post by Tosi »

You're using a FAT filesystem on a CD? That may be part of the problem.
Other than that, nowhere near enough information to tell what the problem is.
Does it even boot on real hardware (does the grub menu show up)?
If it does boot, what happens?
User avatar
xenos
Member
Member
Posts: 1121
Joined: Thu Aug 11, 2005 11:00 pm
Libera.chat IRC: xenos1984
Location: Tartu, Estonia
Contact:

Re: CD Bootable

Post by xenos »

  • Are you using GRUB Legacy / GRUB 2 / your own bootloader?
  • Are you using floppy emulation / no emulation?
  • Do you use BIOS functions or your own driver to read from the CD?
Programmers' Hardware Database // GitHub user: xenos1984; OS project: NOS
digo_rp
Member
Member
Posts: 233
Joined: Sun Jun 05, 2005 11:00 pm

Re: CD Bootable

Post by digo_rp »

I´m using a bootable cd that I´ve created with nero. :(

and using grub 0.94 to boot.

it shows grub menu, boot my os, but when is executing like init_fat12(); it waits, waits, waits then I get timeout....

then I just can use a simples functions inside my kernels, none of fat functions, read, write, anything....

:(
StephanvanSchaik
Member
Member
Posts: 127
Joined: Sat Sep 29, 2007 5:43 pm
Location: Amsterdam, The Netherlands

Re: CD Bootable

Post by StephanvanSchaik »

Bootable CDs use ISO9660 as their file system instead of FAT12, therefore trying to parse the data on your CD as FAT12-formatted data instead of ISO9660-formatted data won't work.


Regards,
Stephan J.R. van Schaik.
digo_rp
Member
Member
Posts: 233
Joined: Sun Jun 05, 2005 11:00 pm

Re: CD Bootable

Post by digo_rp »

Guys, I think I found why it doesn´t work, I think we´r using a functions that we programing direct the floppy disk controller, right?

so using a bootable cd, we cannot use that functions to read / do anything with file system...

is that right ?

:-D

I have to find out another way to read, maybe use a real mode int 0x13? or it doesn´t works ? I´m just confused,

everyone remember windows 98 boot cd ? it start like with msdos using a real mode functions, like msdos does...

so how microsoft do that ? it uses a standart int 0x13? does bios do that emulation and then I can use int 0x13 ? or I have to use

a functions that read from cd controler ?
egos
Member
Member
Posts: 612
Joined: Fri Nov 16, 2007 1:59 pm

Re: CD Bootable

Post by egos »

See EDD functions.

Check this in Nero...
Boot -> Enable expert settings (for advanced users only) -> Expert settings:
Kind of emulation: No Emulation
Boot message:
Load segment of sectors (hex): 7C0
Number of loaded sectors: 4
If you have seen bad English in my words, tell me what's wrong, please.
Tosi
Member
Member
Posts: 255
Joined: Tue Jun 15, 2010 9:27 am
Location: Flyover State, United States
Contact:

Re: CD Bootable

Post by Tosi »

You can't expect to be able to read sectors from a CD using the floppy disk controller.
Try looking up documentation for whatever CD drive the machine you're trying to run on uses.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: CD Bootable

Post by Brynet-Inc »

Tosi wrote:You can't expect to be able to read sectors from a CD using the floppy disk controller.
Try looking up documentation for whatever CD drive the machine you're trying to run on uses.
Documentation for the drive? no, that is not what is required.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
Post Reply