The standard Ubuntu live system - which in the past was on CD, while nowadays on USB flash drives - doesn’t persist changes they’re applied in-memory, and lost on shutdown. This small article explains how to do this. VirtualBox doesn’t support booting a VM from a USB flash drive though, so a workaround is required. This requires multiple sessions and reboots, so retaining the changes on the installation media would considerably streamline the task. Please let me know the results if you use this method.Recently, I needed to test some operations to be performed during the installation of Ubuntu on a system. I use Thinkpad laptop computers most of the time, but it should work on any intel based computer. I have tried this method on many Linux distributions and it has worked every time for me. It takes about 60-90 seconds to boot properly because it has to read a lot off USB-B. You then choose the OpSys on USB-B and boot to that.īe patient. When you boot your computer without USB-B inserted into it, it will boot up as a plain single-boot system.īut when you you boot your computer with USB-B inserted it will boot to GRUB-2 on the USB-B and allow you to choose which Operating System you want to boot to. You will be able to install new software onto it too as if it was installed on a hard-drive, bt it will be slower than a hard drive. You will be able to save things to USB-B. It will set up GRUB2 on the USB-B and treat your computer as a multi-boot computer. The install process will treat USB-B as a hard drive and install a fully working version of Linux onto it. Then when Linux asks you which hard-drive to install iLinux on, select USB-B, instead of a hard-drive, and install Linux there. Reboot your computer from USB-A, and when it asks you if you want to run Linux or install Linux (to a hard drive), select “Install” (to a hard drive), or whatever wording it uses. Shut down GParted, turn off your computer. It is not a major disaster if you delete the partitions from USB-A, instead of USB-B, but it will waste your time because you will have to start over again with a new “Live linux” version on USB-A. Make sure you delete the partitions from USB-B, not USB-A. Note that you might have to “unmount” the partitions(s) before you can delete them. Select USB-B, and delete any/all partitions so that USB-B has no partitions and all space on USB-B is “unallocated”. Note what GParted calls USB-B - probably something like /dev/sdb. Tell GParted to Refresh so that it “sees” USB-B. Probably something like /dev/sda or something similar. Go to Menu / Adminstrative tools and run GParted. This is simple to do with GParted, which you will find on the “Live” Linux stick (USB-A).īoot your computer from the “live linux” on USB-A. USB-B needs to have all partitions removed from it. You might be able to get away with 16 GB, but it is kind of small for a full Linux installation. USB-B needs to be a decent size, say 32 GB or 64 GB. These are not “real” names, they are just what we will call each stick so that we know which is which. And let’s call the stick onto which we want to install Linux “USB-B”. Let us call the USB stick with the Live Linux on it, USB-A. Most recently I installed Fedora Linux Linux ver 32 to a 32 GB USB-drive then updated the installation and installed Cinnamon Desktop Environment to it. The method is to install Linux onto a USB stick instead of a hard drive, by telling Linux to do a full install, but selecting a USB stick instead of a hard drive. There is a fairly simple way which I have tried with various Linux distributions, e.g., Linux Mint, Linux CentOs (various versions) and Fedora Linux.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |