个人工具

“UbuntuHelp:LiveCD”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/LiveCD}}
 
{{From|https://help.ubuntu.com/community/LiveCD}}
 
{{Languages|UbuntuHelp:LiveCD}}
 
{{Languages|UbuntuHelp:LiveCD}}
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.
+
== Introduction ==
=== Downloading the LiveCD ===
+
Almost any Ubuntu CD can also be used as a LiveCD as well as an installer.  Only the Alternate Images and sometimes the UNR lack this functionality.  [[UbuntuHelp:SwitchingToUbuntu/FromWindows | Windows people]] might be familiar with the term 'boot CD' or 'bootable CD' - a "LiveCD session" is more than a boot CD, because you get a normal desktop environment with all the normal programs.  A live CD should even find your Internet connection and let you surf the Internet with Firefox.
[http://releases.ubuntu.com/dapper/ Download Ubuntu 6.06]<<BR>>
+
[http://distrowatch.com  Most versions ("distributions") of Linux] have this functionality on their installer CD, although Ubuntu tries to make their live CD the easiest to use.
[http://releases.ubuntu.com/gutsy/ Download Ubuntu 7.10]<<BR>>
+
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 install running from a hard-drive, because a CD will always be physically slower than a hard drive. If you want to keep your settings when you restart your LiveCD, you can use a [[UbuntuHelp:LiveCD/Persistence | persistant image]].
[http://releases.ubuntu.com/hardy/ Download Ubuntu 8.04]<<BR>>
+
=== Reasons for Using a LiveCD Session ===
[http://releases.ubuntu.com/intrepid/ Download Ubuntu 8.10]<<BR>>
+
LiveCD sessions are good for:
[http://releases.ubuntu.com/jaunty/ Download Ubuntu 9.04]
+
* a quick 'demo' on a machine before installing/upgrading Ubuntu
=== This "special LiveCD version of Ubuntu" -- how is it different from the standard version of Ubuntu? ===
+
* checking the hardware works as expected
No difference. As of Ubuntu 6.06 (Dapper Drake), the standard "desktop version" of Ubuntu (the [[UbuntuHelp:GraphicalInstall|GraphicalInstall]]) '''is''' the LiveCD version of Ubuntu.
+
* seeing if you like the look & feel of the distro
=== Using the LiveCD ===
+
* preparing yourself and your unique hardware if required
After you burn the cd (See [[UbuntuHelp:BurningIsoHowto|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.  
+
* repair tasks such as
See also [[UbuntuHelp:LiveCdFaq|LiveCdFaq]]
+
* [[UbuntuHelp:WindowsDualBoot#recovering-grub|repairing grub]] perhaps after (re)installing Windows
=== Keeping your LiveCD settings ===
+
* fixing Windows problems on a machine that doesn't have a [[UbuntuHelp:WindowsDualBoot | dual-boot]]
If you want to save your LiveCD session to a USB stick, check [[UbuntuHelp:LiveCDPersistence|LiveCDPersistence]]
+
* [[UbuntuHelp:Antivirus | anti-virus]] issues
=== Customizing Ubuntu-based LiveCD (make your own LiveCD) ===
+
* [[UbuntuHelp:DataRecovery | data recovery]]
If you want to customize Ubuntu-based Live CD you should read [[UbuntuHelp:LiveCDCustomization|LiveCDCustomization|Howto]], look at this wiki page for instructions - [[UbuntuHelp:LiveCDCustomization|LiveCDCustomization]]
+
* [[UbuntuHelp:HowtoPartition | resizing partitions]] to give Ubuntu more (or less) room
To create a customized live system without starting from an existing Ubuntu CD, see [[UbuntuHelp:LiveCDCustomizationFromScratch|LiveCDCustomizationFromScratch]].
+
* [[UbuntuHelp:HowtoPartition | adding a new partition]](s) to your hard-drive for [http://distrowatch.com   other distros]
=== See also ===
+
* preparing a machine for installing Ubuntu, if you are shy of using default or automatic settings
 +
* 'showing off' Ubuntu to people on their own machine
 +
* using on a random computer where access is limited
 +
* safely using a computer which you don't trust the security of.<<BR>>
 +
This is particularly good if you have a usb stick or something to save your data and settings on (see '[[UbuntuHelp:LiveCD/Persistence | persistent image]]')
 +
=== Other Ways to install Ubuntu ===
 +
LiveCDs are designed for people that want to use Linux on a computer for a few hours.  If you want to carry a LiveCD around with you, a [[UbuntuHelp:LiveCD/Persistence | persistent image]] lets you customise your live session. If you want to use Linux on a computer for a few months, [[UbuntuHelp:Wubi]] lets you install Ubuntu inside Windows. If you want to use Linux on a computer permanently, [[UbuntuHelp:WindowsDualBoot|dual-booting|WindowsDualBoot|dual-booting]] lets you install Window and Ubuntu 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 [[UbuntuWiki:WubiGuide|the Wubi guide]] for more information about Wubi.
 +
[[UbuntuHelp:WindowsDualBoot|Dual-booting]] can be daunting at first, but tends to work better once you've got it set up. As you get more comfortable with Ubuntu, you can just forget about your Windows partition. Reinstalling Windows in a dual boot environment 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 request or create an Ubuntu CD. Once you've created a live CD, you can make a [[UbuntuHelp:Installation/FromUSBStick#live-usb|live USB]] memory stick if you prefer.
 +
To get a free official CD (or several), use the [https://shipit.ubuntu.com/   Shipit service], which can take 12 weeks.  It is always nice to have a free official CD, or a few to give away (selling them isn't really allowed).
 +
You can also get Ubuntu by [http://www.ubuntu.com/getubuntu/download  downloading] the Desktop Edition of Ubuntu, then [[UbuntuHelp:BurningIsoHowto | making your own CD]]. Cheap "write once" CDs in packs of 10 or more are usually best - you'll want to burn a new CD at least once every 6 months, when new versions of Ubuntu are released.  It's best to avoid DVDs, which are more expensive and fragile, and less likely to boot in older computers.  You should burn your CD at the lowest speed possible, to make sure the CD is created correctly.  See [[UbuntuHelp:GettingUbuntu|GettingUbuntu]] for more information about getting a live CD.
 +
=== 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 [[UbuntuHelp:BootFromCD | booting From the CD]] guide for more information.
 +
{|border="1" cellspacing="0"
 +
|https://help.ubuntu.com/community/LiveCD?action=AttachFile&do=get&target=804+Live+1+.png%7CUp+or+Down+arrow+on+keyboard+to+get+your+language+and+then+press+enter%7Calign%3D%22left%22>'''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
 +
|}
 +
{|border="1" cellspacing="0"
 +
|https://help.ubuntu.com/community/LiveCD?action=AttachFile&do=get&target=804+Live+2+.png%7Calign%3D%22right%22>'''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, read the [[UbuntuHelp:BootOptions|boot options]] for more information.
 +
{|border="1" cellspacing="0"
 +
|https://help.ubuntu.com/community/LiveCD?action=AttachFile&do=get&target=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 [https://answers.launchpad.net/ubuntu/+addquestion  Launchpad] or use [[UbuntuHelp:Signpost | Signpost Help]], or both.
 +
=== Installing Programs or Other Packages ===
 +
You can install programs to a LiveCD session in the [[UbuntuHelp:InstallingSoftware|normal way]], although these will be forgotten as soon as you switch the machine off.  For example, you might install [[UbuntuHelp:Antivirus | antivirus]] or [[UbuntuHelp: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 [[UbuntuHelp:LiveCD/Persistence|persistent image]].
 +
=== Making a Customised LiveCD ===
 +
If you want to make custom Ubuntu-based Live CD, you should read the [[UbuntuHelp:LiveCDCustomization|LiveCD Customisation HowTo]].  Without even starting from an existing Ubuntu CD you can make a customised live system, see [[UbuntuHelp: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).
 +
{|border="1" cellspacing="0"
 +
|https://help.ubuntu.com/community/LiveCD?action=AttachFile&do=get&target=ubuntu+boot+password.gif>'''Figure 4:'' Just press enter to get past this, or let it time-out
 +
|}
 +
=== 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 [[UbuntuHelp: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 [[UbuntuHelp:LiveCD/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 [[UbuntuHelp:UsingTheTerminal|terminal]], and typing in:
 +
<pre><nowiki>
 +
$ sudo passwd ubuntu
 +
</nowiki></pre>
 +
=== 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 ==
 
* [[UbuntuHelp:CdDvd|CdDvd]]
 
* [[UbuntuHelp:CdDvd|CdDvd]]
 +
* [[UbuntuHelp:BootFromCD|Common problems booting from the CD]]
 
----
 
----
 
[[category:CategoryLive]]
 
[[category:CategoryLive]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年11月17日 (二) 19:45的版本

Introduction

Almost any Ubuntu CD can also be used as a LiveCD as well as an installer. Only the Alternate Images and sometimes the UNR lack this functionality. Windows people might be familiar with the term 'boot CD' or 'bootable CD' - a "LiveCD session" is more than a boot CD, because you get a normal desktop environment with all the normal programs. A live CD should even find your Internet connection and let you surf the Internet with Firefox. Most versions ("distributions") of Linux have this functionality on their installer CD, although Ubuntu tries to make their live CD 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 install running from a hard-drive, because a CD will always be physically slower than a hard drive. If you want to keep your settings when you restart your LiveCD, you can use a persistant image.

Reasons for Using a LiveCD Session

LiveCD sessions are good for:

  • a quick 'demo' on a machine before installing/upgrading Ubuntu
  • checking the hardware works as expected
  • seeing if you like the look & feel of the distro
  • preparing yourself and your unique hardware if required
  • repair tasks such as
  • repairing grub perhaps after (re)installing Windows
  • fixing Windows problems on a machine that doesn't have a dual-boot
  • anti-virus issues
  • data recovery
  • resizing partitions to give Ubuntu more (or less) room
  • adding a new partition(s) to your hard-drive for other distros
  • preparing a machine for installing Ubuntu, if you are shy of using default or automatic settings
  • 'showing off' Ubuntu to people on their own machine
  • using on a random computer where access is limited
  • safely using a computer which you don't trust the security of.<
    >

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 install Ubuntu

LiveCDs are designed for people that want to use Linux 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 Linux on a computer for a few months, UbuntuHelp:Wubi lets you install Ubuntu inside Windows. If you want to use Linux on a computer permanently, dual-booting|WindowsDualBoot|dual-booting lets you install Window and Ubuntu 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. Dual-booting can be daunting at first, but tends to work better once you've got it set up. As you get more comfortable with Ubuntu, you can just forget about your Windows partition. Reinstalling Windows in a dual boot environment 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 request or create an Ubuntu CD. Once you've created a live CD, you can make a live USB memory stick if you prefer. To get a free official CD (or several), use the Shipit service, which can take 12 weeks. It is always nice to have a free official CD, or a few to give away (selling them isn't really allowed). You can also get Ubuntu by downloading the Desktop Edition of Ubuntu, then making your own CD. Cheap "write once" CDs in packs of 10 or more are usually best - you'll want to burn a new CD at least once every 6 months, when new versions of Ubuntu are released. It's best to avoid DVDs, which are more expensive and fragile, and less likely to boot in older computers. You should burn your CD at the lowest speed possible, to make sure the CD is created correctly. See GettingUbuntu for more information about getting a live CD.

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.

https://help.ubuntu.com/community/LiveCD?action=AttachFile&do=get&target=804+Live+1+.png%7CUp+or+Down+arrow+on+keyboard+to+get+your+language+and+then+press+enter%7Calign%3D%22left%22>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
https://help.ubuntu.com/community/LiveCD?action=AttachFile&do=get&target=804+Live+2+.png%7Calign%3D%22right%22>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, read the boot options for more information.

LiveCD?action=AttachFile&do=get&target=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).

LiveCD?action=AttachFile&do=get&target=ubuntu+boot+password.gif>'Figure 4: Just press enter to get past this, or let it time-out

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