LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   VERY slow boot time on laptop (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/very-slow-boot-time-on-laptop-779622/)

zachstauffer 01-03-2010 07:07 PM

VERY slow boot time on laptop
 
Okay, this is my first time posting here, so bare with me please. I have an Acer Aspire 1810T (I think it's also called a Timeline) and I am currently dual booting Windows 7 and Ubuntu Netbook Remix 9.10. Here's the problem, when I choose Ubuntu in Grub, it takes maybe 5-6 minutes to boot. This can't be right! I have a dual core and 4 gb of ram! I've tried Jolicloud as well before and had the same problem. I thought it was slow because it was pre-beta. On the other hand, my Windows 7 boots in 45 sec.! What might be my problem?

Thanks in advance!
Zach

halborr 01-03-2010 08:40 PM

Hmmm...

Could you open up a terminal and run "ls -l /etc/rc.d" and post up the contents? Maybe you're starting way more services than you need.

Also, does it boot faster when you're on a wired internet connection? I know at least on my old computer it would sit and wait for probably 30 seconds waiting for a response from the router.

EDIT: It might help if you posted what the command "dmesg" returns as well.

evo2 01-03-2010 09:17 PM

This is why fancy boot screens suck. Is there a key you can press to get Ubuntu to show you the boot messages?

Any Ubuntu users here know how to display the boot messages?

Another option, have a look in /var/log/messages, check the timestamps that correspond to when you last booted the machine, and try to find if there is a process that takes a long time to be started.

Evo2.

MS-Karl 01-04-2010 09:28 AM

To display boot messages on Ubuntu versions prior to 9.10:

sudo gedit /boot/grub/menu.lst

immediately after # # End Default Options # #

title .................................
uuid .................................
kernal ........................ro quiet splash
initrd .................................
quiet

-----------------------------------------------------------------
comment out quiet splash
quiet

thus:

title ...................................
uuid ...................................
kernal ..........................ro #quiet splash
initrd ...................................
#quiet


I haven't yet figured out how to do this in 9.10, but will advise when I do.

purevw 01-04-2010 10:35 AM

RE; Very Slow Boot Time On Laptop
 
There is a known problem with the newest Ubuntu. They are working on a patch. FYI, Cosmic Koala uses grub-2, which is very different than grub. There is no "menu.lst". The boot is controlled by scripts. You could do a web search for grub-2 info. If I remember correctly, during boot on the new Ubuntu, all drives are being scanned even though it is not necessary, taking an unusually long time to boot.
My best solution would be to make sure that you have the latest updates. I triple boot with OpenSuSE, Ubuntu, and XP. I use the grub that comes with OpenSuSE.

MS-Karl 01-04-2010 11:16 AM

In Ubuntu 9.10:

sudo gedit /etc/default/grub

comment out the line- GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

which gives you- #GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

save & quit gedit

sudo update-grub

reboot

feliznux 01-04-2010 02:28 PM

the grub2 has more resources, but was more difficult to customize, I have several distros on hd.

zachstauffer 01-04-2010 03:31 PM

Thanks for all your replies, but now it won't even boot! It gives me "mountall: error while loading shared libraries" and "init: mountall main process (416) terminated with status 127."

zachstauffer 01-04-2010 03:43 PM

After rebooting and trying again, it gave me the login prompt but with no gui, and then said it couldn't create files on a read only system. Should I just reinstall?

konsultor 01-05-2010 10:39 AM

if it's an older notebook...
 
There might be a problem with APIC. My 6-yr old notebook stalled when booting (openSUSE) until I added
noapic acpi=off
to the boot commands. Solved my problem.

Perromuerto 01-05-2010 10:55 AM

The problem is with generic ide and chipset drivers
 
The kernels that come with the distributions are compiled for every possible hardware. Usually laptops have fancy or strange chipsets, and the generic drivers can not activate the high speed modes for ide interfaces (usually some UDMA level).
The solution is to compile a kernel specifically for your machine. To do that, you need a list of the hardware, which can be obtained using the lspci command. Then download the kernel sources, configure, compile and install it as another entry in your boot choices.

zachstauffer 01-05-2010 03:30 PM

Thanks for all your advice, but I couldn't boot with the commands konsultor gave me. I couldn't even boot into recovery. I still have access to Windows though.

MS-Karl 01-06-2010 09:12 AM

Try using Bootchart. (bootchart.org)

Check out the following:

http://linux.aldeby.org/speed-up-you...inux-boot.html


All times are GMT -5. The time now is 05:30 AM.