0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

rtcwake: write error が出て途方に暮れたら

Last updated at Posted at 2021-11-05

linuxでPCを休止状態にして指定時刻で立ち上げたいが
rtcwake -m disk ...
でwrite errorが出てできない、という時にチェックしてみる項目
・BIOS設定確認(ACPIうんたらかんたら。ハードが対応していなければどうしようもないです)
・swap領域の容量(使用中メモリを全部保存できる容量。自分の場合、実メモリの倍+αにした)

ここまでは前振りとして

・swap領域をswapfileではなくパーティション上に確保(これ!)
  理由等詳しい訳ではなく経験則だが、centos7,ubuntu20ともswapfileから変えたらできるようになった。
  再インストールしなくてもgpartedで既存の領域を減らしてswapパーティション用の領域を確保、作成(linux-swapを選択)できる。
  危険な操作なため詳しくは書きませんので、それぞれの環境を確認して実施してください。試行錯誤中、パーティションの構成によってはgpartedで既存領域を減らせないこともありました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?