From Fedora Project Wiki

m ([[Category:LiveMedia)
(→‎Download and Create Live image or Live USB: shrink this section, all the info here is now on https://docs.fedoraproject.org/en-US/quick-docs/creating-and-using-a-live-installation-image/)
 
(23 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{autolang|base=yes}}
<noinclude>
<noinclude>
[[Category:LiveMedia]]
[[Category:LiveMedia]]
</noinclude>
</noinclude>
 
== Download and Create Live image or Live USB==
== Download and Create Live image or LiveUSB==
Read [https://docs.fedoraproject.org/en-US/quick-docs/creating-and-using-a-live-installation-image/ the documentation] for how to download a pre-built Fedora live image, create a bootable USB drive or CD/DVD from it, then usie it.
 
*:      Historical versions of this page are available [https://fedoraproject.org/w/index.php?title=How_to_create_and_use_Live_USB&action=history for live USB] and [https://fedoraproject.org/w/index.php?title=how_to_create_and_use_a_Live_CD&action=history live CD].
To download a prebuilt Fedora Live image, visit [http://fedoraproject.org/en/get-fedora the download page].  Then you can either:
 
* Burn the ISO to a CD or DVD. See [http://docs.fedoraproject.org/readme-burning-isos/] for burning instructions.
* Learn [[how to create and use Live USB]].
 
If you want to build and then burn your own custom ISO, see [[How to create and use a Live CD]].


== Advantages and Limitations ==
== Advantages and Limitations ==


Benefits:
Benefits:
* You can demonstrate features or try out a release including testing hardware functionality before installation
* You can demonstrate features or try out a release, including testing hardware functionality, before hard disk/SSD installation.
* Live USB/CD/DVD installation is faster than regular installation. Live USB installation typically takes only a few minutes.
* Live USB/CD/DVD installation is faster than regular installation. Live USB/SD installation typically takes only a few minutes and can be configured with persistent storage.
* You can use Live CD technology for backup and recovery of your installed hard drive.


Limitations:
Limitations:
* It is not possible to choose packages during installation
* It is not possible to choose packages during installation.  Live images typically have fewer packages than a regular installation image.
* It is not possible to do an upgrade via the Anaconda installer. If you have a separate /home partition, you can just not format it during the installation and thus preserve your settings and /home content.
* It is not possible to choose a non-default filesystem.
* It is not possible to choose a non-default filesystem.
 
* Once you shutdown a computer running from a Live CD, you will lose any settings or packages installed, but Live USB/SD installations may be configured with persistent storage.
===Larger than CD size===
{{Admon/note |  Fedora 13 onwards, Fedora Desktop Live image is larger than a CD; you must use USB or DVD media or choose a smaller spin from: http://spins.fedoraproject.org| }}
 
Rationale:
* The Gnome Desktop Spin targets the majority of users as a group; though it is most commonly downloaded, it cannot be optimized to be the best solution for ''everyone'' because different people have different needs.
* The majority of users have USB or DVD media available, and the price of these media is competitive with CDs (or better, considering that USB sticks are highly reusable).
* Expanding to beyond 700MB allows the inclusion of software such as OpenOffice, which is a critical piece of a modern, widely useful Live distribution.
* For users who cannot boot from USB or DVD media, there are several other options, including:
** Smaller-than-CD image (boot.iso) which can install Gnome Desktop to a hard drive via the network
** Multi-CD installer which can install Gnome Desktop to a hard drive
** Hard drive install method
** Other spins which will still fit on a CD if a LiveCD is still necessary
** The ability to create a custom spin using Revisor (see [[How to create and use a Live CD]]) if a Gnome-based LiveCD is absolutely needed.  Individual users can start with the Gnome Desktop spin and remove packages until it is the desired size; the included packages are specified in a downloadable kickstart file.
 
For more information:
* [[Features/DesktopLiveImageTarget]]
* [http://lists.fedoraproject.org/pipermail/desktop/2009-November/005640.html Mailing list discussion] [http://lists.fedoraproject.org/pipermail/desktop/2009-November/005590.html (earlier)] [ http://lists.fedoraproject.org/pipermail/desktop/2009-November/005690.html (later)]
 
In the future, any group of Fedora contributors can come together to publish a separate Gnome Desktop CD spin if there is sufficient interest.


== Fedora Live image features ==
== Fedora Live image features ==
Line 46: Line 24:
Current features:
Current features:


# Read-write rootfs so it's possible to install software while the livecd is running
# A booted Live CD uses a temporary, in-memory, read-write rootfs, so it's possible to install software for use while the Live CD is running.
# Install to hard disk or usb drives
# Data persistence options available on Live USB/SD installations.
# Use SELinux in enforcing mode and other security features by default
# Install to hard disks or USB/SD drives.
# Stay as close to a normal desktop install wrt. features
# Uses SELinux in enforcing mode and other security features by default.
# Ability to create normal CD-ROM and CD-R media (less than 700MB) or DVD images
# Includes best of breed software on the media.
# Included best of breed software on the media
# Stay as close to a normal desktop install with regard to features, or try specialized [http://spins.fedoraproject.org/ Spins].
# Make it easy to do a derived livecd with your own repositories, packages and art work
# Ability to create normal CD-ROM and CD-R media (less than 700 MB) or DVD images.
# Data persistence
# Make it easy to do a derived Live CD with your own repositories, packages, and artwork.
# API used by LTSP, appliance creator and others  
# API used by LTSP, appliance creator and others.


== Contributors ==
== Contributors ==


* [[DavidZeuthen]] - Primary developer and maintainer of [http://hal.freedesktop.org HAL]  and OLPC contributor
* [[DavidZeuthen]] - Primary developer and maintainer of [http://hal.freedesktop.org HAL]  and OLPC contributor.
* [[JeremyKatz]] - Fedora Ninja. Adds backend for installing from a live image into [[Anaconda|  Anaconda]]  
* [[JeremyKatz]] - Fedora Ninja. Adds backend for installing from a live image into [[Anaconda|  Anaconda]].
* [[DouglasMcClendon]] - LiveOS device mapper trickster
* [[DouglasMcClendon]] - LiveOS device mapper trickster.


== Communicate ==
== Communicate ==


Fedora Live image users and developers can participate and contribute in the discussions happening in the [http://admin.fedoraproject.org/mailman/listinfo/livecd Fedora Live CD list].
Fedora Live image users and developers can participate and contribute in the discussions happening in the Fedora {{fplist|livecd}} list. ([http://www.redhat.com/mailman/listinfo/fedora-livecd-list predecessor list archives])
: ([http://www.redhat.com/mailman/listinfo/fedora-livecd-list predecessor list archives])


== Finding the Code ==
== Finding the Code ==


The source code for the live CD tools is maintained in git.  The repository is at 'git://git.fedoraproject.org/git/hosted/livecd' and can be browsed via the [http://git.fedoraproject.org/?p=hosted/livecd gitweb interface] .  You can install it easily by installing the 'livecd-tools' package.
The source code for the Live CD tools is maintained in git.  The repository is at https://github.com/livecd-tools/livecd-tools/ .  You can install it easily by installing the 'livecd-tools' package.


Kickstart files are in the spin-kickstarts.noarch package.
Kickstart files are in the spin-kickstarts.noarch package.
Line 75: Line 52:
== Hard Drive Installation ==
== Hard Drive Installation ==


The ability to install to the hard drive is available in Fedora 7 and above releases. After the live media boots, click on the install icon on your desktop to start the installation.  Installation from live image requires that GRUB and the /boot directory be installed onto a drive with an MSDOS partition label, or that the current machine supports EFI booting.  If a pc-clone machine has only GPT harddrives then you may need to use something such as a USB2.0 flash memory device (with an MSDOS partition label) as an intermediate destination.
The ability to install to a hard drive is available releases since Fedora 7. After the live media boots, click on the install icon on your desktop to start the installation.  Installation from live image requires that GRUB and the /boot directory be installed onto a drive with an MSDOS partition label, or that the current machine supports EFI booting.  If a pc-clone machine has only GPT hard drives, then you may need to use something such as a USB2.0 flash memory device (with an MSDOS partition label) as an intermediate destination.
 
In Fedora 15, instead of clicking the desktop icon, choose Applications->System Tools->Install to Hard Drive from the menu along the top of the screen.


== Media References ==
== References ==


* [http://www-128.ibm.com/developerworks/linux/library/l-fedora-livecd/index.html IBM Developer Works: Build a Fedora 6 Live CD]
* [https://web.archive.org/web/20080611062804/http://www-128.ibm.com/developerworks/linux/library/l-fedora-livecd/index.html Mayank Sharma "IBM Developer Works: Build a Fedora Live CD" (archive.org version from June 2008)]
* [[LiveOS image]]

Latest revision as of 04:38, 14 May 2024

Download and Create Live image or Live USB

Read the documentation for how to download a pre-built Fedora live image, create a bootable USB drive or CD/DVD from it, then usie it.

Advantages and Limitations

Benefits:

  • You can demonstrate features or try out a release, including testing hardware functionality, before hard disk/SSD installation.
  • Live USB/CD/DVD installation is faster than regular installation. Live USB/SD installation typically takes only a few minutes and can be configured with persistent storage.
  • You can use Live CD technology for backup and recovery of your installed hard drive.

Limitations:

  • It is not possible to choose packages during installation. Live images typically have fewer packages than a regular installation image.
  • It is not possible to do an upgrade via the Anaconda installer. If you have a separate /home partition, you can just not format it during the installation and thus preserve your settings and /home content.
  • It is not possible to choose a non-default filesystem.
  • Once you shutdown a computer running from a Live CD, you will lose any settings or packages installed, but Live USB/SD installations may be configured with persistent storage.

Fedora Live image features

Current features:

  1. A booted Live CD uses a temporary, in-memory, read-write rootfs, so it's possible to install software for use while the Live CD is running.
  2. Data persistence options available on Live USB/SD installations.
  3. Install to hard disks or USB/SD drives.
  4. Uses SELinux in enforcing mode and other security features by default.
  5. Includes best of breed software on the media.
  6. Stay as close to a normal desktop install with regard to features, or try specialized Spins.
  7. Ability to create normal CD-ROM and CD-R media (less than 700 MB) or DVD images.
  8. Make it easy to do a derived Live CD with your own repositories, packages, and artwork.
  9. API used by LTSP, appliance creator and others.

Contributors

Communicate

Fedora Live image users and developers can participate and contribute in the discussions happening in the Fedora livecd list. (predecessor list archives)

Finding the Code

The source code for the Live CD tools is maintained in git. The repository is at https://github.com/livecd-tools/livecd-tools/ . You can install it easily by installing the 'livecd-tools' package.

Kickstart files are in the spin-kickstarts.noarch package.

Hard Drive Installation

The ability to install to a hard drive is available releases since Fedora 7. After the live media boots, click on the install icon on your desktop to start the installation. Installation from live image requires that GRUB and the /boot directory be installed onto a drive with an MSDOS partition label, or that the current machine supports EFI booting. If a pc-clone machine has only GPT hard drives, then you may need to use something such as a USB2.0 flash memory device (with an MSDOS partition label) as an intermediate destination.

In Fedora 15, instead of clicking the desktop icon, choose Applications->System Tools->Install to Hard Drive from the menu along the top of the screen.

References