Translate Aticle

2023-05-16

最近在Thinkpad上安装Ubuntu12.04的时候,经历了几个问题,发现BOIS里多了很多选项, 而且安装双系统也有UEFI有关,在网站上找了一篇文章,发现这还是一个新概念(或者是新模式)。我觉得有必要介绍下。
我最终安装成WIN8和Ubuntu12.04双系统是在禁用安全启动模式和UEFI模式下安装的。
目录
1,Installing Ubuntu Quickly and Easily via Trial and Error
通过试验,轻松快速安装Ubuntu
2,Installing Ubuntu in EFI mode
在EFI模式下安装Ubuntu
1,Case when Ubuntu must be installed in EFI mode
Ubuntu必须在EFI模块下安装的案例
2,General principle
通用规则
3,Identifying if the computer boots the HDD in EFI mode
区别计算机在EFI模式下的硬盘启动
4,Identifying if the computer boots the CD in EFI mode
区别计算机在EFI模式下的CD光驱启动
5,Set up the BIOS in EFI or Legacy mode
设置BIOS在EFI模式或者传统模式
6,Creating an EFI partition
生成一个EFI分区
3,Identifying if an Ubuntu has been installed in EFI mode
EFI模式下的安装的Ubuntu的识别
4,Converting Ubuntu into EFI or Legacy mode
把Ubuntu转换成EFI模式或者传统模式
1,Converting Ubuntu into EFI mode
把Ubuntu转换成EFI模式
2,Converting Ubuntu into Legacy mode
把Ubuntu转换成传统模式
5,SecureBoot
安全启动
6,See also
更多参考
正文
正文:
UEFI
UEFI (~EFI) is a firmware interface that is widespread on recent computers, especially those more recent than 2010. It is intended to replace the traditional BIOS firmware interface that isprevalent on earlier machines. This page provides information about installing and booting Ubuntu using EFI, as well as about switching between EFI mode and legacy BIOS mode using Ubuntu.
UEFI(~EFI)是当今电脑广泛使用的固件接口,特别是2010年以后的电脑。这是一种将要代替传统BIOS固件的技术,而以前,BISO是被广泛的使用。这个页面将介绍Ubuntu使用EFI方式来安装和启动的一些信息,同样也会介绍使用Ubuntu在EFI模式和传统模式中切换的操作。
1,Installing Ubuntu Quickly and Easily via Trial and Error
1,通过试验,轻松快速安装Ubuntu
If you have a computer that is more recent than 2010 and you do not know whether or not you need to install Ubuntu in EFI mode, you should be able to get Ubuntu installed quickly and correctly using the following steps:
如果你有一台新于2010的电脑,你不知道你是否需要通过EFI模式安装Ubuntu,只要通过以下的步骤,你就快速准确的安装Ubuntu。
Create a LiveDVD or LiveUSB of Ubuntu-Secure-Remix 64bit or of Ubuntu (>=12.10) 64bit. The former is more convenient, as it already includes Boot-Repair, which is used in step 4.
制作一个Ubuntu64bit(>=12.10)LiveDVD 或者 LiveUSB。前者更好一些,因为他已经包括了Boot-Repair这个工具,而这个工具将在第4步使用到
Boot your PC using the LiveDVD or LiveUSB and choose "Try Ubuntu". Remark: if you get a Secure boot or signature error, disable SecureBoot as described here, then retry to boot the disk. You may also need to disable QuickBoot/FastBoot in the same menu.
Install Ubuntu from the Live CD/DVD or Live USB in the usual manner, then reboot the PC.
If the PC does not load Ubuntu (but instead loads Windows, for example, as in Bug #1050940), or if the Windows entry in the GRUB 2 menu does not boot Windows (see Bug #1024383), boot your PC using the Live CD/DVD or Live USB and choose "Try Ubuntu" once again. When the live session has loaded, run Boot-Repair (see link for details). When Boot-Repair loads, click on the "Recommended repair" button. Then reboot the pc.
如果你的PC不能加载Ubuntu,或者当Windows进入GRUB2菜单,但不能正常启动Windows,插入有Ubuntu系统的启动盘或者USB,启动你PC,选择“Try Ubuntu”,当进入Ubuntu系统之后,执行“Boot-Repair”工具,启动这个工具之后,选择“Recommended repair”按钮,大概需要10分钟左右,然后重启你的PC。
This should fix most boot problems. If this does not fix your boot problems, please run Boot-Repair's "Recommended repair" a 2nd time, and write on a paper the URL (paste.ubuntu.com/XXXXXX/) that will appear. Then reboot the pc.
这个工具将修改大部分启动问题(PS:我安装完Ununt之后,不能启动到WIN8,就是使用这个工具解决问题的)。如果还没有修改你的启动问题,请再运行一次“Boot-Repair”,然后把这个URL(paste.ubuntu.com/xxxxxx/)写到你的纸上(PS:这是干嘛?),然后重启。
If still not good, please create a new thread in this forum, describing your problem and indicating the URL you wrote in the previous step.
如果还没有好,请在Ubuntu论坛新建一个线程,描述你的问题,并附上你的上一步记录下的URL。
2,Installing Ubuntu in EFI mode
2,在EFI模式下安装Ubuntu
Warning: if you are a new Ubuntu user, you may want to follow the advice of the previous paragraph.
提示:如果你的一个Ubuntu新手,你应该关注本文上一段提出的建议
1, Case when Ubuntu must be installed in EFI mode
1, Ubuntu必须在EFI模块下安装的案例
Having a PC with EFI firmware does not mean that you need to install Ubuntu in EFI mode. What is important is below:
你的PC有EFI模式并不意味着你要安装的Ubuntu必须要在EFI模式下去执行。但请注意以下情况:
if the other systems (Windows Vista/7/8, GNU/Linux...) of your computer are installed in EFI mode, then you must install Ubuntu in EFI mode too.
如果你已经安装的操作系统(Windows Vista/7/8,GNU/Linux...)是在EFI模式下安装的,那么你将要安装的Ubuntu必须同样也是要在EFI模式进行安装。
if the other systems (Windows, GNU/Linux...) of your computer are installed in Legacy (not-EFI) mode, then you must install Ubuntu in Legacy mode too. Eg if your computer is old (<2010), is 32bits, or was sold with a pre-installed Windows XP.
如果你已经安装的操作系统(Windows,GUN/Linux...)是在传统模式(非EFI)模式,那你将要安装的Ubuntu必须要有传统模式下安装。例如,你的PC是2010年以前的,是32位,或者出厂安装的是Windows XP。
if Ubuntu is the only operating system on your computer, then it does not matter, you can install Ubuntu in EFI mode or not.
如果你的电脑里没其它系统,那么你接下来安装Ubuntu随便安装在哪种模式。
2,General principle
2,通用规则
To install Ubuntu in EFI mode:
在EFI模式下安装Ubuntu:
Use a 64bit disk of Ubuntu (32bit installer does not detect EFI)
使用64位Ubuntu的光盘(32位系统不能检测到EFI固件)
Use the last version of Ubuntu. Support for UEFI appeared in 11.10, but has become more reliable in next versions. Support for UEFI SecureBoot appeared in 12.10.
使用最新的Ubuntu。首先是在Ubuntu11.10中支持UEFI,在后来的版本中支持得更好。12.10还支持UEFI的安全启动模式
Set up your firmware (BIOS) to boot the disk in UEFI mode (see the "Identifying if the computer boots the HDD in EFI mode" paragraph below)
设置你的固件(主板的BIOS)启动硬盘为UEFI模式(参考“如果电脑在EFI模式启动硬盘的识别”段落)
Then:
nothing special is required if you use the automatic installer of Ubuntu ("Install Ubuntu alongside others" or "Erase the disk and install Ubuntu"). Important: if you have a pre-installed Windows and you want to keep it, do not choose "Erase the disk and install Ubuntu".
然后:
如果你使用自动安装Ubuntu那么就不需要其它特别的要求(“与其它系统共存的安排Ubuntu”或者“擦除硬盘安装Ubuntu“)。重要:如果你的硬盘前已经安装了Windows,并且你想保存这个系统,就不要选择”擦除硬盘安装Ubunut”这个选项(PS:我选择就是“Install Ubuntu alongsie others”)
if you use the manual partitioning ("Something else"), the difference is that you will have to create and use an EFI partition (see the "Creating an EFI partition" paragraph below).
如果你使用的是手动分区,不同点就是你必须要创建一个EFI分区(参考“创建一个EFI分区”段落)
3,Identifying if the computer boots the HDD in EFI mode
3, 区别计算机在EFI模式下的硬盘启动
This is possible only if you have already installed Ubuntu on the HDD, or by the BIOS setup (see paragraph below).
如果你的已经在你的硬盘安装了Ubuntu,或者通过你查找你的BIOS设置,你将看到EFI相关信息。
From an Ubuntu installed on the HDD (neither liveCD nor liveUSB), open a terminal (Ctrl+Alt+T), then type the following command:
从你已经安装的Ubuntu(而不是Ubuntu安装盘或者U盘),打开一个终端(Ctrl+Alt+T),然后输入以下命令:
[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
Remark: if the result is "Legacy boot on HDD", then either the BIOS is not UEFI type, or the BIOS is not set up to boot the HDD in UEFI mode.
备注:如果显示的结果是“Legacy boot on HDD”,那你的BIOS不是UEFI的类型,或者BIOS没有设置硬盘启动为UEFI模式。
4,Identifying if the computer boots the CD in EFI mode
4, 区别计算机在EFI模式下的CD光驱启动
Warning: even if your PC boots the CD in EFI mode, it might boot the HDD in Legacy mode (and the contrary).
提示:就是你的PC的光盘启动是在EFI模式,你的硬盘启动也许是在传统的模式。
When booting on a 64-bit Ubuntu disk:
当你启动64位的光盘系统
- If the BIOS is set up to boot the CD in EFI mode, then you will see the screen below:
-如果你的BIOS设置为光盘启动为EFI模式,就将会看到以下信息:
- If the BIOS is NOT set up to boot the CD in EFI mode, or if the disk is not 64-bit, then you will see the screen below:
-如果你的BIOS设置的光盘启动不是EFI模式,或者 你的光盘不是64位的系统,你将会看到以下信息:
5,Set up the BIOS in EFI or Legacy mode
5,设置BIOS在EFI模式或者传统模式
Some recent computers (>2011) allow to set up the boot either in UEFI mode or in Legacy (not-EFI) mode. The way to carry out this setting depends on the computers, but generally this setting is located in the "Boot order" tab of the BIOS (to access the BIOS screens, it is generally necessary to press a key during the PC startup).
2011以后的PC允许用户设置启动为UEFI模式或者传统的模式。这是一种方法让用户根据自己的电脑去设置,但是一般来说这种设备是位于BIOS的Boot order分区(当让PC进入BIOS,需要按特殊一些键)。
Remark: Some BIOSes allow one to set up the boot mode for the optical drive separately from the boot mode for the HDD.
备注:有一些BIOS允许用户去设置启动模式,从几个不同的硬盘分区去选择进入。
For example, below:
1, the "UEFI Hitachi" line allows to boot the HDD in EFI mode,
2, the "P1: Hitachi" line allows to boot the HDD in Legacy (not-EFI) mode,
3,the "P3: DVD" line allows to boot the Ubuntu CD in Legacy mode
4,the "UEFI: USB" lin allows to boot the Ubuntu liveUSB in EFI mode.
例如:
1,“UEFI Hitachi”允许用户从EFI模式硬盘启动,
2,“P1:Hitachi”允许用户从传统模式硬盘启动,
3,“P3:DVD”允许用户从传统模式光盘启动,
4,“UEFI:USB”允许用户从EFI模式启动USB系统。
Here is a 2nd example of BIOS, simpler, where the "Boot Mode" parameter allows one to choose the boot mode ("UEFI" or "Legacy") for all media (hard disk, CD, USB...) at the same time.
这是BIOS设置的第2种情况,很简单,在BIOS设置的“Boot Mode”选项中允许用户去选择启动模式(UEFI或者传统),适用启动的任何的启动媒介(硬盘,CD,U盘)。
Some other firmwares (BIOSes) propose an "UEFI/Legacy Boot:" option with the following choices: [Legacy only], [UEFI only] and [Both]. This last one boots in EFI mode when possible, then in Legacy mode if no EFI files are detected.
还有其它的一些一些BIOS固件计划同时支持“UEFI/传统启动"选项,一般有以下几种选项:[Legacy only], [UEFI only] 和 [Both]。最后一个是首先尝试EFI模式启动,如果没有检测到EFI固件,然后就从传统模式启动。
Creating an EFI partition
6,生成一个EFI分区
An EFI partition is necessary to install Ubuntu in EFI mode via the manual Ubuntu installer.
Since Ubuntu 12.04, it is possible to re-use an existing Windows7 EFI partition (without formatting it). If you use a previous version of Ubuntu, or if you have several installations of GNU/Linux in EFI mode, it is safer to create a new EFI partition EFI.
通过Ubuntu手动选择Ubuntu在EFI模式,那么,新建一个EFI分区是有必要的。
自从Ubuntu12.04以后,可以重用Windows7的EFI分区(不用格式化这个分区)。如果你使用一个之前的Ubuntu版本,或者你在EFI模式下,已经安装了一些GNU/Linux,那你新建一个EFI分区也是安全的。
An EFI partition can be created via a recent version of GParted (the Gparted version included in the 12.04 disk is OK), and must have the following attributes:
可以能一个现在版本的Gparted(Ubuntu12.04自带这个Gparted版本)来创建一EFI分区,你必须需要以下属性:
1, Mount point: /boot/efi (remark: no need to set this mount point when using the manual partitioning, the Ubuntu installer will detect it automatically)
挂载点:/boot/efi(备注:不 需要手动去设置这个挂载点,Ubuntu安装器会自动检测)
2, Size: between 100MB and 250MB
大小:100-200MB
3, Type: FAT32
格式:FAT32
4, Other: must be located at the start of a GPT disk, and must have a "boot" flag.
其它:必须位于GPT硬盘的开始位置,而且要有启动标志。
Identifying if an Ubuntu has been installed in EFI mode
EFI模式下的已经安装的Ubuntu的识别
An Ubuntu installed in EFI mode can be detected the following way:
一个在EFI模式下已经安装的Ubuntu系统能够通过以下几种方式检测:
1, its /etc/fstab file contains an EFI partition (mount point: /boot/efi)
在/etc/fstab文件包含EFI分区(挂载点:/boot/efi)
2, it uses the grub-efi bootloader (not grub-pc)
能够使用grub-efi bootlaoder(而不是grub-pc)
3, from the installed Ubuntu, open a terminal (Ctrl+Alt+T) then type the following command:
在一个已经安装的Ubuntu系统里,打开一个终端(Ctrl+Alt+T),然后输入以下命令:
[ -d /sys/firmware/efi ] && echo "Installed in EFI mode" || echo "Installed in Legacy mode"
[ -d /sys/firmware/efi ] && echo "Installed in EFI mode" || echo "Installed in Legacy mode"
Converting Ubuntu into EFI or Legacy mode
把Ubuntu转换成EFI模式或者传统模式
Converting Ubuntu into EFI mode
Ubuntu转换为EFI模式
Start Boot-Repair, click on "Advanced options", go to the "GRUB location" tab.
启动boot-repair,选择”Advanced Options“,进入”GRUB Location“选项
If you do not see a "Separate /boot/efi partition" line, this means that your PC does not have any EFI partition. In this case, exit Boot-Repair, then create an EFI partition (see the "Creating an EFI partition" paragraph above).
如果你没有看到“Separate /boot/efi artition”字样,那么意味着你的PC没有EFI分区,这种情况下,退出boot-repair,然后参考上面创建EFI段落
If you see a "Separate /boot/efi partition" line, tick it then click the "Apply" button.
如果你看到“Separate /boot/efi partition”字样,选择它, 然后点击“Apply”按键。
Set up your BIOS so that it boots the HDD in EFI mode (see the ""Set up the BIOS in EFI or Legacy mode" paragraph above).
设置你的BIOS,那么就能够从EFI模式下硬盘启动你的系统了(详情参考上面段落)。
Converting Ubuntu into Legacy mode
把Ubuntu转换成传统模式
If Ubuntu is installed on a GPT disk (you can check it via the 'sudo parted -l' command), use Gparted to create a BIOS-Boot partition (1MB, unformatted filesystem, bios_grub flag) at the start of its disk.
如果你的Ubuntu安装在GPT盘(见附录1)(完全可以通过这个命令来检查“sudo parted -l”),在这个硬盘的开始处,使用Gparted去创建一个BIOS-Boot分区(1MB,不格式化文件系统,有bios_grub 标志)
Start Boot-Repair, click on "Advanced options", go to the "GRUB location" tab.
Untick the "Separate /boot/efi partition" option
Click the "Apply" button.
启动Boot-Repair,点击“Advanced Options”,选择“GRUB Location”选项页。
点击“Apply”按钮
Set up your BIOS so that it boots the HDD in Legacy mode (see the ""Set up the BIOS in EFI or Legacy mode" paragraph above).
设置你的BIOS,那么你的硬盘启动就是在传统的模式(详参上述段落)
SecureBoot
安全启动模式。
"Secure Boot" is a new UEFI feature that appeared in 2012, with Windows8 preinstalled computers. The support for this feature has started with Ubuntu 12.10 64bit (see this article), but it is not fully reliable yet, so you may need to disable it in order to be able to boot Ubuntu.
“安全启动”是在2012年新预装的WIN8的PC的UEFI新的特征。Ubuntu12.04 64bit的版本也支持这一特性,但是没有不具可靠性,所以为能够很好启动Ubuntu,你需要禁用这个功能。
Here is an example of BIOS showing that "Secure Boot" is enabled:
下面是“安全启动”使能的样子。
To disable or enable Secure Boot, find a similar option in your BIOS, and use the keyboard to switch it to Enabled/Disabled.
为了禁用或者使能安全启动模式,使用键盘去切换使其禁用或者使能。
See also
参考:
- UEFIBooting (older documentation, maybe useful for Mac)
UEFIBooting(老的版本,也许适用MAC)
- EasyBCD cannot be used in UEFI mode: thread on EasyBCD forum. But it can be used from version 2.2.
EasyBCD 不能在UEFI模式下使用:在BCD论坛,但是这个可以在2.2的版本中使用。
from:
https://help.ubuntu.com/community/UEFI

附录1:
一种由基于 Itanium 计算机中的可扩展固件接口 (EFI) 使用的磁盘分区架构。与主启动记录 (MBR) 分区方法相比,GPT 具有更多的优点,因为它允许每个磁盘有多达 128 个分区,支持高达 18 千兆兆字节的卷大小,允许将主磁盘分区表和备份磁盘分区表用于冗余,还支持唯一的磁盘和分区 ID (GUID)。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Translate Aticle 的相关文章

  • CSS3中的3D旋转 rotate、3D位移 translate

    这里只考虑 chrome 的兼容 3DrotateDemo html lt DOCTYPE html gt lt html lang 61 34 en 34 gt lt head gt lt meta charset 61 34 UTF 8
  • Translate Aticle

    最近在Thinkpad上安装Ubuntu12 04的时候 xff0c 经历了几个问题 xff0c 发现BOIS里多了很多选项 xff0c 而且安装双系统也有UEFI有关 xff0c 在网站上找了一篇文章 xff0c 发现这还是一个新概念 x
  • Translate Aticle

    最近在Thinkpad上安装Ubuntu12 04的时候 xff0c 经历了几个问题 xff0c 发现BOIS里多了很多选项 xff0c 而且安装双系统也有UEFI有关 xff0c 在网站上找了一篇文章 xff0c 发现这还是一个新概念 x
  • RN仿微信朋友圈图片拖拽删除

    目录 前言 初始时 渲染时 开始拖拽 拖拽中 拖拽结束 拖拽删除 参考链接 前言 之前负责的一个需求 让在RN端做仿微信朋友圈的图片删除和排序 由于经验和时间限制 就跟PM协商改为点击删除 由此欠下一个技术栈 今天是来还债的 本文基于tra
  • vue制作幻灯片时涉及的transition动画(动图)

    幻灯片使用频率很高 就是各个网站的轮播大图 为了使图片更加平滑的过渡 就考虑给幻灯片加上transition动画 先看实现的效果 然后再分析动画原理 上图可以看出 幻灯片是慢慢的滑出来 而不是一下一下的跳出来 1 transition动画原
  • Python 翻译多个字符

    我正在尝试在 python 3 3 3 中创建一个程序 它将接受一个字符串 然后将其转换为数字 1 26 我知道如何计算一位数字 但不知道如何计算 2 位数字 translist str maketrans 123456789 ABCDEF
  • OpenCV:相对于参考图像移动/对齐面部图像(图像配准)

    我是 OpenCV2 的新手 正在从事情感识别项目 希望将面部图像与参考面部图像对齐 我希望在进行旋转之前先进行图像翻译 当前的想法是在 x 和 y 坐标的有限范围内运行搜索 并使用平方差之和作为误差度量来选择最佳的 x y 参数来对齐图像
  • Xamarin Forms - 在运行时翻译抽屉菜单项

    我正在遵循优秀的教程 Link 关于 Xamarin Forms 中的多语言 一切正常 但我有一个问题 在我的应用程序中 我使用 Syncfusion 的导航抽屉 因为我在 ListView 中生成菜单项 如下所示 DrawerPage x
  • Zend Framework 2 - 翻译路线

    我想知道是否可以在 zf2 中使用路由 uri 的翻译工具 我想要例如路线en domain tld article show 1例如翻译为de domain tld artikel anzeigen 1 我不认为正则表达式是这里的方法 因
  • Python ValueError:chr() arg 不在范围内(256)

    所以我正在学习python并重做一些旧项目 该项目涉及从命令行获取字典和要翻译的消息 并翻译该消息 例如 btw 你好 你好 将被翻译为 顺便说一句 你好 你好吗 我们使用教授提供的扫描仪来读取标记和字符串 如果有需要我也可以在这里发布 这
  • 如何将 matlab 函数“roicolor”翻译为 scilab

    如何将 matlab 函数 roicolor 翻译为 scilab 示例代码 I imread rice png BW roicolor I 128 255 imshow I 我想你可以简单地做 BW I gt 128 I lt 255 如
  • 我尝试使用动画来使线性布局进行翻译,像这样向左<->向右。但我遇到了一些错误

    这是我的第一个应用程序 我尝试从右到左或从左到右翻译 这是代码 资源 gt 动画 gt 向左翻译
  • Python JSONDecoder 自定义转译null类型

    在 python 中 JSONDecoder 默认将 null 转换为 None 如下所示 我怎样才能将 null gt None 的翻译更改为不同的内容 即 null gt 猫 class json JSONDecoder encodin
  • 如何动态翻译 html5 占位符

    我正在使用 Angular translate 将页面内容翻译成不同的语言
  • 根据元素高度和宽度转换 X 和 Y 百分比值?

    将元素 Y 轴平移 50 会将其向下移动自身高度的 50 而不是我所期望的父级高度的 50 如何告诉翻译元素将其翻译百分比基于父元素 或者我不明白什么 http jsfiddle net 4wqEm 2 http jsfiddle net
  • 如何使用 Google Translator Api 将转换后的英文文本设置到另一个文本框?

    我有两个文本框 一个用于英语 另一个用于印地语 当我在第一个框中输入英语时 文本应在第二个框中显示为印地语版本 在按键事件上 我已经提到了一个例子如何在您的网站中通过 Google API 将英语翻译成印地语 http arunsonare
  • Laravel 翻译 required_if 值

    我正在使用 Laravel 版本 5 2 45 目前我在翻译 required if 规则时遇到一些麻烦 当我使用 required if field value 时 它 会打印错误验证消息中的字段值 在本例中为 1 或 0 这不太可读 例
  • Angular 5 - 在 TypeScript 中翻译字符串

    我使用 i18n 进行翻译 并且对它在 html 方面的工作方式感到满意 但是 如果我在打字稿的字符串中定义了错误消息等 我想要一种方法来翻译这些内容 但找不到方法来做到这一点 有解决方法可以实现这一目标吗 到目前为止 通过库的 API 还
  • 安卓。谷歌 API 翻译

    我在集成 Google API Translate 时遇到一些问题 添加到 gradle 配置此依赖项 compile com google apis google api services translate v2 rev41 1 20
  • Pyspark 删除数据帧列中的多个字符

    看看 pyspark 我明白了translate and regexp replace帮助我了解数据框列中存在的单个字符 我想知道是否有一种方法可以在regexp replace or translate这样它就会解析它们并用其他东西替换它

随机推荐

  • preference 用法之Settings

    preference 用法之Settings 我们的app有时常需要包含Settings xff0c 那我们该怎样允许app使用Settings呢 xff1f 这里我们就需要用到Preference类 下面我就举一个例子来让我们更好的理解
  • Android7.1解决应用系统属性设置类SystemProperties导入问题

    试了很多种方法 xff0c 有说导入系统的framework jar的 xff0c 试过依然不行 xff0c 最后确认可行的办法就是导入layoutlib jar包 1 在Sdk platform android XX data目录下找到l
  • Android生物识别-androidx.biometric的使用方法

    参考文献 android developer biometric 截止发稿时需要的依赖 implementation span class token string 39 androidx biometric biometric 1 2 0
  • 生产者消费者算法的简单实现

    系列文章目录 文章目录 系列文章目录 实验内容 背景知识 1 了解经典同步问题 生产者和消费者 思路 二 源代码运行结果结论 实验内容 1 问题描述 xff1a 一组生产者向一组消费者提供消息 xff0c 它们共享一个有界缓冲池 xff0c
  • CentOS7.5 VNC Server服务配置

    转载文章 xff1a https blog csdn net hnhuangyiyang article details 50827670 一 安装VNC相关包 yum list tigerserver yum install tigerv
  • 使用github OAuth实现用户登录

    更多文章请关注 xff1a https eightplus github io 1 在github上申请OAuth App xff0c 进入个人的Github首页 xff0c Settings gt Applications gt Deve
  • 二叉搜索树的第k大节点

    二叉搜索树的第k大节点 题目 给定一棵二叉搜索树 xff0c 请找出其中第 k 大的节点的值 示例 1 输入 root 61 3 1 4 null 2 k 61 1 3 1 4 2 输出 4 示例 2 输入 root 61 5 3 6 2
  • 关于STM32的编码器计数及溢出处理调试总结

    错误1 pc6 pc7被用作其他用途 GPIO模式配置错误 导致计数不准确 错误2 引脚模式设置错误 应该设置为GPIO Mode IPD GPIO Mode IPU nbsp GPIO Mode IN FLOATING nbsp 都可以
  • Android getResources的作用和需要注意点

    今天做一个Android的文件管理器 xff0c 里面用到很多的地方用到了getResources Drawable currentIcon 61 null currentIcon 61 getResources getDrawable R
  • 功能测试,系统测试,兼容性测试,手工测试

    功能测试 功能测试一般需要根据编写的 测试用例 xff0c 执行测试用例 xff0c 执行的过程中提交缺陷 xff1b 功能测试一般至少会有两轮 xff0c 遇到比较麻烦的项目甚至会有三到四轮 xff0c 而每一轮测试都有其侧重点 xff0
  • 古诗文本自动生成唐诗文本生成(算例代码)

    首先准备好一个本地文件 xff0c 在此我命名为唐诗三百首 txt如下图 https img blog csdnimg 图片 代码如下 span class token keyword import span numpy span clas
  • ChatGPT被淘汰了?Auto-GPT到底有多强

    大家好 xff0c 我是可夫小子 xff0c 关注AIGC 读书和自媒体 解锁更多ChatGPT AI绘画玩法 说Auto GPT淘汰了ChatGPT了 xff0c 显然是营销文案里面的标题党 毕竟它还是基于ChatGPT的API xff0
  • 案例分享:让ChatGPT充当程序员,帮你无代码实现网络爬虫

    大家好 xff0c 我是可夫小子 xff0c 关注AIGC 读书和自媒体 解锁更多ChatGPT AI绘画玩法 加 xff1a keeepdance xff0c 备注 xff1a chatgpt xff0c 拉你进群 提示 xff1a 本案
  • 插件推荐:一键保存ChatGPT对话记录GPT-EZ

    大家好 xff0c 我是可夫小子 xff0c 关注AIGC 读书和自媒体 解锁更多ChatGPT AI绘画玩法 加 xff1a keeepdance xff0c 备注 xff1a chatgpt xff0c 拉你进群 我们在与ChatGPT
  • 案例分享:ChatGPT写python脚本,轻松文本处理

    大家好 xff0c 我是可夫小子 xff0c 关注AIGC 读书和自媒体 解锁更多ChatGPT AI绘画玩法 加 xff1a keeepdance xff0c 备注 xff1a chatgpt xff0c 拉你进群 在工作中 xff0c
  • Android NDK tombstone分析工具

    Android NDK tombstone分析工具 在Andoird Native库发生异常的时候 xff0c Linux会发生不同级别的sig xff0c 来结构相关进程的运行 xff0c 同时会产生tombstone trace文件用于
  • 关于UEFI

    最近在Thinkpad上安装Ubuntu12 04的时候 xff0c 经历了几个问题 xff0c 发现BOIS里多了很多选项 xff0c 而且安装双系统也有UEFI有关 xff0c 在网站上找了一篇文章 xff0c 发现这还是一个新概念 x
  • 怎样在github上协同开发

    描述 xff1a How to co work wither parter via github Github协同开发情景模拟 Github不仅有很多开源的项目可以参考 xff0c 同样也是协同开发的最佳工具 xff0c 接下来的就模拟一下
  • Android libdvm.so 与 libart.so

    Android libdvm so 与 libart so 系统升级到5 1之后 xff0c 发现system lib 下面没有libdvm so了 xff0c 只剩下了libart so 对于libart模式 xff0c 从4 4就在De
  • Translate Aticle

    最近在Thinkpad上安装Ubuntu12 04的时候 xff0c 经历了几个问题 xff0c 发现BOIS里多了很多选项 xff0c 而且安装双系统也有UEFI有关 xff0c 在网站上找了一篇文章 xff0c 发现这还是一个新概念 x