如何在没有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

相关文章

内存管理:分段、分区、分页

内存要怎么用起来呢?存储程序的思想,把程序放入内存,程序在CPU中取指执行! 而用户程序有逻辑地址,实际的内存是物理地址,于是先有一个地址重定位的问题。 由于程序载入内存之后,睡眠了的话,还会被移入到磁盘,因此在运行时做重定位更好,这叫做地址翻译。

阅读更多
如何在 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 之外使用呢?

阅读更多
BlockSuite 一款 Block Style 的编辑器,仅仅是编辑器!

先说结论 ¶ 我的博客不太适合用 BlockSuite 作为编辑器,因为: 不知道如何渲染,我可以编辑,但是如何展示给匿名用户看? SEO 不太明确,也想着转成 HTML 来做,但是成本太高? 其他博主的调研:https://blog.nineya.com/archives/154.html 开始! ¶ 学习一下:https://block-suite.com/ Scratch(QuickStart) ¶ 简单安装一下,目前是 canary 版本, AFFiNE 也是用的这个版本,每次都打包的 master 分支,基本上每天都有更新。

阅读更多