一键制作可启动LiveCD脚本
Tofloor
poster avatar
redbrother
deepin
2019-10-30 22:58
Author
本帖最后由 deepinwuyuvl 于 2019-10-30 14:58 编辑

一键制作可启动LiveCD脚本,制作的livecd使用mate极简桌面,包含了大多数的命令维护工具、下载工具。

https://gitee.com/redbrother/make-ubuntu-livecd
  1. https://gitee.com/redbrother/make-ubuntu-livecd
Copy the Code
使用grub2引导U盘根目录livecd iso,可以不必解压iso,grub.cfg配置写法如下;
  1. menuentry "ubuntu 18.04 LTS " {
  2.           insmod ntfs
  3.           insmod fat
  4.           insmod ext2
  5.           insmod iso9660
  6.           set isofile="ubuntu-bionic.iso"  
  7. search --no-floppy --file --set=root  /$isofile
  8. loopback  loop  /$isofile
  9. linux   (loop)/casper/vmlinuz  boot=casper iso-scan/filename=/$isofile quiet splash locales=zh_CN.UTF-8
  10. initrd  (loop)/casper/initrd.lz        
  11. }
Copy the Code
制作的ISO镜像572M

Reply Favorite View the author
All Replies
avatar
JiangFei℃
deepin
2020-03-31 07:26
#1
能否讲解一下制作过程,本人小白一个
Reply View the author