24.12.2020»»четверг

Install Grub2 On Usb Drive From Windows

24.12.2020
Install Grub2 On Usb Drive From Windows Rating: 3,9/5 4152 votes

MultiBoot Utility is a lightweight utility designed to help you install Grub2 on USB and hard drives. In addition to installing the latest features of the tool, it also provides you with various. Before installing openSUSE to your external hard disk, you might want to check if your computer boots from USB. To make sure if your computer can load GRUB from a USB disk, you can download and install Super grub disk to a USB thumb drive. Super grub disk can be obtained from there website. Do not use the Super grub2 disk. Non portability. How do you install Grub2 on a bootable USB stick? Somewhere I've heard that Grub2 can boot directly from '.iso' images, so I'm hoping Grub2 will make it easy to drag-and-drop several 'liveCD' iso images onto a bootable USB stick and try them out.

Yesterday, I had to rescue a broken Ubuntu 14.04 installation by booting from USB. Unfortunately, I was unable to get into the BIOS to change the boot order (because of a BIOS password and a bad memory).

Fortunately, since I was able to get to Grub, it was still possible. Here’s how I did it:

  • Create a bootable USB drive (using something like Startup Disk Creator. Before taking the drive out, locate where the vmlinuz and initrd.* files are located. You’ll need them later.
  • Insert the USB drive and boot the system. When you get to Grub, press c to get to the ‘command-line’ option.

Here is where it gets a bit tricky. In my case, I knew the root partition on the USB disk was /dev/sda1, yours may vary.

Since Grub uses a slightly different device mapper, let’s use it to find the partitions:

This will show you the available devices. In my case, the relevant partition was (hd1,msdos1). Now, let’s use this information, along with our knowledge of where the vmlinuz and initrd files are to boot the system:

That’s it. You should now be able to boot straight into Ubuntu. This should even work if your BIOS doesn’t support booting off of USB.

You can use these instructions to create a bootable USB drive with GRUB that can run the Windows 10 installer. I used Arch Linux to prepare my USB device, but any Linux variant like Debian or Ubuntu should work.

I am assuming you have an appropriately large USB disk at /dev/sdz that you can completely erase for this process.

Unmount the USB drive if mounted.

Install Grub2 On Usb Drive From Windows

Wipe all partitions from the USB device.

Use sfdisk to create two partitions. The first partition will be a 500MiB bootable (*) Linux partition and the second partition will be an ntfs partition (7/lion-king-game-free-download-for-mac.html. ) that takes up the remaining space.

Format the first partition, /dev/sdz1 as ext4.

Format the second partition, /dev/sdz2 as ntfs.

Mount /dev/sdz1 somewhere local. In my case, I am using /mnt/part1.

Mount /dev/sdz2 somewhere local. In my case, I am using /mnt/part2.

Mount your Windows 10 installation ISO. In my case, I am mounting it at /mnt/win10.

Install grub to the ext4 partition (sdz1). This command provides a minimal GRUB install inspired by an Arch Linux article.

I will admit I don't entirely know what each module here does, but I chose a minimal list that seemed to be needed for my configuration.

Install Grub2 On Usb

Create a grub.cfg GRUB configuration file at /mnt/part1/grub-boot/grub/grub.cfg. Here is a relatively minimal grub.cfg based on a fewarticles.

Copy Windows 10 installation files to the ntfs partition (sdz2).

Install Grub2 On Usb Drive From Windows 8

Sync files to the device. Depending on the speed of your device, this may take some time.

https://barnrenew811.weebly.com/blog/melodyne-studio-mac-free-download. Clean up. /numark-cue-virtual-dj-download.html.

Boot! You should be all set to go at this point.

If, when booting to Windows 10 from the USB device, you encounter an error saying this:

A media driver your computer needs is missing. This could be a DVD, USB or Hard disk driver. If you have a CD, DVD, or USB flash drive with the driver on it, please insert it now.

Install Grub2 On Usb Drive From Windows 7

Note: If the installation media for Windows is in the DVD drive or on a USB drive, you can safely remove it for this step.

Install Grub2 On External Hard Drive

then you may want to look at a Microsoft Community article addressing that issue. You may also want to verify that all the files copied properly during rsync or re-copy the files anyway just in case something was corrupt. You may also want to verify the integrity of the source Windows 10 iso file. Finally, I found that USB 2.0 drivers worked far more reliably for me than USB 3.0, and resolved that error when I encountered it on one of my machines.