首页
学习
活动
专区
工具
TVP
发布

如何自定义Veracrypt引导加载程序消息

In Veracrypt, first go to  Menu > System > Settings > Edit Boot Loader Configuration

When you press it, it would warn you that  inexperient users should never attempt to manually edit boot loader configurations.

Therefore, please make sure you have your important data backed up. Also make sure your Veracrypt Rescue Disk is available, whether it is in a USB or optical CD.

I am not responsible for the damages caused by your own modification to the boot loader configurations.

A pratical suggestion is that, when you misconfigured something, you can always change those settings back and boot normally.

The bootloader configuration file is called DcsProp under \EFI\Veracrypt\ in the EFI System Partition.

Here is a DcsProp file:  https://github.com/veracrypt/VeraCrypt-DCS/blob/master/Library/VeraCryptLib/DcsProp

Basically, the comments within that file offers a brief description of each XML tag.

So, a typical modification would be changing the value of  to Enter you password: .

If you want to include newlines within your message, simply put a newline in the config file. (Since the XML parser only recognizes angle brackets and the on-exit-parser only recognizes parenthesis)

The "ActionSuccess" or other Actions can be set to Message(msg), where the messages are within the parethenses without quotes.

Note that if some tags are missing from your DcsProp file, their default values would be determined here.

You can enable touch screen mode via the "PasswordType" tag. (but I think you probably won't like it) The result would look similar to this video.

Note that the "PasswordPicture" has to be in the BMP (BITMAPINFOHEADER) format, or it would print a "BmpToBlt - Unsupported" error message.

Finally, this is a glimpse of my own bootloader screen:

  • 发表于:
  • 原文链接https://kuaibao.qq.com/s/20210129A09PF300?refer=cp_1026
  • 腾讯「腾讯云开发者社区」是腾讯内容开放平台帐号(企鹅号)传播渠道之一,根据《腾讯内容开放平台服务协议》转载发布内容。
  • 如有侵权,请联系 cloudcommunity@tencent.com 删除。

扫码

添加站长 进交流群

领取专属 10元无门槛券

私享最新 技术干货

扫码加入开发者社群
领券