xfs
[Top] [All Lists]

Re: corrupted partition with grub in hda1

To: linux-xfs@xxxxxxxxxxx
Subject: Re: corrupted partition with grub in hda1
From: Ethan Benson <erbenson@xxxxxxxxxx>
Date: Sat, 7 Dec 2002 14:53:20 -0900
In-reply-to: <1039274667.1408.5.camel@xxxxxxxxxxxxxxxxxxxxx>
Mail-copies-to: nobody
Mail-followup-to: linux-xfs@xxxxxxxxxxx
References: <31634.1039253054@xxxxxxxxxxxxx> <1039274667.1408.5.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
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: pgpT7ANDUDZ6e.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>