搜索
搜索
设为首页
收藏本站
宏碁官网
切换到宽版
开启辅助访问
帐号
自动登录
找回密码
密码
登录
限时注册
登录
限时注册
首页
Portal
我的Acer心情
Acer Feeling
好色Acer
love Acer
论坛
BBS
最新消息
Acer News
热门活动
Events
宏碁产品库
Acer机型大全
掠夺者部落
Predator Club
同城会
Group
日志
Blog
排行榜
Ranklist
相册
Album
分享
Share
每日签到
好色Acer俏佳人
一本Acer闯天涯
跟着 Acer 去旅行
本版
文章
帖子
同城会
用户
Acer Club | 宏碁俱乐部 好基友的大本营
»
论坛
›
我和Acer的故事
›
玩机技巧/电脑使用技巧
›
在Ubuntu Linux下制作Windows 启动安装 USB盘
柠檬墨绿色
有 2 人收听 TA
1
主题
2
回复
31
积分
收听TA
发消息
本文来自
玩机技巧/电脑使用技巧
订阅
|
收藏
(
0
)
在Ubuntu Linux下制作Windows 启动安装 USB盘
时间:2016-10-25 15:06
0
1311
|
复制链接
|
互动交流
显示全部楼层
阅读模式
直达楼层
马上注册,结交更多Acer基友,欣赏海量Acer专属模特美图,免费获取最新Acer潮酷新品试用,Get更多发烧级玩家技能,享受更多网站功能与会员福利,还有定期好礼大奖免费送,会员专属优惠购机。QQ群号:113958420
您需要
登录
才可以下载或查看,没有帐号?
限时注册
x
最近想 ,在Ubuntu上刻录个Windows的安装U盘,在网上看了些资料,不过好多都说的很模糊,于是乎,我走了不少弯路。这里记录下来,希望了帮到大家。
首先你的有个USB吧,这里我们假定USB在ubuntu中为/dev/sdb
1. 给USB设备 /dev/sdb 分区,注意,要是主分区,
sudo fdisk /dev/sdb
Command (m for help): n
Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): p
Partition number (1-4, default 1):
Using default value 1
First sector (2048-15564799, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-15564799, default 15564799):
Using default value 15564799
Command (m for help): p
Disk /dev/sdb: 7969 MB, 7969177600 bytes
246 heads, 62 sectors/track, 1020 cylinders,www.9ask.cn/xiamen/ total 15564800 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8d55b9cb
Device Boot Start End Blocks Id System
/dev/sdb1 2048 15564799 7781376 83 Linux
上面/dev/sdb1就分出来了,全部的空间都给了sdb1
2. 然后把/dev/sdb1设置为启动分区
Command (m for help): a
Partition number (1-4): 1
?
Command (m for help): p
Disk /dev/sdb: 7969 MB, 7969177600 bytes
126 heads, 10 sectors/track, 12353 cylinders, total 15564800 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8d55b9cb
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 15564799 7781376 83 Linux
我们可以看到,sdb1后面,多了个*
3. 接下来,把上面做的所有改动写入USB
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.
然后就是q退出
4. 将分区格式化为ntfs的
sudo mkfs -t ntfs /dev/sdb1
这个过程中,会把分区中写入全0,大概会等几分钟
5. 接下来就是把下载好的iso文件dd到这个启动分区了
# 把下载的iso文件刻录到usb的分区中(及得,一定是分区,否则下次用这个usb是会出现 Operating not found的问题
sudo dd if=/home/peter/Downloads/WindowsTechnicalPreview-x64-ZH-CN.iso of=/dev/sdb1 bs=4M iflag=direct?
看到了吧,我在安装win10
6. 现在还不可以从usb盘启动,还要在usb盘MBR区信息写入,这需要一个工具LILO
sudo apt-get install lilo
sudo lilo -M /dev/sdb mbr
下次启动的时候,选择这个USB启动就会出现windows的安装界面了!
另外,我自己也试了unetbootin,不过没有成功,选择从U盘启动后,一直卡在一个选择界面。
Acer Club 宏碁俱乐部
https://www.acer.org.cn
回复
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
限时注册
本版积分规则
发表回复
回帖并转播
回帖后跳转到最后一页
快速回复
返回列表
返回顶部