You are not logged in.

#1 2008-10-30 12:52:17

Svlad Cjelli
Member
From: dusk till dawn
Registered: 2008-10-21
Posts: 99

mkinitcpio --> what can I do?

I just discovered my mkinitcpio.conf

My HOOKS currently look like that:


HOOKS="base udev autodetect pata scsi sata usb usbinput keymap filesystems"

According to usb the wiki says:


Adds USB modules to the image. Use this if your root device is on a USB mass storage device.

an according to usbinput:

Adds USB HID modules to the image. Use this if you have an USB keyboard and need it in early userspace (either for entering encryption passphrases or for failsafe mode)

my question is:
can i kick them both?
I am using a notebook, so i've got no keyboard. Neither my root-device ist on an USB-Device.

Ad: should i just uncomment the entries or can i delete them?

Svlad

Offline

#2 2008-10-30 13:21:29

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: mkinitcpio --> what can I do?

You can kick those and the two out of "pata scsi sata" that you don't use. Delete keymap as well, if you don't need to enter anything during the bootup (like a password for an encrypted root partition, in which case you would also be using the encrypt hook).


1000

Offline

#3 2008-10-30 15:12:10

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: mkinitcpio --> what can I do?

Also, be aware that your keyboard in your laptop could potentially still be on a USB bus. The usbinput hook is only needed if you need to enter anything before the system is loaded, or if something goes wrong and you're booted to the prompt.

Offline

#4 2008-11-03 09:42:18

Svlad Cjelli
Member
From: dusk till dawn
Registered: 2008-10-21
Posts: 99

Re: mkinitcpio --> what can I do?

Ok it worked...

It saves me about 3 seconds at startup...


Thank u...

Offline

Board footer

Powered by FluxBB