發表文章

目前顯示的是 2024的文章

Configuration of FreeBSD Post-Installation

Step 1: Correct the boot and root partition Suppose you install FreeBSD on a portable drive. Once you finish the installation on one device and boot the system on the other device, the system will have a chance to fail to boot due to different naming scheme on the hard drives on each device.  Specifically, the booting process fails at loading the system partition, with the prompt for you to enter the correct partition. At this session, type "list" to show all the partitions found by the bootloader. The bootloader shell then shows the list of partitions found. Find the partition that's readable and recognizable to you (i.e., for GPT paritioned hard drive, ignore the partitions labelled with GUID, as they are equivalent to the readable ones.)  Shutdown the running device and go to the device that has the FreeBSD installed. Boot into the system and edit this file: /etc/fstab and change the path to the partition to the one you found at the device you want the system to boot....

HP Chromebook 11 G4 刷Linux教程(應該可適用於所有Bay Trail的電腦上)

圖片
  雖然網路上已經有很多Chromebook刷 linux 的教程,我本人也是通過這些教程一步一步把我的谷歌本刷成 linux 的,但是這些教程大都有不足之處,讓我數次進入死角。因此特地寫一篇講這些訣竅都記下來,省得以後忘了。 首先當然是把Chromebook調為開發模式(想備份的先拿個移動存儲將資料存好,開發模式會把資料都洗掉的): 在關機狀態下按 ESC+ 刷新 + 電源鍵,電腦就會啓動成為系統驗證關閉模式,這個時候按 ctrl+D 進入開發模式的系統。 此時系統將會用一段時間來把設備刷成開發模式。 此時你有兩種方案刷新系統:根據 johnlewis 的網站介紹,如果想以後還刷回 chrome os 的用 rw_legacy ,想徹底刷機的用 boot_stub 。接下來先講第一種。 進入系統後,正常登録,(然後想複製代碼的再把這篇文章打開 LOL ),按下 ctrl+alt+T 進入命令終端。 然後在終端輸入 shell 進入 bash ,之後輸入 cd; rm -f flash_chromebook_rom.sh; curl -L -O https://johnlewis.ie/flash_chromebook_rom.sh; sudo -E bash flash_chromebook_rom.sh 這時候終端就會進入刷 BIOS 的腳本界面,選擇 rw_legacy ,然後設備會重新啓動,進入有系統驗證關閉警示的界面。 另外一種方法就需要把主板寫保護禁用來刷 BIOS 。首先在進入登陸界面後把電腦關掉,然後拆機。 把機身拆出來後你會發現鍵盤和觸摸板的先弱不禁風地連着主板,這兩條線不用拆下來,小心翼翼地把它們連着就好 www 。 這時先把電池連接綫拔出來,然後開始把寫保護螺絲拆除。 螺絲的位置在這裏(其他 bay trail 機型就找一下全主板最難擰的螺絲試下,拆出來後應該有金屬接口曝露): (拆的時候選個尺寸適當的螺絲匹,擰壞了可就麻煩了 ) 拆了之後再把電源綫接回去,然後扣上機殻,電腦自動開機並進入警示界面,此時按 ctrl+D 進入開發模式,登録進系統後按 ctrl+alt+T 進入終端,然後依...

Windows 10 IoT Enterprise LTSC版操作系统安装后配置教程

圖片
 Windows 10 IoT Enterprise LTSC版操作系统是目前已知官方支持时间最长的操作系统(比目前的Windows 11,Windows Server 2022都长)。如果你需要一款能够长期稳定工作,且能接收官方安全更新的系统,可以选择这个版本的Windows 10。 由于该版本是服务物联网设备的,所以激活、配置的方式和零售版(RTM)或一般的批量版(VL)不同。本教程可帮助你安装完Windows 10 IoT Enterprise LTSC后,进行系统激活和符合日常使用配置。 一、系统镜像选择 在主流搜索引擎以“Windows 10 企业版 LTSC 2021” 为关键词搜索,找到链接是官方的安装镜像(iso),下载一个名称类似于“en-us_windows_10_enterprise_ltsc_2021_x64_dvd_d289cf96.iso”的文件。然后将镜像文件刻录到u盘,用u盘启动安装系统。刻录和安装系统的教程可在网上找到。 二、激活系统 系统安装完后,用Windows Update更新系统。更新、重启后,右键点击开始菜单,选择运行,并在弹出的窗口输入“winver”,检查系统版本号是否在10.0.19044.2905或更新的版本。 有时候Windows Update不会直接升级到最新版本的系统,如果低于上述版本号,则再进行几次系统升级。 如果你的版本号符合上述,则右键点击开始菜单,选择命令提示符(管理员)或者Windows PowerShell (管理员)。然后在弹出的窗口输入此命令: cscript slmgr.vbs /ipk KBN8V-HFGQ4-MGXVD-347P6-PDQGT 会出现如下图所示的成功提示: 如果出现类似“ 错误:0xC004F016在运行microsoft windows 非核心版本的计算机上 运行slui.exe 0x2a 0xC004F016 以显示错误文本” 这样的提示,说明你的系统版本没有达到上述要求。 你需要确保安装的系统是  Win10企业版2021长期服务通道 (Windows 10 Enterprise LTSC),版本号为 10.0.19044.2905或更新。 然后用此命令配置你的kms服务器: cscript slmgr.vbs /skms (你的kms服务器地址,...