將鏡像文件里的isolinux、boot文件夾里的cfg格式文件相關中文修改為英文


 

 

1. 打開鏡像文件,如下找到isolinux、boot文件夾里的cfg格式文件

 

 

 

 

 同理,將boot文件夾下面的cfg文件打開,相應的中文改為英文即可

 

 

 2. 使用查看代碼的軟件打開后將里面的中文部分改成英文:

 將cfg格式文件中的中文改成對應的英文,對應的中英文如下:

啟動Live系統 Boot Live system 啟動系統安裝器 Boot system installer 在安全圖像模式下啟動Live系統 Boot Live in safe graphics mode 在調試模式下啟動Live系統 Boot Live in debug mode 按TAB鍵編輯 Press TAB key to edit 按'E'鍵編輯    Press 'E' key to edit

 

本人相應的文件修改后如下:

syslinux.cfg

 1 default vesamenu.c32  2 prompt 0
 3 timeout 100
 4 
 5 menu title Systemback Live (Ubuntu18.04_GRC_OAI)  6 menu tabmsg Press TAB key to edit  7 menu background splash.png  8 
 9 label live 10  menu label Boot Live system 11   kernel /casper/vmlinuz 12   append boot=casper initrd=/casper/initrd.gz quiet splash 13 
14 label install 15  menu label Boot system installer 16   kernel /casper/vmlinuz 17   append boot=casper initrd=/casper/initrd.gz finstall quiet splash 18 
19 label safe 20   menu label Boot Live in safe graphics mode 21   kernel /casper/vmlinuz 22   append boot=casper initrd=/casper/initrd.gz xforcevesa nomodeset quiet splash 23 
24 label debug 25   menu label Boot Live in debug mode 26   kernel /casper/vmlinuz 27   append boot=casper initrd=/casper/initrd.gz

 

isolinux.cfg

 

 1 default vesamenu.c32  2 prompt 0
 3 timeout 100
 4 
 5 menu title Systemback Live (Ubuntu18.04_GRC_OAI)  6 menu tabmsg Press TAB key to edit  7 menu background splash.png  8 
 9 label live 10  menu label Boot Live system 11   kernel /casper/vmlinuz 12   append boot=casper initrd=/casper/initrd.gz quiet splash 13 
14 label install 15  menu label Boot system installer 16   kernel /casper/vmlinuz 17   append boot=casper initrd=/casper/initrd.gz finstall quiet splash 18 
19 label safe 20   menu label Boot Live in safe graphics mode 21   kernel /casper/vmlinuz 22   append boot=casper initrd=/casper/initrd.gz xforcevesa nomodeset quiet splash 23 
24 label debug 25   menu label Boot Live in debug mode 26   kernel /casper/vmlinuz 27   append boot=casper initrd=/casper/initrd.gz

 

 

 

grub.cfg

 

 1 if loadfont /boot/grub/font.pf2  2 then  3   set gfxmode=auto  4  insmod efi_gop  5  insmod efi_uga  6  insmod gfxterm  7  terminal_output gfxterm  8 fi  9 
10 set theme=/boot/grub/theme.cfg 11 
12 menuentry "Boot Live system" { 13   set gfxpayload=keep 14   linux /casper/vmlinuz boot=casper quiet splash 15   initrd /casper/initrd.gz 16 } 17 
18 menuentry "Boot system installer" { 19   set gfxpayload=keep 20   linux /casper/vmlinuz boot=casper finstall quiet splash 21   initrd /casper/initrd.gz 22 } 23 
24 menuentry "Boot Live in safe graphics mode" { 25   set gfxpayload=keep 26   linux /casper/vmlinuz boot=casper xforcevesa nomodeset quiet splash 27   initrd /casper/initrd.gz 28 } 29 
30 menuentry "Boot Live in debug mode" { 31   set gfxpayload=keep 32   linux /casper/vmlinuz boot=casper 33   initrd /casper/initrd.gz 34 }

 

 

 

loopback.cfg

 

 1 menuentry "Boot Live system" {  2   set gfxpayload=keep  3   linux /casper/vmlinuz boot=casper iso-scan/filename=$iso_path quiet splash  4   initrd /casper/initrd.gz  5 }  6 
 7 menuentry "Boot system installer" {  8   set gfxpayload=keep  9   linux /casper/vmlinuz boot=casper iso-scan/filename=$iso_path finstall quiet splash 10   initrd /casper/initrd.gz 11 } 12 
13 menuentry "Boot Live in safe graphics mode" { 14   set gfxpayload=keep 15   linux /casper/vmlinuz boot=casper iso-scan/filename=$iso_path xforcevesa nomodeset quiet splash 16   initrd /casper/initrd.gz 17 } 18 
19 menuentry "Boot Live in debug mode" { 20   set gfxpayload=keep 21   linux /casper/vmlinuz boot=casper iso-scan/filename=$iso_path 22   initrd /casper/initrd.gz 23 }

 

 

 

theme.cfg

title-color: "white" title-text: "Systemback Live (Ubuntu18.04_GRC_OAI)" title-font: "Sans Regular 16" desktop-color: "black" desktop-image: "/boot/grub/splash.png" message-color: "white" message-bg-color: "black" terminal-font: "Sans Regular 12"

+ boot_menu { top = 150 left = 15% width = 75% height = 130 item_font = "Sans Regular 12" item_color = "grey" selected_item_color = "white" item_height = 20 item_padding = 15 item_spacing = 5 } + vbox { top = 100% left = 2%
  + label {text = "Press 'E' key to edit" font = "Sans 10" color = "white" align = "left"} }

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM