ubuntu 16.04 booting is taking more than 1.5 minute
i am using dual boot machine with os ubuntu 16.04 lts and windows 10..now i have recently upgraded from 14.04 lts to 16.04 lts...at the time of up-gradation.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2016-07-25
- Last reply:
- 2016-08-10
If you run:
dmesg | less
You can see the boot, the number on the left is the number of seconds. Look for large gaps in time. Do you see any?
yes...there are a few delays taking more than 20s of time also......
[ 24.082155] Bluetooth: hci0: BCM: chip id 70
[ 24.098159] Bluetooth: hci0: BCM43142A
[ 24.098164] Bluetooth: hci0: BCM (001.001.011) build 0000
[ 27.456142] audit: type=1400 audit(146915476
[ 27.457299] audit: type=1400 audit(146915476
[ 27.457307] audit: type=1400 audit(146915476
[ 27.457314] audit: type=1400 audit(146915476
[ 27.457319] audit: type=1400 audit(146915476
[ 27.457971] audit: type=1400 audit(146915476
[ 27.457978] audit: type=1400 audit(146915476
[ 27.459034] audit: type=1400 audit(146915476
[ 27.461112] audit: type=1400 audit(146915476
[ 27.461128] audit: type=1400 audit(146915476
[ 28.519699] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
[ 28.519705] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[ 30.164768] cgroup: new mount options do not match the existing superblock, will be ignored
[ 30.809243] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 30.809246] Bluetooth: BNEP filters: protocol multicast
[ 30.809249] Bluetooth: BNEP socket layer initialized
[ 34.437680] IPv6: ADDRCONF(
[ 34.440218] IPv6: ADDRCONF(
[ 35.100000] r8169 0000:07:00.0 eth0: link down
[ 35.100056] IPv6: ADDRCONF(
[ 36.430493] cfg80211: Regulatory domain changed to country: IN
[ 36.430496] cfg80211: DFS Master region: JP
[ 36.430497] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 36.430499] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 36.430500] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 36.430502] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 36.430503] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
(END)
| Manfred Hampl (m-hampl) said : | #3 |
The output above indicates that initializing the Bluetooth system takes quite some time, and also ipv6 seems to slow down the boot process.
If you do not need Bluetooth, you could try temporarily disabling the Bluetooth device(s) in the computer's BIOS to check whether this speeds up the boot process.
If you do not need iv6, you could also try disabling all ipv6 functionality in the network settings to check whether this helps reducing boot time.
Your boot log shows a total boot time of 34.4 seconds; this does not match the 1.5 minutes that you write in the question's title.
Do you have a long hidden timeout period in the grub settings?
Good idea. What is the output of:
grep -i time /etc/default/grub
Thanks
#GRUB_HIDDEN_
GRUB_HIDDEN_
GRUB_TIMEOUT=10
this is the output of grep -i time/etc/
| Manfred Hampl (m-hampl) said : | #6 |
There is a ten seconds delay for showing the grub menu.
If you edit the grub settings and change
GRUB_TIMEOUT=10
into
GRUB_TIMEOUT=3
you will reduce the total time by seven seconds.
Commands to do that:
sudo gedit /etc/default/grub
sudo update-grub
well! decrement of grub time out helped me
what is ipv6? how to disable this?
.......
| Manfred Hampl (m-hampl) said : | #8 |
see https:/
(I am not sure if that will make a reasonable difference in booting.)
Run:
sudo gedit /etc/default/grub; sudo update-grub
As one command, one gedit loads, change:
GRUB_CMDLINE_
To:
GRUB_CMDLINE_
Save the new file and close gedit. Once the configuration has applied, reboot the system.
If you want to reverse the setting, simply remove the added option and rerun:
sudo update-grub
Then reboot once more
what if i do sudo apt-get purge nvidia
is it so that this may increase boot speed as i don't have an nividia graphics card...... sorry for silly question as am new to ubuntu
| Manfred Hampl (m-hampl) said : | #11 |
Are you sure that you have NVidia drivers installed?
What is the output of
dpkg -l | grep -i nvidia
?
nothing is showing @ Manfred Hampl
| Manfred Hampl (m-hampl) said : | #13 |
In that case you do not have any NVidia driver installed, and there is no need to remove them.
How long does booting Ubuntu now take?
it is approximately 1 min now
@Manfred Hampl
| Manfred Hampl (m-hampl) said : | #15 |
Is that acceptable, or do you need to try reducing further?
| Launchpad Janitor (janitor) said : | #16 |
This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

