{"id":24528,"date":"2016-04-01T00:35:25","date_gmt":"2016-04-01T00:35:25","guid":{"rendered":"http:\/\/localhost\/blogmed\/?p=24528"},"modified":"2021-04-02T04:56:24","modified_gmt":"2021-04-02T04:56:24","slug":"como-criar-um-pendrive-bootavel-com-o-windows-10","status":"publish","type":"post","link":"https:\/\/antonini.ddns.net\/?p=24528","title":{"rendered":"Como criar um pendrive boot\u00e1vel com o Windows 10"},"content":{"rendered":"<p style=\"text-align: justify;\">Esta dica \u00e9 atualiza\u00e7\u00e3o de uma anterior dispon\u00edvel em: <a href=\"https:\/\/www.vivaolinux.com.br\/dica\/Windows-7-bootavel-pelo-pendrive\" target=\"_blank\" rel=\"noopener noreferrer\">Windows 7 boot\u00e1vel pelo pendrive [Dica]<\/a><\/p>\n<p style=\"text-align: justify;\">Dica testada na distribui\u00e7\u00e3o <em>Elementary OS Freya<\/em> (Ubuntu).<\/p>\n<p style=\"text-align: justify;\">Para criar um pendrive boot\u00e1vel de Windows 10 usando o <a href=\"https:\/\/www.vivaolinux.com.br\/linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">Linux<\/a> \u00e9 necess\u00e1rio ter:<\/p>\n<ul style=\"text-align: justify;\">\n<li>Imagem ISO do Windows 10 ou o DVD dele<\/li>\n<li>Programa ms-sys<\/li>\n<li>Programa cfdisk<\/li>\n<li>Pendrive com pelo menos 8GB<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Se sua distribui\u00e7\u00e3o tem o ms-sys nos reposit\u00f3rios, \u00f3timo, basta instalar. Mas o ms-sys n\u00e3o existe nos reposit\u00f3rios do Ubuntu, por isso a instala\u00e7\u00e3o dele no Ubuntu precisa ser &#8220;manual&#8221;.<\/p>\n<h3 style=\"text-align: justify;\">INSTALA\u00c7\u00c3O DO MS-SYS<\/h3>\n<p style=\"text-align: justify;\">Acesse:<\/p>\n<ul style=\"text-align: justify;\">\n<li><a href=\"http:\/\/ms-sys.sourceforge.net\/#Download\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">http:\/\/ms-sys.sourceforge.net\/#Download<\/a><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Baixe a \u00faltima vers\u00e3o est\u00e1vel. Deve ser um pacote no formato ms-sys-VERS\u00c3O-tar.gz.<\/p>\n<p style=\"text-align: justify;\">Descompacte-o com:<\/p>\n<p style=\"text-align: justify;\"><strong><i><\/i> tar -xzvf ms-sys*.tgz<\/strong><\/p>\n<p style=\"text-align: justify;\">Compile:<\/p>\n<p style=\"text-align: justify;\"><strong><i><\/i> cd ms-sys<br \/>\n$ make<\/strong><\/p>\n<p style=\"text-align: justify;\">Torne-se root e instale:<\/p>\n<p style=\"text-align: justify;\"><strong><i><\/i> su<br \/>\n# make install<\/strong><\/p>\n<p style=\"text-align: justify;\">Obs.: ao inv\u00e9s de &#8220;su&#8221;, no Ubuntu por padr\u00e3o seria &#8220;sudo su&#8221;, pois o mesmo n\u00e3o cria senha de root durante a instala\u00e7\u00e3o.<\/p>\n<h3 style=\"text-align: justify;\">PREPARA\u00c7\u00c3O DO PENDRIVE<\/h3>\n<p style=\"text-align: justify;\">Conecte o pendrive. Para saber onde ele est\u00e1 use o comando como root:<\/p>\n<p style=\"text-align: justify;\"><strong># fdisk -l<\/strong><\/p>\n<p style=\"text-align: justify;\">Vamos supor que ele ficou em &#8220;\/dev\/sdb&#8221;. Ent\u00e3o execute, como root:<\/p>\n<p style=\"text-align: justify;\"><strong># cfdisk \/dev\/sdb <\/strong><\/p>\n<p style=\"text-align: justify;\">Usando o cfdisk apague todas as parti\u00e7\u00f5es do pendrive e crie uma \u00fanica parti\u00e7\u00e3o (marcada como boot\u00e1vel e do tipo 7).<\/p>\n<p style=\"text-align: justify;\">Obs.: se n\u00e3o sabe como usar o cfdisk, siga esta dica: use as setas esquerda direita para navegar nas op\u00e7\u00f5es que aparecem na parte inferior, use as setas cima e baixo para navegar entre as parti\u00e7\u00f5es e Enter para selecionar.<\/p>\n<p style=\"text-align: justify;\">Assim voc\u00ea ter\u00e1 criado uma parti\u00e7\u00e3o chamada &#8220;\/dev\/sdb1&#8221;. Depois disso saia do cfdisk.<\/p>\n<p style=\"text-align: justify;\">Formate a parti\u00e7\u00e3o criada como NTFS. Para isso use o comando, ainda como root:<\/p>\n<p style=\"text-align: justify;\"><strong># mkfs.ntfs -f \/dev\/sdb1 <\/strong><\/p>\n<h3 style=\"text-align: justify;\">USANDO O MS-SYS<\/h3>\n<p style=\"text-align: justify;\">Grave o MBR do Windows no pendrive rec\u00e9m formatado. Para isso use o comando:<\/p>\n<p style=\"text-align: justify;\"><strong># ms-sys -7 \/dev\/sdb<\/strong><\/p>\n<p style=\"text-align: justify;\">Obs.: no comando acima use &#8220;\/dev\/sdb&#8221; e n\u00e3o &#8220;\/dev\/sdb1&#8221;. Ou seja, use sem o n\u00famero. O uso de &#8220;-7&#8221; serve para Windows 7, 8 e 10. Para outras op\u00e7\u00f5es use o comando &#8220;ms-sys &#8211;help&#8221;.<\/p>\n<h3 style=\"text-align: justify;\">CRIANDO O PENDRIVE BOOT\u00c1VEL<\/h3>\n<p style=\"text-align: justify;\">Monte a imagem ISO (ou o DVD) do Windows 7 em um diret\u00f3rio do seu agrado. Neste exemplo usarei o diret\u00f3rio &#8220;\/mnt\/iso&#8221;.<\/p>\n<p style=\"text-align: justify;\">Crie dois diret\u00f3rios para montagem:<\/p>\n<p style=\"text-align: justify;\"><strong># mkdir \/mnt\/iso<br \/>\n# mkdir \/mnt\/usb<\/strong><\/p>\n<p style=\"text-align: justify;\">Para montar a imagem ISO:<\/p>\n<p style=\"text-align: justify;\"><strong># mount -o loop windows.iso \/mnt\/iso <\/strong><\/p>\n<p style=\"text-align: justify;\">Ou, no caso de ser um DVD:<\/p>\n<p style=\"text-align: justify;\"><strong># mount \/dev\/sr0 \/mnt\/iso <\/strong><\/p>\n<p style=\"text-align: justify;\">E monte tamb\u00e9m a parti\u00e7\u00e3o que est\u00e1 no pendrive em outro diret\u00f3rio. Neste exemplo usarei &#8220;\/mnt\/usb&#8221;:<\/p>\n<p style=\"text-align: justify;\"><strong># mount \/dev\/sdb1 \/mnt\/usb <\/strong><\/p>\n<p style=\"text-align: justify;\">Copie todos os arquivos do DVD, ou da imagem ISO, do Windows para a parti\u00e7\u00e3o do pendrive:<\/p>\n<p style=\"text-align: justify;\"><strong># cp -r \/mnt\/iso\/* \/mnt\/usb\/ <\/strong><\/p>\n<p style=\"text-align: justify;\">Aguarde. Pode demorar bastante, pois s\u00e3o muitos arquivos.<\/p>\n<p style=\"text-align: justify;\">Quando terminar, voc\u00ea pode dar boot pelo pendrive que ir\u00e1 iniciar o Windows 10.<\/p>\n<p style=\"text-align: justify;\">Opcionalmente voc\u00ea poder\u00e1 salvar os arquivos como imagem para usar em outros pendrives sem precisar executar todo o procedimento de novo. Basta usar como root:<\/p>\n<p style=\"text-align: justify;\"><strong># dd if=\/dev\/sdb of=\/home\/windows.img <\/strong><\/p>\n<p style=\"text-align: justify;\">Assim ser\u00e1 criado uma imagem do sistema, boot\u00e1vel, dentro de \/home.<\/p>\n<p style=\"text-align: justify;\">Para restaurar essa imagem em outro pendrive bastaria executar o contr\u00e1rio do comando anterior, que seria:<\/p>\n<p style=\"text-align: justify;\"><strong># dd if=\/home\/windows.img of=\/dev\/sdb <\/strong><\/p>\n<p>\u00c9 isso!<\/p>\n<p style=\"text-align: center;\">[<a href=\"javascript:history.go(-1)\">Voltar<\/a>]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Esta dica \u00e9 atualiza\u00e7\u00e3o de uma anterior dispon\u00edvel em: Windows 7 boot\u00e1vel pelo pendrive [Dica] Dica testada na distribui\u00e7\u00e3o Elementary OS Freya (Ubuntu). Para criar um pendrive boot\u00e1vel de Windows 10 usando o Linux \u00e9 necess\u00e1rio ter: Imagem ISO do Windows 10 ou o DVD dele Programa ms-sys Programa cfdisk Pendrive com pelo menos 8GB [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-24528","post","type-post","status-publish","format-standard","hentry","category-informatica"],"_links":{"self":[{"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=\/wp\/v2\/posts\/24528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=24528"}],"version-history":[{"count":8,"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=\/wp\/v2\/posts\/24528\/revisions"}],"predecessor-version":[{"id":36440,"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=\/wp\/v2\/posts\/24528\/revisions\/36440"}],"wp:attachment":[{"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}