How to write a USB stick with Windows. Creating a bootable Ubuntu USB stick from Microsoft Windows is very simple and we're going to cover the process in. Use your Ubuntu desktop to create a bootable USB stick that can be used to run and install Ubuntu on any USB-equipped PC. Brief: Tutorial to show you how to create a bootable USB of Ubuntu in Plugin the USB drive in the computer and run Universal USB Installer.
|File Size:||9.76 MB|
|Operating Systems:||Windows NT/2000/XP/2003//7/8/10 or MacOS 10/X|
|Price:||Free* [*Regsitration Required!]|
A bootable USB drive is the best way to install or try Linux. But most Linux distributions—like Ubuntu—only offer an ISO disc image file for. In this article, we will tell you how to make a bootable USB drive in Ubuntu using the built-in Startup Disk Creator application, UNetbootin and. To create a USB stick from which you can install Ubuntu, you must first Select the USB stick in the bottom box and click Make Startup Disk.
Your email address will not be published. Any suggestions? I changed the difectory to mnt and saw it was empty. Two, GRUB is not installed on the correct partition or the partitions you tell it to look for the kernels are wrong hint: Been for days trying to fgure out how to do this.. Hi there.
One more thing! Note down the the partition that contains the ESP filesystem. The process is different depending on the format of your root partition on the external hard disk. If you DID use btrfs, you made your life complicated. We need to mount the btrfs subvolume containing the root partition instead of the entire partition. The rest of the instructions are common, no matter if used btrfs, ext4 or something else. Right now our external drive has an empty ESP.
We need to put a bootloader in it to make it actually, well, bootable. First caveat: When you have an external drive it is critical that you use the —removable option in the last step.
Normally this not supposed to be used for permanently installed Operating Systems. Second caveat: However, we need the bootloader to boot that installation, leading to a Catch issue.
The solution is to run the bootloader installation through a chroot jail. The error is misleading! The actual problem, as I understand it, is that there is a discrepancy between the mounted device and the path to the chroot root. If you were not paying attention, you are not following the instructions step-by-step, you rebooted before this step or just came here directly looking for a solution to your problem about GRUB not installing look above for instructions on mounting the correct btrfs subvolume.
Now your external HDD is bootable.
Nice instructions. Here you are referring to the option in the ubuntu installation, right? I was talking about the UEFI firmware setting.
If you are using the precompiled Ubuntu kernel and bootloader they are signed and can work with Secure Boot. If your PC barfs a message about unsigned bootloaders, invalid signature or you get to simply stare at a black void, er, screen then this might be the case. So my question: Hi Alec!
You still need to fix the Windows boot section as I described. Moreover this is the same principle behind being able to repair a damaged UEFI partition without losing all the contents of your hard disk.
BitLocker is a very well thought out full disk encryption solution. Better be safe than sorry! Hi again. After a long time I came back to this. I think because the dirve is bitloked and I dont have the key to unlock it in recovery.
Anyhow since I forced the boot order in bios the machine was booting normaly just no longer finding the ubuntu on the SSD and the BCD looked normal. I followed the rest of your instructions and all is now working. If only Ubuntu had an install option that let you spesify where to put the grub!
Even if the automatic repair fails you can then go to the command prompt and do everything you need — the drive is now unlocked. Been for days trying to fgure out how to do this.. First the bootloader was installed on the PC harddisk, without me wanting it.. Finally read somewhere that Ubuntu only installs automatically EFI if partition is sda, since i am booting for a live usb to install in other, the media is always sdb..
Finally got my external SSD to boot. Hi, thanks for your write up. Or is it safe to do without having to worry about even wearing and write rates?
I assume the technology in the drive is different to old HDD or SSD and not necessarily designed for this type of use or is it all good? Wear leveling is a feature of the SSD itself.
The bus selection only affects maximum throughput, not wear leveling. Modern SSDs are designed to be used as the primary or only storage medium of a computer. If you use a flash drive your mileage will definitely vary and be much, much shorter.
Flash drives are not designed with a long write cycle in mind. They are also woefully inadequate in terms of speed. I tried installing Linux Mint on one of my external drivers and can confirm that i was able to install the OS successfully and also the grub install with the removable option fine with no errors.
Any one else faced similar issue? This seems to be a UEFI firmware issue. I never had any luck booting Linux off removable media with Secure Boot enabled. If you still have this issue you may want to use efibootmgr as root, e.
I have the same problem. Windows Boot Manager 3. Selecting Ubuntu does nothing. Initializing defaults. I just finished this procedure, and it works. It did take several hours for me to complete it because I and just getting started with Ubuntu Linux. This was located in the second to last bullet point in the procedure.
Do I have to start all over at the beginning of the procedure? Many thanks for the detailed procedure! No way I would have done the installation in this manner without the excellent procedure. Is this comment validated by N. Can I fix it now, after already booting from my external ssd? It tells bcdboot which boot loader formware technology to use: The default value is auto-detect. For most other people, though, this would be an unnecessary step with potential complications.
Do you think will be the same? Thank you in advance. Best regards. You still need to follow the instructions to reinstall the Linux bootloader in a way that makes it into a portable boot disk.
The least of my worries had been the keyboard. Using an external keyboard or mapping keys the hard ways had helped a lot. You may get iSight working if you have an old Mac. Forget about getting the SD card reader working. The touchpad was recognized as a 2 button mouse — no multitouch. External touchpad was simply not working. Magic Mouse was recognized as a very non-magical 2 button mouse. I do have a problem: I get The message: Apparently, I did something wrong.
I am using a computer with Windows 10 installed. I did execute the line: It seemed to work; I got no message after I executed it. Then, I continued with the remaining instructions. My system works fine with Ubuntu, but will not boot to Windows Can you suggest how I should fix this, please. Thanks, Jim Mc. Then I started over and redid everything from scratch just to make sure that my guide is accurate yup, it is.
I finally got back to this, and it works. Thanks for the procedure and the help. Set Windows first. Not a big issue, just a small annoyance that I can deal with. If Ubuntu is set to boot first, I do have the option to choose Windows, but if I then disconnect the SSD, I have to go into setup and change the first boot device to windows. It would be a tad more convenient if it would just skip ubuntu when the SSD is disconnected, or give the option to choose Windows or Ubuntu when the first boot device is set to Windows.
Since the only i8nstalled or available hard disk is the portable one, it will be installed as single boot without altering the disconnected internal drive.
Any comments. First of all you need to disconnect the internal hard drive which may not always be feasible or convenient. Secondly, most computers will freak out as soon as you unplug the USB HDD because the only and default boot disk disappeared. Thirdly and MOST important: I did and I was disappointed. So I spent two days, found instructions that work, wrote them down, formatted my HDD again, tried them again and only then did I hit publish.
Basically, if you see something written on this blog I have tried and use it myself. Thank you for these instructions. Yes, you understand correctly. You can create the bootable drive on any computer and have it boot on any other computer just fine.
Modern Linux is very smart about automatically detecting hardware and loading the appropriate drivers. Installing an operating system may change the default EFI boot entry in the system.
Create a bootable USB stick on Ubuntu | Ubuntu tutorials
Part of the solution addressed that issue. However im running into a boot issue. The first line is not an error, see https: At this point it should be throwing you to a shell. As told, run systemctl status boot-efi.
Do you know of any solution? Look at volume 2. Thanks for the reply! I looked up steps and it said I needed to include —boot-directory? In this case you need to list the subvolumes and mount them.
If your boot directory is a separate subvolume you have to mount it too. BTRFS always has subvolumes, even if you use one partition per volume. This cost me a day and some of my sanity as I explicitly say in the tutorial. Check that the UUID of the entry matches the reality of the partition table of your removable drive. Only after doing all of that should you follow the last two steps of this tutorial. Then GRUB will be seeing all the partitions, mounted to our chroot environment, and the fstab will tell it how to find those partitions at boot time.
Thank you! That fixed my problem! I fixed it and now it works! Also, yes. It does work on Secure Boot. Also, does this work on mac? I have windows, and is it possible to do cross-platform.
It should work on a Mac. I have only tried this on a MacBook Pro without issues. If anything, it was easier than getting it to work on Intel NUC. My newbie question is simpler: Check all your FAT32 partitions. Also note that they may not be in the first volume physical device! Many computers come with separate devices.
Sometimes you have two separate devices even though you have installed only one hard disk if that hard disk is hybrid an HDD and an SSD in one. Please note that whenever you use sudo you get into a child shell so you have to exit this first. That is to say, if you chroot and then sudo you need to use exit twice to get back to the original shell you started from. Hi there! Great tutorial. I want and will try this solution with a HDD plugged on Windows 10 laptop.
Making a portable full installation of Ubuntu on a USB HDD – vacances-06.info
My intention is not to have the Grub menu, that is, if I boot from the laptop disk, automatically boot Windows Is that possible? When you install Ubuntu it does replace Windows boot manager.
With this the author says the installation would not replace the Windows default bootloader. Is this accurate? To be precise, the rest of the instructions you posted from that article would have to be carried out every single time you want to boot to Linux. This is the exact opposite to user-friendly. Follow this at your own risk. I have not tested this method. Your mileage may vary. I thought the process would be simpler, not that your instructions are complicated. All you need is the fat32 partition and fireup boot-repair, the rest explains the UI at the Advanced tap.
I had already tried that, unsuccessfully. You can of course try your luck with boot-repair and if it fails just pout instead of using the free instructions someone posted on the Internet. Nobody likes an arrogant know-it-all asshat. Hi when I run: Hello, I followed all your steps. Please specify —target or —directory. Installig for ipc platform. Before, I did run the command: I did also all the steps above — except fix windows 10boot.
So the original EFI partition on emmc is destroyed. Just Ubuntu from external. Hi, found the mistake — missed one step, my bad — sorry for bothering with that. Embedding is not possible. GRUB can only be installed in this setup by using blockllist. I tried this https: This is second approach to this.
At the end of the process I get Ubuntu boot when I select to boot from the external HDD, but the only problem I have is that before the Grub Menu appears, the following error messages appear:.
And please make sure that you are careful with the disk and partition names. As I have written in a few comments above: So, the only thing you can do is start the process from scratch and this time be careful. I found the simplest way to install linux to a portable disk is to shut down the pc, disconnect all hard drives, boot from the usb, plug in the portable hdd, and go! No, you are wrong. Your solution only applies to machines you can tear apart and have non-soldered storage.
It also does not make a portable installation. If you plug in that drive on another computer or if you plug in a different mix of drives on your machine it will fail to boot. I will tell you everything that is wrong with what you wrote. For starters, you are missing the point that these instructions will be carried out primarily by people who have laptops which are a.
The biggest problem is that you are NOT doing a portable installation. I will give you an F-. Is it possible to use an efi bootloader manager like clover or rEFInd instead of using your solution? I guess you can always try? The method I found to be working and the exact steps to reproduce it is documented in the article you are commenting on.
Email me whenever you see this. Not to mention that everywhere else on the net remarks that this is simply impossible to accomplish. This tutorial is unbelievable in its accuracy and effectiveness! God Bless You my friend. Thank you ever do much!! You are the king in my book! Have a great day! The workaround is to do the following:. This replaces the Just initialized partition with a rebuilt data by the Microsoft command line tools.
I almost forgot…I was setting up external bootable for my Surface Book 2 with the target being Kali Linux Again, dev, you are a rockstar! This is amazing!!
How to Create a Bootable Linux USB Flash Drive, the Easy Way
My blog is typically three parts field notes and one part prose. I am for quality, not quantity. Please do let me know how Kali works on your Surface Book. Now, regarding the fixboot switch, it requires Administrator privileges. I have a Win10 bootable stick from Anniversary Update.
It is possible that MS changed something in between but I am incredulous. After all, how do you fix a bricked Windows installation if you are not allowed to fix the boot?! Your filesystem may have a problem and gets mounted read only. It only took me a few hours until I had the time to do that 2-minute search you could have done yourself.
Thanks everybody. Back then, we had a single tower with a P4 and a few gigs of ram. A 1gb swap area was enough to be very fast by comparison to the winpe. We had upgraded that one tower for a main software setup several times, as it ran ubuntu, winpe, and a full version of windows server , which we used for running everything.
One of the newbees tossed the machine on the garbage heap. Otherwise, working laptops with an i5 or better suffice. Your posts here were a great refresher, and an update in the use of EFI, thank you. ALL of you. They are less permanent than magnetic data at the moment, but are rapidly closing the gap.
They are meant for storage with fewer changes, but new drivers and controllers are allowing them to spread the workload out, stretching their lifespan. Cloud as a service lets somebody else worry about the maintenance, while you have constant access. At home, I use an HDD for my data, and an ssd for system. SSDs are definitely meant for permanent storage the last 8 or so years.
MLC flash storage suffered from electron bleed which could cause bit flips if the device was not powered on for over 1 to 3 years. Now, USB sticks are a different issue altogether. The flash storage used there is not even near the level of a modern SSD and yes, they are neither as fast nor as reliable. But putting them in the same basket as SSDs is just plain wrong.
Even disabling the Secure Boot, selecting the external HD in the boot menu, the system hangs in a black screen.
If you saw the GRUB menu the problem is probably that your hardware requires some kernel parameter.
3 Easy Ways To Create Bootable USB Media From ISO In Ubuntu Linux
Google search is your friend. Check the instructions above carefully. Two, GRUB is not installed on the correct partition or the partitions you tell it to look for the kernels are wrong hint: My Intel NUC was giving me absolute hell with that. Once in five tries it worked.
Go figure. Booting from USB is hard and mostly a crapshoot. The more you read about how it works the less plausible it sounds that it can ever work, at all…. If you just created a brand new partition and formatted it as FAT32 it stands to reason that it has nothing inside it.
Hi nick, great guide and amazing dedication to the comments section by the way. Bootable flash drive for ubuntu [duplicate] Ask Question. This question already has an answer here: George Udosen Please tell us: Which version of Ubuntu are you running where you want to use the Startup Disk Creator? What pendrive is it? See this link, ubuntuforums. Ubuntu PankajGautam no This assumes that you are on Linux Ubuntu platform. Then, follow these instructions: Open the dash and search for Startup Disk Creator.
Select the Startup Disk Creator to launch the app. SH 3. Pankaj Gautam Pankaj Gautam 6 Use the Disks app. This app has known issues. Kyle H Kyle H 3 7. Announcing the arrival of Valued Associate