QEMU and RTEMS problem on Ubuntu

JiSheng Zhang jszhang3 at gmail.com
Tue Jul 14 17:13:47 UTC 2009


I have tried to build floppy image myself as I did two years ago but
failed, this is the error message which grub-setup prints:
grub-setup: info: the size of fd0 is 2880
grub-setup: info: the size of fd0 is 2880
grub-setup: info: the size of fd0 is 2880
grub-setup: info: the size of fd0 is 2880
grub-setup: info: the size of fd0 is 2880
grub-setup: info: the size of fd0 is 2880
grub-setup: info: getting the size of /tmp/loop/boot/grub/boot.img
grub-setup: info: reading /tmp/loop/boot/grub/boot.img
grub-setup: info: getting the size of /tmp/loop/boot/grub/boot.img
grub-setup: info: getting the size of /tmp/loop/boot/grub/core.img
grub-setup: info: reading /tmp/loop/boot/grub/core.img
grub-setup: info: getting the size of /tmp/loop/boot/grub/core.img
grub-setup: info: the size of fd0 is 2880
grub-setup: info: the size of fd0 is 2880
grub-setup: info: setting the root device to `fd0'
grub-setup: info: dos partition is -1, bsd partition is -1
grub-setup: warn: Your embedding area is unusually small.  core.img
won't fit in it.
grub-setup: warn: Embedding is not possible.  GRUB can only be
installed in this setup by using blocklists.  However, blocklists are
UNRELIABLE and its use is discouraged.
grub-setup: info: attempting to read the core image
`/tmp/loop/boot/grub/core.img' from GRUB
grub-setup: info: the size of fd0 is 2880
grub-setup: info: the size of fd0 is 2880
grub-setup: info: couldn't open the core image
grub-setup: info: error message = file not found
grub-setup: info: attempting to read the core image `/grub/core.img'
from GRUB again
grub-setup: info: the size of fd0 is 2880
grub-setup: info: the size of fd0 is 2880
grub-setup: info: couldn't open the core image
grub-setup: info: error message = file not found
grub-setup: info: attempting to read the core image `/grub/core.img'
from GRUB again
grub-setup: info: the size of fd0 is 2880
grub-setup: info: the size of fd0 is 2880
grub-setup: info: couldn't open the core image
grub-setup: info: error message = file not found
grub-setup: info: attempting to read the core image `/grub/core.img'
from GRUB again
grub-setup: info: the size of fd0 is 2880
grub-setup: info: the size of fd0 is 2880
grub-setup: info: couldn't open the core image
grub-setup: info: error message = file not found
grub-setup: info: attempting to read the core image `/grub/core.img'
from GRUB again
grub-setup: info: the size of fd0 is 2880
grub-setup: info: the size of fd0 is 2880
grub-setup: info: couldn't open the core image
grub-setup: info: error message = file not found
grub-setup: error: Cannot read `/grub/core.img' correctly

IMHO, there's a lot of bugs in grub2 now. So it's better to use grub, it is OK


2009/7/15 Roxana Leontie <roxana.leontie at gmail.com>:
> Ralf the difference between Ubuntu and Fedora (grub2 vs grub[1]) is not
> something that I have to worry about. I am using a rtems-boot.img from Chris
> Johns that has the grub version 1.96 on it and can read the ext2 file
> system.
I got the same results when using the img form Chris Johns

JiSheng



More information about the users mailing list