Ubuntu Installation :: Creating Custom LiveCD/USB Iso File?
Apr 30, 2011
Having spent weeks perfecting my Ubuntu the way I like it, I was wondering if there is a way of preserving it as a either a liveCD or USB flash drive, with a view of using it on other PC's activated upon start up?
Possibly (under the USB option) with the option of launching from the flash drive itself, or installing onto a PC's hard drive.So, in essence, it would be a liveCD but custom made to reflect the way my Ubuntu looks and feels now? Is there any easy-to-use software available to perform such a task?
I have a system built and running in exactly the basic configuration I want, with my recompiled kernel, extra packages, special drivers, everything works, life is good. What I want to do is take this exact setup and create an image I can copy onto a bootable USB stick. Is there a way to essentially take the contents of my hard drive and copy that onto a USB stick and then boot directly from that? The use case behind this is that I am building an embedded system of which I may have hundreds of boxes with identical hardware and software configurations. Instead of hard drives, I am going to use USB sticks for cost efficiency and maintenance. My idea is that when it's time to upgrade, I could just image a hundred new sticks and go out and swap them.
My issue is that a standard LiveCD install gets me maybe 25% of the way to a finished system. I need to recompile the kernel for realtime support with my CPU, add some fidgety drivers for some specific hardware, and install a whole bunch of additional packages. I suppose I could create a makefile(s) to replicate all the manual steps of the buildout but that seems like a lot of unnecessary complexity IF I can just image that running system as it is.
I've created a USB startup disk under Ubuntu 10.04 lucid (Live CD), Ive selected the option to save system settings to the flashdrive with about 200MB usage, now that ive configured and customized the opperating system (on the flashdrive) I want to create a ISO from that flashdrive installation.
Once the ISO is created, I want to burn it, boot off the CD then create another startup disk but this time setting "Discard on shutdown" so no settings or files can be saved to the flashdrive, but my custom setup remains. "its for an internet cafe setup".
How do i recreate an ISO from the USB startup disk?
I didn't change anything; it just stopped working on boot. I've changed permissions according to messages from log files. No good.I now get messages saying "unable to open display ' '." If I set the display (I've done this several ways, the messages say "unable to open display ':0'."
Systemd is taking control of everything basic, with almost no documentation and no configuration tools at all: rationalization by lunatics.You can make a script to run commands on boot using systemd on Jessie by creating two files: the script, in any location a file in /etc/systemd/system that runs that script..My script is called james-boot.service, placed in my /home/james/.bin directory.
#! /bin/sh # this is run by /etc/systemd/system/james-boot.service # Enable with sudo systemctl enable james-boot.service # Check with sudo systemctl status james-boot.service # If it says the service is loaded, it's OK -- inactive only means it's done running.
This file must have ownership root.root, with (apparently) permissions 664 (rw-rw-r--).After creating, enable with sudo systemctl enable james-boot. service.Check with sudo systemctl status james-boot.service. If it says the service is loaded, it's OK -- "inactive" only means it's done running.
I want to build a custom LiveCD without the Welcome screen at startup. How do I remove the Welcome screen so my LiveCD boots right into a live session without having to click on the 'Try Ubuntu' button?
Ive gotten a project from a local school in a very rural town to upgrade the computer systems on a very low budget. So, being a F/OSS advocate I ran the idea of a linux environment which, in reality will cost hundereds (maybe thousands) less for them, and also cut down "down-time" due to viruses and such. I was thinking of Ubuntu since its got a great community, and personally, I love it. Problem is, this school is on a limited bandwidth for internet, so installing ubuntu and performing the updates is not a feasible idea since the cost will be astronomical. My question is, how can I go about an simply "update" the ubuntu 8.10 LiveCD so that when I install it, It will have all the updates? Another thing that would be nice, is that this school would like to have their own wallpaper, so if I could change the default wallpaper while I'm performing this "update" will be very nice.
I am in the tasks section of the following tutorial [URL] I did the list package thing to see what packages there are. However now I cannot leave the list in order to run the purge command. How can I get back to the previous section so I can remove packages from the custom live cd. I want to make sure I am editing the live cd and not the current install. I am going to make two images. One cd that will still have a gui but I plan to build as a recovery tool. The other one is a dvd and will be for installing everything I want on any machine. I am doing the tutorial with Karmic. Also I have cursors, themes and icons I installed from gnome look. I then went to customize and created my own personal mix I like. I would like to make this a standalone theme and come as the default theme on the live cd and dvd. I have no clue what I am doing, however wish to learn to build my own custom live cd. Also I would like to know how to ad repositories to the live cd and how to add programs pre installed that are not usually included.
I followed the instructions here: [URL] and then here: [URL] and installed the necessary packages. But when I try building the minimal image as a test, I get lots of errors, as seen in the attached build log. There are lots of things that don't seem to work. Is this project at a state where it's not currently usable? Or do I have a problem with my system configuration? I was running at root.
[root@localhost test]# LANG=C livecd-creator --config=centos-livecd-minimal.ks --fslabel=CentOS-minimal Filesystem label=CentOS-minimal OS type: Linux Block size=4096 (log=2)
There have been some posts on this forum about custom keyboard layouts, but the latest one was more than three years ago, and is outdated. I found the following code for a custom dvorak international keyboard layout here, but it directs me to copy this code into the folder /etc/X11/xkb/symbols/pc, a folder which does not seem to exist in 9.10 or 9.04.
As this is the only thing I felt Windows did better than Ubuntu (custom keyboard layouts), I would love to be able to change the layout and finally seal the deal with Ubuntu.
I've been following this guide [URL].... on creating a custom boot menu for Grub2 and I've run up against a wall. I made it all the way to the section on testing the custom menu but when I do, the new menu refuses to load. When I get to the boot screen I see the standard menu plus an extra entry at the bottom that will show what my custom menu will look like. When I select it though, it won't load. The screen blinks and remains on the main menu. I don't have the correct 'set' and 'search' lines in the 40_custom entry and I don't know how to correct them.
I'd like to open a directory with the F12 key. I haven't any problem getting Keyboard Shortcuts to run programs, but cannot figure out how to have it open a directory.I tried making a link to the directory and using that, but still no go. Edit: The directory I want opens when I use its link Can't find anything on the net for this. Most just mention that we can create custom keyboard shortcuts. I tried using /home/directory/directorydesired, but no go.
Edit: The directory I want opens when I use the link
I had a problem with viewing webcams on Skype, and after searching I found out that running Skype through the terminal with this command "export XLIB_SKIP_ARGB_VISUALS=1 && skype" makes the webcams work perfectly. What I wanted to do was to integrate this command into the main menu so that I won't have to type it into the terminal (and thus keep the terminal open all the session) every time I want to use Skype. So I edited the command of the Skype button in the Applications menu and put that line instead of "skype", but it gives me "Failed to execute child process "export" (No such file or directory)". I tried editing .bashrc and added the following line:
alias skp='export XLIB_SKIP_ARGB_VISUALS=1 && skype'
Now the command 'skp' works through the terminal, but it gives me the same error message when I put it into the command line of the applications menu.
I'm looking for a way to create a live cd from the existing image. I'd like to include some sort of installer, I've found gui remaster utilities, but none for the shell only. I need to setup the image to automatically login, so the user could just pop in the cd and start it up without a monitor or keyboard.
I'd like to create my own custom Debian live CD — the idea being to have my own rescue CD with my favorite Debian tools installed. I read about bootcd and was going to give that a try, after creating the ideal system in a qemu virtual machine.
How much exactly can you install on a system so that bootcd can still fit it on a CD? I'm presuming there is some kind of compression involved. When I tried to create my VM, I coudln't get Jessie + LXDE to install onto a 2GB virtual drive (net install) so naturally I'm wondering what I'm going to be able to put on a 700MB CD.
I have a workstation running Fedora 15 with custom software and settings. I want to make an image of this machine for fast and easy deployment around the office (preferably a DVD, but could also use an external USB drive for install).How would you go about doing this from an existing install?
I have installed Centos 5.4 and then on top of that i have been installing many softwares over the time ( like pbx system , web console , billing etc.) and now it has come to a quite stable stage. the problem is i have to move this installation to another machine with different config etc. even have to install it on multiple systems. the idea is to create a bootable linux iso of the current machine with all the softwares so i can simply put it in a different machine and make it install and run without much fuss. is creating a linux appliance the only solution ? or is there any way to backup the current machine in an iso format and then install it on another machine? also i would like to make this completely hardware independent.
I'm trying to set up a firewall at the moment that allows access to my custom SSH port from only my friend's url (they have a static url but dynamic IP). I find iptables a bit of a nightmare and was hoping to use UFW for most of my day to day firewall maintenance and just make a few extra iptable rules to cover exceptional circumstances like this. Fortunately it seems UFW allows this with /etc/ufw/before.rules and /etc/ufw/after.rules. So at the moment I'm just trying to get the basic iptables rules right. As I say I'm not very good with iptables, does this look right?
## Drop Default SSH port access With Logging iptables -N SSH_DEFAULT iptables -A INPUT -p tcp --dport 22 -m state --state NEW -j SSH_DEFAULT
creating your own notification icon for Gnome? Like the Power, Network, and Sound ones. I found something called Zenity but it doesn't seem to be able to create a drop-down menu and I can't see how I'd update the information in the icon once it is created. I have a script set up to check something and want to report the results back via a persistent notification icon, with the ability to change the icon and its properties (mouseover/tooltip text) and drown-down menu text as appropriate.
I am trying to create a custom Ubuntu live CD according to this guide [URL]. First of all I wanted to test how mkisofs utility works so I copied the content of the live CD to /tmp/bootcd directory and create an ISO image. I ran the following commands
If I understand it correctly, the same image as the source one should be created. When booting the Ubuntu boot menu appears and I choose "Try Ubuntu without installing.." It gets stuck after a while with this message "Unable to find a medium containing a live filesystem".
I am trying to create a custom service to manage a minecraft server what runs in a screen session (this is to allow easy console access as opposed to running it as a nohup background process). I am hitting two main issues with this script so far and wondering if anybody is able to shed some light on it, considering I am far from the greatest BASH scripter on Earth.
The issues are related to start and stop. the first issue with start is there is a command run "screen -dmS minecraft java -Xms1024M -Xmx1024M -jar /minecraft/minecraft.jar nogui" what doesn't appear to work, however when run from console (copy and pasted) this command seems to run perfectly. I am uncertain as to why this is not working within the script. Also if run from a script in /minecraft it also appears to work but in the minecraftd script I have created at /etc/init.d it does not work. I think the issue might be related to the location but am not certain on it, nor how to resolve it.
the second issue with stop is that it works sometimes but at other times it does not, overall it seems to work about 30~50% of the time. When it works it passes a couple of disconnection messages to the screen session and then gives the stop command (the command to gracefully terminate the minecraft server). It seems to work more often when using screen that I attach to the minecraft session while it is running but really not sure if this is an issue with my scripting or an issue with how I am passing things to screen.
The full code in /etc/init.d/minecraftd is below
#!/bin/bash ## Script Information ## Script Author: Berwick East