使用するPC環境

ハードウェア

Macbook 4.1(early 2008)(最後のポリカーボネート筐体のMacbookかな?)

  • メモリ:4GB
  • ストレージ:300GB SSD
  • 外付キーボード:USB接続Appleキーボード
f:id:dachkerokero:20211031231036j:plain
Macbook early 2008

OS

Macbook 4.1が対応しているMacOSは、OS X Lionまで、Bootcampが対応しているWindowsWindows7まで。
どちらもとっくにサポート期間が終了しているので、使用し続けるのはセキュリティー的に問題があり。
ブートマネージャーとしてrEFInedをインストール。
The rEFInd Boot Manager
OS X LionとDebian GNU/Linuxデュアルブートにし、主にLinuxマシンとして使用。

バージョン

2021年現在のstable releaseのDebian 11 (bullseye)(amd64)を使用。
インストールは有線LAN接続して、ネットワークインストールイメージで特に問題なく終了。

kernel boot paramater

インストールした直後の状態では、OSの起動時にものすごく時間がかかる。
ブートパラメーターとしてvideo=SVIDEO-1:dを与えると解決するので、
rEFIndとGRUBの両方で起動する際にパラメーターが与えられるよう設定する。

rEFIndの設定

/boot/refind_liniux.conf の各エントリーに次のようにオプションを追加

"Boot with standard options"  "root=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx ro quiet video=SVIDEO-1:d"
"Boot to single-user mode"    "root=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx ro quiet single video=SVIDEO-1:d"
"Boot with minimal options"   "ro root=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx video=SVIDEO-1:d"
GRUBの設定

/etc/default/grubを編集
GRUB_CMDLINE_LINUXに下記のようにのオプションを追加

GRUB_CMDLINE_LINUX="video=SVIDEO-1:d"

/etc/default/grub内のコメント

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

に従って/boot/grub.cfgを更新

xxxx@debian:~$ sudo update-grub
[sudo] xxxx のパスワード:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5.10.0-10-amd64
Found initrd image: /boot/initrd.img-5.10.0-10-amd64
Found linux image: /boot/vmlinuz-5.10.0-9-amd64
Found initrd image: /boot/initrd.img-5.10.0-9-amd64
Found linux image: /boot/vmlinuz-5.10.0-8-amd64
Found initrd image: /boot/initrd.img-5.10.0-8-amd64
Found Mac OS X on /dev/sda2
done

[出典]
askubuntu.com