Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Suse system keeps booting Read Only

Posted on 2003-02-19
4
Medium Priority
?
345 Views
Last Modified: 2013-12-15
I have a suse 8.0 (2.4.14) system that has been working fine until reboot last night.  Now the boot drive keeps going read only on boot and I cannot get it back to a normal boot.

I can log in as root, mount the drive and work in the shell.  A check on the drive shows no errors so I think something is flagged to protect it.  It is a resierFS and has worked great for almost a year now.  It is serving as a PDC for a small LAN of 11 XP boxes.

The services that normally load on boot give the error of the fs being ro.

All partitions are on a 3.2 GB HDA2 drive.  Is there any ideas to get this booting normal again?

Where is a good place to look for a file that would force the FS to be read only on boot.

Many thanks.

0
Comment
Question by:MikeSampson
  • 2
  • 2
4 Comments
 
LVL 3

Expert Comment

by:naccad
ID: 7982378
i never used reiser, but look in /etc/fstab
there is where the mount points, devices, options and perms
are declared.

tc
-nick
0
 

Author Comment

by:MikeSampson
ID: 7984870
fstab is fine.  Even restored one.  Here are some of the errors I get.

clm-6006: writing inode 938 on readonly FS

"command here" /dev/null: Read-only file system

"on login as root" I get...
Bash: /dev/null: Read-only file system

failed write cache flush: disabling ordered write support

no flushcache support

Could it be a permissions problem or a corrupt file?

It looks like it will be fine until it starts loading commands like smbd, httpd, and more.  The initial boot loads the file systems and then they are back to read only.  I can only scroll up a bit on my screen.  Not all the way to the top of the boot log.

I have run lilo -v, reiserfsck, mk_initrd, booted from a floppy and tried to load the local fs and more.

Is there a way to delete /dev/null and recreate it with 666 permissions?

Thanks again all.



0
 
LVL 3

Accepted Solution

by:
naccad earned 200 total points
ID: 7990707
there is always MAKEDEV

cd /dev/
./MAKEDEV null

should recreate the node.

good luck
-nick
0
 

Author Comment

by:MikeSampson
ID: 7991193
Thanks for the direction Nick.  I did not have the MAKEDEV command on my system but it got me looking for an alternative  in the SUSE newsgroups.  A post from 2000 was listed and the result was this command to delete and recreate the dir

rm -r /dev/null
mknod /dev/null c 1 3
chmod 666 /dev/null

After a reboot I am back in business.

Many thanks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month11 days, 21 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question