You are not logged in.
Pages: 1
after upgrading the kernel, load up takes longer than it used to... the main reason for this is it takes 5 seconds for the USB to settle... it never did this before- do i need it to do this or is there a way of stopping it? ... and while on the topic- is there anything else i could do to speed up the startup? (bearing in mind I'm a newbie ...so no including stuff in the kernel! etc)
thanks-o!
Offline
if you want to learn something about your system and are a bit experienced with linux, read this:
http://wiki.archlinux.org/index.php/Initrd
Offline
thanks- I've been over the initrd- it's just it says nothing about the 5secs for USB...
the only bit in my mkinitrd.conf which i could change is:
# Number of seconds to wait for USB devices to settle
USB_TIMEOUT=5
in http://wiki.archlinux.org/index.php/Initrd, it's not mentioned and not even there... so should i just delete it?
thanks
Offline
Many USB devices take several seconds to initialize. Perhaps yours is fast enough to remove moast of the 5 seconds!!!
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
yeah but i don't want it to go through the USB devices on startup- i never have any USB devices plugged in thatare important enough. I'm perfectly happy for it to do it when i'm all booted up... is there a way of turning it off during boot? thanks
Offline
The five seconds applies to the initiation of the USB device AFAIK and the loading of USB during boot is another matter.
There are hundreds of USB devices addressed in Linux and provision for many of them is made in the kernel.
In order to restrict the number of USB devices provided by the kernel, AFAIK, you would need to modify the kernel to reduce the number addressed by the config to those you are using. Therefore, a custom kernel is required.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
No need to compile custom kernel, just edit /etc/mkinitrd.conf and remove USB from there (because you are booting from normal hdd, not usb).
REMOVE_USB=1
You can also disable SCSI,FW or other things that you are not using to boot from.
Then run
mkinitrd auto
to generate initrd
Look in the grub/lilo configs to be sure you are booting initrd not initrd-full.
Reboot.
Offline
Actually... Are you using initrd-full.img? Because you probably shouldn't unless you have good reason to.
Offline
ah-ha! that sorted it! thanks... damn arch is fast!
Offline
Pages: 1