grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Cc: Ron <theoneandonlyron@gmail.com>
Subject: Re: "error: invalid magic number" when booting from ISO loopback
Date: Wed, 05 Jan 2011 14:43:37 +0100	[thread overview]
Message-ID: <4D247589.101@gmail.com> (raw)
In-Reply-To: <1257008516.3149.45.camel@ron-desktop>

[-- Attachment #1: Type: text/plain, Size: 729 bytes --]

On 10/31/2009 06:01 PM, Ron wrote:
> This entry fails silently and when the commands were executed one by one
> the linux command shows the error message "error: invalid magic number".
>
>   
This can be caused by BIOS cutting last sectors of the disk to make it
appear to have C/H/S geometry of some kind. Can you compare "ls -l" from
GRUB shell and
grub-fstest /dev/sdX ls -- -l
especially compare the total sector count in both cases.
> A short google search gave me the following similar bug report but no
> solution:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543924
>
>   
This was on ext2 and the cause were triple indirect blocks



-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

      parent reply	other threads:[~2011-01-05 13:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-31 17:01 "error: invalid magic number" when booting from ISO loopback Ron
2009-10-31 17:30 ` Robert Millan
2009-10-31 18:55   ` Slow grub boot when /boot/grub is not on first partition Simon Wagner
2009-10-31 19:03     ` Vladimir 'phcoder' Serbinenko
2009-11-16  7:30       ` Felix Zielcke
2009-10-31 23:50   ` "error: invalid magic number" when booting from ISO loopback Ron
2009-11-01  7:53     ` Vladimir 'phcoder' Serbinenko
2009-11-01 14:37       ` Ron
2011-01-05 13:43 ` Vladimir 'φ-coder/phcoder' Serbinenko [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=4D247589.101@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    --cc=theoneandonlyron@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).