Diff for "LiveCD"


Differences between revisions 27 and 90 (spanning 63 versions)
Revision 27 as of 2009-06-29 21:45:19
Size: 1826
Editor: cpc5-hitc4-0-0-cust385
Comment: Added a link to BootFromCD
Revision 90 as of 2012-06-02 22:06:40
Size: 11679
Editor: 66
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
A LiveCD is a special version of Ubuntu (or Linux in general) that is built to run only off the CD without needing to be installed. This makes a great tool to test hardware, do system recovery or show new people Ubuntu. As of Ubuntu 6.06 (Dapper Drake), you can also install off the LiveCD. <<Include(Tag/NeedsExpansion)>>
## Page needs updating to newer ubuntu releases. Multiple sections like updating do not apply as much any more since later releases like 11.10 allow persistent storage allowing you to update the live cd and install additional packages.
Line 3: Line 4:
== Downloading the LiveCD == ||<tablestyle="float:right; font-size: 0.9em; width:35%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<TableOfContents(2)>>||
Line 5: Line 6:
[[http://releases.ubuntu.com/dapper/|Download Ubuntu 6.06]]<<BR>>
[[http://releases.ubuntu.com/gutsy/|Download Ubuntu 7.10]]<<BR>>
[[http://releases.ubuntu.com/hardy/|Download Ubuntu 8.04]]<<BR>>
[[http://releases.ubuntu.com/intrepid/|Download Ubuntu 8.10]]<<BR>>
[[http://releases.ubuntu.com/jaunty/|Download Ubuntu 9.04]]
= Introduction =
Line 11: Line 8:
== This "special LiveCD version of Ubuntu" -- how is it different from the standard version of Ubuntu? == A live CD can be used for a quick demo or test of Ubuntu. Try Ubuntu without any changes to your machine! Windows or whatever you use normally is unaffected after trying this and then rebooting.
Line 13: Line 10:
No difference. As of Ubuntu 6.06 (Dapper Drake), the standard "desktop version" of Ubuntu (the GraphicalInstall) '''is''' the LiveCD version of Ubuntu. The standard Ubuntu Cd can be used as a !LiveCd as well as an installer. Live mode is the default option when booting from CD. Only some of the non-standard downloads (such as the "Alternate Cd") lack this functionality. [[SwitchingToUbuntu/FromWindows | Windows users]] might be familiar with the term 'boot CD' or 'bootable CD' or 'Recovery/Restore Media'. A "LiveCD" is more than that because it gives the option of running a normal desktop environment with all the normal programs and some extras. A LiveCD usually finds your wired internet connection and Firefox should be able to surf the internet into here.
Line 15: Line 12:
== Using the LiveCD == This guide has screen-shots of the 8.04 and 10.04 Desktop Edition of Ubuntu. However, Lubuntu, Xubuntu, Kubuntu and even unofficial Ubuntu-based distros as well as other versions all tend to have similar screens & menus.
Line 17: Line 14:
After you burn the cd (See BurningIsoHowto for help if needed), pop it into any computer and reboot the computer. Ubuntu will load. After you are done, shut the computer down and remove the CD. Most [[http://distrowatch.com | distributions ]] (versions or "distros" of Linux) have this !LiveCd functionality on their installer CD, a few have a separate Cd to download. It is rare to find a distro that has no !LiveCd session at all. Ubuntu tries to make their LiveCD the easiest to use. Although a LiveCD session is a good way to demo Ubuntu ''without making changes to a machine'', a LiveCD will always be slower than a proper installation to the hard-drive. Cd-drives & Dvd-drives are physically slower than hard drives.
Line 19: Line 16:
See also LiveCdFaq You can use a [[/Persistence | persistent image]] to keep data & settings safe after shut-down. This does go against many reasons for using a !LiveCd session (rather than an installation) but it can be useful for multi-user machines, such as offices or in third world education projects.
Line 21: Line 18:
== Keeping your LiveCD settings == == Reasons for Using a LiveCD Session ==
Line 23: Line 20:
If you want to save your LiveCD session to a USB stick, check [[LiveCDPersistence]]

== Customizing Ubuntu-based LiveCD (make your own LiveCD) ==

If you want to customize Ubuntu-based Live CD you should read [[https://help.ubuntu.com/community/LiveCDCustomization|LiveCDCustomization Howto]], look at this wiki page for instructions - [[LiveCDCustomization]]

To create a customized live system without starting from an existing Ubuntu CD, see [[LiveCDCustomizationFromScratch]].
LiveCD sessions are good to:
 * give a 'demo' session on a machine before installing or upgrading
      * checks hardware works as expected
      * check the look & feel of the distro
 * repair or preparation for awkward installations
      * repair/replace/install grub perhaps after (re)installing [[DualBoot/Grub#recovering-grub | Windows]]
      * fix Windows problems on a machine that doesn't have a [[DualBoot/Windows | dual-boot]]
      * [[Antivirus | anti-virus]] problems on a Windows system
      * [[DataRecovery | data recovery]]
      * [[HowtoPartition | resizing partitions]] to give Ubuntu more (or less) room
      * [[HowtoPartition | adding a new partition]](s) to your hard-drive for [[http://distrowatch.com | other distros]] or for a new Windows
 * preparing a machine for installing Ubuntu, if you are shy of using default or automatic settings or if the hardware is too unique or awkward
 * 'showing off' Ubuntu to people on their own machine
 * using on a random computer where access is limited
 * a familiar desktop environment on an unfamiliar machine
 * safely using a computer which seems to have poor security or lacks privacy. This is particularly good if you have a Usb stick or something to save your data and settings on (see '[[/Persistence | persistent image]]')
Line 32: Line 38:
== See also == == Other Ways to Try Ubuntu ==

LiveCDs are designed for people that want to use Ubuntu on a computer for a few hours. If you want to carry a LiveCD around with you, a [[/Persistence | persistent image]] lets you customise your live session. If you want to use Ubuntu on a computer for a few weeks or months, [[Wubi]] lets you install Ubuntu inside Windows. If you want to use Linux on a computer permanently, [[DualBoot/Windows|dual-booting]] lets you install Window and Ubuntu (or which-ever distro) side-by-side on the same computer.

Because Wubi needs Windows and Ubuntu to co-operate, you have to deal with all the problems of both systems. For example, it's not easy to completely uninstall Wubi. An experienced linux user or someone with considerable technical knowledge about Windows might find it better to try Wubi in some certain circumstances where dual-booting is infeasible or inadvisable. See [[Ubuntu:WubiGuide|the Wubi guide]] for more information about Wubi, particularly how to uninstall it cleanly.

[[DualBoot/Windows|Dual-booting]] can be daunting at first, but tends to work better once you've got it set up. This allows Window & Ubuntu to work without relying on the other for anything, except the boot-loader. As you get more comfortable with Ubuntu, you can just forget about your Windows partition. Reinstalling Windows is quite tricky, so it's best to leave your Windows partition in place unless you're absolutely sure you'll never use Windows again.

= How-To LiveCD Ubuntu =

== Preparing your LiveCD ==

You need to create, borrow, buy or request an Ubuntu CD or [[Installation/FromUSBStick#live-usb | Usb-stick]]. Once you have an Ubuntu Cd or Usb it should work as an installer and as a !LiveCD or !LiveUsb. There are some downloads, such as the Alternate Cd that cannot be used as !LiveCd/Usb.

=== To create a LiveCd ===

 * [[http://www.ubuntu.com/getubuntu/download | Download]] Ubuntu. For a live CD, avoid the "alternate CD" & the Server Edition because it has no desktop. For installing, using the alternate CD is a good idea, if installing using the standard CD does not work.
 * [[BurningIsoHowto | Make your own CD]]. Cheap "write once" CDs in packs of 10 or more are usually best. You could burn a new CD once every 6 months to get the latest version but all version are supported for 18 months and long time support releases for 3 years. You could also use the remaining CDs for trying out other [[http://distrowatch.com | distros ]] Having a quick demo of other distros can help you understand Linux in general a LOT better a LOT faster, which helps you understand Ubuntu better.

=== To create a LiveUsb ===

 * The Usb stick needs to be 1Gb or more and there are 2 different pages giving advice. I prefer the first; [[Installation/FromUSBStick]], [[Installation/FromImgFiles]]


=== To buy an Ubuntu Cd ===

The official [[http://www.ubuntulinux.org/getubuntu/purchase | Cannonical store]], !OnDisc, OSDisc or your local Ubuntu team might be able to help you find somewhere in your country from which to buy Ubuntu CDs. Also see [[GettingUbuntu]] for more information.


== Using your LiveCD ==

Put the Ubuntu CD into the CD/DVD-drive and reboot the computer. You should see a menu with "Try Ubuntu without any change to your computer" at the top. If you don't get this menu, read the [[BootFromCD | booting From the CD]] guide for more information.

||<tablestyle="border: 0px solid black;" : style="border: 0px solid black;">{{attachment:804 Live 1 .png|Up or Down arrow on keyboard to get your language and then press enter|align="left"}}<<BR>>'''Figure 1:''' The first thing you will see when you boot from your Ubuntu CD<<BR>>Press the up or down arrow on keyboard to get your language and then press enter||

||<tablestyle="border: 0px solid black;" : style="border: 0px solid black;">{{attachment:804 Live 2 .png|align="right"}}<<BR>>'''Figure 2:''' F6 will give you Boot Options & allows you to edit the boot-string||


Choose "Try Ubuntu without any change to your computer". You should get a desktop which we call a "LiveCD session". If you don't see a desktop, or need safe graphics mode, read the [[BootOptions|boot options]] for more information.

||<tablestyle="border: 0px solid black;" : style="border: 0px solid black;">{{attachment:ubuntu boot gparted.gif}}<<BR>>'''Figure 3:''' The LiveCD lets you manage partitions with GPartEd.<<BR>>Also see the installer icon top-left||

The Firefox icon on the top panel should let you surf the internet. Other normal programs are available in the menus.

After you have finished, shut the computer down and remove the CD. At this point anything you saved to the desktop or Documents folders and such will vanish - only things you saved into folders on the hard-drive will remain. This means that there won't be any trace of your personal data (e-mails, passwords etc.) left on the machine, which can be quite useful if you don't trust the Windows installation on the computer.

If you have troubles getting the working desktop but if it is still not behaving then try asking for help in [[https://answers.launchpad.net/ubuntu/+addquestion | Launchpad]] or use [[Signpost | Signpost Help]], or both.


== Installing Programs or Other Packages ==

You can install programs to a LiveCD session in the [[InstallingSoftware|normal way]], although these will be forgotten as soon as you switch the machine off. For example, you might install [[Antivirus | antivirus]] or [[DataRecovery | data-recovery]] tools to fix the system installed on the computer's hard drive. Because space is limited on a LiveCD, you should limit the number of packages you install or consider using a [[/Persistence|persistent image]].

== Making a Customised LiveCD ==

If you want to make custom Ubuntu-based Live CD, you should read the [[LiveCDCustomization|LiveCD Customisation HowTo]]. Without even starting from an existing Ubuntu CD you can make a customised live system, see [[LiveCDCustomizationFromScratch|LiveCD Customisation From Scratch]].

= Troubles with a LiveCD =

== Logging in ==

Sometimes a LiveCD might ask you for a user-name or password. Just leave these blank and press enter (or allow it to time-out).

||<tablestyle="border: 0px solid black;" : style="border: 0px solid black;">{{attachment:ubuntu boot password.gif}}<<BR>>'''Figure 4:'' Just press enter to get past this, or let it time-out||

||<tablestyle="border: 0px solid black;" : style="border: 0px solid black;">{{attachment:ubuntu boot login.gif}}<<BR>>'''Figure 5:'' 10.04 login screen||

== Security and Updating ==

While linux systems are more secure than Windows, LiveCD sessions are not meant for long-term use nor for sessions lasting several days. Because LiveCDs can't easily be updated, they may well be vulnerable to security issues discovered in the months since their release. They also can't protect you against scams such as [[WikiPedia:Phishing|phishing]]. If a criminal broke in to your live session, any changes he made to your session would be reset along with everything else when you reboot, although he could make permanent changes to the computer's hard drive.

A [[/Persistence | persistent image]] can be updated as new security issues emerge, but also lets any damage done to your computer persist across sessions.

== Setting a Password ==

You can set a password during a LiveCD session by opening a [[UsingTheTerminal|terminal]], and typing in:

{{{
$ sudo passwd ubuntu
}}}


== Text-Mode Installation ==

If your normal installation fails without giving an error message, or if you want to install on a very limited system, you can use the text-based installer instead.

= See also =
Line 36: Line 129:
 * [[https://help.ubuntu.com/community/LiveCdRecovery | LiveCdRecovery ]]

Tag/tag.png

Needs Expansion
This article is incomplete, and needs to be expanded. More info...

Introduction

A live CD can be used for a quick demo or test of Ubuntu. Try Ubuntu without any changes to your machine! Windows or whatever you use normally is unaffected after trying this and then rebooting.

The standard Ubuntu Cd can be used as a LiveCd as well as an installer. Live mode is the default option when booting from CD. Only some of the non-standard downloads (such as the "Alternate Cd") lack this functionality. Windows users might be familiar with the term 'boot CD' or 'bootable CD' or 'Recovery/Restore Media'. A "LiveCD" is more than that because it gives the option of running a normal desktop environment with all the normal programs and some extras. A LiveCD usually finds your wired internet connection and Firefox should be able to surf the internet into here.

This guide has screen-shots of the 8.04 and 10.04 Desktop Edition of Ubuntu. However, Lubuntu, Xubuntu, Kubuntu and even unofficial Ubuntu-based distros as well as other versions all tend to have similar screens & menus.

Most distributions (versions or "distros" of Linux) have this LiveCd functionality on their installer CD, a few have a separate Cd to download. It is rare to find a distro that has no LiveCd session at all. Ubuntu tries to make their LiveCD the easiest to use. Although a LiveCD session is a good way to demo Ubuntu without making changes to a machine, a LiveCD will always be slower than a proper installation to the hard-drive. Cd-drives & Dvd-drives are physically slower than hard drives.

You can use a persistent image to keep data & settings safe after shut-down. This does go against many reasons for using a LiveCd session (rather than an installation) but it can be useful for multi-user machines, such as offices or in third world education projects.

Reasons for Using a LiveCD Session

LiveCD sessions are good to:

  • give a 'demo' session on a machine before installing or upgrading
    • checks hardware works as expected
    • check the look & feel of the distro

  • repair or preparation for awkward installations
  • preparing a machine for installing Ubuntu, if you are shy of using default or automatic settings or if the hardware is too unique or awkward
  • 'showing off' Ubuntu to people on their own machine
  • using on a random computer where access is limited
  • a familiar desktop environment on an unfamiliar machine
  • safely using a computer which seems to have poor security or lacks privacy. This is particularly good if you have a Usb stick or something to save your data and settings on (see 'persistent image')

Other Ways to Try Ubuntu

LiveCDs are designed for people that want to use Ubuntu on a computer for a few hours. If you want to carry a LiveCD around with you, a persistent image lets you customise your live session. If you want to use Ubuntu on a computer for a few weeks or months, Wubi lets you install Ubuntu inside Windows. If you want to use Linux on a computer permanently, dual-booting lets you install Window and Ubuntu (or which-ever distro) side-by-side on the same computer.

Because Wubi needs Windows and Ubuntu to co-operate, you have to deal with all the problems of both systems. For example, it's not easy to completely uninstall Wubi. An experienced linux user or someone with considerable technical knowledge about Windows might find it better to try Wubi in some certain circumstances where dual-booting is infeasible or inadvisable. See the Wubi guide for more information about Wubi, particularly how to uninstall it cleanly.

Dual-booting can be daunting at first, but tends to work better once you've got it set up. This allows Window & Ubuntu to work without relying on the other for anything, except the boot-loader. As you get more comfortable with Ubuntu, you can just forget about your Windows partition. Reinstalling Windows is quite tricky, so it's best to leave your Windows partition in place unless you're absolutely sure you'll never use Windows again.

How-To LiveCD Ubuntu

Preparing your LiveCD

You need to create, borrow, buy or request an Ubuntu CD or Usb-stick. Once you have an Ubuntu Cd or Usb it should work as an installer and as a !LiveCD or LiveUsb. There are some downloads, such as the Alternate Cd that cannot be used as !LiveCd/Usb.

To create a LiveCd

  • Download Ubuntu. For a live CD, avoid the "alternate CD" & the Server Edition because it has no desktop. For installing, using the alternate CD is a good idea, if installing using the standard CD does not work.

  • Make your own CD. Cheap "write once" CDs in packs of 10 or more are usually best. You could burn a new CD once every 6 months to get the latest version but all version are supported for 18 months and long time support releases for 3 years. You could also use the remaining CDs for trying out other distros Having a quick demo of other distros can help you understand Linux in general a LOT better a LOT faster, which helps you understand Ubuntu better.

To create a LiveUsb

To buy an Ubuntu Cd

The official Cannonical store, OnDisc, OSDisc or your local Ubuntu team might be able to help you find somewhere in your country from which to buy Ubuntu CDs. Also see GettingUbuntu for more information.

Using your LiveCD

Put the Ubuntu CD into the CD/DVD-drive and reboot the computer. You should see a menu with "Try Ubuntu without any change to your computer" at the top. If you don't get this menu, read the booting From the CD guide for more information.

Up or Down arrow on keyboard to get your language and then press enter
Figure 1: The first thing you will see when you boot from your Ubuntu CD
Press the up or down arrow on keyboard to get your language and then press enter

align="right"
Figure 2: F6 will give you Boot Options & allows you to edit the boot-string

Choose "Try Ubuntu without any change to your computer". You should get a desktop which we call a "LiveCD session". If you don't see a desktop, or need safe graphics mode, read the boot options for more information.

ubuntu boot gparted.gif
Figure 3: The LiveCD lets you manage partitions with GPartEd.
Also see the installer icon top-left

The Firefox icon on the top panel should let you surf the internet. Other normal programs are available in the menus.

After you have finished, shut the computer down and remove the CD. At this point anything you saved to the desktop or Documents folders and such will vanish - only things you saved into folders on the hard-drive will remain. This means that there won't be any trace of your personal data (e-mails, passwords etc.) left on the machine, which can be quite useful if you don't trust the Windows installation on the computer.

If you have troubles getting the working desktop but if it is still not behaving then try asking for help in Launchpad or use Signpost Help, or both.

Installing Programs or Other Packages

You can install programs to a LiveCD session in the normal way, although these will be forgotten as soon as you switch the machine off. For example, you might install antivirus or data-recovery tools to fix the system installed on the computer's hard drive. Because space is limited on a LiveCD, you should limit the number of packages you install or consider using a persistent image.

Making a Customised LiveCD

If you want to make custom Ubuntu-based Live CD, you should read the LiveCD Customisation HowTo. Without even starting from an existing Ubuntu CD you can make a customised live system, see LiveCD Customisation From Scratch.

Troubles with a LiveCD

Logging in

Sometimes a LiveCD might ask you for a user-name or password. Just leave these blank and press enter (or allow it to time-out).

ubuntu boot password.gif
Figure 4: Just press enter to get past this, or let it time-out

ubuntu boot login.gif
Figure 5: 10.04 login screen

Security and Updating

While linux systems are more secure than Windows, LiveCD sessions are not meant for long-term use nor for sessions lasting several days. Because LiveCDs can't easily be updated, they may well be vulnerable to security issues discovered in the months since their release. They also can't protect you against scams such as phishing. If a criminal broke in to your live session, any changes he made to your session would be reset along with everything else when you reboot, although he could make permanent changes to the computer's hard drive.

A persistent image can be updated as new security issues emerge, but also lets any damage done to your computer persist across sessions.

Setting a Password

You can set a password during a LiveCD session by opening a terminal, and typing in:

$ sudo passwd ubuntu

Text-Mode Installation

If your normal installation fails without giving an error message, or if you want to install on a very limited system, you can use the text-based installer instead.

See also


CategoryLive

LiveCD (last edited 2012-06-02 22:06:40 by 66)