mkos

升级更换内核: https://blog.csdn.net/qq_42178802/article/details/103429210
23 apt-cache search linux|grep 128
24 apt install linux-headers-4.15.0-128 linux-headers-4.15.0-128-generic linux-image-4.15.0-128-generic linux-modules-4.15.0-128-generic
https://help.ubuntu.com/community/LiveCDCustomization
chmod +w extract-cd/casper/filesystem.manifest
sudo su
chroot edit dpkg-query -W --showformat='${Package} ${Version}\n' > extract-cd/casper/filesystem.manifest
exit
sudo cp extract-cd/casper/filesystem.manifest extract-cd/casper/filesystem.manifest-desktop
sudo sed -i '/ubiquity/d' extract-cd/casper/filesystem.manifest-desktop
sudo sed -i '/casper/d' extract-cd/casper/filesystem.manifest-desktop
sudo mksquashfs edit extract-cd/casper/filesystem.squashfs -b 1048576
sudo mkisofs -D -r -V "ks ubuntu 18.04" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o ../ks_ubuntu_18.04_128_1113.iso 
原文地址:https://www.cnblogs.com/cjyp/p/15625384.html