UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does anyone know what the initial boot application is called when booting Xubnutu (I'm guessing it's the same for Ubuntu as well) from live CD and how you can stop it from loading each time you boot?
Is it a boot parameter in GRUB that needs to be changed?
The Live CD/DVD's generally use isolinux/syslinux to boot. I'm not sure what you are trying to accomplish because if you don't have a boot loader/boot application, it won't boot so it would be useles. With Grub2, you can set parameters on boot but that would be necessary each time you boot as a Live DVD is an iso9660 filesystem which is read-only by design. That means any changes you make are lost on reboot. What exactly are you trying to accomplish and you could explain what you mean by boot 'application' if not the bootloader?
In your title, you refer to "install program". If by that you mean the Ubuntu/Xubuntu installer to install after you boot, it is Ubiquity. In order to remove that from the CD, you would need to loop mount the CD from a Linux system, copy all the directories/files to a folder on your hard drive, make whatever changes you need to remove the installer and then re-create the iso and again burn it to a CD/DVD. A little more than a new user is likely to accomplish without problems.
I'm trying to create a custom iso image for me to use just in a live environment and basically just add a some custom application for me to use on a USB and having to click 'try xubuntu' each time I boot has become a little tiresome so am hoping there is a way of getting rid of this. Will look at removing Ubiquity then, just didn't know the name of the application
It's not actually that simple to remove programs from a CD. In addition to loop mounting and copying to another directory you would need to use the squashfs-tools to 'unsquash' the filesystem.squashfs so you have access to the standard filesystem and then re-do that and then create a new iso. I think that if you are using xubuntu, you would be better off installing it temporarily to a small partition and then downloading and installing systemback which you can use to create a new iso which you can put on a flash drive or DVD. You won't need to remove ubiquity as it is not going to exist on an installed system.
The link below explains briefly how to use it (you can find more detailed tutorials with google) and how to download and install it at the bottom of the page.
yancek is correct that the installation program (Ubiquity) is not what is causing your problem. Removing it would accomplish nothing.
You mentioned "basically just add a some custom application for me to use on a USB" and mentioned "live CD" - so it is unclear which one you want - USB OR DVD.
Next, you can install your operating system to a USB flash drive, so that it can be configured in the same way you configure any installed OS.
That is a lot simpler than trying to create a customized .iso, although yancek's suggestion for systemback would be a good method.
Finally, you can add "persistence" to a live USB drive.
That raises an interesting question, "Can you update Grub on a live USB with persistence?" I don't know the answer. I will research that...
EDIT: I used the live Mint 17.3 KDE iso on a MultiSystem flash drive, and added persistence (using MultiSystem) and I could not create a grub.cfg file. So my conclusion is "no - you can't update Grub on a live USB with persistence."
Last edited by TxLonghorn; 01-18-2017 at 09:37 AM.
Removing 'ubiquity' from a Live DVD/flash drive is far more trouble than it is worth since you need to use the squashfs-tools to take the system apart then put it back together and then re-create the iso. So, if after reading the second post by the OP, your intentions are to not have the install option on boot and to be able to add software, do a full install or use systemback from an installed system. If you want to be able to add software, do a full install or a persistent install. A persistent install will not have the install option but is read-only and you can't install software. You probably could then use other software with the systemback.iso to create persistence, maybe unetbootin. Never tried that so I don't know that it will work.
If you don't want the install option on boot and want to be able to modify your system by adding hardware, the best option is a full install.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.