Ubuntu Minimal 22.04 LTS (Jammy Jellyfish) releases [20220420]
https://cloud-images.ubuntu.com/minimal/releases/jammy/release/
https://cloud-images.ubuntu.com/minimal/releases/jammy/release/ubuntu-22.04-minimal-cloudimg-amd64.img
加载内存救援系统
https://hostloc.com/thread-1004553-1-1.html
把镜像dd给硬盘就行- wget -O- "https://cloud-images.ubuntu.com/minimal/releases/jammy/release/ubuntu-22.04-minimal-cloudimg-amd64.img" | pv | dd of=/dev/sda bs=4M oflag=sync
复制代码
但是现在遇到个问题这个镜像看不到任何分区信息
dd上去直接无法启动
怀疑是没有分区导致的- fdisk -l ubuntu-22.04-minimal-cloudimg-amd64.img
复制代码
现在都无法挂载
正常来说用下面这两个命令 就可以挂载- kpartx -av ubuntu-22.04-minimal-cloudimg-amd64.img
复制代码- mount /dev/mapper/loop0p1 /mnt
复制代码
蹲个大佬答疑解惑 |