Failed file system check, weird behaviour
Bug #68589 reported by
finalbeta
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
e2fsprogs (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
upstart (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I have a HD rack, sometimes I remove a HD. Ubuntu insists on doing the file checks at boot, of course it mentions that it can't find the partition it wants to check. It then drops the user into a shell.
When the user does "shutdown -h now" inside the shell, the xserver starts and the login screen is shown.
To post a comment you must log in.
What version of Ubuntu is this?
If a particular filesystem is not always present, then you should configure the disk so that the fsck pass number is 0, and that mount option "noauto" is present so that the filesystem is not mounted at boot time. Then it will not interrupt the boot process, and the system will not try to mount the filesystem (and fail if it is not present). You can optionally add the "user" mount option to allow the user to manually mount the filesystem; with appropriate desktop software installed, it will also automatically mount the filesystem when it is inserted at the specified mount point. For example, I have the following in my /etc/fstab file:
UUID=a8f27eb6- 1759-4f48- 859d-a4c3b4bcac 13 /wd1 ext3 noauto, user,exec, nosuid 0 0
As far as "shutdown -h now" inside the shell causing the boot to resume, yes I've noticed this as well. That appears to be a bug in the upstart package. You can also see this behavior by hitting control-alt-delete during the fsck process.