LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help with unmounting root partition (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-unmounting-root-partition-126653/)

rlong411 12-17-2003 11:09 AM

Help with unmounting root partition
 
I need help in unmounting the root partition of my Linux Red Hat Release 7.3 (Valhalla)
Kernel 2.4.18-3smp on an i686 box.

Currently my root partition is partitioned ext3 with journal.

I constantly get Kjournal oops. Started out to be once every week or two and has now escalated to once a day.

I want to revert my root partition back to ext2 and remove the journal file until I get the problem fixed for good.

I suspect that the problem is occurring because of either a driver mismatch or hardware problem in the machine.

Or could be a problem between Kjournald and Kupdated.
The fact is, I'm not sure what the problem is.

I have seen several posts that indicate that the ram could possibly be bad. I have run memtest86 on the machine and did not find any ram issues which leads me to believe it is something else.

My first priority is stopping kjournald from running by converting the ext3 partition back to ext2. Second, I have some new ram for the box and will change it for good measure.

If any one can help me with the unmounting of a root partition I would really appreciate it. Thoughts on my Kjournald oops would be openly accepted as well.

aaa 12-17-2003 11:26 AM

I think all you need to do is edit fstab so it lists your root partition as ext2 instead of ext3.
Ex:
A sample line form the /etc/fstab file, before:
/dev/hda1 / ext3 [various options] 0 0

And now after changes:
/dev/hda1 / ext2 [options] 0 0

You can remove the journal using tune2fs. I think the filesystem has to be unmounted though, and the only way to catch the root fs unmounted is via another Linux. Boot from a rescue disk or similar so the root fs won't be mounted as root, then use tune2fs.


All times are GMT -5. The time now is 05:20 PM.