Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I have a Red Hat 9.0 machine, and I was trying to compile linux kernel 2.4.32 (just for a study) using its source. The compilation was successful and after ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Location
    Bangalore
    Posts
    10

    / - Read only file system


    Hi,
    I have a Red Hat 9.0 machine, and I was trying to compile linux kernel 2.4.32 (just for a study) using its source. The compilation was successful and after that due to some reason my / became 'Read Only' .

    I tried to remount the root partition and it was successful.

    $ mount -o remount -t ext3 /dev/hda1 /

    But if I reboot my machine again it becomes 'Read only' and /proc is also not getting mounted.

    My /etc/fstab and /etc/mtab files are complete. If I pass rw option to the kernel from grub.conf will it create any harm? Any ideas to fix this problem.

    Thanks
    Seran

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Could you post your /etc/fstab ?
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #3
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,044
    Does dmesg show any interesting entries?

  4. #4
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    Yep, poke through dmesg, or more to the point:
    Code:
    dmesg | grep hda1
    Filesystem may be damaged and waiting for you to take action.

  5. #5
    Just Joined!
    Join Date
    Jun 2005
    Location
    Bangalore
    Posts
    10

    I got it working

    I found out the reason for this behaviour. The file /etc/rc.sysinit is some how became blank. Long time ago I took an image of these partitions, so I restored the image on a test machine and I copied this rc.sysinit file to this machine. And it is working fine now as it was before.

    Thanks for your help guys.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •