如何在没有U盘的情况下,重新安装操作系统?无U盘也能装Ubuntu!

目录

动机

windows11 是在是跑不起来了,卡的要死

咱还是装个 Ubuntu 好让我跑 microk8s !

easyUEFI

没有U盘安装ubuntu18(linux),EasyUEFI安装ubuntu_大蜻科的博客-CSDN博客_无u盘安装ubuntu18 使用easyuefi

在 windows 下,毕竟现有这个

使用 easyUEFI 工具:

  • 首先划分一个 FAT32 的 16GB 空间,把 Ubuntu iso 解压进去
  • 然后打开 easyUEFI 添加一项,目标分区指向刚才的 16GB 空间,文件路径选择 EFI 下 BOOT 下 grubxxx
  • 添加完成后重启,重启如果还是进入 windows boot manager ,则退出这个 manager 就会自动进入 ubuntu 的 installer,毕竟之前咱们的配置 wbm 是在 ubuntu 上面的
  • 覆盖 windows 安装 ubuntu 第一次要是出错,咱们可以多来几次

第一次安装

失败,说是 grub 更新失败

那咱重启吧

第二次安装

抹除第一次,并使用 ZFS 文件系统

成功!

总结

安装完成,就 24 小时开着,当成服务器吧。

致谢:

标签 :
comments powered by Disqus

相关文章

如何在多个编程语言间切换自如

基本思路 基本结构和控制流要记住,也就是熟悉基本语法 识别各自语言的特性,也就是知道高级特性 本文主要是熟悉基本语法,搞清楚不同的编程语言怎么描述相同的功能的。对于高级特性,点到为止。 语法简介 语法特性 Python Go 变量声明 动态类型,无需声明 静态类型,必须声明 代码块 缩进(空格/制表符) {} 包裹 循环 for、while 只有 for 函数 def,支持默认参数 func,无默认参数 错误处理 try-except 返回 error + if err != nil 并发 threading(GIL 限制) goroutine + channel 面向对象 完整类继承 struct + interface 包管理 pip + import go mod + import 内置函数 Python 的内置函数更丰富,适合快速开发;Go 的内置函数较少,但更专注于底层控制和性能优化。

阅读更多
如何在 React 中进行状态管理?使用 Zustand!

计数器 import { create } from 'zustand' const useStore = create(set => ({ count: 1, inc: () => set(state => ({ count: state.count + 1 })), })) function Controls() { const inc = useStore(state => state.inc) return <button onClick={inc}>one up</button> } function Counter() { const count = useStore(state => state.count) return <h1>{count}</h1> } 用法 创建状态 state 操作 action Basic typescript usage doesn’t require anything special except for writing create<State>()(...) instead of create(...)… import { create } from 'zustand' interface BearState { bears: number increase: (by: number) => void } const useBearStore = create<BearState>()((set) => ({ bears: 0, increase: (by) => set((state) => ({ bears: state.bears + by })), })) const useFishStore = create((set) => ({ salmon: 1, tuna: 2, deleteEverything: () => set({}, true), // clears the entire store, actions included deleteTuna: () => set((state) => omit(state, ['tuna']), true), })) const useSoundStore = create((set, get) => ({ sound: "grunt", action: () => { const sound = get().sound // you still have access to state outside of it through get // ... } }) export default useBearStore 在 react 之外使用呢?

阅读更多
如何自己本地编译 OpenWrt ?

感觉不如直接下载,然后用转换工具把 img 搞成 vmfs,见linux - VMware安装OpenWrt,工具下载链接https://www.starwindsoftware.com/tmplink/starwindconverter.exe。 关于系统 LEAN 的不行,还是 ImmortalWrt 更好!还可直接下载 vmfs,注意系统日志等级它默认的 debug 可不行。 关于上网控制插件,注意会和广告过滤 ACC 加速等冲突,有舍有得啊,openwrt上网时间控制为什么设置后无效-OPENWRT专版-恩山无线论坛 (right.com.cn)。 老老实实用 clash for windows 了,OpenWrt 很不稳定啊,github 时好时坏。

阅读更多