zoukankan      html  css  js  c++  java
  • 将镜像文件里的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"}
    }

     

  • 相关阅读:
    数据库----索引与补充
    数据库----知识点总结
    数据库----mysql 存储引擎,表介绍
    数据库----mysql表的约束和查询
    数据库----mysql 表的操作
    初识数据库
    并发编程----协程
    并发编程----同步,异步,阻塞,非阻塞,异步加回调机制,线程队列,event事件
    并发编程----GIL,进程池/线程池
    django中的模板渲染、模板继承、组件、插件
  • 原文地址:https://www.cnblogs.com/jsdy/p/12346609.html
Copyright © 2011-2022 走看看