【概要】
Ubuntu 20.04.3 LTSのISOをコンソール起動対応にする。
・ISOイメージを作業用エリアにコピー
# mount ubuntu-20.04.3-live-server-amd64.iso /mnt
# mkdir ubuntu-20.04.3-live-server-amd64-console
# cd ubuntu-20.04.3-live-server-amd64-console
# rsync -a /mnt/ .
# umount /mnt
# ll
total 80
dr-xr-xr-x 11 root root  4096 Aug 24  2021 ./
drwxrwxrwx  5 root root  4096 Feb 23 10:24 ../
dr-xr-xr-x  2 root root  4096 Aug 24  2021 .disk/
dr-xr-xr-x  3 root root  4096 Aug 24  2021 EFI/
dr-xr-xr-x  3 root root  4096 Aug 24  2021 boot/
dr-xr-xr-x  3 root root  4096 Aug 24  2021 casper/
dr-xr-xr-x  3 root root  4096 Aug 24  2021 dists/
dr-xr-xr-x  2 root root  4096 Aug 24  2021 install/
dr-xr-xr-x  2 root root 12288 Feb 23 10:35 isolinux/
-r--r--r--  1 root root 27368 Aug 24  2021 md5sum.txt
dr-xr-xr-x  3 root root  4096 Aug 24  2021 pool/
dr-xr-xr-x  2 root root  4096 Aug 24  2021 preseed/
lrwxrwxrwx  1 root root     1 Aug 24  2021 ubuntu -> ./
・コンソール対応にファイル変更1(isolinux.cfg)
 ui gfxboot bootlogo行をコメントアウト
# vi isolinux/isolinux.cfg
path
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
# ui gfxboot bootlogo ←コメント
・コンソール対応にファイル変更1(txt.cfg)
 下記を追加
 serial 0 115200
 console=tty0 console=ttyS0,115200n8
# vi ./isolinux/txt.cfg
serial 0 115200
default live
label live
  menu label ^Install Ubuntu Server
  kernel /casper/vmlinuz
  append   initrd=/casper/initrd quiet console=tty0 console=ttyS0,115200n8  ---
label hwe-live
  menu label ^Install Ubuntu Server with the HWE kernel
  kernel /casper/hwe-vmlinuz
  append   initrd=/casper/hwe-initrd quiet  ---
label memtest
  menu label Test ^memory
  kernel /install/mt86plus
label hd
  menu label ^Boot from first hard disk
  localboot 0x80
・ISOイメージ作成
 ubuntu-20.04.3-live-server-amd64-console.isoでISOを作成
# mkisofs -r -l -J -o ../ubuntu-20.04.3-live-server-amd64-console.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table .