乐云主机笔记

  • 首页
  • 主机优惠
  • 学习记录
  • 新手教程
  • 自用主机
  • 资源下载
  • 网赚项目
  • 其他
  • pingtest

  1. 首页
  2. 脚本源码
  3. 正文

手工配置GRUB2+iPXE引导netboot.xyz进行 Linux 远程重新安装系统

2021年11月9日 644点热度 0人点赞 0条评论
手工配置GRUB2+iPXE引导netboot.xyz进行 Linux 远程重新安装系统

# 进入移动目录或者分区
cd /boot

# 下载 netboot.xyz 内核到 /boot 目录
wget https://boot.netboot.xyz/ipxe/netboot.xyz.lkrn
修改 grub.cfg 能引导 netboot.xyz
# vim grub/grub.cfg
# 按键盘大写 G , 向上找到类似下面几行

echo    'Loading Linux 5.10.0-8-amd64 ...'
linux   /boot/vmlinuz-5.10.0-8-amd64 root=UUID=8e2fd8fe-3832-481b-9403-fa2cf303fb76 ro single
echo    'Loading initial ramdisk ...'
initrd  /boot/initrd.img-5.10.0-8-amd64

# 注释掉这行 initrd  /boot/initrd.img-5.10.0-8-amd64
# 添加一行
linux16 /boot/netboot.xyz.lkrn

 

原文转载:https://hostloc.com/forum.php?mod=viewthread&tid=880658

标签: DD
最后更新:2021年11月9日

letvps

这个人很懒,什么都没留下

打赏 点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

分类
  • 主机优惠
  • 其他
  • 域名优惠
  • 学习记录
  • 新手教程
  • 网赚项目
  • 脚本源码
  • 自用主机
  • 资源下载
书签
  • AdvinServers.com
  • 猫云云计算

COPYRIGHT © 2021 Letcloud.cn. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

粤ICP备15031609号-3