使用するPC環境
ハードウェア
OS
Macbook 4.1が対応しているMacOSは、OS X Lionまで、Bootcampが対応しているWindowsはWindows7まで。
どちらもとっくにサポート期間が終了しているので、使用し続けるのはセキュリティー的に問題があり。
ブートマネージャーとして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