OK, so your system is already rw. Then why couldn't you edit /etc/passwd (and I don't think this is the source of your problems, btw). Looking at the boot messages, your system starts by mounting your root system read-only, which is normal. Then when it tries to fsck it, it doesn't for some reason. I honestly can't tell the difference between your system and mine. I was certain you had done something with fstab, like setting the last parameter on / to 0 or something. The only thing I can think of is a manual fsck fsck /dev/hda2 followed by a reboot. Try it, and report the results Regards Anders On Monday 25 June 2001 03:18, dizzy wrote:
IM not exactly sure of the command you gave mount -o remount,rw /
If I do mount I get
/dev/hda2 on / type ext3 (rw) proc on /proc type proc (rw)
What exactly do I need to do????
my fstab ########### /etc/fstab################# /dev/hda5 swap swap defaults 0 0 /dev/hda2 / ext2 defaults 1 1 /dev/hda7 /var ext2 defaults 1 2 /dev/hda8 /usr ext2 defaults 1 2 /dev/hda9 /opt ext2 defaults 1 2 /dev/hda6 /home ext2 defaults 1 2 /dev/hda3 /boot ext2 defaults 1 2
/dev/scd0 /cdrom auto ro,noauto,user,exec 0 0 /dev/scd1 /cdrom1 auto ro,noauto,user,exec 0 0 /dev/fd0 /floppy auto noauto,user 0 0
proc /proc proc defaults 0 0
Anders Johansson wrote:
If you can log in to the system, you could do a mount -o remount,rw / Then you can edit the files that cause this mayhem
It would also be interesting to see what you've done with /etc/fstab to get this way
Regards Anders
On Monday 25 June 2001 02:55, dizzy wrote:
Well I finally hosed my machine. In an effort to sync up my clock I rebooted the Linux server (after uptime of 40 days) When it boots I get an error to the effect the file system is read only.
This is probably due to the fact that I made an entry in /etc/passwd for a samba user like
WIN2KMACHINENAME$:*1000:900:WIN2KUSERNAME:/dev/null:dev/null
I would occasionally get errors about the /dev/null but thought I would fix it later. Unfortunately, I rebooted and now cannot make changes to the system.
I can log on and telnet in but... cannot change the /etc/passwd
could someone be kind enough to walk me through this?
I know Ill have to boot into rescue mode (cd rom is not bootable) but don't have any experience as what to "fix"
the boot message file in its entirety is at http://www.connix.com/~dizzy73/badboot.html
many thanks in advance ( I gotta get this fixed asap)
rob
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com