Re: / stuck in read-only mode. can't mount or remount any fs as root
From: David Mandelberg (mandelbergd_at_eth0.is-a-geek.org)
Date: 01/26/05
- Previous message: Al Bayrouni: "azerty qwerty"
- In reply to: dank_at_hwr.arizona.edu: "/ stuck in read-only mode. can't mount or remount any fs as root"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 Jan 2005 14:30:09 -0500 To: dank@hwr.arizona.edu
dank@hwr.arizona.edu wrote:
> I had some disk errors and shutdown to reseat cables.
> The system, as-is, has been running and reboot more than once
> with no problems before now. Perhaps the shutdown wasn't
> graceful??
Probably, but this seems worse than that. Was there any lightning or other
electrical surges near the computer?
> On boot up the / partition came up read-only and /var /proc etc.
> all are unmounted. fsck is run on all the disks and the
> system disk is clean for all 3 partitions hda1 (/) hda2 (/var)
> and hda3 (/t0) fsck not run on hda5 (should be swap). All of
> my filesystems appear to be ext2.
Swap doesn't need to be checked, so that's ok.
> 2 other disks on a PCI controller are giving DMA errors and
> interrupt errors. I don't think this is related.
Try removing the PCI card, if it's broken it might be causing problems with the
other controller(s).
> boot sequence drops me to a maint. root login prompt and
> I log in. But, trying to mount /var or anything else fails
> with this error: "mount: only root can do that"
> Same error when I try to remount / rw.
Could you post your /etc/passwd file? If it has password hashes in it you can
remove those. Also post the output of "id" when in maintenance mode please.
> If I go to a normal user level login prompt neither root nor any other
> user can login. Only at the maint prompt can I get logged in.
That sounds somewhat normal for / being mounted ro and no /proc.
> I can boot from a knoppix CD
This is probably going to be very useful.
-- David Mandelberg mandelbergd@eth0.is-a-geek.org
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- application/pgp-signature attachment: OpenPGP digital signature
- Previous message: Al Bayrouni: "azerty qwerty"
- In reply to: dank_at_hwr.arizona.edu: "/ stuck in read-only mode. can't mount or remount any fs as root"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]