All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: grub-setup: error: Non-sector-aligned data is found in the core file
Date: Wed, 7 Nov 2007 21:24:43 +0100	[thread overview]
Message-ID: <20071107202443.GD10337@thorin> (raw)
In-Reply-To: <460f92b70711060924qa5c9ea2tdb9c5a8240f64ba1@mail.gmail.com>

On Tue, Nov 06, 2007 at 07:24:29PM +0200, UrJiZ wrote:
> I've been working on a project of mine, putting GRUB2 to An award BIOS
> using ROMOS (http://rayer.ic.cz/romos/romose.htm).
> I've succesfully compiled GRUB 2 and generated my first rom disk
> image. I used http://grub.enbug.org/TestingOnX86 ,"Creating the
> Floppy" as my guide. I followed it mostly but skipping the copying of
> all the mods to the image (no space in 62K for 'em),  but adding all
> the necesary modules to the core.img.
> The succesfull core.img was created using the following command:
> ./grub-mkimage -d . -v -o core.img biosdisk configfile terminal normal
> _chain fat linux ext2 ls font halt pc
> 
> The disk had 5.5K of free space on this version, and I as I saw ata.c,
> i thought that it could also support CD's by adding ata and iso9660.
> So, a new core.img was created like so:
> ./grub-mkimage -d . -v -o core.img biosdisk configfile terminal normal
> _chain fat linux ext2 ls font halt pc ata iso9660
> 
> This core.img was a little bit larger, left 1K of free on the disk
> (good for grub.cfg when all else is done).
> This time grub-setup failed with the error on the subject line. I
> googled for it and found nothing, so i thought i could ask here about
> it.
> 
> So, why is this a problem, and why it worked for the first time but
> not with 2 more modules?...

For building a floppy use grub-mkrescue instead.

Btw, could someone update the wiki ?

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)



  reply	other threads:[~2007-11-07 20:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-06 17:24 grub-setup: error: Non-sector-aligned data is found in the core file UrJiZ
2007-11-07 20:24 ` Robert Millan [this message]
2007-11-08 12:36   ` UrJiZ
2007-11-08 21:19     ` Robert Millan
2007-11-10 16:22       ` Marco Gerards
2007-11-11 12:47         ` UrJiZ
2007-11-18  6:02           ` Robert Millan
2007-11-18  6:10             ` Robert Millan
2007-11-18 15:04             ` UrJiZ

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=20071107202443.GD10337@thorin \
    --to=rmh@aybabtu.com \
    --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.