Massize disk corruption under 2.1.88

Todd Roy (
Mon, 2 Mar 1998 09:32:00 -0500

Hi All,

I was trying to compile pre-2.1.89-5 while running 2.1.88 - and
basically had my entire /usr/src/linux-2.1 tree cloberred (If not more).
It took a couple passes with fsck.ext2 to "fix" it.

This is actually what happened:

1. I booted 2.1.88.

2. my /usr/src/linux was actually a sym-link to /usr/src/linux-2.1.

3. I ran patch -cd pre-patch-2.1.89-5.gz | patch -p0 -b -E

4. cd /usr/src/linux, ran thru menuconfig.

5. make dep; make clean; make zImage.

6. The make zImage failed. It appeared to be a straight forward

7. I tried to back out the patch:
cd /usr/src
patch -cd pre-patch-2.1.89-5.gz | patch -p0 -b -E -R

it failed *right* away, not being able to find linux/CREDITS !!

8. It was then that I rebooted, and the fun began.
Finally, after I fixed everything, the contents of lost+found appearred
to be all kernel source. The rest of /usr (a seperate pack) appears

I had a similar thing happen a while back in the 2.1.x series, I can't
quite remember there.

-- todd --

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to