最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

在Kali linux下制作windows启动盘

运维笔记admin1浏览0评论

目录

 使用dd命令

使用WoeUSB

命令行版本

图形化版本


 使用dd命令

先确认要写入镜像的路径,可以使用命令在终端查看

sudo fdisk -l

或者在终端启动gparted工具

sudo gparted

在这里我的U盘是/dev/sdb1,一定要确定好 z

再次强调,一定要确定好盘符!否则非常危险!!

先卸载此盘

sudo umount /dev/sdb1

将要写入镜像的盘格式化成nfts格式

mkfs.ntfs /dev/sdb1

使用dd命令写入镜像

sudo dd if=镜像 of=盘符

可以在后面加上status=progress监视写入进度

sudo dd if=镜像 of=盘符 status=progress

或者搭配pv命令通过管道的方式来计算当前的进度和预计剩余的时间 

pv sudo dd if=镜像 of=盘符

耐心等待即可

使用WoeUSB

WoeUSB是一个开源免费的小工具,用于从Linux系统上的ISO文件或DVD创建Windows USB启动盘。该这个工具支持Windows 7,Windows 8.1和Windows 10 ISO系统文件

命令行版本

下载命令行woeusb:跳转中...

安装依赖

chmod +x woeusb-5.2.4.bash
sudo apt install git p7zip-full python3-pip python3-wxgtk4.0 grub2-common grub-pc-bin wimtools

 安装完成使用woeusb的命令写入镜像

sudo ./woe-usb.woeusb --device 镜像 盘符

图形化版本

安装依赖

sudo apt install git p7zip-full python3-pip python3-wxgtk4.0 grub2-common grub-pc-bin wimtools

添加储存库

echo 'deb http://download.opensuse/repositories/home:/Provessor/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/home:Provessor.list

 添加密钥

curl -fsSL https://download.opensuse/repositories/home:Provessor/xUbuntu_20.04/\
Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_Provessor.gpg > /dev/null

运行软件列表并安装 

sudo apt update
sudo apt install woeusb

以上就是本文所有内容,如果有问题请大佬们帮助改正,入坑新同志关注不迷路,谢谢!

发布评论

评论列表(0)

  1. 暂无评论
ok 不同模板 switch ($forum['model']) { /*case '0': include _include(APP_PATH . 'view/htm/read.htm'); break;*/ default: include _include(theme_load('read', $fid)); break; } } break; case '10': // 主题外链 / thread external link http_location(htmlspecialchars_decode(trim($thread['description']))); break; case '11': // 单页 / single page $attachlist = array(); $imagelist = array(); $thread['filelist'] = array(); $threadlist = NULL; $thread['files'] > 0 and list($attachlist, $imagelist, $thread['filelist']) = well_attach_find_by_tid($tid); $data = data_read_cache($tid); empty($data) and message(-1, lang('data_malformation')); $tidlist = $forum['threads'] ? page_find_by_fid($fid, $page, $pagesize) : NULL; if ($tidlist) { $tidarr = arrlist_values($tidlist, 'tid'); $threadlist = well_thread_find($tidarr, $pagesize); // 按之前tidlist排序 $threadlist = array2_sort_key($threadlist, $tidlist, 'tid'); } $allowpost = forum_access_user($fid, $gid, 'allowpost'); $allowupdate = forum_access_mod($fid, $gid, 'allowupdate'); $allowdelete = forum_access_mod($fid, $gid, 'allowdelete'); $access = array('allowpost' => $allowpost, 'allowupdate' => $allowupdate, 'allowdelete' => $allowdelete); $header['title'] = $thread['subject']; $header['mobile_link'] = $thread['url']; $header['keywords'] = $thread['keyword'] ? $thread['keyword'] : $thread['subject']; $header['description'] = $thread['description'] ? $thread['description'] : $thread['brief']; $_SESSION['fid'] = $fid; if ($ajax) { empty($conf['api_on']) and message(0, lang('closed')); $apilist['header'] = $header; $apilist['extra'] = $extra; $apilist['access'] = $access; $apilist['thread'] = well_thread_safe_info($thread); $apilist['thread_data'] = $data; $apilist['forum'] = $forum; $apilist['imagelist'] = $imagelist; $apilist['filelist'] = $thread['filelist']; $apilist['threadlist'] = $threadlist; message(0, $apilist); } else { include _include(theme_load('single_page', $fid)); } break; default: message(-1, lang('data_malformation')); break; } ?>