9

I created a Live Ubuntu 10.10 with persistent storage on a USB drive. On every boot the Welcome screen appears where you can select the language and choose to try Ubuntu Live or to install Ubuntu.

I'd like to remove this screen and have Ubuntu directly start into Live mode with a specific language. How could I achieve that?

Jorge Castro
  • 71,754
  • 2
    I don't know how to solve your problem, but I would like to tell you something. You can make a normal installation on your USB drive, and it works much better. I did it in my 4GB USB pen drive when my HD stop working. – DrKenobi Oct 17 '10 at 12:28

4 Answers4

3

I would like to comment, since this is one of the first results on google, that you should NEVER install Ubuntu on a flash medium as a regular installation. Live usb's make a lot of changes to the way Ubuntu loads in order to prevent damage to your pendrive. There are things you can do to an installation of ubuntu in order to prevent this damage, but do not ever just simply install Ubuntu onto a pendrive unless you do not care if it becomes damaged.

You can install Ubuntu directly to a flash medium if you disable the use of swap and switch it to load the /tmp directory directly to the RAM instead of using a /tmp folder on your device. This is extremely important because flash has a limited number of rewrites, and using it for any sort of temporary memory will cause it to become unusable exponentially quicker. LiveUSB starts up with a static image of Ubuntu, with all modifications (the Persistence portion of the usb) loaded from the casper-rw file (or partition if you deleted the file and created a partition on your flash drive labeled casper-rw). this prevents the use of the flash drive for any sort of temporary storage and prolongs the life of the device.

Those of you who have read this page and simply installed ubuntu to the flash drive without disabling swap/moving the /tmp folder to store data in ram, should do that now in order to prevent damage to your flash drives.

If you want anything more than a live-usb version of Ubuntu on your flash drive, you really should just install it to a hard disk (portable or internal, just a device that is not simply a flash medium) in order to proficiently use it/prevent hardware damage.

3

You should be able to prepare a LiveUSB image for yourself with the Ubuntu Customization Kit
(reference screenshots).
But, I think you should consider installing from a LiveCD to your USB rather than burning the image to your USB.

nik
  • 1,378
1

Spent ages looking for this, found the below on a different forum, thought might be useful:

I figured it out. In order to remove the Welcome screen and the Install Ubuntu shortcut on the desktop you must remove the ubiquity installer from you custom LiveCD:

sudo apt-get purge ubiquity
Jorge Castro
  • 71,754
1

I would also recommend performing an actual INSTALLATION of the OS on a USB device, instead of a LiveUSB with storage. After performing tests with the different solutions, I found with a friend of mine that for the SAME storage device, the LiveUSB version will boot slightly faster (like 5 seconds faster under 10.04) than the real installation.

However, when we tried to then upgrade some of the packages, we ran into a space problem. The LiveUSB installation keeps everything in a SQUASFS file system, which is essentially read-only, and is unpacked as needed. This means that an existing package is in this SQUASH can only be read, not deleted.

In short, upgrading packages add up to the used file space, instead of replacing files. The new package files will be used instead, but those new files are just like regular ones. Over time, the load time will increase slightly, as more and more packages will be in regular file system.

On a lnger term, LiveUSB is not the solution. Definitely, I would recommend a full installation, which can then be maintained like any other hard-disk installation.

Just one thing:

At the end of the questions, before confirming the installation to start, there is an "Advanced" button. Click it to check that the GRUB or GRUB2 will indeed be installed on the proper device that is your USB disk, not the local hard disk. If you see "/dev/sda" this is NOT GOOD. /dev/sda is the first internal hard disk. using sda will render your computer unbootable. Change /dev/sda to the one that designates your actual USB disk.

This is a mistake I will not forget.

jfmessier
  • 6,126