On Sat, 2002-12-07 at 03:24, christian mueller wrote:
> on 2002-12-07 7:09:02 George Georgalis wrote:
> > XFS: bad magic number
> > XFS: SB validate failed
> > Kernel panic: VFS Unable to mount root fs on 03:01
> > Looks like I blew it. Trying to get grub installed, I must have installed
> > it on the root
> > partition not the MBR, corrupting the fs in the process.
> > So is there a fix? How?
> There are 2 Superblocks on the partition.
> Use 'xfsrepair' (included in the xfsprogs-pck) to fix this.
> It should find the second SB and recover from that.
> The partition has to be unmounted for this action, of course.
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.