grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Probing misjudges ext2 partition as fat.


From: Andrei Borzenkov
Subject: Re: Probing misjudges ext2 partition as fat.
Date: Mon, 22 Sep 2014 23:04:58 +0400

В Mon, 22 Sep 2014 08:56:26 +0200
Andreas Krüger <address@hidden> пишет:

> > 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.
> 

Grub fs-probing code simply tries to "mount" partition using each
filesystem until one succeeds. If partition has content that matches
both filesystems, the first one to probe will win. To verify it we need
image of your partition.

> (My personal guess and speculation is, if legitimate grub
> developers don't do this analysis, less well-intentioned people
> will happily do the job.)
> 

Sure, if you find a problem, please let us know.

> 
> 
> Am 21.09.2014 um 16:41 schrieb Andrei Borzenkov:
> > В Sun, 21 Sep 2014 13:03:37 +0200
> > Andreas Krüger <address@hidden> пишет:
> >
> >> 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
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/grub-devel
> 
> 
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]