From: "Vesa Jääskeläinen" <chaac@nic.fi>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Loading boot image retrieved from CD-ROM
Date: Sun, 24 Jun 2007 10:53:56 +0300 [thread overview]
Message-ID: <467E2314.5010200@nic.fi> (raw)
In-Reply-To: <8c0c43de0706232131t48e63e45jf99963529a2f2304@mail.gmail.com>
Alex Roman wrote:
> Hello,
>
> As you may recall, I'm working on the Google Summer of Code project to
> enable GRUB2 to boot off CDs.
>
> I can now read boot images from CDs using int 13h BIOS calls :) And
> I've confirmed I'm actually reading the ISOLINUX image because I can
> perform some manual disassembly and it matches what I see in the
> ISOLINUX source code :)
>
> The problem is that QEMU freezes when I call the asm function. Was
> wondering if anyone could take a quick look at the function to see if
> I'm doing anything wrong, or if someone could suggest how to best
> debug this issue...
Sorry not having the time to test out PXE boot in vmware. Actually I
didn't event discover way to do PXE boot without setting up required
server software.... Anyway please provide floppy disk image next time ;)
Back to your issue. What BIOS call did you use? I am asking this because
if you did end up using packet calls then it might not work for ISOLINUX
as it most likely uses emulated reads. And might need drive remapping. I
have faint memory that some register needs to contain drive number being
booted. And now you have zeroed almost everything. Anyway. Best to make
custom image so that you know that you have booted it and not to quess
that perhaps something is happening :) You could easily make 512 bytes
image that does something like printing something to screen or so.
Here is a wiki link about memory map:
http://grub.enbug.org/MemoryMap
prev parent reply other threads:[~2007-06-24 7:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-24 4:31 Loading boot image retrieved from CD-ROM Alex Roman
2007-06-24 4:51 ` Bean
2007-06-24 5:00 ` Alex Roman
2007-06-24 5:26 ` Bean
2007-06-24 4:55 ` Alex Roman
2007-06-24 7:53 ` Vesa Jääskeläinen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=467E2314.5010200@nic.fi \
--to=chaac@nic.fi \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.