sábado, 19 de outubro de 2024

criar windows botavel usando linux

0 comentários

mkdir /mnt/windows-iso

sudo mount -o loop caminho-da-iso-windows.iso /mnt/windows-iso

mkdir ~/windows-files

cp -r /mnt/windows-iso/* ~/windows-files/

sudo umount /mnt/windows-iso

 adicionar o ppa :

https://launchpad.net/~brandonsnider/+archive/ubuntu/cdrtools


sudo add-apt-repository ppa:brandonsnider/cdrtools
sudo apt update

instalar o sudo apt install mkisofs
depois os comandos:

gerar a iso

mkisofs -iso-level 3 -udf \
  -b boot/etfsboot.com -no-emul-boot -boot-load-size 8 -boot-info-table \
  -o ../windows-custom.iso ~/windows-files

gravar no poendrive
sudo dd if=../windows-custom.iso of=/dev/sdX bs=4M status=progress oflag=sync




Leave a Reply