Live USB explained

A live USB is a portable USB-attached external data storage device containing a full operating system that can be booted from. The term is reminiscent of USB flash drives but may encompass an external hard disk drive or solid-state drive, though they may be referred to as "live HDD" and "live SSD" respectively. They are the evolutionary next step after live CDs, but with the added benefit of writable storage, allowing customizations to the booted operating system. Live USBs can be used in embedded systems for system administration, data recovery, or test driving, and can persistently save settings and install software packages on the USB device.

Many operating systems including,, Windows XP Embedded and a large portion of Linux and BSD distributions can run from a USB flash drive, and Windows 8 Enterprise has a feature titled Windows To Go for a similar purpose.

Background

To repair a computer with booting issues, technicians often use lightweight operating systems on bootable media and a command-line interface. The development of the first live CDs with graphical user interface made it feasible for non-technicians to repair malfunctioning computers. Most Live CDs are Linux-based, and in addition to repairing computers, these would occasionally be used in their own right as operating systems.

Personal computers introduced USB booting in the early 2000s, with the Macintosh computers introducing the functionality in 1999 beginning with the Power Mac G4 with AGP graphics and the slot-loading iMac G3 models.[1] Intel-based Macs carried this functionality over with booting macOS from USB.[2] Specialized USB-based booting was proposed by IBM in 2004 with Reincarnating PCs with Portable SoulPads and Boot Linux from a FireWire device.[3] [4]

Benefits and limitations

Live USBs share many of the benefits and limitations of live CDs, and also incorporate their own.

Benefits

Limitations

Setup

Various applications exist to create live USBs; examples include Universal USB Installer, Rufus, Fedora Live USB Creator, and UNetbootin. There are also software applications available that can be used to create a Multiboot live USB; some examples include YUMI Multiboot Bootable USB Creator[10] and Ventoy. A few Linux distributions 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. A base install ranges between as little as 16 MiB (Tiny Core Linux) to a large DVD-sized install (4 gigabytes).

To set up a live USB system for commodity PC hardware, the following steps must be taken:

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 or flash media to preserve any added configurations and security updates. This can be easier than recreating the USB system but may be moot since many live USB tools are simple to use.

Full installation

One alternative to the live operating-system solution would be a full installation; that is, a traditional installation, but without swap partitions. This option has the advantage of being efficient for the software, as it eliminates the need for the device to retain – separate from the persistent file – the operating-system’s installer software. However, full installation is not without disadvantages; due to the additional write cycles that it requires, the life of the flash drive may be slightly reduced. To mitigate this, some live systems are designed to store changes in RAM until the user initiates a system powerdown, which triggers the actual writes to the device. The trade-off is greater risk of lost work, in the case of an abnormal abort. Beyond these, another factor to consider is that, if the transfer speed of the storage device is poor, then performance can be reduced to a rate more typical of legacy computers – even for machines with modern components. This issue can usually be overcome by installing to a USB hard drive, as they generally perform better than flash drives, regardless of the connector.

Microsoft Windows

Although many live USBs rely on booting an open-source operating system such as Linux, it is possible to create live USBs for Microsoft Windows by using Diskpart[11] or WinToUSB.[12]

See also

External links

Notes and References

  1. Web site: USB Info and Benefits of Dual-Channel USB. Apple. February 20, 2012. September 16, 2003. Bootable USB drives: A storage device such as a SuperDisk, Zip disk, or other USB storage drive can be used to hold a valid system folder and used at startup.. September 25, 2016. live. https://web.archive.org/web/20130512082614/http://support.apple.com/kb/TA25908. May 12, 2013.
  2. Web site: Starting from an external USB storage device (Intel-based Macs). Apple. March 22, 2016. September 25, 2016. live. https://web.archive.org/web/20160522135403/https://support.apple.com/en-ca/HT201663. May 22, 2016.
  3. Web site: IBM brains capture a PC's soul. August 15, 2005. Michael. Singer. CBS Interactive. CNET. September 25, 2016. live. https://web.archive.org/web/20160927095717/https://www.cnet.com/news/ibm-brains-capture-a-pcs-soul/. September 27, 2016.
  4. Web site: Boot Linux from a FireWire device . Honeyford . Martyn . July 15, 2004 . . . https://web.archive.org/web/20070117223146/http://www-128.ibm.com/developerworks/linux/library/l-fireboot.html . January 17, 2007 . May 15, 2016 . dead .
  5. Web site: Boot from a USB Drive Even If Your BIOS Won't Let You . How-To Geek. May 6, 2010. Trevor. September 25, 2016. live. https://web.archive.org/web/20160923092537/http://www.howtogeek.com/howto/16822/boot-from-a-usb-drive-even-if-your-bios-wont-let-you/. September 23, 2016.
  6. Web site: Plop Boot Manager. February 7, 2012. September 25, 2016. February 8, 2012. https://web.archive.org/web/20120208173313/https://www.plop.at/en/bootmanager/index.html. live.
  7. Web site: 2010-02-10 . Universal USB Installer - Bootable USB Software - UUI . February 17, 2024 . PenDrive Linux.
  8. Web site: MactelSupportTeam/EFI-Boot-Mactel. Ubuntu Community Help Wiki. December 14, 2013. September 25, 2016. knome. Canonical Ltd.. live. https://web.archive.org/web/20160304041542/https://help.ubuntu.com/community/MactelSupportTeam/EFI-Boot-Mactel#Non-Working_Hardware. March 4, 2016.
  9. Web site: XFCE minimum install HD. Live cd only write to the swap partition if your pc has one.
    If it doesn't it'll only use your RAM.. Linux Mint Forums. September 25, 2016. live. https://web.archive.org/web/20160927085838/https://forums.linuxmint.com/viewtopic.php?f=46&t=16243%3Ff%3D46&t=16243#p141498. September 27, 2016.
  10. Web site: 13 March 2011 . YUMI - Multiboot USB Creator Easily Boot from USB Windows . live . https://web.archive.org/web/20171023200230/https://pendrivelinux.com/ . 2017-10-23 . 2024-02-17 . Pendrive Linux . en-us.
  11. Web site: nnamuhcs. Create a Bootable USB Flash Drive. 2021-09-15. docs.microsoft.com. en-us. 2018-09-16. https://web.archive.org/web/20180916111110/https://docs.microsoft.com/en-us/windows-server-essentials/install/create-a-bootable-usb-flash-drive. live.
  12. Web site: How to Run a Portable Version of Windows from a USB Drive. Whitson. Gordon. Gawker Media. Lifehacker. 21 April 2014 . September 25, 2016. live. https://web.archive.org/web/20160925044333/http://lifehacker.com/how-to-run-a-portable-version-of-windows-from-a-usb-dri-1565509124. September 25, 2016.