Just as a postscript, an arguable "workaround" to this issue in Karmic,
and likely helpful tweak to anyone who can't do much with a system if
sshd isn't running: set FSCKFIX=yes in /etc/default/rcS.

>From the rcS(5) man page:

"""FSCKFIX - When the root and all other file systems are checked, fsck
is invoked with the -a option which means "autorepair". If there are
major inconsistencies then the fsck process will bail out. The system
will print a message asking the administrator to repair the file system
manually and will present a root shell prompt (actually a sulogin
prompt) on the console. Setting this option to yes causes the fsck
commands to be run with the -y option instead of the -a option. This
will tell fsck always to repair the file systems without asking for
permission."""

mountall(8) will pick up on this---see /etc/init/mountall.conf. Useful
if you'd rather have no user intervention (whether through a friendly UI
or otherwise) when filesystem corruption issues crop up. Perfect for my
dad's laptop!

(If anyone sees inaccuracies in the above, please let me know.)

-- 
Need newbie-friendly alternative to maintenance shell when mount fails
https://bugs.launchpad.net/bugs/489474
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to