Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IpSAF-0004N7-Em for mharc-grub-devel@gnu.org; Tue, 06 Nov 2007 12:24:35 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpSAD-0004JO-Gh for grub-devel@gnu.org; Tue, 06 Nov 2007 12:24:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpSAB-0004Ew-PJ for grub-devel@gnu.org; Tue, 06 Nov 2007 12:24:32 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpSAB-0004EZ-KP for grub-devel@gnu.org; Tue, 06 Nov 2007 12:24:31 -0500 Received: from wx-out-0506.google.com ([66.249.82.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IpSAB-0001Ov-5G for grub-devel@gnu.org; Tue, 06 Nov 2007 12:24:31 -0500 Received: by wx-out-0506.google.com with SMTP id s7so2453957wxc for ; Tue, 06 Nov 2007 09:24:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=X5MAINRfMKYYXA53SBoXtCm/nYKzOlRI+Caje0hQXbs=; b=NfaJJwGs2bW3A5cLDs9oSImKKLkt6O7lT1nAzLcMy1ZXjwDZcLLSR4Zk6xYuU+buaqkYBVr+AxP0204ysaJoT1/dvPDbxht+QwqGdG3fJNY6iEo8fnYsIB3zZhlJ3Jp+rLkU2V/5fO2Ly2KF7O4EYabPv/TNXt9IEUY3LiRAXwY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=bCMCgQRJjFWwbtXajL25KARGoyBQW+yHoZwzOvEl1wZnGYBJ3VXLSAbYBzOWpXvGIhT2DTNGouVoUvYL6ama7VHEckQRt0mmj3/uSYf8p1qNR3bGnSKVipL/GyVBnB/1PLYSkza9g37peBUJvEaNbDi3uPvjCY2dsnP3nqIVedQ= Received: by 10.90.83.14 with SMTP id g14mr4414037agb.1194369869315; Tue, 06 Nov 2007 09:24:29 -0800 (PST) Received: by 10.90.120.7 with HTTP; Tue, 6 Nov 2007 09:24:29 -0800 (PST) Message-ID: <460f92b70711060924qa5c9ea2tdb9c5a8240f64ba1@mail.gmail.com> Date: Tue, 6 Nov 2007 19:24:29 +0200 From: UrJiZ To: "The development of GRUB 2" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: 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: Tue, 06 Nov 2007 17:24:33 -0000 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?... -- urjaman