LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2003, 11:09 AM   #1
rlong411
LQ Newbie
 
Registered: Dec 2003
Location: Indiana
Posts: 5

Rep: Reputation: 0
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.
 
Old 12-17-2003, 11:26 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with unmounting vfat partition Vitalka Fedora 7 11-10-2005 07:43 PM
unmounting-removing LVM partition jazzyjazz Linux - Software 2 11-12-2004 02:41 PM
Unmounting a pendrive (not as root)? will103 Linux - Hardware 3 09-07-2004 08:55 PM
Unmounting root movitto Linux - Newbie 2 06-11-2004 01:38 AM
Unmounting supermounted partition. duffboygrim Linux - General 1 01-26-2004 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration