Thanks, got that working. I moved my file back to where it was, then reinstalled 'util-linux' after i tried just reinstalling 'mount,' neither of which worked.
EDIT: It does run now. It started to boot up, now it's checking the disk for errors. It said it could take a while.
EDIT: Its been running for an hour and a half now and its still the same screen.
Edit: When it tries to boot now, it displays;
Warning: Fake initctl called, doing nothing.
maybe you need to do an update?
sudo apt-get update
Just FYI, I finally figured it out, the /bin/mount belongs to the "mount" package...clever. It comes
from the util-linux source package though. So if you installed util-linux, that would not have replaced /bin/mount
with a new copy. You could always manually download it if you need to, it's here:
Ubuntu -- Details of package mount in lucid
I can't seem to figure out how to get that package to work.
Sorry, I don't understand what you mean. Is your /bin/mount program still missing?
If you can't apt-get it (b/c it already thinks it is installed or something), you can manually download it and extract it yourself. Try something like this:
I think you are on Lucid, right? If so, browse here:
Ubuntu -- Package Download Selection -- mount_2.17.2-0ubuntu1.10.04.1_i386.deb
and download the mount .deb package. Alternatively, you can try this wget command:
once downloaded, extract the contents of the deb package:
extract the mount program from the data tarball extracted from the deb package:
ar x mount_2.17.2-0ubuntu1.10.04.1_i386.deb
copy the mount program into place:
tar zxf data.tar.gz ./bin/mount
you may need to setuid on the mount program:
cp ./bin/mount /bin/
chmod 4755 /bin/mount
Did everything and got the mount file in place. Still wont fully boot up, I get a screen that says:
ubuntu, with linux 3.0.0-14-Generic
ubuntu, with linux 3.0.0-14-Generic (recovery mode)
Older Linux versions
Memory test (memtest86+)
Memory test (memtest86+, serial console 115200)
Should I consider creating a new system. I don't want to waste your time.
What error message does it throw on selecting second option ( recovery mode ) in Menu?
It actually doesn't. It gives four more options.
Resume boot - Which results in lockup
fsck - tried that, nothing came of it.
remount - attempts to remount everything
root - drops to root shell -grub
I'm more worried about wasting your time! Yeah, i'd reinstall, if I were you. This was a nice diversion into the world of rescuing a fubar system, but in the end, the shorter path to completion should be taken. Back up any config files and data you care about, and reinstall, I'd say. My only recommendation would be to use the latest version of whatever distro you choose.
Originally Posted by Kopkins
Edit: Do yourself a favor and set up alias commands that will prompt you before overwriting (important) files in the future. For example, I always have the following set in my ~/.bashrc (or elsewhere):
alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'
Well thanks for everything, though it wasn't quite a success I still quite enjoyed it.