LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-04-2010, 11:30 AM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
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:

sda1 - / 20 GB
sda2 - /home 10 GB
sda3 - swap 4 GB
sda4 - /data 115 GB

sdb1 - /quitelarge 750 GB

sdc1 - /veryhuge 1 TB

Ken
 
Old 08-04-2010, 12:04 PM   #2
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by taylorkh View Post
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 View Post
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 View Post
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.

Last edited by tommcd; 08-04-2010 at 12:07 PM.
 
Old 08-04-2010, 12:09 PM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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.
 
1 members found this post helpful.
Old 08-04-2010, 02:09 PM   #4
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Original Poster
Rep: Reputation: 174Reputation: 174
Thanks tredegar,

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 again,

Ken
 
Old 08-04-2010, 02:11 PM   #5
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Original Poster
Rep: Reputation: 174Reputation: 174
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

Ken
 
Old 08-04-2010, 02:16 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
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

Last edited by tredegar; 08-04-2010 at 02:18 PM.
 
Old 08-05-2010, 12:40 PM   #7
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by taylorkh View Post
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:
Code:
GRUB_HIDDEN_TIMEOUT=0
And then run:
Code:
sudo update-grub
And you should see the grub menu every time the computer boots.
Se this from the Ubuntu wiki for reference:
https://wiki.ubuntu.com/Grub2#grub%2...efault/grub%29

Last edited by tommcd; 08-05-2010 at 12:44 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] There is no "menu.lst" in my Ubuntu "/boot/grub/" folder. msbstar Linux - Newbie 18 09-15-2012 01:26 PM
boot failed on "Checking for popad bug... OK." GreyOwl Linux - General 1 07-13-2007 01:57 PM
"Starting System Logger" during boot time, stopping boot process. quickNitin Linux - Newbie 1 06-08-2006 01:31 PM
Mandrake 10.1 new install; boot stalls at "checking for new hardware" silverbirch Mandriva 1 02-11-2005 11:08 AM
Mandrake 9.0 hangs on boot at "checking distribution dependencies" patpawlowski Mandriva 1 02-02-2004 05:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration