全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1992|回复: 4

[经验] Windows/Linux 从 iso 启动 mfslinux 然后 DD 新系统

[复制链接]
发表于 2022-5-7 17:20:27 | 显示全部楼层 |阅读模式
本帖最后由 zxxx 于 2022-5-8 23:42 编辑

========================================================================
Windows 系统
========================================================================

1. 下载 EasyBCD 和 mfslinux

https://sm.myapp.com/original/System/EasyBCD_v2.3.exe
https://mfsbsd.vx.sk/files/iso/mfslinux/mfslinux-0.1.10-f9c75a4.iso

2. 安装 EasyBCD 添加 mfslinux 启动菜单并设置为默认选项





3. 重新启动





4. 通过 SSH 连接

username: root
password: mfsroot

========================================================================
Linux 系统
========================================================================
1. 控制面板安装 Debian 11

2. 下载、安装、启动 mfslinux

  1. apt update && apt install grub2 grub-imageboot && \
  2. mkdir -p /boot/images/ && \
  3. wget --no-check-certificate -O /boot/images/mfslinux.iso https://mfsbsd.vx.sk/files/iso/mfslinux/mfslinux-0.1.10-f9c75a4.iso && \
  4. sed -i 's/GRUB_DEFAULT=0/GRUB_DEFAULT=2/g' /etc/default/grub && \
  5. update-grub2

  6. reboot
复制代码


3. SSH 连接

username: root
password: mfsroot


========================================================================
DD Windows
========================================================================
安装进度条 -- 可选
  1. opkg update && opkg install pv
复制代码


DD 无进度
  1. wget -O- "https://dl.lamp.sh/vhd/zh-cn_win2022.xz" | xzcat | dd of=/dev/vda
复制代码


DD 带进度
  1. wget -O- "https://dl.lamp.sh/vhd/zh-cn_win2022.xz" | xzcat | pv | dd of=/dev/vda
复制代码


重启
reboot

RDP 连接
username: Administrator
password: Teddysun.com


========================================================================
DD Debian
========================================================================
安装进度条 -- 可选
  1. opkg update && opkg install pv
复制代码


DD 无进度
  1. wget -O- "https://cloud.debian.org/images/cloud/bullseye/latest/debian-11-nocloud-amd64.raw" | dd of=/dev/vda
复制代码


DD 带进度
  1. wget -O- "https://cloud.debian.org/images/cloud/bullseye/latest/debian-11-nocloud-amd64.raw" | pv | dd of=/dev/vda
复制代码



修复分区表
  1. fdisk /dev/vda << EOF
  2. w
  3. q
  4. EOF
复制代码


设置root密码
  1. mkdir /mnt/vda1 && mount /dev/vda1 /mnt/vda1 && chroot /mnt/vda1
复制代码

  1. ssh-keygen -A && \
  2. sed -i 's/.*PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config && \
  3. sed -i 's/.*PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config && \
  4. passwd root
复制代码
  1. ********
  2. ********
复制代码


重启
reboot

SSH 连接
username: root
password: ********
发表于 2022-5-7 17:54:26 | 显示全部楼层
占个前排
发表于 2022-5-7 17:26:54 来自手机 | 显示全部楼层
很好,支持点赞
发表于 2022-5-7 18:09:07 | 显示全部楼层
感谢教程贴。
发表于 2022-5-7 18:43:20 | 显示全部楼层
大胆MJJ,竟然敢带上DD 进度条功能.你不知道你已经侵权了吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-20 21:17 , Processed in 0.100826 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表