Principle of Installation
Various applications exist to create live USBs; examples include the WiNToBootic (Windows focused) or Fedora Live USB Creator and UNetbootin and MultiSystem LiveUSB MultiBoot, which works with a variety of distributions. A few Linux distribution and live CDs have ready-made scripts which perform the steps below automatically. In addition, on Knoppix and Ubuntu extra applications can be installed, and a persistent file system can be used to store changes.
To set up a live USB system for commodity PC hardware, the following steps need to be done:
- A USB flash drive needs to be connected to the system, and be detected by it
- One or more partitions may need to be created on the USB flash drive
- The "bootable" flag must be set on the primary partition on the USB flash drive
- An MBR must be written to the primary partition of the USB flash drive
- The partition must be formatted (most often in FAT32 format, but other file systems can be used too)
- A bootloader must be installed to the partition (most often using syslinux when installing a Linux system)
- A bootloader configuration file (if used) must be written
- The necessary files of the operating system and default applications must be copied to the USB flash drive
- Language and keyboard files (if used) must be written to the USB flash drive
(Actual use of a CD or DVD will allow the user to choose if the medium can later be written to. Write Once Read Many discs allow certainty that the live system will be clean the next time it is re-booted.)
Knoppix live CDs have a utility that, on boot, allows users to declare their intent to write the operating system's file structures either temporarily, to a RAM disk, or permanently, on disk and flash media to preserve any added configurations and security updates. This can be easier than re-creating the USB system but may be moot since many current (circa 2010) live USB tools are simple to use.
Read more about this topic: Live USB
Famous quotes containing the words principle of and/or principle:
“We rail at trade, but the historian of the world will see that it was the principle of liberty; that it settled America, and destroyed feudalism, and made peace and keeps peace; that it will abolish slavery.”
—Ralph Waldo Emerson (18031882)
“From the age of fifteen, dogma has been the fundamental principle of my religion: I know no other religion; I cannot enter into the idea of any other sort of religion; religion, as a mere sentiment, is to me a dream and a mockery.”
—Cardinal John Henry Newman (18011890)