Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!bruce!sol1!cechew From: cechew@sol1.cs.monash.edu.au (Earl Chew) Newsgroups: comp.os.minix Subject: Re: Desperate help needed with my hard disk Message-ID: Date: 27 Feb 91 21:36:23 GMT References: <45942@nigel.ee.udel.edu> Sender: news@bruce.cs.monash.OZ.AU Lines: 32 greg@viewlogic.com (Gregory Larkin) writes: >Somehow, for the nth time, I have managed to trash the super block of >one of my hard disk partitions. Is there any way I can restore the >super block? This partition contains my entire source tree, and would I don't think so... not unless you have a block-by-block backup of the file system. Don't you have a back up for the source tree? >Could the super block be trashed if the start sector is not even? I I don't think so. 1.5.10 will refuse to see the file system if this is the problem (ie you couldn't have mounted it in the first place). Then again, you could have been extremely clever... >related question: say I have 3 HD partitions mounted. I log out. Is > it safe to reboot at this time, or must all > partitions be umounted first? No. You must sync all file systems before rebooting. I also unmount all file systems before sync(). >How can this problem be prevented forever?? Get the shutdown script. It does all of this for you. Earl -- Earl Chew, Dept of Computer Science, Monash University, Australia 3168 EMAIL: cechew@bruce.cs.monash.edu.au PHONE: 03 5655778 FAX: 03 5655146 ----------------------------------------------------------------------