Fedora: Create windows 8.1 bootable USB












9















I tried everything and nothing works I have 2 brand new USB keys 3 more packaged. I have 3 valid Windows 8.1 ISO files and yet no approach works.



I tried Unetbootin takes forever to copy 4.3GB to the USB stick and does not work. I tried Ask Fedora approach using:



1) Formatting USB drive to FAT32 and using:



su -c 'dd if=/home/kristjan/Prejemi/win.iso of=/dev/sdc bs=400M'


This takes 30min to complete and nothing files are copied to the drive but it does not boot. When I mount it after it's now showing as FAT but as UDF.



2) Formatting USB Drive to NTFS and using:



su -c 'dd if=/home/kristjan/Prejemi/win.iso of=/dev/sdc bs=8M'


This takes 30min same as above.



3) I tried using GParted approach shown here:
SuperUser: Windows USB from Fedora
This one wants to boot but does not. I reboot, press ENTER>F12 To get to boot selection menu I select the USB drive and it does not skip back to boot selection screen like above solutions do but it just stays on a black screen with a blinking _ cursor.



4) I tried setting the boot flag from GParted and using DD but does not work either.



Why is this so hard on Linux systems. I mean on Windows/Machintosh I can create a bootable USB stick in 10min. On Linux it takes 30min to copy the ISO contents and then nothing works : (










share|improve this question




















  • 2





    dd overwrites whole filesystem, so the formattin to FAT32 or NTFS before running dd makes no sense.

    – andrej
    Mar 14 '14 at 15:39











  • Ok. So what should I do now ?

    – Sterling Duchess
    Mar 14 '14 at 15:44











  • see my answer below

    – andrej
    Mar 14 '14 at 15:44
















9















I tried everything and nothing works I have 2 brand new USB keys 3 more packaged. I have 3 valid Windows 8.1 ISO files and yet no approach works.



I tried Unetbootin takes forever to copy 4.3GB to the USB stick and does not work. I tried Ask Fedora approach using:



1) Formatting USB drive to FAT32 and using:



su -c 'dd if=/home/kristjan/Prejemi/win.iso of=/dev/sdc bs=400M'


This takes 30min to complete and nothing files are copied to the drive but it does not boot. When I mount it after it's now showing as FAT but as UDF.



2) Formatting USB Drive to NTFS and using:



su -c 'dd if=/home/kristjan/Prejemi/win.iso of=/dev/sdc bs=8M'


This takes 30min same as above.



3) I tried using GParted approach shown here:
SuperUser: Windows USB from Fedora
This one wants to boot but does not. I reboot, press ENTER>F12 To get to boot selection menu I select the USB drive and it does not skip back to boot selection screen like above solutions do but it just stays on a black screen with a blinking _ cursor.



4) I tried setting the boot flag from GParted and using DD but does not work either.



Why is this so hard on Linux systems. I mean on Windows/Machintosh I can create a bootable USB stick in 10min. On Linux it takes 30min to copy the ISO contents and then nothing works : (










share|improve this question




















  • 2





    dd overwrites whole filesystem, so the formattin to FAT32 or NTFS before running dd makes no sense.

    – andrej
    Mar 14 '14 at 15:39











  • Ok. So what should I do now ?

    – Sterling Duchess
    Mar 14 '14 at 15:44











  • see my answer below

    – andrej
    Mar 14 '14 at 15:44














9












9








9


15






I tried everything and nothing works I have 2 brand new USB keys 3 more packaged. I have 3 valid Windows 8.1 ISO files and yet no approach works.



I tried Unetbootin takes forever to copy 4.3GB to the USB stick and does not work. I tried Ask Fedora approach using:



1) Formatting USB drive to FAT32 and using:



su -c 'dd if=/home/kristjan/Prejemi/win.iso of=/dev/sdc bs=400M'


This takes 30min to complete and nothing files are copied to the drive but it does not boot. When I mount it after it's now showing as FAT but as UDF.



2) Formatting USB Drive to NTFS and using:



su -c 'dd if=/home/kristjan/Prejemi/win.iso of=/dev/sdc bs=8M'


This takes 30min same as above.



3) I tried using GParted approach shown here:
SuperUser: Windows USB from Fedora
This one wants to boot but does not. I reboot, press ENTER>F12 To get to boot selection menu I select the USB drive and it does not skip back to boot selection screen like above solutions do but it just stays on a black screen with a blinking _ cursor.



4) I tried setting the boot flag from GParted and using DD but does not work either.



Why is this so hard on Linux systems. I mean on Windows/Machintosh I can create a bootable USB stick in 10min. On Linux it takes 30min to copy the ISO contents and then nothing works : (










share|improve this question
















I tried everything and nothing works I have 2 brand new USB keys 3 more packaged. I have 3 valid Windows 8.1 ISO files and yet no approach works.



I tried Unetbootin takes forever to copy 4.3GB to the USB stick and does not work. I tried Ask Fedora approach using:



1) Formatting USB drive to FAT32 and using:



