From: "Andreas Krüger" <gkdneu@famsik.de>
To: grub-devel@gnu.org
Subject: Re: Probing misjudges ext2 partition as fat.
Date: Mon, 22 Sep 2014 08:56:26 +0200 [thread overview]
Message-ID: <541FC81A.7060407@famsik.de> (raw)
In-Reply-To: <20140921184101.07319546@opensuse.site>
> Unfortunately you destroyed any possibility to investigate it further.
> You should at least have saved beginning of partition.
I should have, yes. Please kindly accept my apologies!
On the other hand, I did nothing to destroy the grub source code.
So I hope it is still possible to investigate grub's fs-probing code
for weaknesses.
(My personal guess and speculation is, if legitimate grub
developers don't do this analysis, less well-intentioned people
will happily do the job.)
Am 21.09.2014 um 16:41 schrieb Andrei Borzenkov:
> В Sun, 21 Sep 2014 13:03:37 +0200
> Andreas Krüger <gkdneu@famsik.de> пишет:
>
>> Hello, grub developers,
>>
>> my problem summary (lots of details follow below):
>>
>> My /boot file system lives on partition /dev/sda1. This was an ext2
>> or ext4 file system (not entirely sure). When doing some grub-install
>> work, this was wrongly recognized as fat.
>>
>> This resulted in a system that could no longer boot from hard drive.
>>
>> What helped in the end: Copying the files of /boot, umounting,
>> overwriting the start of /dev/sda1 with zeros, mke2fs -t ext2
>> /dev/sda1, mounting, copying the files back to /boot and running
>> grub-install again.
>>
> Unfortunately you destroyed any possibility to investigate it further.
> You should at least have saved beginning of partition.
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
next prev parent reply other threads:[~2014-09-22 6:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-21 11:03 Probing misjudges ext2 partition as fat Andreas Krüger
2014-09-21 14:41 ` Andrei Borzenkov
2014-09-22 6:56 ` Andreas Krüger [this message]
2014-09-22 19:04 ` Andrei Borzenkov
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=541FC81A.7060407@famsik.de \
--to=gkdneu@famsik.de \
--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 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).