Saturday, May 26, 2018

boot - How can I create a bootable iso image from a bootable flash drive?


I have a bootable installer image of Win7x64 on a flash drive. How can I create a bootable iso of it to use with VMware Workstation et al?


I have used Plop Boot Manager, but I'd really like to make an ISO of this installer drive.


This question is NOT 'How do I create a bootable flash drive from an ISO?'. Rather, it's the reverse. =)


Answer



If you are working from within a Linux system (or have access to one), then you can use the 'dd' command to make an ISO from your USB device.


Example: $ dd if=/dev/sdb of=~/usb_image.iso

the 'if' argument designates the input source/file, and the 'of' argument designates the output location name.


Along the same lines, if you have a directory inside your file system that you want to create an ISO out of its contents, then you can use the 'mksiofs' command.


Example: $ mkisofs -o ~/image.iso /source/directory

The the path after the -o parameter is the path where the ISO will be created and the last argument is the path of the source directory.


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...