Making a USB Boot CD to Boot Ubuntu from a Flash Drive USB flash drive with Ubuntu preinstalled.PC or Macbook that can Boot from a Live CD.Prerequisites to make a USB Boot CD for Ubuntu This process replaces our older USB Boot CD for Ubuntu tutorial, with new requirements added to make it work with later versions.Ī boot menu option has been included for booting from a Macbook (forcing bypass of the Nouveau nVidia drivers, which do not play well with a Macbook.). I used a Macbook Pro to test this tutorial. You can now create a bootable USB from this ISO and it should work on EFI systems.Make a USB Boot CD that can be used to boot your Ubuntu Live USB Flash Drive from a PC or Mac with a BIOS that doesn’t natively support booting from USB devices. Replacing /path/to/custom_iso.iso with the path to the ISO generated by Cubic. You'll need to install syslinux-utils (we'll need the isohybrid command from this package): Isohybrid: Warning: more than 1024 cylinders: 2215 isohybrid: Not all BIOSes will be able to boot this device In case you get an error similar to the one below when trying to boot an USB for which you've used a custom ISO created with Cubic, on an EFI system ( fix credits): You can burn a copy of the ISO image to a CD or DVD, or use a bootable USB creation tool (like Ubuntu's Startup Disk Creator or bootiso) to make a bootable USB from your new custom ISO. The custom Ubuntu or Linux Mint Live ISO should now be ready. You'll also find an option to delete all project files except for the generated ISO file and its MD5 checksum file. Here is how to do that.Īfter each line (there should only be 3 lines), add a space and then add this: universe multiverse, like in this screenshot: So to be able to install some packages, you'll also need to enable the universe and multiverse repositories. As a result, you won't be able to install packages found in the universe and multiverse repository for your custom Ubuntu ISO, or at least that was the case for me, using Ubuntu 18.04 to create a custom Ubuntu 18.04.1 ISO. Ubuntu only: By default, Ubuntu enables only the main and restricted repositories on the Live CD ISO. There's no need to use sudo, you're already logged in as root in the chroot environment.To save a file using Nano text editor, use Ctrl + O, then press the Enter key. You can use nano, which is installed by default, or install some other command line text editor. For editing files you need to use a command line text editor.You can copy files from the host computer to the custom ISO by dragging the files and dropping them on top of the Cubic (chroot) window.Install extra packages (applications, libraries, kernel images, etc.), remove any installed packages, add or remove PPAs or other third-party repositories, download external packages and install them on the custom Linux Mint or Ubuntu ISO image, change configuration files and anything else you'd like. This is the directory where Cubic will extract the ISO and also where it will save the final, customized Ubuntu / Linux Mint Live ISO file.įrom this command line chroot, customize the ISO to suit your needs. Simply create a new empty folder and select it from Cubic. Launch Cubic from your desktop menu and select a directory for your new project. To use Cubic to create a custom Ubuntu or Linux Mint ISO, follow these steps.ġ. Sudo add-apt-repository ppa:cubic-wizard/release Installing and using Cubic to create a custom Linux Mint or Ubuntu ISOĪdd the Cubic PPA and install the software on your Ubuntu or Linux Mint system using these commands: I tried Cubic on my Ubuntu 18.04 system to create both a custom Ubuntu 18.04.1 and a Linux Mint 19 ISO and the software worked without any issues. Therefore, you need to create the custom Ubuntu or Linux Mint ISO while using a host system that uses EFI to be able to create an EFI-enabled custom ISO. This obviously depends on what tweaks and modifications you want to include in your customized ISO.Īs far as UEFI support goes, Cubic uses files from your host machine to create the EFI ISO. So you'll need to be familiar with at least installing software from the command line to make your own custom Ubuntu or Linux Mint ISO. While Cubic uses a graphical user interface, all the actual Ubuntu or Linux Mint ISO customizations must be performed from the command line (while it's possible to run GUI applications from a Chroot, I couldn't get this to work with Cubic's Chroot).
0 Comments
Leave a Reply. |