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: boot.img Fix
Date: Fri, 10 Jul 2009 19:15:42 +0200	[thread overview]
Message-ID: <20090710171542.GC17114@thorin> (raw)
In-Reply-To: <d7ead6de0907081609i24019d01p9aa6fa0a8f6b9004@mail.gmail.com>

On Thu, Jul 09, 2009 at 01:09:20AM +0200, Vladimir 'phcoder' Serbinenko wrote:
> Sorry for posting some not very-related ideas in one mail and
> top-posting but I want to go to bed ASAP now. FAT install is
> important. A friend asked me on RMLL to install GRUB on his
> partionless SD card. This card was formatted with Symbian and
> contained no "FAT32" string. I actually see no reason to keep the
> check for this string. Originally it was added to ignore some recovery
> partitions from the list. But there is no reason to do so even if they
> normally contain no useful data. It's user's freedom to read even
> useless data in GRUB.
> Current grub-setup may have a bug to accidently detect FAT* as
> pc_partition_map (they share signature) and try to embed with
> potentially bad results
> For FAT booting I would prefer to have 3 separate sectors able to
> parse FAT32/FAT16/FAT12. I would prefer it to be able to go into
> subdirectories but in worst case grub-install can copy core.img to the
> root. Or we can use so-called "reserved sectors" on FAT to either
> store second part of parser or embed core. For the latter the obstacle
> is that it's typically only around 32 reserved sectors.

I agree GRUB should be very careful not to destroy potentially valuable
data.  However, that's not to say FAT install is important.  Typically
our install doesn't collide or interfere with any filesystem, it's only
a few corner cases that do, and IMO we should try to discourage those.

But of course, destroying someone's filesystem is not the right way to
discourage something :-)

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



  reply	other threads:[~2009-07-10 17:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-07  8:08 boot.img Fix Yves BLUSSEAU
2009-07-07 22:17 ` Pavel Roskin
2009-07-08  5:06   ` Pavel Roskin
2009-07-08  8:13   ` Yves BLUSSEAU
2009-07-08 23:09   ` Vladimir 'phcoder' Serbinenko
2009-07-10 17:15     ` Robert Millan [this message]
2009-07-12 13:30       ` Pavel Roskin
2009-07-14 17:34         ` Robert Millan

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=20090710171542.GC17114@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.