Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was running a somewhat standard install of Ubuntu 9.10, when my drive got pushed into read-only mode, so I switched to tty1, ran /etc/init.d/gdm stop, and then ran fsck -y /. It took an hour or too, but eventually finished. However, now that partition is unbootable, and upon attempting to boot into Ubuntu, it complains about as missing and starts a recovery shell. In this recovery shell, only certain tools work. ls complains about, and the filesystem is still read-only. When I try mount -rw /dev/sda1, it complains about again. I can however still run fsck. I tried running it with fsck -p -f /, and it completes, much quicker, but the system remains unbootable. I could probably boot into the Ubuntu live-cd to get read-write access, but I wouldn't know what to do. Any suggestions?

I read an interesting suggestion here, but I don't know how I would go about reinstalling the base Ubuntu packages without write access to the hd, or through the live cd.

share|improve this question
up vote 2 down vote accepted

Try this:

Start Linux from a live-cd
Mount your hard disk (e.g. on /mnt)
Restore (and anything else that might have been corrupted) to your hard disk from the live cd

share|improve this answer
I'm accepting this, but I just decided to reinstall, backing up all that I can. – bgw Feb 14 '10 at 2:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .