xfs
[Top] [All Lists]

Re: corrupted partition with grub in hda1

To: linux-xfs@xxxxxxxxxxx
Subject: Re: corrupted partition with grub in hda1
From: George Georgalis <georgw@xxxxxxxxx>
Date: Mon, 9 Dec 2002 10:04:48 -0500
In-reply-to: <20021207235320.GL21273@xxxxxxxxxxxxxxx>
References: <31634.1039253054@xxxxxxxxxxxxx> <1039274667.1408.5.camel@xxxxxxxxxxxxxxxxxxxxx> <20021207235320.GL21273@xxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
On Sat, Dec 07, 2002 at 02:53:20PM -0900, Ethan Benson wrote:
>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.
>


That would be nice :)

// George

-- 
GEORGE GEORGALIS, System Admin/Architect    cell: 347-451-8229 
Security Services, Web, Mail,            mailto:george@xxxxxxxxx 
Multimedia, DB, DNS and Metrics.       http://www.galis.org/george 


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