This is a workaround to make the SSD 2.5" work!
- Create
/etc/initcpio/install/load_ssd
and/etc/initcpio/hooks/load_ssd
- Edit
/etc/mkinitcpio.conf
- Run
sudo mkinitcpio -P
#!/usr/bin/ash | |
# /etc/initcpio/hooks/load_ssd | |
run_hook() { | |
rtcwake -u -m mem --date +1s | |
} | |
#!/bin/bash | |
# /etc/initcpio/install/load_ssd | |
build() { | |
add_binary /usr/bin/rtcwake | |
add_runscript | |
} |
This is a workaround to make the SSD 2.5" work!
/etc/initcpio/install/load_ssd
and /etc/initcpio/hooks/load_ssd
/etc/mkinitcpio.conf
sudo mkinitcpio -P
# /etc/mkinitcpio.conf | |
# ... | |
## NOTE: If you have /usr on a separate partition, you MUST include the | |
# usr, fsck and shutdown hooks. | |
HOOKS="base ... load_ssd" | |
#... |