[SOLVED] What is Ubuntu 10.04 doing when it says "Checking disks..." at boot time?
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What is Ubuntu 10.04 doing when it says "Checking disks..." at boot time?
I get the pinkish Ubuntu screen and a message such as "checking disk 1 of 4". I assume that it is doing an fsck. However, the time it takes does not seem to relate to the time it takes if I do a manual fsck (almost instantaneous) or fsck -c (several minutes to half an hour depending on the drive). I also wonder what is counts as a "disk". I have in the system:
I get the pinkish Ubuntu screen and a message such as "checking disk 1 of 4". I assume that it is doing an fsck.
Yes, that is what is happening. Ubuntu is doing an fsck of the partition(s).
Quote:
Originally Posted by taylorkh
However, the time it takes does not seem to relate to the time it takes if I do a manual fsck (almost instantaneous) or fsck -c (several minutes to half an hour depending on the drive).
If you manually fsck the drive, and the drive is clean, then it will just report that. This is indeed very quick in my experience.
Obviously, when Ubuntu runs a fsck on a 1 terabyte drive, it will take a lot longer than doing a fsck on a 10-20GB drive.
Quote:
Originally Posted by taylorkh
I also wonder what is counts as a "disk". ...
Every partition on the system counts as a "disk".
Ext3/4 file systems are checked approximately every 30 boots, more or less.
You are correct - it is doing an fsck on one of your partitions. All linux-formatted partitions count as "disks" as far as fsck is concerned, with the exception of swap which doesn't have a "filesystem" as such.
How often fsck's happen can be set with tune2fs
The time taken to do a fsck depends on the filesystem used and the number (and size) of the files.
If you want to see exactly what is happening, next time you boot, when you see the grub menu, edit the kernel line to remove the quiet and splash options. Then you'll see the kernel messages (which IMHO are more interesting than that "Plymouth" thing anyway).
Or you could look at /var/log/messages and see what was fsck'd, and when, there.
But of course this is Ubuntu 10.04 and there is no grub menu displayed at boot, and startup-manager does not work
Quote:
Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
so I edited /etc/default/grub and commented out the quiet and splash lines. Ran update-grub and now I see a bunch of stuff flash by on boot - almost like an operating system
And on my next boot I observed it doing an fsck on a couple of my partitions including the 1 TB drive which took a while.
Thanks for the reply tommcd. It appeared as I was typing a reply to the first reply. I have disposed of the splash screen and now can see things happening when I boot - which I seem to do too often with 10.04 - almost as bad as Windoze
But of course this is Ubuntu 10.04 and there is no grub menu displayed at boot, and startup-manager does not work
Well, I am also running 10.04, and I do get a grub boot menu (maybe edit /etc/default/grub and you'll get one too) - it's useful if you have more than one OS, (linux of course ).
I'm not sure what "startup-manager" is, or why "it doesn't work".
But your problem seems to be fixed
But of course this is Ubuntu 10.04 and there is no grub menu displayed at boot ...
If you only have Ubuntu on your computer, and no other operating system, you will not see the grub menu on boot up. If you wish to see the grub menu during boot up, hold sown the SHIFT key as the computer boots up and you will see the grub menu.
If you wish to see the grub menu every time the computer boots, then edit /etc/default/grub file and comment out (put a # in front of) the line:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.