ubuntu(16.04)创建windows启动U盘,使用woeusb,而不是dd

ubuntu(16.04)创建windows启动U盘,使用woeusb,而不是dd

使用dd创建经常不能启动,听说是必须使用isohybrid转换以后才能到u盘(另外,对于克隆linux系统,如果已经有现成的linux系统,安装一个squashfs-tools,直接把光盘里的根unsquashfs拷贝到一个分区,然后chroot进去改一下密码就行了)

那么我们必须使用另外一个工具:woeusb

安装:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update 
sudo apt install woeusb

图形界面的使用就不讲了,讲了命令行的:

sudo woeusb --device </path/to/windows.iso> <device>
for example
sudo woeusb --device /home/windows.iso /dev/sdc

Update: if you get an error like this: "Error: Partition(s) on /dev/sdb are being used" when WinUSB / WoeUSB tries to format the USB stick from the command line, or "Error 256" in the beginning of the process when using the GUI, you must unmount the partitions. Firstly, to get a list of partitions, run the following command ("mount" also works):

df -aTh

This should list all the partitions mounted on your system. If you got here, you should already know the USB device drive, e.g. /dev/sdc, so you need to look for the partitions (it could also only be one) on this drive, like /dev/sdc1, /dev/sdc2, etc. Then, unmount them like this (example):
sudo umount /dev/sdc1
sudo umount /dev/sdc2
(etc)


  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值