关于UEFI

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 is prevalent 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(使用前将#替换为@)

关于UEFI 的相关文章

  • HP服务器ile进系统,HP GEN10服务器UEFI安装Windows Sverver 2012 R2教程

    1 操作系统 xff1a Windows Server 2012 R2 VL with Update x64 DVD Chinese Simplified xff0c MSDN下载地址 xff1a ed2k file cn windows
  • 关于UEFI

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

    创建新的虚拟机编辑虚拟机所在目录 VMX 增加一行 span class token assign left variable firmware span span class token operator 61 span span cla
  • uefi和legacy bios的深度剖析

    这个是我总结的 参考了几个论坛还有 鸟哥的私房菜 还有一部分是我自己的经验 适合初步了解uefi和legacy的人更深入的了解 uefi amp legacy Legacy 1 我们可将MBR磁盘分区结构用下图简单表示 xff08 Wind
  • UEFI Drivers & UEFI Driver Model

    1 UEFI Drivers UEFI Drivers是UEFI Image的一种 xff0c UEFI Drivers与UEFI Applications的区别 xff1a Objects managed by UEFI based fi
  • win10+中标麒麟双系统安装步骤

    win7 10 中标麒麟双系统安装步骤 场景要求 联想启天M415台机出厂预装的是win10 现在要改成win7和中标麒麟7 0双系统 开机在选择系统界面要有两个系统选择 并且默认进入win7 注 先安装win7 再安装中标麒麟 一开始是用
  • Win10+Ubuntu16.04双系统重装win10后ubuntu引导失败UEFI启动方式下GRUB消失

    参考博客 http blog csdn net zrf2112 article details 71042782 参考文章 https wiki deepin org index php title E4 BF AE E5 A4 8D E5
  • css样式兼容、注释_CSS中的伪注释(或者,浏览器如何解析样式)

    css样式兼容 注释 The CSS spec does not mention it but you can mimic C style and or Unix style line comments in CSS files with
  • UEFI 之 Capsule Update (固件更新)

    概要 什么是UEFI Capsule Update呢 Capsule 顾名思义 是 胶囊 的意思 所以UEFI Capsule Update可以理解为胶囊式固件更新 UEFI规范定义了Firmware Management Protocol
  • UEFI启动U盘制作

    说明 在网上搜索了一下UEFI启动U盘工具 发现都是一些超级大的工具 动不动就是上百兆 而且之前使用老毛桃安装系统 发现会在系统中安装很多其他的软件 心有余悸 所以打算找一个干净的工具 随后在网上搜索找到rufus 使用 下载rufus h
  • UEFI-SHELL 环境 U盘制作

    访问 https github com pbatard UEFI Shell releases 下载最新的ISO 然后用rufus 做启动盘 Rufus https rufus ie en map list device DUMP BIOS
  • UEFI基本概念

    TianoCore UEFI EDK2 UEFI Unified Extensible Firmware Interface 用来取代BIOS TianoCore 一个社区 支持UEFI的开源实现 EDK2 一种UEFI的开发环境 UEFI
  • 多系统UEFI启动项清理,windows、ubuntu,win10盘符隐藏

    文章目录 step1 推荐方法 step2 在window系统中启动cmd窗口 win10 隐藏不必要的盘符 如单机多系统情形 step1 推荐方法 参考 https blog csdn net mtllyb article details
  • Docker Compose 配置文件 docker-compose.yml 详解

    Docker Compose配置文件是Docker Compose的核心 用于定义服务 网络和数据卷 格式为YAML 默认路径为 docker compose yml 可以使用 yml或 yaml扩展名 目前Compose配置文件格式的最新
  • 利用外部程序对存储BIOS设置参数的CMOS RAM进行读取操作的可行性分析

    电脑的启动过程如下 机后主动执行BIOS程序 可以通过BIOS去设置CMOS 也可以不设置 然后BOIS会去识别操作系统引导设备的引导分区 一般也就是电脑里的硬盘中的第一个扇区 这个扇区中有分区表和主引导分区MBR 我们找到了MBR MBR
  • 从 UEFI 应用程序内部运行 UEFI shell 命令

    我是 UEFI 应用程序开发新手 我的要求是 我需要从 UEFI 应用程序运行 UEFI shell 命令 app efi 源代码 需要指导我如何做到这一点 Example cpUEFI shell 中的命令用于将文件从一个路径复制到 其他
  • 启动时自动运行 EFI 应用程序

    I can 构建并手动执行 http sourceforge net apps mediawiki tianocore index php title Getting Started Writing Simple ApplicationUE
  • UEFI引导加载程序

    我正在考虑开发一个简单的 首先 UEFI 引导加载程序来加载 ELF 映像 并且想知道是否有人有一个很好的切入点 可以进入任何现有项目 或者我可以用来开始使用的示例 另外 我想知道是否有人有让虚拟机运行 EFI 应用程序的经验 我已经设置了
  • 从 efi 应用程序发送 TCP 或 UDP 数据包

    我想开发一个在 EFI shell 中从startup nsh 自动执行的应用程序 此应用程序应将原始字节发送到 IP 地址并接收一些返回的字节 我到处寻找在我的代码中实现简单网络协议的解释和示例 但一无所获 有人可以解释并显示使用 gnu
  • 如何在启动操作系统之前进行一些安全验证?

    我有一个可启动闪存盘 其中包含定制的 Ubunto 我想将闪存盘传递给未知的人 但它存在一些安全问题 我想确保未知的人无法更改闪存盘内容 因此 我想计算闪存内容的哈希值并在每次启动时验证它 并在验证失败或哈希不匹配时防止启动操作系统 为此

随机推荐

  • 《最重要的事,只有一件》读书笔记

    背景 每天都在忙忙碌碌中度过 xff0c 感觉到很累 xff0c 但仔细思考一下好像也没有收获 仔细想一想 xff0c 在每天之中 xff0c 大脑主动或被动的接受了太多的信息 xff0c 如果没有给信息分出轻重缓急 xff0c 整理归类
  • TS核心知识点总结及项目实战案例分析

    前言 最近工作一直很忙 xff0c 复盘周期也有所拉长 xff0c 不过还是会坚持每周复盘 今天笔者将复盘一下typescript在前端项目中的应用 xff0c 至于为什么要学习typescript xff0c 我想大家也不言自明 xff0
  • Archlinux + KDE 配置&美化

    Arch Linux 43 KDE 配置 amp 美化 xff08 持续更新 xff09 这篇文章着重记录archlinux 43 KDE的一个基本的配置过程 不包括安装过程 xff08 使用arch install安装脚本 xff09 内
  • 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