banner



How To Install Windows 10 Over Vista

Here is how to create a bootable USB wink drive to install Windows Vista, Windows 7, Windows 8, Windows 8.i and Windows ten on any computer. Legacy BIOS and UEFI are supported.

Ubuntu has already an application called Startup Disk Creator, but this can but be used to brand Linux bootable USB drives. To brand a Windows bootable USB at that place was an application called WinUSB but it is no longer under agile development. The following guide has been updated and works on any Linux distribution equally long as it has GRUB and GParted installed and tin make bootable USB for any Windows version newer than Vista: Windows Vista, Windows 7, Windows 8, Windows 8.1 and Windows ten. UEFI boot is just supported for Windows 7 x64 and newer.

Before starting, let'due south mention that there are two types of kick methods. At that place is the MBR lawmaking type where the bootable executable is stored in a reserved section at the kickoff of the storage device. And at that place is the EFI type, where the kick loader executable file is stored at a standard path in an FAT32 filesystem. You must determine in advance what you will use. At that place are some variables for each boot blazon. If you have no idea what to apply, the most mutual setup that works with unmodified Windows sources, is msdos partition table with fat32 filesystem and flag the partition with kicking. In this fashion you will get both an MBR and UEFI bootable drive.

The latest Windows release tin can be downloaded from Microsoft every bit an ISO prototype. The ISO download page is available to non-Windows users. Otherwise, you are directed to download Media Cosmos Tool, which is Windows simply software.

Make a bootable Windows USB from Linux (Ubuntu)

Partition tabular array Filesystem Partition flag
MBR bootable msdos ntfs / fat32 boot
UEFI bootable msdos / gpt fat32 boot / msftdata *

* msdos should be flagged with kick and gpt should be flagged with msftdata.

UEFI can only kicking FAT32 drives! If you need to make an NTFS UEFI bootable flashdrive to remove the 4 GB maximum file size restriction of FAT32 see this: UEFI NTFS: Bootable Windows USB from Linux. There is besides a video version of what is about to follow.

Format USB bulldoze

This is the first stride. GParted has a dainty GUI and it is easy to use for this. So, plug in your USB flashdrive and start GParted (root permissions required). Select the USB drive and unmount information technology, otherwise yous won't be able to format information technology. Richt click on the mounted partition from the selected device and select Unmount in the context carte du jour.

Warning! Selecting the wrong device volition result in information loss!

GParted main window screenshot emphasizing device

GParted master window. The first thing to do is select the USB drive and unmount it.

You must re-create the segmentation table by going to the Device carte then select Create Partition Table. Choose msdos (or gpt if yous want an UEFI only bootable drive) and click Apply.

GParted - Write a new partition table on the device

Write a new sectionalization table on the device

Right click the unallocated space and select New. Make a primary NTFS or FAT32 partition and requite it a label too. The label must be as strange equally possible because the bootloader will place the bootable sectionalization by this and you should not utilize windows (like I did in the video)! If the filesystem is FAT32 use only capital letters. For example: WUSB1840 would be a skilful label (W for Windows, USB for USB flash drive and 18:40 is the time I was writing this). Think the label as you will need it later on.

If you have a customized Windows with install.wim larger than 4 GB you lot should definitely become for NTFS. Otherwise, if you choose FAT32, you could get the flashdrive bootable from UEFI too.

GParted new partition dialog

New partition dialog

Use all pending operation from Edit menu - Use all operations or click the button on the main window. Correct click the division and choose Manage flags. If y'all chose the msdos sectionalization table tick boot. If you chose the gpt segmentation table, msftdata should already exist checked and yous don't have to practice anything.

GParted main window - Apply button emphasized screenshot

The Use push button from the principal window of GParted

Copy Windows files

Quit GParted and use the file manager to re-create all files from Windows ISO to USB stick. Mount the ISO using Open with - Disk Epitome Mounter (if you use Nautilus as a file director). If that fails you can use Furius ISO Mount and loop-mountain the ISO. Select all files Ctrl+A and Copy to USB drive which will be automatically mounted when you lot click on information technology at /media/<username>/<drive_label>. After the re-create process is finished, expect in the USB root folder for the boot directory. If it is capital, rename it to lowercase.

Make information technology bootable

If you used NTFS filesystem and MSDOS table, only method A is bachelor. If y'all used FAT32 and MSDOS table, y'all can use method A, B or both. If y'all used GPT partition table, but method B should be followed.

Method A: MBR bootable

GRUB will be used for that. Open up a Concluding and run:

sudo grub-install --target=i386-pc --kick-directory="/media/<username>/<drive_label>/boot" /dev/sdX

Replace:

  • /media/<username>/<drive_label> with the path where USB drive is mounted;
  • /dev/sdX with the USB bulldoze, not the partition (e.one thousand. /dev/sdb)

Alert! Selecting the wrong device (/dev/sdX) may outcome in bootloader abuse of the running operating system!

Wait for it to end. If everything is OK, you should encounter:

Installing for i386-pc platform.   Installation finished. No error reported.

Now, create a text file and write the following in it:

default=1   timeout=15 color_normal=light-cyan/night-gray menu_color_normal=black/light-cyan menu_color_highlight=white/blackness   menuentry "Start Windows Installation" {     insmod ntfs     insmod search_label     search --no-floppy --set up=root --label <USB_drive_label> --hint hd0,msdos1     ntldr /bootmgr     boot }  menuentry "Boot from the first hard bulldoze" {     insmod ntfs     insmod chain     insmod part_msdos     insmod part_gpt     set root=(hd1)     chainloader +1     kick }

Replace <USB_drive_label> with the label you gave it when you formatted the drive (you tin can place information technology between quotes if it contains a space, although it is not recommended to use spaces in bulldoze label). Save the file as chow.cfg and put information technology on the USB drive in the boot/grub binder. That'south it. The USB drive is now bootable from BIOS and can be used to install Windows on your PC. The kickoff fourth dimension y'all kick from it in MBR BIOS or CSM mode select Start Windows Installation.

Method B: UEFI bootable

Non all Windows versions are supported. Windows seven on 64 bits, Windows viii and newer versions should work. Later the copy procedure is finished, expect in the USB root folder for the efi/boot directory. If there'south a bootx64.efi or bootia32.efi file there, then you're done. You can boot from your USB in UEFI style.

If the Os y'all are making a bootable USB for is Windows 7, browse the efi/microsoft binder and copy the entire boot folder from this path one level upwards in the efi folder. Merge folders if boot already exists. Hither is what to do if you don't have the bootx64.efi file in efi/kicking folder. Browse the mounted Windows ISO image into the sources folder. Open install.wim (or install.esd) with your archive managing director (y'all will need 7z installed). Become to the path ./one/Windows/Boot/EFI and excerpt the file bootmgfw.efi anywhere you want. Rename it to bootx64.efi and put it on the USB drive, in the efi/kick folder. If you can't notice bootmgfw.efi in install.wim then y'all probably accept a 32 fleck Windows ISO or other types of images (recovery disks, upgrade versions).

You can at present boot from your USB in UEFI style.

Errors

1. modinfo.sh doesn't exist

grub-install: fault: /usr/lib/chow/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.

Install the grub-pc-bin package with sudo apt install chow-pc-bin and run the chow-install command again.

two. Embedding errors

If yous go embedding errors (something like filesystem '10' does not support embedding or Embedding is not possible), be sure y'all are installing GRUB to USB device and not USB division. Nearly likely you typed /dev/sdb1 instead of /dev/sdb (sdb is just an example here). If it notwithstanding doesn't work, try zeroing the USB bulldoze (at to the lowest degree some sectors at beggining) or use a different USB flash drive.

3. Blocklists

Sometimes, Grub will not install on some flash drives. Endeavor to forcefulness information technology by adding --forcefulness argument to the chow-install control.

4. Alternate root segmentation selection

The root partition selection may fail if your USB wink drive sectionalization has the same label every bit i of the partitions on the target computer. The all-time way of setting the root sectionalization is past UUID. Launch over again GParted and select the USB flashdrive. Right click the partition and select Data. Note the UUID field.

GParted partition information UUID

Partition UUID

In grub.cfg, supplant the line:

search --no-floppy --set=root --label <USB_drive_label> --hint hd0,msdos1

with:

insmod search_fs_uuid search --no-floppy --fs-uuid --fix root <drive_UUID>

where you will replace <drive_UUID> with the UUID you got from GParted.

Still getting errors? If you want an useful answer, please postal service a comment with the complete grub-install command and the error bulletin.

Links

  • Grub2/Installing. Ubuntu Documentation, Customs Help Wiki.
  • Installing Grub using chow-install. GNU GRUB Manual 2.00
  • search control. GNU GRUB Manual 2.00
  • GRUB bootloader - Full tutorial. Dedoimedo.com
  • Curtis Gedak. GParted Transmission.
  • Manjaro Wiki. Some basics of MBR v/south GPT and BIOS v/s UEFI
  • Manjaro Wiki. UEFI - Install Guide
  • eightforums.com. How to Create a Bootable UEFI USB Flash Bulldoze for Installing Windows vii, Windows 8, or Windows 8.one
  • Rod Smith. A BIOS to UEFI Transformation
  • Daniel B and duDE answers on Do (USB) drives need a primary kick record to boot in UEFI way? available at SuperUser.com (CC-By-SA 3.0)
  • Thomas Krenn. Creating Windows UEFI Boot-Stick in Windows
  • Wikipedia. UEFI Booting
  • Wikipedia. UEFI System Partition
  • Jonathan de Boyne Pollard. The EFI boot process
  • TheNetZ. Respond on Can I use Ubuntu to write a Windows seven ISO to USB? on Askubuntu.com (CC-By-SA 3.0)

Source: https://www.OneTransistor.eu/2014/09/make-bootable-windows-usb-from-ubuntu.html

Posted by: grossmucas1961.blogspot.com

0 Response to "How To Install Windows 10 Over Vista"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel