From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XVxYC-0005mY-HW for mharc-grub-devel@gnu.org; Mon, 22 Sep 2014 02:56:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVxY7-0005fm-7b for grub-devel@gnu.org; Mon, 22 Sep 2014 02:56:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVxY1-0000Q6-BP for grub-devel@gnu.org; Mon, 22 Sep 2014 02:56:39 -0400 Received: from www.hamsked.org ([109.75.188.246]:45943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVxY1-0000Pi-50 for grub-devel@gnu.org; Mon, 22 Sep 2014 02:56:33 -0400 Received: from www.hamsked.org ([109.75.188.246] helo=[172.30.17.13]) by www.hamsked.org with esmtp (Exim 4.72) (envelope-from ) id 1XVxXu-0007dR-Nc for grub-devel@gnu.org; Mon, 22 Sep 2014 08:56:26 +0200 Message-ID: <541FC81A.7060407@famsik.de> Date: Mon, 22 Sep 2014 08:56:26 +0200 From: =?UTF-8?B?QW5kcmVhcyBLcsO8Z2Vy?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: Probing misjudges ext2 partition as fat. References: <541EB089.8020408@famsik.de> <20140921184101.07319546@opensuse.site> In-Reply-To: <20140921184101.07319546@opensuse.site> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 109.75.188.246 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 06:56:43 -0000 > 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 пишет: > >> 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