From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IprSN-0005WX-DK for mharc-grub-devel@gnu.org; Wed, 07 Nov 2007 15:24:59 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IprSM-0005VS-RI for grub-devel@gnu.org; Wed, 07 Nov 2007 15:24:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IprSM-0005Tm-4d for grub-devel@gnu.org; Wed, 07 Nov 2007 15:24:58 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IprSL-0005TZ-W2 for grub-devel@gnu.org; Wed, 07 Nov 2007 15:24:58 -0500 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IprSM-0003Do-6k for grub-devel@gnu.org; Wed, 07 Nov 2007 15:24:58 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IprSJ-0006SA-Pk for grub-devel@gnu.org; Wed, 07 Nov 2007 21:24:56 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1IprS7-0002p2-Bs for grub-devel@gnu.org; Wed, 07 Nov 2007 21:24:43 +0100 Date: Wed, 7 Nov 2007 21:24:43 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20071107202443.GD10337@thorin> References: <460f92b70711060924qa5c9ea2tdb9c5a8240f64ba1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <460f92b70711060924qa5c9ea2tdb9c5a8240f64ba1@mail.gmail.com> Organization: free as in freedom X-Message-Flag: Microsoft discourages use of Outlook. X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: grub-setup: error: Non-sector-aligned data is found in the core file X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2007 20:24:59 -0000 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 I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.)