LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-17-2006, 10:23 AM   #1
tjabaut
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Rep: Reputation: 0
Exclamation After Ghost 4 Linux Root Filesystem mounts readonly


I have Ghoted a production Fedora Core 4 box for the purpose of virtualizing it. I simply ghosted my hda3 partition (root partition). On the Virtual Server I created a new virtual machine and installed a base Fedora Core 4 on it. I did this to retain a new /boot and swap partitions. I then restored (via Ghost 4 Linux) the hda3 partition. The system boots, but produces all kinds of errors as it reports that it cannot touch the log files as the filesystem is mounted Read-only.

I have run mount and the filesystem says that it is rw.

If I boot from the Fedora Rescue Cd I am able to touch a test file no problem.

Any ideas. I think the procedure I have performed is flawless, if only I can get this last step to work.
 
Old 07-17-2006, 11:29 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,140
Blog Entries: 54

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
Could it be the partition still has the "dirty" flag set?
An fsck should probably fix that.
 
Old 07-17-2006, 12:23 PM   #3
tjabaut
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I have umounted /dev/hda3 and run fsck on it. It reports /: clean, 73566/9222528 files, 702234/9215285 blocks.

I then try to remount the device: munt -o remount,rw /dev/hda3

I am given the following message:
ext3_abort called.
EXT3-fs error (device hda3): ext3_remount: Abort forced by user
mount: block device /dev/hda3 is write-protected, mounting read-only
ext3_abort called.
EXT3-fs error (device hda3): ext3_remount: forced by user

Any Ideas?
 
Old 07-17-2006, 12:44 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,140
Blog Entries: 54

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
Remounting suggests you did this from within the running O.S. I don't know if Linux likes that for root partitions...
Can you mount it as ext2 (even ro?). Does this thread have clues for what to check?: http://www.linuxquestions.org/questi...d.php?t=429986
 
Old 07-17-2006, 01:05 PM   #5
tjabaut
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
No this thread does not really pertain to me as I hace SELinux disabled.

Pardon my ignorance, but you want me to mount a EXT3 partiton as a EXT2 partition? How?

Should I try it from a boot (rescue cd)?

Funny thing is if I use the Fedora Rescue Cd and manually mount this root partition, I have full read-write permissions.
 
Old 07-17-2006, 04:08 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,140
Blog Entries: 54

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
No this thread does not really pertain to me as I hace SELinux disabled.
OK. Good to know.


Pardon my ignorance, but you want me to mount a EXT3 partiton as a EXT2 partition? How?
-t ext2. Ext3fs is "just" ext2fs with a journal (OK, and some more).


Should I try it from a boot (rescue cd)? Funny thing is if I use the Fedora Rescue Cd and manually mount this root partition, I have full read-write permissions.
Weird. If fsck returns w/o probs and if you can access it w/o probs from a Live/rescue CD then it must be something in the O.S. What's the fstab line? The system boots, but produces all kinds of errors Maybe post those in full?
 
Old 07-18-2006, 07:51 AM   #7
tjabaut
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
The errors all pertian to not being able to start xyz service because it could not open the associated log file as it is read-only. If I do a ls -l on the log dir all of the files are rw for root:root.

I am wondering if somehow with the restoring of another hda3 partition to this system if their could be 2 root users? I mean in the windows world it might be possible (not plausible) for two unique users of the same name with a different guid. Could this be happening? I am not familiar enough with linux to determine this. Any help would be greatly appreciated.

I just seems to me that there is some kind of permissions issue.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ghost software : Linux Ghost server NL-Stitch Linux - Newbie 18 02-02-2007 10:55 PM
Filesystem root ( / ) mounts read only at boot, can't re mount RW TheMusicGuy Debian 10 07-25-2006 06:14 PM
mounted fat32 filesystem becomes readonly after sometime, wierd? koodoo Linux - Newbie 6 11-23-2005 11:34 PM
EXT-fs error (device hda3) in start_transaction: Readonly filesystem kiwibird Linux - Hardware 2 10-21-2005 10:15 AM
cant resize root thru rescue, auto mounts root dir absolutal Linux - Newbie 0 06-18-2003 03:06 PM


All times are GMT -5. The time now is 07:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration