I began by taking an overview of the several methods, suggested in that Ask Ubuntu discussion, that looked like they might still work.Īt this writing, the most popular answer to that Ask Ubuntu question consisted of a manual approach written for Ubuntu 11. As a few of the more recent answers and comments indicated, most of those solutions no longer worked and/or the software underlying them had eventually been abandoned. As such, this post is a response to an earlier post discussing Windows tools that could similarly create and burn an ISO containing an Ubuntu installation on USB.Īnswers to an Ask Ubuntu question presented a number of Linux solutions that may have been useful at some point, during the 12 years that had passed since that question was posed in 2011. This post focuses on Ubuntu tools that appeared capable of producing that Ubuntu ISO. Ideally, that ISO would be compressed, so as to serve as backup for that Ubuntu installation and, ideally, it would work in USB-burning tools like Rufus and YUMI, giving me single- or multiboot USB drives as needed. I wanted to create an ISO file that would capture an image of a customized, bootable Ubuntu USB installation. Instead, I took this insight back to the VMware Player post, since that was where I expected to be doing my work with VMs for the time being. Since this option worked, I did not explore the other post’s other potential ways to convert the bootable USB drive into a VirtualBox VM. I learned the hard way that the EFI option was essential: without that, an attempt to boot the VM produced the same error that I had seen repeatedly in VMware Player: “ no such partition.” It gave me a VM that ran successfully, displaying my customized desktop and other aspects of my bootable Ubuntu USB drive. Then select the VM > Settings > Storage > click on Controller: SATA > click on Add Hard Disk icon > opens Medium Selector > Add > select the VDI > Choose > OK. I wanted to move the VDI into the newly created folder, so I went to menu > File > Tools > Virtual Media Manager > select the VDI > Release > right-click it again > Remove > don’t Delete, just Keep. Finally, in the Hard Disk section, I selected Use an Existing Hard Disk File > click the folder icon to open Hard Disk Selector > Add > select my newly created VDI > Finish. Next, in Hardware, I selected Enable EFI (special OSes only). In the first, Name and Operating System, I specified the folder to be created and indicated where that folder would be created. As advised, I went to VirtualBox > menu > Machine > New > Expert Mode. That VBoxManage command produced a VDI much smaller than the full-drive size of the IMG. Apparently SETX would set it permanently.) ![]() (Note: it seemed this SET command was good only until I closed that command window. For that, I ran these commands: SET PATH=%PATH% C:\Program Files\Oracle\VirtualBox Rather than troubleshoot that, I proceeded to the next option: converting the image file to the VirtualBox VDI format. There, in Guided (not Expert) mode, I identified the ISO, specified a target VM name and location, selected Enable EFI (special OSes only), and chose Create a Virtual Hard Disk Now, allowing enough space for the full size of the ISO. For that, I went into VirtualBox > menu > Machine > New. iso, and seeing if VirtualBox would use the ISO. I started with what appeared easiest – namely, changing the. Now I tried to repeat those approaches in VirtualBox. Another complex solution involved the Plop tool. ![]() A more complex solution would boot an existing VM with an interloper – that is, a secondary operating system – and then use that interloper to run tools or commands that would clone the bootable USB drive, or the image file containing the contents of that drive, to an existing but non-running VM. iso, and then use that ISO to create a VM. iso, or if necessary use a free converter to convert. Alternately, it seemed I should be able to change the image file’s extension from. Among those methods, there was supposedly an option to convert the. The methods discussed in the other post did, in fact, try to use those images to create a VMware VM. So I already had those images, if I wanted to try to use them in VirtualBox. While those images were not identical, Balena Etcher and Rufus were able to make working bootable Ubuntu USB drives from them. ![]() The other post describes how I used Ubuntu’s Disks tool and dd command to create images of the bootable USB drive. Therefore, I decided to start this separate writeup, reviewing some of those approaches in the context of VirtualBox rather than VMware Player. Despite multiple attempts using different approaches, that effort was striking out. Another post describes my efforts to convert a customized bootable Ubuntu USB installation to a virtual machine using VMware Workstation Player.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |