Install Win7 from USB

Discussions related to using VirtualBox on Mac OS X hosts.
Packie
Posts: 8
Joined: 19. Jan 2018, 14:01

Install Win7 from USB

Post by Packie »

I purchased win7 on a USB stick and I am wondering if someone could advise me how I can go about installing it to use with VirtualBox. I do not have a optical drive on my Mac High Sierra.
Thanks in advance for any help.
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: Install Win7 from USB

Post by andyp73 »

Firstly, this probably ought to have gone in MAC OS Hosts or Windows Guests seeing as you have one of those and are trying to install the other. One of the admins will no doubt be along shortly to push the thread into the right location.

As far as I recall, the BIOS in VirtualBox doesn't allow booting from USB sticks and so you will need to find a mechanism to rip the contents of the USB stick into a bootable ISO image that you can mount in the virtual optical drive.

-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, OSX
Location: U S of A

Re: Install Win7 from USB

Post by ChipMcK »

Tips: How to make Windows 10 install media on macOS High Sierra
(appleinsider.com/articles/18/01/18/tips-how-to-make-windows-10-install-media-on-macos-high-sierra)

Mod warning; Do *not* follow these instructions. These are instructions to generate a USB from an ISO, not the other way around. You will destroy your Windows 10 USB!!!
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Install Win7 from USB

Post by socratis »

Moving to "OSX Hosts" from "OSX guests" since this is more of a host question and tools that have to be used on the host.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Packie
Posts: 8
Joined: 19. Jan 2018, 14:01

Re: Install Win7 from USB

Post by Packie »

Sorry about posting to the wrong group :oops:
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Install Win7 from USB

Post by socratis »

@ChipMcK,
I took a look at the instructions link that you posted and it's the exact opposite of what the OP wants. You'll pardon me for taking the liberty and editing your message to prevent an accidental data loss, because the first step talks about formatting the USB stick! Oops... there goes your Win10 installer!!! :shock:

The way to create an ISO file from the bootable USB is through the "Disk Utility". Select the whole USB (not an individual partition) and choose to create a CD/DVD master from that USB disk.

@Packie,
You then select that newly created CD/DVD master and you boot your VM from that.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, OSX
Location: U S of A

Re: Install Win7 from USB

Post by ChipMcK »

First, get the .ISO file from Microsoft here. Importantly, this doesn't contain a license code, so you'll need to get one of those yourself.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Install Win7 from USB

Post by socratis »

But ChipMcK, if they do have the ISO, they don't need to create the USB. You can boot a VM from an ISO... ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, OSX
Location: U S of A

Re: Install Win7 from USB

Post by ChipMcK »

and OP has the .ISO ?
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Install Win7 from USB

Post by socratis »

No. The OP has a bought USB Win10 installation. OK, let's recap:
  • The OP has a USB. Wants to boot the VM. The easiest way is to convert that USB to an ISO.
  • You said, get the ISO from MS, then convert it to USB.
  • I said that your linked article would destroy the bought Win10 USB.
  • You said, but you have to have the ISO first to convert it to USB.
  • I said, if you have the ISO, you don't need to convert it to USB. Boot directly from it.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Packie
Posts: 8
Joined: 19. Jan 2018, 14:01

Re: Install Win7 from USB

Post by Packie »

Just for clarity I have purchased:

Windows 7 Home Premium 64-bit SP1 Full Version & License COA Product Key on USB

"The way to create an ISO file from the bootable USB is through the "Disk Utility". Select the whole USB (not an individual partition) and choose to create a CD/DVD master from that USB disk."

Since there is no optical drive on the Mac High Sierra does that mean I need to go out and purchase one?
BillG
Volunteer
Posts: 5100
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Install Win7 from USB

Post by BillG »

The fact that you have the OS on a USB key is handy if you can install from that (but you cannot do that for a vm). The important thing is that you have a product key.

You can convert the installation media stored on the USB to an ISO, but you do not really need to. As long as you have a product key you can download the ISO directly from Microsoft. Make sure that you specify the version which matches your product key.

Once you have the ISO you simply assign it to the optical drive of your vm from settings. Then start the vm.

https://www.microsoft.com/en-us/softwar ... d/windows7
ISOBoot.PNG
Bill
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: Install Win7 from USB

Post by andyp73 »

Packie wrote:"The way to create an ISO file from the bootable USB is through the "Disk Utility". Select the whole USB (not an individual partition) and choose to create a CD/DVD master from that USB disk."

Since there is no optical drive on the Mac High Sierra does that mean I need to go out and purchase one?
Nope, no physical optical drive required. If you follow the instructions using Disk Utility you will end up with a file with a .iso extension somewhere on your hosts hard disk which you can then mount in the virtual optical drive of your guest.

-Andy,
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Install Win7 from USB

Post by socratis »

andyp73 wrote: If you follow the instructions using Disk Utility you will end up with a file with a .iso extension
Slight correction; Disk Utility is a little "stubborn" and no matter what name/extension you give it, it will always add a ".cdr" extension (Why Apple, why???). Just rename that ".cdr" to ".iso" and you should be all set.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: Install Win7 from USB

Post by andyp73 »

socratis wrote:Why Apple, why???)
Because they can!

-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Post Reply