Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
ブートメッセージのクリアの無効化のソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
ブートメッセージのクリアの無効化
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:ブートプロセス]] [[en:Disable clearing of boot messages]] [[es:Disable Clearing of Boot Messages]] [[fr:Messages au demarrage]] {{Related articles start}} {{Related|Arch ブートプロセス}} {{Related articles end}} ブートプロセスの後、画面はクリアされてログインプロンプトが表示されますが、これでは init の出力やエラーメッセージをユーザーが読むことはできません。この記事で説明している方法を使うことでこの挙動を変更することができます。 以下の方法とは別に、起動後に {{ic|dmesg}} を使ってカーネルメッセージを表示したり、{{ic|journalctl -b}} を実行して起動からのログを全て表示させることが可能です。 == フロー制御を使う == 仮想端末 (vc) を含む、ほとんど全てのターミナルエミュレータに適用される基本的な制御です: * {{ic|Ctrl+S}} を押して出力を停止 * {{ic|Ctrl+Q}} で復帰 {{Note|This pauses not only the output, but also programs which try to print to the terminal, since they'll block on the write() calls for as long as the output is paused. If your ''init'' appears frozen, make sure the system console is not paused.}} == tty1 にブートメッセージを残す == デフォルトで、Arch では {{ic|getty@tty1}} サービスが有効になっています。サービスファイルは既に {{ic|--noclear}} を使うようになっているので、agetty が画面をクリアすることはありません。しかしながら [[systemd]] が起動する前に画面をクリアしてしまいます。この挙動を無効にするには、ドロップインディレクトリ {{ic|/etc/systemd/system/getty@tty1.service.d/}} を作成して、その中に {{ic|noclear.conf}} ファイルを作ってください: {{hc|1=/etc/systemd/system/getty@tty1.service.d/noclear.conf|2= [Service] TTYVTDisallocate=no }} This overrides only {{ic|TTYVTDisallocate}} for agetty on TTY1 and let the global service file {{ic|/usr/lib/systemd/system/getty@.service}} untouched. This is the recommended way to [[Systemd#Editing_provided_unit_files|edit systemd unit files]]. Late KMS starting may still cause the first few boot messages to clear. If this is the case, try enabling [[KMS#Early KMS start|early KMS start]]. There will probably be too many boot messages to view on one screen. Use Shift+PgUp/PgDown to scroll. If there are too many boot messages you still might not be able to see all of them by scrolling. Try increasing the size of your [[Scrollback buffer|scrollback buffer]]. === /etc/issue のクリアを無効化 === If you have an old {{ic|/etc/issue}} that has the "clear TTY" escape sequences, remove them. # sed -i $'s/\e\[H//; s/\e\[2J//' /etc/issue
ブートメッセージのクリアの無効化
に戻る。
検索
検索
ブートメッセージのクリアの無効化のソースを表示
話題を追加