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

Re: corrupted partition with grub in hda1



On Sat, Dec 07, 2002 at 09:24:26AM -0600, Stephen Lord wrote:
> 
> It depends how far into the partition grub writes, but right
> after the superblock is going to be the root inode. If you are
> lucky it will have survived, if not everything in the filesystem
> will have been moved into lost+found by repair.

probably only 446 bytes since its most likly just the same first stage
loader as goes in the MBR, but im sure it assumes it has a full 1K to
play with in partitions since `they are always ext2'

it looks like its time for another patch to make grub check and refuse
to install on XFS partitions, i think it already checks filesystem
type, and its already aware of XFS, it just needs to be taught not to
stomp all over XFS.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgp00001.pgp
Description: PGP signature