su -c 'dd if=/home/kristjan/Prejemi/win.iso of=/dev/sdc bs=400M'


This takes 30min to complete and nothing files are copied to the drive but it does not boot. When I mount it after it's now showing as FAT but as UDF.



2) Formatting USB Drive to NTFS and using:



su -c 'dd if=/home/kristjan/Prejemi/win.iso of=/dev/sdc bs=8M'


This takes 30min same as above.



3) I tried using GParted approach shown here:
SuperUser: Windows USB from Fedora
This one wants to boot but does not. I reboot, press ENTER>F12 To get to boot selection menu I select the USB drive and it does not skip back to boot selection screen like above solutions do but it just stays on a black screen with a blinking _ cursor.



4) I tried setting the boot flag from GParted and using DD but does not work either.



Why is this so hard on Linux systems. I mean on Windows/Machintosh I can create a bootable USB stick in 10min. On Linux it takes 30min to copy the ISO contents and then nothing works : (







linux windows-8 boot usb fedora






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 20 '17 at 10:17









Community

1




1










asked Mar 14 '14 at 15:25









Sterling DuchessSterling Duchess

2051518




2051518








  • 2





    dd overwrites whole filesystem, so the formattin to FAT32 or NTFS before running dd makes no sense.

    – andrej
    Mar 14 '14 at 15:39











  • Ok. So what should I do now ?

    – Sterling Duchess
    Mar 14 '14 at 15:44











  • see my answer below

    – andrej
    Mar 14 '14 at 15:44














  • 2





    dd overwrites whole filesystem, so the formattin to FAT32 or NTFS before running dd makes no sense.

    – andrej
    Mar 14 '14 at 15:39











  • Ok. So what should I do now ?

    – Sterling Duchess
    Mar 14 '14 at 15:44











  • see my answer below

    – andrej
    Mar 14 '14 at 15:44








2




2





dd overwrites whole filesystem, so the formattin to FAT32 or NTFS before running dd makes no sense.

– andrej
Mar 14 '14 at 15:39





dd overwrites whole filesystem, so the formattin to FAT32 or NTFS before running dd makes no sense.

– andrej
Mar 14 '14 at 15:39













Ok. So what should I do now ?

– Sterling Duchess
Mar 14 '14 at 15:44





Ok. So what should I do now ?

– Sterling Duchess
Mar 14 '14 at 15:44













see my answer below

– andrej
Mar 14 '14 at 15:44





see my answer below

– andrej
Mar 14 '14 at 15:44










3 Answers
3






active

oldest

votes


















26














Just now, I successfully created a bootable USB from a Windows 8.1 ISO containing a UDF filesystem. This will properly boot a UEFI machine into UEFI mode for subsequent install. It will not boot a BIOS machine or a UEFI machine in BIOS compatibility mode.





  1. Mount the ISO:



    sudo mount -t udf -o loop,ro,unhide /path/to/file.iso /mnt


  2. Insert the USB drive.



  3. Run fdisk and specify the device name of the USB drive; for example:



    sudo fdisk /dev/sdc


  4. Delete any existing partition table and create a new one.


  5. Create a new partition of at least 4.5 GB. Mark it bootable and set its type to 7 (HPFS/NTFS/ExFAT).


  6. Write changes and exit fdisk.



  7. Create a FAT-32 file system in the new partition; for example:



    sudo mkfs.vfat -F 32 /dev/sdc1



  8. Mount this partition to an existing subdirectory; for example:



    sudo mount /dev/sdc1 /media/usbstick



  9. Copy all of the files from the mounted ISO into this directory:



    sudo cp -rv /mnt/* /media/usbstick



  10. Sync the file systems just to be sure:



    sudo sync



  11. Unmount both items previously mounted:



    sudo umount /media/usbstick
    sudo umount /mnt







share|improve this answer



















  • 3





    Could you elaborate on 4, 5 and 6?

    – if __name__ is None
    Sep 3 '14 at 0:12











  • What kind of partition table should be used?

    – totokaka
    May 6 '15 at 17:39






  • 2





    @JanNetherdrake Once you did step 3, you enter: o (to create a new partition table), n (to create a new partition, just go with the defaults), (to set the partition bootable, if you went with defaults select partition 1), t (to select type, chose 7), now you can save the new layout with w.

    – user550807
    Jan 28 '16 at 4:04











  • @Bruce_Forte Or just install Rufus in a Windows VM and use that. It just works and its super easy.

    – if __name__ is None
    Jan 29 '16 at 5:39











  • In my comment there is missing the a (for setting bootable flag), don't have enough reputation to edit, sorry. @JanNetherdrake Guess that would be a solution too, but it's pretty heavy on ressources and fdisk is on most distros installed by default.

    – user550807
    Jan 29 '16 at 16:18



















7














Creating a bootable Windows install USB isn't too tricky if you install ms-sys:



# First, format /dev/sdX with a single partition (w/bootable flag set)
# Then, run the following
dev="/dev/sdX"
sudo mount -o loop win.iso /mntA
sudo mkfs.ntfs -f -L win ${dev}1
sudo ms-sys -7 ${dev}
sudo mount ${dev}1 /mntB
rsync -aP /mntA /mntB
sudo sync ${dev}
sudo umount /mntA /mntB


If you're trying to install Windows 8 to the USB drive, it gets slightly more complicated. See the guide here: https://thesquareplanet.com/blog/installing-windows-8-1-to-go-on-usb-drive-from-linux/






share|improve this answer


























  • On sudo mount ${dev}1 /mntB it says: ntfs-3g-mount: mount failed: Device or resource busy, even though ${dev}1 is not mounted, and /mntB is not occupied by anything.

    – jojman
    Sep 6 '16 at 20:39





















2














dd overwrites whole filesystem, so the formatting to FAT32 or NTFS before running dd makes no sense.



if you are 100% sure that your Windows-8.1 ISO image /home/kristjan/Prejemi/win.iso is able to boot from USB you can try to install liveusb-creator package using



sudo yum install liveusb-creator


and use it to transfer ISO data to USB stick.



Edit: Another alternative is unetbootin package which does basically the same thing of producing bootable USB stick from ISO.






share|improve this answer


























  • My drive was formatted to NTFS it mounts with no problem but Fedora livesub creator does not detect the drive. Seems liveusb-creator is only for Fedora USBs.

    – Sterling Duchess
    Mar 14 '14 at 15:47











  • I have no NTFS USB stick at all. I plugged my FAT16 USB stick to machine and run liveusb-creator. It found FAT partition on USB as /dev/sdb1 and offered to write something on it. If you have problem with NTFS just run fdisk /dev/sdb (if the usb is /dev/sdb), print your partitions using 'p' command, delete partition using 'd' and write changes to USB using 'w' command. Then you can try the liveusb-creator again. You can also run liveusb-creator -f /dev/sdb to force target drive.

    – andrej
    Mar 14 '14 at 16:00













  • I think Unetbootin supports only FAT not NTFS. I formatted my drive to FAT32 and using Unetbootin now to see what happens.

    – Sterling Duchess
    Mar 14 '14 at 16:11











  • Yea nothing here worked.

    – Sterling Duchess
    Mar 14 '14 at 16:35











  • It seems that your ISO is broken. Please try to verify the transferring ISO to usb with ISO that is proven to be bootable from USB, for example you can download and run Fedora 20 XFCE live download.fedoraproject.org/pub/fedora/linux/releases/20/Live/…

    – andrej
    Mar 14 '14 at 16:40











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f729087%2ffedora-create-windows-8-1-bootable-usb%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























3 Answers
3






active

oldest

votes








3 Answers
3






active

oldest

votes









active

oldest

votes






active

oldest

votes









26














Just now, I successfully created a bootable USB from a Windows 8.1 ISO containing a UDF filesystem. This will properly boot a UEFI machine into UEFI mode for subsequent install. It will not boot a BIOS machine or a UEFI machine in BIOS compatibility mode.





  1. Mount the ISO:



    sudo mount -t udf -o loop,ro,unhide /path/to/file.iso /mnt


  2. Insert the USB drive.



  3. Run fdisk and specify the device name of the USB drive; for example:



    sudo fdisk /dev/sdc


  4. Delete any existing partition table and create a new one.


  5. Create a new partition of at least 4.5 GB. Mark it bootable and set its type to 7 (HPFS/NTFS/ExFAT).


  6. Write changes and exit fdisk.



  7. Create a FAT-32 file system in the new partition; for example:



    sudo mkfs.vfat -F 32 /dev/sdc1



  8. Mount this partition to an existing subdirectory; for example:



    sudo mount /dev/sdc1 /media/usbstick



  9. Copy all of the files from the mounted ISO into this directory:



    sudo cp -rv /mnt/* /media/usbstick



  10. Sync the file systems just to be sure:



    sudo sync



  11. Unmount both items previously mounted:



    sudo umount /media/usbstick
    sudo umount /mnt







share|improve this answer



















  • 3





    Could you elaborate on 4, 5 and 6?

    – if __name__ is None
    Sep 3 '14 at 0:12











  • What kind of partition table should be used?

    – totokaka
    May 6 '15 at 17:39






  • 2





    @JanNetherdrake Once you did step 3, you enter: o (to create a new partition table), n (to create a new partition, just go with the defaults), (to set the partition bootable, if you went with defaults select partition 1), t (to select type, chose 7), now you can save the new layout with w.

    – user550807
    Jan 28 '16 at 4:04











  • @Bruce_Forte Or just install Rufus in a Windows VM and use that. It just works and its super easy.

    – if __name__ is None
    Jan 29 '16 at 5:39











  • In my comment there is missing the a (for setting bootable flag), don't have enough reputation to edit, sorry. @JanNetherdrake Guess that would be a solution too, but it's pretty heavy on ressources and fdisk is on most distros installed by default.

    – user550807
    Jan 29 '16 at 16:18
















26














Just now, I successfully created a bootable USB from a Windows 8.1 ISO containing a UDF filesystem. This will properly boot a UEFI machine into UEFI mode for subsequent install. It will not boot a BIOS machine or a UEFI machine in BIOS compatibility mode.





  1. Mount the ISO:



    sudo mount -t udf -o loop,ro,unhide /path/to/file.iso /mnt


  2. Insert the USB drive.



  3. Run fdisk and specify the device name of the USB drive; for example:



    sudo fdisk /dev/sdc


  4. Delete any existing partition table and create a new one.


  5. Create a new partition of at least 4.5 GB. Mark it bootable and set its type to 7 (HPFS/NTFS/ExFAT).


  6. Write changes and exit fdisk.



  7. Create a FAT-32 file system in the new partition; for example:



    sudo mkfs.vfat -F 32 /dev/sdc1



  8. Mount this partition to an existing subdirectory; for example:



    sudo mount /dev/sdc1 /media/usbstick



  9. Copy all of the files from the mounted ISO into this directory:



    sudo cp -rv /mnt/* /media/usbstick



  10. Sync the file systems just to be sure:



    sudo sync



  11. Unmount both items previously mounted:



    sudo umount /media/usbstick
    sudo umount /mnt







share|improve this answer



















  • 3





    Could you elaborate on 4, 5 and 6?

    – if __name__ is None
    Sep 3 '14 at 0:12











  • What kind of partition table should be used?

    – totokaka
    May 6 '15 at 17:39






  • 2





    @JanNetherdrake Once you did step 3, you enter: o (to create a new partition table), n (to create a new partition, just go with the defaults), (to set the partition bootable, if you went with defaults select partition 1), t (to select type, chose 7), now you can save the new layout with w.

    – user550807
    Jan 28 '16 at 4:04











  • @Bruce_Forte Or just install Rufus in a Windows VM and use that. It just works and its super easy.

    – if __name__ is None
    Jan 29 '16 at 5:39











  • In my comment there is missing the a (for setting bootable flag), don't have enough reputation to edit, sorry. @JanNetherdrake Guess that would be a solution too, but it's pretty heavy on ressources and fdisk is on most distros installed by default.

    – user550807
    Jan 29 '16 at 16:18














26












26








26







Just now, I successfully created a bootable USB from a Windows 8.1 ISO containing a UDF filesystem. This will properly boot a UEFI machine into UEFI mode for subsequent install. It will not boot a BIOS machine or a UEFI machine in BIOS compatibility mode.





  1. Mount the ISO:



    sudo mount -t udf -o loop,ro,unhide /path/to/file.iso /mnt


  2. Insert the USB drive.



  3. Run fdisk and specify the device name of the USB drive; for example:



    sudo fdisk /dev/sdc


  4. Delete any existing partition table and create a new one.


  5. Create a new partition of at least 4.5 GB. Mark it bootable and set its type to 7 (HPFS/NTFS/ExFAT).


  6. Write changes and exit fdisk.



  7. Create a FAT-32 file system in the new partition; for example:



    sudo mkfs.vfat -F 32 /dev/sdc1



  8. Mount this partition to an existing subdirectory; for example:



    sudo mount /dev/sdc1 /media/usbstick



  9. Copy all of the files from the mounted ISO into this directory:



    sudo cp -rv /mnt/* /media/usbstick



  10. Sync the file systems just to be sure:



    sudo sync



  11. Unmount both items previously mounted:



    sudo umount /media/usbstick
    sudo umount /mnt







share|improve this answer













Just now, I successfully created a bootable USB from a Windows 8.1 ISO containing a UDF filesystem. This will properly boot a UEFI machine into UEFI mode for subsequent install. It will not boot a BIOS machine or a UEFI machine in BIOS compatibility mode.





  1. Mount the ISO:



    sudo mount -t udf -o loop,ro,unhide /path/to/file.iso /mnt


  2. Insert the USB drive.



  3. Run fdisk and specify the device name of the USB drive; for example:



    sudo fdisk /dev/sdc


  4. Delete any existing partition table and create a new one.


  5. Create a new partition of at least 4.5 GB. Mark it bootable and set its type to 7 (HPFS/NTFS/ExFAT).


  6. Write changes and exit fdisk.



  7. Create a FAT-32 file system in the new partition; for example:



    sudo mkfs.vfat -F 32 /dev/sdc1



  8. Mount this partition to an existing subdirectory; for example:



    sudo mount /dev/sdc1 /media/usbstick



  9. Copy all of the files from the mounted ISO into this directory:



    sudo cp -rv /mnt/* /media/usbstick



  10. Sync the file systems just to be sure:



    sudo sync



  11. Unmount both items previously mounted:



    sudo umount /media/usbstick
    sudo umount /mnt








share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 19 '14 at 22:56







user316920















  • 3





    Could you elaborate on 4, 5 and 6?

    – if __name__ is None
    Sep 3 '14 at 0:12











  • What kind of partition table should be used?

    – totokaka
    May 6 '15 at 17:39






  • 2





    @JanNetherdrake Once you did step 3, you enter: o (to create a new partition table), n (to create a new partition, just go with the defaults), (to set the partition bootable, if you went with defaults select partition 1), t (to select type, chose 7), now you can save the new layout with w.

    – user550807
    Jan 28 '16 at 4:04











  • @Bruce_Forte Or just install Rufus in a Windows VM and use that. It just works and its super easy.

    – if __name__ is None
    Jan 29 '16 at 5:39











  • In my comment there is missing the a (for setting bootable flag), don't have enough reputation to edit, sorry. @JanNetherdrake Guess that would be a solution too, but it's pretty heavy on ressources and fdisk is on most distros installed by default.

    – user550807
    Jan 29 '16 at 16:18














  • 3





    Could you elaborate on 4, 5 and 6?

    – if __name__ is None
    Sep 3 '14 at 0:12











  • What kind of partition table should be used?

    – totokaka
    May 6 '15 at 17:39






  • 2





    @JanNetherdrake Once you did step 3, you enter: o (to create a new partition table), n (to create a new partition, just go with the defaults), (to set the partition bootable, if you went with defaults select partition 1), t (to select type, chose 7), now you can save the new layout with w.

    – user550807
    Jan 28 '16 at 4:04











  • @Bruce_Forte Or just install Rufus in a Windows VM and use that. It just works and its super easy.

    – if __name__ is None
    Jan 29 '16 at 5:39











  • In my comment there is missing the a (for setting bootable flag), don't have enough reputation to edit, sorry. @JanNetherdrake Guess that would be a solution too, but it's pretty heavy on ressources and fdisk is on most distros installed by default.

    – user550807
    Jan 29 '16 at 16:18








3




3





Could you elaborate on 4, 5 and 6?

– if __name__ is None
Sep 3 '14 at 0:12





Could you elaborate on 4, 5 and 6?

– if __name__ is None
Sep 3 '14 at 0:12













What kind of partition table should be used?

– totokaka
May 6 '15 at 17:39





What kind of partition table should be used?

– totokaka
May 6 '15 at 17:39




2




2





@JanNetherdrake Once you did step 3, you enter: o (to create a new partition table), n (to create a new partition, just go with the defaults), (to set the partition bootable, if you went with defaults select partition 1), t (to select type, chose 7), now you can save the new layout with w.

– user550807
Jan 28 '16 at 4:04





@JanNetherdrake Once you did step 3, you enter: o (to create a new partition table), n (to create a new partition, just go with the defaults), (to set the partition bootable, if you went with defaults select partition 1), t (to select type, chose 7), now you can save the new layout with w.

– user550807
Jan 28 '16 at 4:04













@Bruce_Forte Or just install Rufus in a Windows VM and use that. It just works and its super easy.

– if __name__ is None
Jan 29 '16 at 5:39





@Bruce_Forte Or just install Rufus in a Windows VM and use that. It just works and its super easy.

– if __name__ is None
Jan 29 '16 at 5:39













In my comment there is missing the a (for setting bootable flag), don't have enough reputation to edit, sorry. @JanNetherdrake Guess that would be a solution too, but it's pretty heavy on ressources and fdisk is on most distros installed by default.

– user550807
Jan 29 '16 at 16:18





In my comment there is missing the a (for setting bootable flag), don't have enough reputation to edit, sorry. @JanNetherdrake Guess that would be a solution too, but it's pretty heavy on ressources and fdisk is on most distros installed by default.

– user550807
Jan 29 '16 at 16:18













7














Creating a bootable Windows install USB isn't too tricky if you install ms-sys:



# First, format /dev/sdX with a single partition (w/bootable flag set)
# Then, run the following
dev="/dev/sdX"
sudo mount -o loop win.iso /mntA
sudo mkfs.ntfs -f -L win ${dev}1
sudo ms-sys -7 ${dev}
sudo mount ${dev}1 /mntB
rsync -aP /mntA /mntB
sudo sync ${dev}
sudo umount /mntA /mntB


If you're trying to install Windows 8 to the USB drive, it gets slightly more complicated. See the guide here: https://thesquareplanet.com/blog/installing-windows-8-1-to-go-on-usb-drive-from-linux/






share|improve this answer


























  • On sudo mount ${dev}1 /mntB it says: ntfs-3g-mount: mount failed: Device or resource busy, even though ${dev}1 is not mounted, and /mntB is not occupied by anything.

    – jojman
    Sep 6 '16 at 20:39


















7














Creating a bootable Windows install USB isn't too tricky if you install ms-sys:



# First, format /dev/sdX with a single partition (w/bootable flag set)
# Then, run the following
dev="/dev/sdX"
sudo mount -o loop win.iso /mntA
sudo mkfs.ntfs -f -L win ${dev}1
sudo ms-sys -7 ${dev}
sudo mount ${dev}1 /mntB
rsync -aP /mntA /mntB
sudo sync ${dev}
sudo umount /mntA /mntB


If you're trying to install Windows 8 to the USB drive, it gets slightly more complicated. See the guide here: https://thesquareplanet.com/blog/installing-windows-8-1-to-go-on-usb-drive-from-linux/






share|improve this answer


























  • On sudo mount ${dev}1 /mntB it says: ntfs-3g-mount: mount failed: Device or resource busy, even though ${dev}1 is not mounted, and /mntB is not occupied by anything.

    – jojman
    Sep 6 '16 at 20:39
















7












7








7







Creating a bootable Windows install USB isn't too tricky if you install ms-sys:



# First, format /dev/sdX with a single partition (w/bootable flag set)
# Then, run the following
dev="/dev/sdX"
sudo mount -o loop win.iso /mntA
sudo mkfs.ntfs -f -L win ${dev}1
sudo ms-sys -7 ${dev}
sudo mount ${dev}1 /mntB
rsync -aP /mntA /mntB
sudo sync ${dev}
sudo umount /mntA /mntB


If you're trying to install Windows 8 to the USB drive, it gets slightly more complicated. See the guide here: https://thesquareplanet.com/blog/installing-windows-8-1-to-go-on-usb-drive-from-linux/






share|improve this answer















Creating a bootable Windows install USB isn't too tricky if you install ms-sys:



# First, format /dev/sdX with a single partition (w/bootable flag set)
# Then, run the following
dev="/dev/sdX"
sudo mount -o loop win.iso /mntA
sudo mkfs.ntfs -f -L win ${dev}1
sudo ms-sys -7 ${dev}
sudo mount ${dev}1 /mntB
rsync -aP /mntA /mntB
sudo sync ${dev}
sudo umount /mntA /mntB


If you're trying to install Windows 8 to the USB drive, it gets slightly more complicated. See the guide here: https://thesquareplanet.com/blog/installing-windows-8-1-to-go-on-usb-drive-from-linux/







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 23 at 14:07

























answered Sep 27 '14 at 19:23









Jon GjengsetJon Gjengset

17318




17318













  • On sudo mount ${dev}1 /mntB it says: ntfs-3g-mount: mount failed: Device or resource busy, even though ${dev}1 is not mounted, and /mntB is not occupied by anything.

    – jojman
    Sep 6 '16 at 20:39





















  • On sudo mount ${dev}1 /mntB it says: ntfs-3g-mount: mount failed: Device or resource busy, even though ${dev}1 is not mounted, and /mntB is not occupied by anything.

    – jojman
    Sep 6 '16 at 20:39



















On sudo mount ${dev}1 /mntB it says: ntfs-3g-mount: mount failed: Device or resource busy, even though ${dev}1 is not mounted, and /mntB is not occupied by anything.

– jojman
Sep 6 '16 at 20:39







On sudo mount ${dev}1 /mntB it says: ntfs-3g-mount: mount failed: Device or resource busy, even though ${dev}1 is not mounted, and /mntB is not occupied by anything.

– jojman
Sep 6 '16 at 20:39













2














dd overwrites whole filesystem, so the formatting to FAT32 or NTFS before running dd makes no sense.



if you are 100% sure that your Windows-8.1 ISO image /home/kristjan/Prejemi/win.iso is able to boot from USB you can try to install liveusb-creator package using



sudo yum install liveusb-creator


and use it to transfer ISO data to USB stick.



Edit: Another alternative is unetbootin package which does basically the same thing of producing bootable USB stick from ISO.






share|improve this answer


























  • My drive was formatted to NTFS it mounts with no problem but Fedora livesub creator does not detect the drive. Seems liveusb-creator is only for Fedora USBs.

    – Sterling Duchess
    Mar 14 '14 at 15:47











  • I have no NTFS USB stick at all. I plugged my FAT16 USB stick to machine and run liveusb-creator. It found FAT partition on USB as /dev/sdb1 and offered to write something on it. If you have problem with NTFS just run fdisk /dev/sdb (if the usb is /dev/sdb), print your partitions using 'p' command, delete partition using 'd' and write changes to USB using 'w' command. Then you can try the liveusb-creator again. You can also run liveusb-creator -f /dev/sdb to force target drive.

    – andrej
    Mar 14 '14 at 16:00













  • I think Unetbootin supports only FAT not NTFS. I formatted my drive to FAT32 and using Unetbootin now to see what happens.

    – Sterling Duchess
    Mar 14 '14 at 16:11











  • Yea nothing here worked.

    – Sterling Duchess
    Mar 14 '14 at 16:35











  • It seems that your ISO is broken. Please try to verify the transferring ISO to usb with ISO that is proven to be bootable from USB, for example you can download and run Fedora 20 XFCE live download.fedoraproject.org/pub/fedora/linux/releases/20/Live/…

    – andrej
    Mar 14 '14 at 16:40
















2














dd overwrites whole filesystem, so the formatting to FAT32 or NTFS before running dd makes no sense.



if you are 100% sure that your Windows-8.1 ISO image /home/kristjan/Prejemi/win.iso is able to boot from USB you can try to install liveusb-creator package using



sudo yum install liveusb-creator


and use it to transfer ISO data to USB stick.



Edit: Another alternative is unetbootin package which does basically the same thing of producing bootable USB stick from ISO.






share|improve this answer


























  • My drive was formatted to NTFS it mounts with no problem but Fedora livesub creator does not detect the drive. Seems liveusb-creator is only for Fedora USBs.

    – Sterling Duchess
    Mar 14 '14 at 15:47











  • I have no NTFS USB stick at all. I plugged my FAT16 USB stick to machine and run liveusb-creator. It found FAT partition on USB as /dev/sdb1 and offered to write something on it. If you have problem with NTFS just run fdisk /dev/sdb (if the usb is /dev/sdb), print your partitions using 'p' command, delete partition using 'd' and write changes to USB using 'w' command. Then you can try the liveusb-creator again. You can also run liveusb-creator -f /dev/sdb to force target drive.

    – andrej
    Mar 14 '14 at 16:00













  • I think Unetbootin supports only FAT not NTFS. I formatted my drive to FAT32 and using Unetbootin now to see what happens.

    – Sterling Duchess
    Mar 14 '14 at 16:11











  • Yea nothing here worked.

    – Sterling Duchess
    Mar 14 '14 at 16:35











  • It seems that your ISO is broken. Please try to verify the transferring ISO to usb with ISO that is proven to be bootable from USB, for example you can download and run Fedora 20 XFCE live download.fedoraproject.org/pub/fedora/linux/releases/20/Live/…

    – andrej
    Mar 14 '14 at 16:40














2












2








2







dd overwrites whole filesystem, so the formatting to FAT32 or NTFS before running dd makes no sense.



if you are 100% sure that your Windows-8.1 ISO image /home/kristjan/Prejemi/win.iso is able to boot from USB you can try to install liveusb-creator package using



sudo yum install liveusb-creator


and use it to transfer ISO data to USB stick.



Edit: Another alternative is unetbootin package which does basically the same thing of producing bootable USB stick from ISO.






share|improve this answer















dd overwrites whole filesystem, so the formatting to FAT32 or NTFS before running dd makes no sense.



if you are 100% sure that your Windows-8.1 ISO image /home/kristjan/Prejemi/win.iso is able to boot from USB you can try to install liveusb-creator package using



sudo yum install liveusb-creator


and use it to transfer ISO data to USB stick.



Edit: Another alternative is unetbootin package which does basically the same thing of producing bootable USB stick from ISO.







share|improve this answer














share|improve this answer



share|improve this answer








edited Sep 4 '18 at 10:54

























answered Mar 14 '14 at 15:44









andrejandrej

400111




400111













  • My drive was formatted to NTFS it mounts with no problem but Fedora livesub creator does not detect the drive. Seems liveusb-creator is only for Fedora USBs.

    – Sterling Duchess
    Mar 14 '14 at 15:47











  • I have no NTFS USB stick at all. I plugged my FAT16 USB stick to machine and run liveusb-creator. It found FAT partition on USB as /dev/sdb1 and offered to write something on it. If you have problem with NTFS just run fdisk /dev/sdb (if the usb is /dev/sdb), print your partitions using 'p' command, delete partition using 'd' and write changes to USB using 'w' command. Then you can try the liveusb-creator again. You can also run liveusb-creator -f /dev/sdb to force target drive.

    – andrej
    Mar 14 '14 at 16:00













  • I think Unetbootin supports only FAT not NTFS. I formatted my drive to FAT32 and using Unetbootin now to see what happens.

    – Sterling Duchess
    Mar 14 '14 at 16:11











  • Yea nothing here worked.

    – Sterling Duchess
    Mar 14 '14 at 16:35











  • It seems that your ISO is broken. Please try to verify the transferring ISO to usb with ISO that is proven to be bootable from USB, for example you can download and run Fedora 20 XFCE live download.fedoraproject.org/pub/fedora/linux/releases/20/Live/…

    – andrej
    Mar 14 '14 at 16:40



















  • My drive was formatted to NTFS it mounts with no problem but Fedora livesub creator does not detect the drive. Seems liveusb-creator is only for Fedora USBs.

    – Sterling Duchess
    Mar 14 '14 at 15:47











  • I have no NTFS USB stick at all. I plugged my FAT16 USB stick to machine and run liveusb-creator. It found FAT partition on USB as /dev/sdb1 and offered to write something on it. If you have problem with NTFS just run fdisk /dev/sdb (if the usb is /dev/sdb), print your partitions using 'p' command, delete partition using 'd' and write changes to USB using 'w' command. Then you can try the liveusb-creator again. You can also run liveusb-creator -f /dev/sdb to force target drive.

    – andrej
    Mar 14 '14 at 16:00













  • I think Unetbootin supports only FAT not NTFS. I formatted my drive to FAT32 and using Unetbootin now to see what happens.

    – Sterling Duchess
    Mar 14 '14 at 16:11











  • Yea nothing here worked.

    – Sterling Duchess
    Mar 14 '14 at 16:35











  • It seems that your ISO is broken. Please try to verify the transferring ISO to usb with ISO that is proven to be bootable from USB, for example you can download and run Fedora 20 XFCE live download.fedoraproject.org/pub/fedora/linux/releases/20/Live/…

    – andrej
    Mar 14 '14 at 16:40

















My drive was formatted to NTFS it mounts with no problem but Fedora livesub creator does not detect the drive. Seems liveusb-creator is only for Fedora USBs.

– Sterling Duchess
Mar 14 '14 at 15:47





My drive was formatted to NTFS it mounts with no problem but Fedora livesub creator does not detect the drive. Seems liveusb-creator is only for Fedora USBs.

– Sterling Duchess
Mar 14 '14 at 15:47













I have no NTFS USB stick at all. I plugged my FAT16 USB stick to machine and run liveusb-creator. It found FAT partition on USB as /dev/sdb1 and offered to write something on it. If you have problem with NTFS just run fdisk /dev/sdb (if the usb is /dev/sdb), print your partitions using 'p' command, delete partition using 'd' and write changes to USB using 'w' command. Then you can try the liveusb-creator again. You can also run liveusb-creator -f /dev/sdb to force target drive.

– andrej
Mar 14 '14 at 16:00







I have no NTFS USB stick at all. I plugged my FAT16 USB stick to machine and run liveusb-creator. It found FAT partition on USB as /dev/sdb1 and offered to write something on it. If you have problem with NTFS just run fdisk /dev/sdb (if the usb is /dev/sdb), print your partitions using 'p' command, delete partition using 'd' and write changes to USB using 'w' command. Then you can try the liveusb-creator again. You can also run liveusb-creator -f /dev/sdb to force target drive.

– andrej
Mar 14 '14 at 16:00















I think Unetbootin supports only FAT not NTFS. I formatted my drive to FAT32 and using Unetbootin now to see what happens.

– Sterling Duchess
Mar 14 '14 at 16:11





I think Unetbootin supports only FAT not NTFS. I formatted my drive to FAT32 and using Unetbootin now to see what happens.

– Sterling Duchess
Mar 14 '14 at 16:11













Yea nothing here worked.

– Sterling Duchess
Mar 14 '14 at 16:35





Yea nothing here worked.

– Sterling Duchess
Mar 14 '14 at 16:35













It seems that your ISO is broken. Please try to verify the transferring ISO to usb with ISO that is proven to be bootable from USB, for example you can download and run Fedora 20 XFCE live download.fedoraproject.org/pub/fedora/linux/releases/20/Live/…

– andrej
Mar 14 '14 at 16:40





It seems that your ISO is broken. Please try to verify the transferring ISO to usb with ISO that is proven to be bootable from USB, for example you can download and run Fedora 20 XFCE live download.fedoraproject.org/pub/fedora/linux/releases/20/Live/…

– andrej
Mar 14 '14 at 16:40


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f729087%2ffedora-create-windows-8-1-bootable-usb%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido