Making a Windows 7 Installation USB Stick

This is a discussion of making a bootable Windows 7 Installation USB-stick Media. It might apply to making other USB connected "Disks" like Smartcards bootable too.
I recently had to do this (a Laptop with no build-in DVD drive and no USB DVD drive around). And it turned out to be surprisingly simple, using nothing but build in Windows tools from the Disk. I only found
this german langauge guide and nothing in english (but I might just have searched after the wrong terms, google has been wierd regarding langauge lately), so I thought I write it up (along with some problems I ran into).
Making a USB-Stick into a bootable Windows 7 (and propably Vista) Media is a 3 step process:
1. Create a Active, Primary, FAT32 Partition of 4+ GB on the stick
2. use bootsect.exe from Windows Disk to create the MBR and Partition Boot Record for that Partition
3. Copy all files from the Disk to said Partition
4. Test if it boots
Detail analysis:
Step 1 is so simple I doubt it needs explanations. Create enough free space on the USB disk (at worst delete all previous Partitions). Make a Priamry Partition of 4+ GiB. Mark it as Active. Format it in FAT32. The Guide used Diskpart,
but this step can be done with any Partition Tool under any Windows, Linux, UNIX or DOS.
While the choice of FAT32 seems a bit outdated, theye propably did not gave the relevant bootlaoder the ability to read NTFS. Or maybe they just though FAT32 is enough for a media that is mostly read. I have not tried what happens if I format it in NTFS, but
it might be possible.
Step 2 was the only tricky part. You need the programm "boot\bootsect.exe" from the Installation Media. It also must be run on a non-UEFI booted OS (otherwise it cancels out).
I had a Windows 8 on a new Laptop so I had a UEFI booted system. Luckily I also had a VMWare Windows 7 lying around. I just assigned the Windows 7 ISO image to the Windows 7 VM, then connected the USB drive to the host.
Once you have the USB stick in a a proper Windows mount the Parttion you created under 1 under any driveletter (should happen automatically under Windows), and open a console as Administrator (asumes DVD is drivletter is D: and the USB stick's partition
ins Driveletter E:):
//Go into the boot directory on the Install DVD
D:
cd boot
//You should see a command promt like "D:\BOOT>"
//Run bootsect.exe
bootsect.exe /nt60 d:
Step 3 is to either copy the contents of the DVD media (copy and paste) or the Image (Mount into Virtual DVD Drive and copy/paste, unpack ISO images contents) into the partition.
How does this compare to other Distribution ways?
To DVD:
There is no need for a DVD drive. Even if a bootable USB-DVD drive is avalible, the Stick or Card will only need only USB port (most USB drives need 2 Ports due the 1 Ampere energy need of the drives).
Flash Media has no seek times and much better throughput (the old weakpoint of any Disk and DVD/CD in particular)
A FAT32 partition is inherently writeable. So modifications to the "Installation media" like Implementing Service Packs and other Windwos Updates, Modifying ei.cfg/preactivation/setup answer files, implementing special Disk/RAID drivers into the Windows
PE or adding stuff that should be installed with Windows is easy (and do not requrie reburning a 4 GiB Image file).
Since it only needs a 4 GiB partition, on a big USB stick there would still be place for other Data Partitions
Since it relies on old techniques (Generic Bootloader + Active Primary Partition + partition boot loader), multiple Installation media on a big enough stick might be feasible (with a more advanced bootloader like GRUB). Have to test that part.
However, the cost/media is a lot higher then a DVD. So if you need multiple Medias it will propably be cheaper to use the old DVD approach.
Due to the needs of bootsec.exe, first creating the media can be more difficulty then just burning an image. But once it is bootable this programm is no longer needed.
To PXE/network Distrubution:
If you have the nessesary setup already (DHCP/PXE Server, powerfull network), the USB stick is likely inferior. The USB stick should beat a 100 MBIT Network easily, but will propably be beaten by a 1 GBIT Network. Network isntallation uses existing infrastructure
(that you need for other reasons anyway) so the cost per media is even lower then the DVD.
The PXE way also has even better modifyability - sending out different answer files or even automatically booting different images based on the Compuers MAC adress are tried techniques.
If you lack the nessesary setup, the USB stick is a lot easier to implement and a lot easier to transport.
Advanced things:
Need to check if the partition could be formated as NTFS. I prefer a Journalling Filesystem for my USB-sticks.
Need to check if using a advanced boot manager techniques (like Grub or modifciations to the BCD of the Windows PE) allows me to put multiple install media on one Stick (with one primary partition per "media"). Especially combining the x32/x86 and
x64 Windows Installation Media would be worthwhile. As would be inlcuding a Window 8 or Vista installation media.
Current Step 3 and 2 can propably be switched. I see no reason bootsect could not run from the USB stick as it runs from the DVD (it only accesses the MBR and
VBR of the Disk, areas not in use by Windows)
Steps 1 through 3 might be possible from the Windows PE environment. If so, only a computer with legacy BIOS boot would be nessesary (no actuall installation).
Windows 7 can be installed on a (U)EFI system, but I have not checked if I can use the boot from teh stick on such a Computer. Latest for Windows 8 Media UEFI compatibilty is nessesary.
Let's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 Please mark post as helpfull and answers respectively.

Advanced things:
Need to check if the partition could be formated as NTFS. I prefer a Journalling Filesystem for my USB-sticks.
Windows 7 can be installed on a (U)EFI system, but I have not checked if I can use the boot from teh stick on such a Computer. Latest for Windows 8 Media UEFI compatibilty is nessesary.
I converted the stick to NTFS using the convert.exe and it continued booting. So chances are high they only choose FAT32 in the example because no feature of NTFS was per nessesary in a "almost only reading" scenario like installation media.
The second part depends on the BIOS. I have a more advanced one where I can choose legacy boot options (like USB stick) in the boot option menu even when the default setting is UEFI, as long as I don't need Secure boot (wich I do not).
Another question arose: Windows 7 has the Kernel/BCD level ability to boot from .VHD Files. The only thing preventing version below corporate from using this feature is a license check that is run just before the login (so way after the booting has been
completed).
Starting with 3.0 Windows PE is based on the kernel of Windows 7. So the instlaltion system might have the ability to boot from .VHD too and might have no such check in place. If so, I could put both versions of the Windows 7 installer into .VHD, reducing the
need to have physical primary partitions for those.
Windows bootprocess vs. Linux boot process under BIOS:
The BIOS goes over all the boot media. If it finds one with a MBR, that one is executed and the BIOS part of the boot process is officially over.
 -> Under Windows the MBR contains the "generic boot loader". A simple piece of code as old as BIOS (25 Years) that looks for the primary partition with "Active" Flag on "it's" disk. If it finds one, the Partition Boot Record of that parition is executed.
The MBR has done it's part
    -> NTLDR (NT too 2000), this one reads the boot.ini file and gives/executeds apropirate options
    -> BOOTMGR (Vista, 7), this one reads the BCD files
      -> Since Windows 7 BOOTMGR can also chainload the Partition Boot Record that is inside a .VHD File
    -> Wicher was used in Windows 3.X/95/98/ME
Higher versions can chainload lower versions, but must be designed for this and (re)installed in the proper "order".
The sometimes odd behavior that Windows 7 tries to keep 100 MiB in a seperate primary partition is there to have proper places for later additions to the BOOTMGR settings. Specifically it allows multiple BOOTMGR OS to use/edit the same BOOTMGR instace without
running into problems with "whose partition is active?" (since it is always the System Reserved one). It's not disimilar to having an extra /boot partition in Linux or how a GRUB's stage 2 works.
-> Under a typical Grub Legacy the MBR contains the Stage 1. It directly reads the Stage 2 from the proper partition/file system with a hardcoded path, but due to size limit of the MBR cannot do more. In some cases it starts a stage 1.5 wich has more
space to do work (63 sectors between MBR and first partition), but I never used this Setup
    -> Stage 2 loads the Grub Configuration from the disk. From here it depends on what OS you want to boot.
        -> For Linux or Unix the kernel is started directly.
        -> Any Windows OS up to 7 can be booted using the chainloader command. For the OS this is identical to having the partition choosen by the Generic Bootloader.
While it can be chainloaded by the Generic Bootloader from the active primary partition, GRUB and thus Linux has no
requirement for any Primary Partitions. Stage 1 is designed to directly access the specific File System containng the Stage 2. In fact it does not even need to reside on the same disk (as the Generic Bootloader has to).
If one does not need the Active Flag to control the Generic Bootloader (because a proper Stage 1 is installed in MBR) it is adviseable to mark wichever Windows Partition is chainloaded as active (up to Vista at least I had very odd behavior if the Windows boot
partition was not marked active, down to randomly shredded Partition boot managers).
After running a Windows Setup usually the Stage 1 has to be restored, as Windwos Setup will always write it's Generic Bootloader in the MBR. In order to get "rid" of a Grub all one has to do is overwrite the MBR with the Generic Bootloader and set the active
flag properly.
Let's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 Please mark post as helpfull and answers respectively.

Similar Messages

  • HT4407 When installing Windows 7 using Bootcamp, I get message: "Need 64-bit Windows Installation USB drive or DVD."  I thought my install disk was for 32 or 64 bit.  What does this mean?

    When Installing Windows 7 using Bootcamp, I get message:  "Need 64 bit Windows installation USB drive or DVD."  What does this mean?

    It means you need the 64 bit Version of Windows on a USB stick or DVD.

  • IMacs can boot Linux or Windows from usb stick

    iMacs 21' can boot Linux or Windows from usb stick? from Firewire 400 or 800 hdd/ssd? from USB HDD/SSD?
    May boot fromCD/DVD/DVDDL in internal DVD DRIVE, too?
    Exist Blu-ray drives able connect on Thunderbolt slot on iMac 21'?

    Here is the memo of the steps I followed. Hope this helps.
    <Create VHD image in temp folder at local drive>
    diskpart
    create vdisk file=C:\Temp\Win2go.vhd maximum=20480 type=fixed
    select vdisk file=C:\Temp\Win2go.vhd
    attach vdisk
    exit
    <Create partition in VHD, format in NTFS and assign drive letter "O">
    diskpart
    list disk
    select disk n (n is a number of VHD)
    clean
    create partition primary
    format fs=ntfs quick override
    assign letter=o
    active
    attribute volume set NODEFAULTDRIVELETTER
    exit
    <Execute "DISM" utility in Windows DVD and extract installer image to VHD>
    G:\sources\dism /apply-image /imagefile:G:\sources\install.wim /index:1 /applydir:O:\
    ** "G" is drive letter for Windows DVD
    ** "O" is drive letter for VHD partition
    <Write boot program into VHD>
    O:\windows\system32\bcdboot O:\windows /f ALL /s O:
    ** "O" is drive letter for VHD partition
    <Detach VHD>
    diskpart
    select vdisk file=C:\Temp\Win2go.vhd
    detach vdisk
    exit
    <Format USB thumb drive in NTFS>
    diskpart
    list disk
    select disk n (n is a number of USB thumb drive)
    clean
    create partition primary
    format fs=ntfs quick override
    active
    exit
    ** "E" is drive letter for USB thumb drive
    <Write loader into boot sector>
    G:\boot\bootsect /nt60 E:
    ** "G" is drive letter for Windows DVD
    ** "E" is drive letter for USB thumb drive
    <Copy VHD file to USB thumb drive and mount>
    copy C:\Temp\Win2go.vhd E:\
    diskpart
    select vdisk file=E:\Win2go.vhd
    attach vdisk
    exit
    <Write boot info into USB thumb drive>
    F:\Windows\system32\bcdboot F:\Windows /s E: /f ALL /v
    ** "E" is drive letter for USB thumb drive
    ** "F" is drive letter for VHD partition on USB thumb drive

  • Need 64-bit Windows installation USB drive or DVD.

    I tried downloading Windows 7 on my MacBook Pro (Retina, 13-inch, Late 2013) using a Window 7 installer dvd(Windows 7 Professional) and Bootcamp Camp Assistants (Version: 5.1.2), but this keeps coming out. What should I do to continue my installation?

    What does the previous screen look like? Here is my sample screen which has my specific defaults.

  • How to Create a Windows 7 USB install disk

    If you want to install Windows from a USB drive, you'll need the Boot Camp Assistant (version 4.0.1) and a MacBook Air. I don't know why it won't let you do it on other Macs and MacBooks (the option still shows up, only it's greyed out) - if you made it work on anything other than a MacBook Air, let me know how you did it. So, besides that, you also need an empty USB drive and a genuine Windows ISO file.
    However, if in your case the Windows USB creation option is greyed out, this is what you can do:
    You create the Windows installation USB, using one of these two ways (I used the first one):
    http://technet.microsoft.com/en-us/magazine/dd535816.aspx
    http://www.microsoftstore.com/store/msstore/html/pbPage.Help_Win7_usbdvd_dwnTool
    You create the Windows partition with BCA.
    In System Settings, you choose the newly created BOOTCAMP partition as the startup disk and restart your Mac.
    Have your Windows USB inserted before your Mac restarts.
    As soon as your Mac boots from the BOOTCAMP partition, it should start loading Windows Setup from the USB drive.
    I have an early 2009 MacBook and these steps worked for me. It's a workaround... but it works. Let me know if it worked for you.
    * If none of this works for you, there is another workaround, using 3rd party software (rEFIt). However, I don't recommend using it, unless you know what you're doing.
    * Disclaimer - This info comes as is and I do not guarantee that it will work for you. Nor do I guarantee that it will not cause any malfunction to occur on your Mac computer.

    you restart your mac and as soon as it boots up (usually you hear the dvd making a noise, or the gong sound), you hold down the Alt key until you see a screen that shows you all the partitions/drives you can boot from. you select the boot camp one, while the windows usb installation disk is inserted and it should boot up from the usb. it worked for me, but I can't guarantee it will work for you too... depending on your model. mine is an early-2009 macbook.

  • How to access files in USB stick when installing from it?

    I have prepared my installable USB stick (8G) from Arch 2009.02 ISO file, and copied some configuration files to the USB stick. Everything looks well.
    After the Arch installation (not reboot yet), I want to access my configuration files on the stick, but I just cannot find them. Where has my USB stick been mounted to, and how can I read the files on it?
    I am confused...:rolleyes:

    lilsirecho wrote:To mount your USB stick you can mount it as root.  Using sd(x) as an example, mkdir /mnt/sd(x) in /mnt...
    Of course I tried this, but failed. Well, maybe what I said above is not explicit enough. I mean:
    1. the USB stick is just the installable USB stick I used to install Arch;
    2. not mounting the USB stick on the system I've installed, but just on the live arch linux OS that the installable USB stick introduced.
    After all, I was booting from the USB stick, so it may have been mounted. In fact, I can find it by:
      # cat /proc/mounts
    In the output, my USB stick is /dev/sdb1, and the mounted directory is /bootxxx (not remembered, sorry), but I JUST cannot find this directory. So I was confused.
    lilsirecho wrote:...Confused here that you used an .iso to generate a USB stick installer when the download archlinux-2009.02 is available in .img format for both i686 and X86_64...
    Yes, I know there's an IMG file for USB stick. But I don't want to use it, because after I use "dd" command writing the IMG file to the USB stick, the stick became the same size (about 330Mb) as the IMG file. Then how can I copy some other files into this 8G USB stick?
    So, I used archlinux-2009.02 ISO file. I prepared my USB stick by cfdisk, and formated it. I mounted the ISO file to some directory (using abc as an example), and copied all the files in abc to my USB stick, then installed grub on it. Finally, an installable 8G USB stick was made.
    Last edited by cwjiof (2009-02-19 09:24:29)

  • Problems installing Windows 7 from a USB stick

    I have got a brand new W510 that i am doing a clean install of Windows 7.
    However i have faced major problems with installing from a USB stick attached to the W510.
    Please notice that there isn't any problem installing Windows 7 to my other PC from this USB stick, this problem is only present with W510.
    I have the BIOS from Lenovo v 1.35, Bios settting are reset to default to isolate any faulty settings.
    In the readme file the say they have fixed some USB detection problems by Windows. bug still present??
    Version 1.35 (BIOS ID: 6LET74WW) [for BIOS ID 6Lxxxxxx-based computer]
     [Problem fixes]
    - Fix an issue that a USB device is not recognized by Windows connecting
    to USB 3.0 port.
    Below is picture of the problem.
    First i choose to boot from my USB Stick Sandisk Cruzer which Windows 7 files are placed, i know these files and the USB stick works with my other computer.
    Picture 1
    Next step when it boots
    Picture 2
    I press Install Now
    Picture 3
    This warning message comes up, can't find driver device
    Picture 4
    I click browse and try to find my USB stick, none of my USB sticks are listed, is this a Lenovo BIOS bug or Windows 7 Installation detection problem??
    Picture 5

    I think you need to fix your links, you seem to have maybe copied the post from another board / forum, the link style you have inserted doesn't work here.
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • [Guide] Windows 8.1 PRO RTM clean install on Yoga 13 from a USB Stick

    Hello everyone,
    I recently installed Windows 8.1 Pro RTM successfully so I thought it may be useful to share the steps here.
    Disclaimer: Please proceed with caution. I'm not responsible for any gain, loss, or harm done to you, your device, or your data.
    Link to picture
    Pre-requisites:
    1- Windows 8.1 RTM ISO image. (Available on the internet)
    2- Windows 8 Pro license key. (Yes, It works with 8.1 also)
    3- Windows 7 USB/DVD Download tool
    4- Lenovo Yoga 13 Windows 8 Drivers
    5- USB Stick or HDD with at least 4GB space. (Note: All data on disk will be erased)
    Steps:
    1- Important: Take a full backup of HDD.
    2- Plugin the USB disk then open Windows 7 USB/DVD Download Tool.
    3- Point to WIN8.1 ISO image path and wait for the wizard to finish.
    4- After the wizard completes succefully, keep the USB stick plugged in and then restart the device in UEFI mode.
    ( + C -> Settings -> General -> Advanced -> Restart now -> Use a device -> USB UEFI Device).
    5- It shall boot from the USB device and begin Windows setup wizard.
    6- Specify the preferred language and enter the license key and choose advanced installation.
    7- In disk allocation wizard, delete partitions with the following labels: LENOVO, WINRE_DRV, SYSTEM_DRV
    (Warning: Don't erase partition labeled PBR_DRV as this will erase the Lenovo recovery drive).
    8- Select the resulted unallocated space (should be around 106 GB) and click next.
    9- Now wait until Windows completes installation.
    10- Customize Windows, install Windows drivers downloaded earlier and restore your backup.
    11- Voila, shall you encounter any problems don't hesitate to ask me.
    Moderator note; picture(s) totalling >50K converted to link(s) Forum Rules
    Solved!
    Go to Solution.

    Sorry, forgot to mention that in order to boot from UEFI the flash drive must be formatted as FAT32. Windows USB and DVD tool supports only NTFS, So after creating the bootable image, copy all the files from the flash drive to the HDD then format the flash drive as FAT32 then copy the files back from the HDD to the flash drive. The flash drive will still be bootable.

  • Can I install Windows 7 from a USB stick even though I have the Superdrive?

    I have an iMac 21.5inch from Mid 2010 and it currently runs Snow Leopard 10.6.8. I have just purchased the upgrade to Mountain Lion but I have not received the code to install it yet. When I do install it, I'm planning to dual boot my iMac to have Mountain Lion and Windows 7 on it. I have the Superdrive built into the side of the iMac but unfortunately I have run out of discs to burn the official Windows 7 ISO into (from Digital river). The discs cannot be rewritten on because it's a DVD-R so I was wondering if I could install from my 8GB USB stick even though I have a built-in Superdrive. I heard there's an option to do this and I was also wondering if by doing this option, will it automatically put the Windows support software onto it as it says on the second option "Download Windows Support ....."
    Also, I have heard my specific iMac can experience a black screen when installing Windows and you need to download some stuff and put it in your USB as it says on the article. Is it possible for me to make my USB bootable by doing the first option in the Bootcamp Assistant as well as put the Windows support software I downloaded from the black screen article into it?

    Read the Boot Camp Installation Manual http://manuals.info.apple.com/en_US/Boot_Camp_Install-Setup_10.6.pdf.

  • Recovering a usb stick after installation

    hi all,
    i did an usb installation of arch 64 and now would like to have my stick back .
    I cannot mount it neither in vista nor linux. I tried this:
    http://www.bytetrap.com/blog/2009/04/13 … rch-linux/
    but fdisk complained
    I then did mkfs.vfat /dev/sdb1 as said on the website and then I can only acces 160mb of my 4 gig stick.
    Any solutions?
    I did the install of the img on the usb stick like posted on the wiki:
    dd bs=8M if=image.img of=/dev/sd[x]
    edit: it was fdisk that was complaining not fsck
    Last edited by rubend (2009-05-01 18:00:30)

    Using windows is probably not necessary. Saying fdisk complained without providing details is wasting everyone's time. As we say in #archlinux:
    Post the exact, verbatim error message. Paraphrasing, reciting from memory, or otherwise being vague will earn you a swift boot to the head.

  • "Your bootable USB drive could not be created" "Boot Camp only supports 64-bit Windows installation on this platform. Please use an ISO file for 64-bit Windows installation."

    I try to install windows7 system on my macbook air, which version is 10.8.5. When I open the bootcamp, it let me to choose a windows ISO image, which I've already downloaded from this website: http://www.w7forums.com/threads/official-windows-7-sp1-iso-image-downloads.12325 /, it also asked me to select a USB drive, which is kingston that has 8GB. Then when I clicked "continue", it said that "Your bootable USB drive could not be created" "Boot Camp only supports 64-bit Windows installation on this platform. Please use an ISO file for 64-bit Windows installation." But actually the ISO image I downloaded is 64-bit windows7. I don't know why this would happen. Could someone help me please!!

    Thanks for your feedbakc Kiranjj!
    I identified the reason to be that the W8 installation file didn't download completely from a Mac OS-device. I downloaded from another Win-device and the moved the installation file with a USB-stick and then everything worked diectly! But thanks anyway.

  • [SOLVED] Installation on UEFI from usb stick

    Greetings,
    I'm trying to figure out this uefi thing and install arch on my laptop.
    I swear, I've been trying so many times now that I have a headache. My girlfriend too because of all my ranting.
    I downloaded the latest arch iso and "burned" it to a usb stick (my laptop lack a cdrom).
    I booted with the first option and went through the whole installation progress to the grub installing part MANY times before realizing I was doing it all wrong and I had to start from a UEFI shell.
    Now I started from the UEFI shell and I just have no idea what I'm doing, the beginner guide doesn't seem to explain this.
    I should probably wait until my headache pass and I'm fresh and ready to start over but I'm one stubborn guyif there is one and I had enough of failing, I want it to work.
    What do I do from the UEFI shell?
    Do I have to reinstall everything from scratch, partitioning and all or I can just get back to the part where I have to install grub? What do I do?
    Thanks in advance and sorry if I'm asking stupid questions or something but, honestly, I failed so many times that my frustration is seriously high.
    Last edited by arkindal (2013-08-13 23:13:11)

    Hi,
    this is basically what I followed and it worked for me:
    make an archlinux uefi usb stick (it's a bit different than a normal one). Use a live ubuntu cd or something, so you don't have to use windows:
    #format your usb key on /dev/sdXY to fat32 (replace XY with the right device, in the following code too)
    sudo su
    wget http://mirror.us.leaseweb.net/archlinux/iso/2013.08.01/archlinux-2013.08.01-dual.iso
    mkdir -p /mnt/{usb,iso}
    mount -o loop archlinux-2013.08.01-dual.iso /mnt/iso
    awk 'BEGIN {FS="="} /archisolabel/ {print $3}' /mnt/iso/loader/entries/archiso-x86_64.conf | xargs mkfs.vfat -F32 /dev/sdXY -n
    mount /dev/sdXY /mnt/usb
    cp -a /mnt/iso/* /mnt/usb
    sync
    umount /mnt/{usb,iso}
    full instructions here: https://wiki.archlinux.org/index.php/Un … B_from_ISO
    now you have the instalation usb ready.
    When I did this, i could still go to choose my boot device and i had a normal usb key boot option and an uefi shell usb key option, see if you have something like that to be sure you have the uefi boot. you should see an uefi shell and it should boot automatically as a normal archlinux live usb. if it doesn not (happend to me before) run ./start.sh or something like that (it should say in the uefi shell what to run). If that doesn not work, then the uefi usb key didn't work.
    okay if you've successfully booted the uefi usb you have to format your drive so it has the uefi boot partition mounted inside the grup folder, so there has to be a ef00 partition on the begining
    This is my actuall install script, it will wipe your drive, make 5 partitions (uefi boot, boot, swap, root, home) and then mount them, install arch and then chroot into that
    modprobe efivars
    #configure this as you wish
    SWAPSIZE=4G
    ROOTSIZE=50G
    DRIVE=sda
    #these two lines are horrible, you could manually use gdist and format the drive as you wish, as this will just wipe it clean and make the partion table that I have.
    dd if=/dev/zero of=/dev/$DRIVE bs=1M count=1k
    echo "2\no\ny\nn\n\n\n+100M\nef00\nn\n\n\n+100M\n\nn\n\n\n+${SWAPSIZE}\n8200\nn\n\n\n+${ROOTSIZE}\n\nn\n\n\n\n\np\nw\ny\n" | gdisk /dev/$DRIVE
    mkfs.vfat -F 32 /dev/${DRIVE}1
    mkfs.ext2 -L boot /dev/${DRIVE}2
    mkswap -L swap /dev/${DRIVE}3
    mkfs.ext4 -L root /dev/${DRIVE}4
    mkfs.ext4 -L home /dev/${DRIVE}5
    swapon /dev/${DRIVE}3
    mount /dev/${DRIVE}4 /mnt
    mkdir /mnt/home
    mount /dev/${DRIVE}5 /mnt/home
    mkdir /mnt/boot
    mount /dev/${DRIVE}2 /mnt/boot
    #this is the magic uefi part for grub
    mkdir /mnt/boot/efi
    mount /dev/${DRIVE}1 /mnt/boot/efi
    pacstrap /mnt base base-devel zsh
    genfstab -U -p /mnt >> /mnt/etc/fstab
    arch-chroot /mnt
    After doing that, you have can install the system as you wish and for the grub I do this:
    I had problems a few times if i copy pasted all these lines at once, so now i copy paste them one at a time, (I know it should not make a difference but still, sometimes it didn't work)
    # i do this in chmod too, though I'm not sure if it's really necessary
    modprobe efivars
    mkinitcpio -p linux
    echo "installing efi grup thingy"
    pacman -S --noconfirm efibootmgr grub-efi-x86_64
    grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck --debug
    mkdir -p /boot/grub/locale
    cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
    grub-mkconfig -o /boot/grub/grub.cfg
    and this is all i have in my install script file and uefi works fine.  I hope you'll get it running soon
    Last edited by zidarsk8 (2013-08-09 00:25:20)

  • Windows 8.1 Pro won't boot without USB Stick

    Please HELP! I bought a Thinkpad e555 without OS, created installation media for Windows 8.1 in a 64Gb USB stick. When the installation was finalized, I followed the instruction of removing the stick after restarting. After powered on, black screen for hours. Put the usb stick back and Windows booted, finalized the installations and configurations, and started normally. So I started with all of the drivers downloads and installation. So I removed the usb thinking that everthing was ok. But when a restarted it, it wouldn't boot until I restarted it with the usb plugged. Complained with the retailer and sent me a new one. Now I'm trying the installation all over again using a 16Gb USB stick. The same, the OS won't boot without having plugged the USB that I used for installation. What am I doing wrong? Note:NTB LENOVO TP E555 20DH000WGEAMD A8-7100, 4GBx1, 15.6" HD, Black, AMD R5 HD Grafik, 720p CAM, 500GB7200, DVD±RW, RTL bgn+BT, Numpad, No Fingerprint, Akku 6Zellen (48wh), None Preload OS   

    I have this problem on E455. Both in 8.1 Pro.It was after a driver update, but not sure which one.It doesn't what USB device is attached, just so long as there is one.

  • Windows 7 doesn't release USB stick - can't safely remove USB stick

    Sometimes when I'm trying to safely remove an USB stick formatted with NTFS from any Windows 7 installation, Windows 7 refuses to release the USB device.
    This occurs on host machines as well as on VM guest machines. When I'm attaching the USB stick to a virtual machine (VMware Workstation) and when this effect occurs in there I can see from Workstation's device manager that the USB stick is getting accessed
    once every (approx.) five seconds. The USB stick shortly flashes up accordingly then, so there is indeed some access to the USB stick.
    Now, this doesn't happen all the time. This effect only occurs, say once or twice a week.
    Waiting for 5 to 10 Minutes, the low-frequent regular short flashing finally stops and I can safely remove my USB stick then.
    Well, what I want to know: Which Windows service is sometimes accessing my USB stick in this manner?
    This happens on several machines, some of them having almost no software installed.
    When exploring the file handles with SysInternals Process Explorer, there's only a Windows Explorer handle attached to the USB device.
    I suspect it might either be Windows Defender (having Search Removable Devices enabled), Windows Search or Windows Defragment. But this is only a guess.
    Can anyone please enlighten me on which service is capturing my USB device for such a long time, keeping me from safely removing the USB device?
    Microsoft Marketing should care for customer feedback on their consumer products, e.g.
    Windows & Office.
    Have had Windows 8 …  went back to Windows 7.

    Hi,
    We can use USB parser in WDK8 or 8.1.
    To install USB ETW parsers:
    1.Determine whether you have 32-bit Windows or 64-bit Windows: ◦Open the Start Menu.
    ◦Right click Computer and select Properties.
    ◦Look at the System type field. (Note: 32-bit corresponds to “x86” for the downloads).
    2.Install Netmon:
    ◦Go to the bottom of the Quick details on the Netmon 3.4 download page and press the Download button for your system type.
    ◦Download and run the exe. When it asks about setup type, Typical is fine.
    3.Download and install the Windows Driver Kit for Windows 8.
    4.Allow execution of PowerShell scripts:
    ◦Open the Start screen, type "powershell", right click on the Windows PowerShell result, and select Run as administrator.
    ◦Type or paste the following command:
    Set-ExecutionPolicy RemoteSigned -Force
    4.Close the PowerShell window
    5.Open a PowerShell window (you don't need to Run as administrator) and run the following commands. Adjust the path if you installed the kit to a different location:
    cd "C:\Program Files (x86)\Windows Kits\8.0\Tools\x86\Network Monitor Parsers\usb"
    ..\NplAutoProfile.ps1
    Now you're set up! You can now launch Netmon and open an .etl trace by selecting File -> Open -> Capture.
    You can also use OneDrive to upload the trace file in forum so that we can help you analyze your problem.
    If you have any feedback on our support, please click
    here
    Alex Zhao
    TechNet Community Support

  • Can I install Windows 8.1 as Bootcamp partition from OSX Mountain Lion using a USB stick?

    I have the following:
    Bootable USB stick with Windows 8.1 - 64 bit
    MacBook Pro with Mountain Lion 10.8.5 - it's probably 3-4 years old.
    The Bootcamp partition currently has Windows 7 installed.
    I want to know whether I can install Windows 8.1 from a USB stick into a Bootcamp partition. Apple's article on the topic refers to Bootcamp 5.1, but my OSX install has Bootcamp 5.0 - I am assuming 5.1 comes with the Mavericks version.  I don't want to upgrade to Mavericks because I am running out of space as it is on the OSX partition.
    Thus my question. So can I?

    Your laptop has a DVD drive, right? If so you need to burn your ISO to a disc, will not work off USB

Maybe you are looking for

  • Itunes cannot find any of my devices when connected

    itunes cannot find my devices when i connect to my pc

  • How to output strings to an text file and excel file

    Hi guys, I am writing a simple application taht process some string inputs from user using a simple GUI. The GUI consists of a series of textfields which the user can enter names, age, addresses....etc Once they complete filling up that GUI form, the

  • GL account against Material group- For service procurement

    Hi, I have created a Service master, and assigned some material group. At entry aids settings in customization i have linked this material group with a Valuation class. At OBYC settings I linked this valuation class for GBB VBR combination to GL acco

  • Xbox Live Nat problem

    Hi guys, I searched around the forum and did the port forwarding, Dmz, UPnP and all that other stuff and it still comes up as moderate. I am wondering if I am doing something wrong or it is because my internet provider is Charter which runs on a priv

  • Using intel iMac OS 10.6.8 when streaming progress stops and will not continue

    When streaming a video there is progress bar that is gray and moves to the right in advance of the small vertical bar that shows the position of the program at that moment. Sometimes the grey bar stops moving then when the vertical bar reaches the en