Diff for "LiveCD"


Differences between revisions 1 and 53 (spanning 52 versions)
Revision 1 as of 2005-05-28 20:34:03
Size: 3803
Editor: adsl-213-190-44-43
Comment: imported from the old wiki
Revision 53 as of 2009-08-22 21:08:58
Size: 13305
Editor: 78-105-201-166
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= LiveCD = ||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<TableOfContents(2)>>||
Line 3: Line 3:
= Current/stable Live CD Images = = Introduction =
Line 5: Line 5:
== Downloading == Any Ubuntu Cd can also be used as a LiveCd as well as an installer. [[https://help.ubuntu.com/community/SwitchingToUbuntu/FromWindows | Windows people]] might be more familiar with the term 'boot cd' or 'bootable cd' but a "LiveCd session" is typically much more useful because it gives a normal desktop environment and all the normal programs - it should find the machine's internet connection and allow you to use Firefox from the top panel/taskbar to surf the internet.
Line 7: Line 7:
 * [http://releases.ubuntu.com/warty/warty-release-live-i386.iso WartyLive v1 ].Has 2.6.7 kernel, uses non-floppy emulation for booting, bootsplash, Gnome splash and wallpaper rebranding complete. See Bugs section below for known issues, feedback is greatly appreciated. [[http://distrowatch.com | Most other versions of linux]] (distros), not just Ubuntu, have this functionality on their installer Cd too. With most other distros you usually have to click 2 or 3 buttons to configure the network connection so it tends to be fairly easy but not as easy as Ubuntu :)
Line 9: Line 9:
== Technical Details ==

 * Similar Projects: GnoppixLive
 * i386-only for now, other archs are planned for [obsoleted by HoaryHedgehog / HoaryGoals] (see below)
 * Desktop & Base seeds
 * use of [http://am.xs4all.nl/phpwiki/index.php/ModuleMaker Morphix:mmaker]
 * ISO build script (dailybuild) now using isomaker (mmaker in morphix the repo)
 * the i386 versions (Warty and Hoary) contain a collection of WinFOSS
 * Repositories currently used for autobuilding:
  * deb http://archive.ubuntu.com/ubuntu warty main
  * deb http://security.ubuntu.com/ubuntu warty main
  * http://people.ubuntu.com/~lamont/LiveCD/

== Known Issues ==

'''[https://bugzilla.ubuntu.com/ Bugs] ''' of latest LiveCD image
 * Certain machines have the notorious GRUB Error 21 boot problem. To be investigated further. No known workaround as of now, needs further investigation. Probably we should think about going back to isolinux.
Probably User should upgrade their BIOS isn't a solution, maybe it helps.

 * Setsplash morphix-warthog init bug, superficial ( still untested )

== Screenshots ==

See also [http://am.xs4all.nl/phpwiki/index.php/TodoBase Morphix:todobase] and [http://am.xs4all.nl/phpwiki/index.php/TodoMain Morphix:todomain]
While a LiveCd session is a good way to demo Ubuntu to see how it works "without making changes to this machine" it is slower than a full proper install running from a hard-drive. Cd/Dvd-drives tend to be a lot slower at reading data than hard-drives. LiveCd sessions can also be tricky to keep data and settings between sessions but you can always use a '[[https://help.ubuntu.com/community/LiveCD?action=show&redirect=LiveCd#Persistent%20Image,%20keeping%20your%20setting | persistent image]]', perhaps on a usb-stick - see later.
Line 35: Line 12:
== Supported Languages == == Reasons for Using a LiveCd Session ==
Line 37: Line 14:
The following languages are supported for the moment,
which you can boot from the bootmenu:
LiveCd sessions are good to use for;
 * a quick 'demo' on a machine before installing/upgrading Ubuntu
      * to check the hardware works as expected
      * to see if you like the look & feel of the distro
      * to prepare yourself & your unique hardware if required
 * various repair tasks such as
      * [[https://help.ubuntu.com/community/WindowsDualBoot#Recovering%20GRUB%20after%20reinstalling%20Windows|repairing grub]] perhaps after (re)installing Windows
      * fixing Windows problems on a machine that doesn't have a [[https://help.ubuntu.com/community/WindowsDualBoot | dual-boot]]
      * [[https://help.ubuntu.com/community/Antivirus | anti-virus]] issues
      * [[https://help.ubuntu.com/community/DataRecovery | data recovery]]
      * [[https://help.ubuntu.com/community/HowtoPartition | resizing partitions]] to give Ubuntu more (or less) room
      * [[https://help.ubuntu.com/community/HowtoPartition | adding a new partition]](s) to your hard-drive for [[http://distrowatch.com | other distros]]
 * preparing a machine for installing Ubuntu onto if you are shy of using default or automatic settings
 * 'showing off' Ubuntu to people on their own machine
 * a safer and faster way of surfing the internet or even other uses of a machine that isn't your own. This is particularly good if you have a usb stick or something to save your data and settings on (see 'persistent image')
Line 41: Line 31:
 * Bulgarian
 * British
 * Chinese
 * Czech
 * Danish
 * Dutch
 * Finnish
 * French
 * German
 * Greek
 * Italian
 * Japanese
 * Latvian
 * Lithuanian
 * Polish
 * Russian
 * Slovak
 * Slovenian
 * Spanish
 * Swiss
 * Turkish
 * Taiwanese
== Other Trial Versions of Ubuntu ==
Line 64: Line 33:
Finally all languages, which gnome supports, could be added.
See /boot/grub/menu.lst
For another way of 'trying out' or having a longer demo of Ubuntu it might be worth considering installing Ubuntu inside Windows using the Wubi installer
https://help.ubuntu.com/community/Wubi or
https://wiki.ubuntu.com/WubiGuide
Line 67: Line 37:
Example: However, while the Wubi works very well on many machines and some people have even managed to keep it working for a few years it is really not meant for long-term use. I would tend to use LiveCd sessions with a [[https://help.ubuntu.com/community/LiveCD?action=show&redirect=LiveCd#Persistent%20Image,%20keeping%20your%20setting | persistent image]] rather than the Wubi although the Wubi is very much faster. Since it depends on Windows systems to work properly the Wubi is a bit like building a house on shifting sands. Also un-installing the Wubi and removing all traces of it is tough. I find a proper full [[https://help.ubuntu.com/community/WindowsDualBoot | dual-boot]] is much easier to set-up and also to remove. This is also much more robust than the Wubi as a proper dual-boot uses linux file-systems such as ext3 or ext4 and the linux boot-loaders such as [[https://help.ubuntu.com/community/GrubHowto | Grub]] or [[https://help.ubuntu.com/community/Glossary#L | Lilo]] <<BR>>
https://help.ubuntu.com/community/WindowsDualBoot
Line 69: Line 40:
title Ubuntu | Belgian
kernel (cd)/boot/vmlinuz lang=us ramdisk_size=100000 init=/etc/init noapic acpi=off apm=power-off vga=791 splash=silent initrd=miniroot.gz quiet BOOT_IMAGE=morphix lang=be
initrd (cd)/boot/miniroot.gz
Most linux users have a dual-boot, usually with Windows in the mix somewhere. [[http://en.wikipedia.org/wiki/Dual-boot|Multi-boot]] systems are usually still called dual-boot even if they have far more than 2 OS's to choose from. Installing Windows is a very tough challenge so it's better to avoid wiping it even if you find you have not used it in years. An experienced linux user or someone with considerable technical knowledge about Windows might find it better to try the Wubi in some certain circumstances where a proper decent install of Ubuntu is infeasible or inadvisable.
Line 74: Line 43:
= How-To LiveCd Ubuntu =
Line 75: Line 45:
== Gnoppix == == Preparation ==
Line 77: Line 47:
Gnoppix is a linux live cd based upon Ubuntu Linux, with a GNOME focus. More details at GnoppixLive. You need an Ubuntu Cd although it's also possible to get a "LiveUsb session" from a Usb stick and this is often also referred to as a "LiveCd session" because it does offer much the same functionality, perhaps a little more.
Line 79: Line 49:
== Remastering == To get a free official Cd or 2 (or more) 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 for giving away to other people - selling them is not really allowed although you are allowed to recoup costs incurred and to charge for technical support if you help them install Ubuntu or other distro. Read through the [[http://www.gnu.org/copyleft/gpl.html | GPL licence]] for further info. http://en.wikipedia.org/wiki/GNU_General_Public_License
 
To get Ubuntu much faster you might [[http://www.ubuntu.com/getubuntu/download | download]] it and then [[https://help.ubuntu.com/community/BurningIsoHowto | make your own Cd]], rather than (or in addition to) using [[https://shipit.ubuntu.com/ | Shipit]]. I tend to find the cheapest "write once" Cds that can only usually be bought in packets of 10 or more are much better for this than more expensive Cds. Dvds tend to be really rubbish for this. Low 'burn' speeds are better.
Line 81: Line 53:
The LiveCD is based on [http://www.morphix.org Morphix ]. Another guide to help is [[GettingUbuntu | Getting Ubuntu]] if any of this is being awkward for you. Don't worry. These things are seldom easy first time but once you have done this once or twice then it's really very easy most of the time.
Line 83: Line 55:
= Ongoing development =
Line 85: Line 56:
== New live CD design == == The How-To ==
Line 87: Line 58:
An entirely new infrastructure is being developed for the live CDs for the [obsoleted by HoaryHedgehog / HoaryGoals] release, with the following goals: So, put the Ubuntu Cd into the cd/dvd-drive and reboot the computer. This should hopefully get you to a menu with "Try Ubuntu without any change to your computer" as the top, default, option. If you don't get this menu then this guide should be able to help
https://help.ubuntu.com/community/BootFromCD
Line 89: Line 61:
 * Support for all officially-supported Ubuntu architectures
 * Simpler, more maintainable design
 * Sharing of code with other Ubuntu components which need similar functionality
  * Bootstrapping
  * Hardware detection
  * System configuration (locale, network, etc.)
  * X server configuration
 * Look and feel more like an installed Ubuntu system
 * Provide a framework for advanced features
  * Session save/restore
  * Live USB media
  * Live netboot sessions
{{attachment:ubuntu boot 1.gif | Up or Down arrow on keyboard to get your language and then press enter | align="left"}} {{attachment:ubuntu boot 2.gif | align="right"}}
Line 102: Line 63:
== Testing == Choosing the "Try Ubuntu without any change to your computer" should get you to a working desktop which we call a "LiveCd session". Exploring the [[ https://help.ubuntu.com/community/BootOptions | Boot Options]] should help if you have troubles getting the working desktop but if it is still not behaving then try asking for help https://answers.launchpad.net/ubuntu/+addquestion or https://help.ubuntu.com/community/Signpost/Questions#help
Line 104: Line 65:
Notes and caveats: {{attachment:ubuntu boot gparted.gif | The LiveCd showing how to reach GPartEd, also notice the installer icon top-left | align="middle"}}
Line 106: Line 67:
- Log in as 'root' for now
- The boot process asks a few too many questions. This will be fine-tuned as development continues
- X isn't configured yet (but this work is nearing completion). If you can copy in a working xorg.conf, run `/etc/init.d/gdm start` to start an X session
Note that Ubuntu's Server Edition works quite differently in that it doesn't have a gui desktop so it's LiveCd gets you to a working command-line rather than a working desktop - some other distros also run from the command-line rather than having a desktop. Anyway, from most LiveCd sessions Firefox on the top panel/taskbar should easily surf the internet and of course almost all the other normal programs are in the menu's along with one or two more.
Line 110: Line 69:
Here you'll find some testcases https://www.ubuntulinux.org/wiki/QAtesting. Feel free to add more cases. 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.
Line 112: Line 71:
== Downloading == One reason why a LiveCd session is so useful on machines that don't belong to you is that none of your personal data nor emails nor traces of financial transactions remains on the machine. There will only be traces of on-line activity at the isp, router, server or other monitoring system level.
Line 114: Line 73:
Daily test images are available here: == Installing Programs or Other Packages ==
Line 116: Line 75:
- http://cdimage.ubuntu.com/daily-live/
- rsync://cdimage.ubuntu.com/cdimage/daily-live/
Note that while the LiveCd doesn't give much space it is possible to install programs to a LiveCd session although these will be forgotten as soon as you switch the machine off. Still it can be handy for a few things such as installing and using an [[https://help.ubuntu.com/community/Antivirus | antivirus]] to deal with a Windows hard-drive without booting into that hard-drive, or for installing [[https://help.ubuntu.com/community/DataRecovery | data-recovery]] tools again without touching the hard-drive. Generally [[https://help.ubuntu.com/community/SwitchingToUbuntu/FromWindows | Windows]], [[https://help.ubuntu.com/community/SwitchingToUbuntu/FromMacOSX | Mac/Apple]] or perhaps even other [[https://help.ubuntu.com/community/SwitchingToUbuntu/FromLinux | Linux]] users might appreciate help from this guide <<BR>>
https://help.ubuntu.com/community/SynapticHowto <<BR>>
While some packages, updates and things can be installed it is worth keeping this to a minimum unless you use a persistent image, even then you might want to show some restraint in order to keep more space free for your own use (rather than the OS's).


== Persistent Image, keeping your settings ==

If you want to save your LiveCd session to a Usb stick, check [[LiveCDPersistence]]. A persistent image can give more space for installing packages and saving data. It also means programs and data don't get forgotten as soon as you shut down the machine :)


== 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 leaving these entry lines blank and pressing enter (or allowing it to time-out) should get you past this step without troubles.

{{attachment:ubuntu boot password.gif | Just press enter to get past this, or let it time-out | align="middle"}}


== Security and Updating ==

While linux systems are very much more secure than Windows it is worth noting that LiveCd sessions are not meant for long-term use nor for long sessions lasting for days.
https://help.ubuntu.com/community/Antivirus

It is not a good idea to update a normal LiveCd session because it will quickly run out of space. This means that known issues, exploits and vulnerabilities that are usually quickly patched in linux will be left open on the LiveCd. Also running a LiveCd session still leaves you vulnerable to phishing and also may allow a variety of attacks against your network or allow your machine to be used as a launch-place for a variety of attacks on other systems either on your network or externally. There are other security threats i don't fully understand although some comments near the end of
http://distrowatch.com/weekly.php?issue=20090803&mode=67 and at the beginning of
http://distrowatch.com/weekly.php?issue=20090810&mode=67 might explain some things. Mostly this will not be a problem because the OS and programs cannot be so easily subverted because the Cd cannot be written too, a LiveUsb or use of a persistent image removes this protection but does allow updates to be applied. Anyway, as you have seen from the [[https://help.ubuntu.com/community/Antivirus | Antivirus link]] it is very rare for linux to suffer from security issues due to inherent design. Also there is no anti-malware industry depending on security flaws in order to generate income streams.

While such problems might be incredibly rare and non-existent except in theoretical terms (especially in the Ubuntu LiveCd as opposed to most other distros LiveCd) it is worth being aware that there are issues to consider.

A [[https://help.ubuntu.com/community/LiveCD?action=show&redirect=LiveCd#Persistent%20Image,%20keeping%20your%20setting | persistent image]] removes a lot of the advantages of running a LiveCd session but does add back a lot more, especially in giving more space to allow for all the normal updates to be applied.


== 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 =

## * SimplifiedLiveCD ##
 * CdDvd
 * [[BootFromCD|Common problems booting from the CD]]

----
CategoryLive

Introduction

Any Ubuntu Cd can also be used as a LiveCd as well as an installer. Windows people might be more familiar with the term 'boot cd' or 'bootable cd' but a "LiveCd session" is typically much more useful because it gives a normal desktop environment and all the normal programs - it should find the machine's internet connection and allow you to use Firefox from the top panel/taskbar to surf the internet.

Most other versions of linux (distros), not just Ubuntu, have this functionality on their installer Cd too. With most other distros you usually have to click 2 or 3 buttons to configure the network connection so it tends to be fairly easy but not as easy as Ubuntu Smile :)

While a LiveCd session is a good way to demo Ubuntu to see how it works "without making changes to this machine" it is slower than a full proper install running from a hard-drive. Cd/Dvd-drives tend to be a lot slower at reading data than hard-drives. LiveCd sessions can also be tricky to keep data and settings between sessions but you can always use a 'persistent image', perhaps on a usb-stick - see later.

Reasons for Using a LiveCd Session

LiveCd sessions are good to use for;

  • a quick 'demo' on a machine before installing/upgrading Ubuntu
    • to check the hardware works as expected
    • to see if you like the look & feel of the distro

    • to prepare yourself & your unique hardware if required

  • various repair tasks such as
  • preparing a machine for installing Ubuntu onto if you are shy of using default or automatic settings
  • 'showing off' Ubuntu to people on their own machine
  • a safer and faster way of surfing the internet or even other uses of a machine that isn't your own. This is particularly good if you have a usb stick or something to save your data and settings on (see 'persistent image')

Other Trial Versions of Ubuntu

For another way of 'trying out' or having a longer demo of Ubuntu it might be worth considering installing Ubuntu inside Windows using the Wubi installer https://help.ubuntu.com/community/Wubi or https://wiki.ubuntu.com/WubiGuide

However, while the Wubi works very well on many machines and some people have even managed to keep it working for a few years it is really not meant for long-term use. I would tend to use LiveCd sessions with a persistent image rather than the Wubi although the Wubi is very much faster. Since it depends on Windows systems to work properly the Wubi is a bit like building a house on shifting sands. Also un-installing the Wubi and removing all traces of it is tough. I find a proper full dual-boot is much easier to set-up and also to remove. This is also much more robust than the Wubi as a proper dual-boot uses linux file-systems such as ext3 or ext4 and the linux boot-loaders such as Grub or Lilo
https://help.ubuntu.com/community/WindowsDualBoot

Most linux users have a dual-boot, usually with Windows in the mix somewhere. Multi-boot systems are usually still called dual-boot even if they have far more than 2 OS's to choose from. Installing Windows is a very tough challenge so it's better to avoid wiping it even if you find you have not used it in years. An experienced linux user or someone with considerable technical knowledge about Windows might find it better to try the Wubi in some certain circumstances where a proper decent install of Ubuntu is infeasible or inadvisable.

How-To LiveCd Ubuntu

Preparation

You need an Ubuntu Cd although it's also possible to get a "LiveUsb session" from a Usb stick and this is often also referred to as a "LiveCd session" because it does offer much the same functionality, perhaps a little more.

To get a free official Cd or 2 (or more) use the Shipit service which can take 12 weeks. It is always nice to have a free official Cd or a few for giving away to other people - selling them is not really allowed although you are allowed to recoup costs incurred and to charge for technical support if you help them install Ubuntu or other distro. Read through the GPL licence for further info. http://en.wikipedia.org/wiki/GNU_General_Public_License

To get Ubuntu much faster you might download it and then make your own Cd, rather than (or in addition to) using Shipit. I tend to find the cheapest "write once" Cds that can only usually be bought in packets of 10 or more are much better for this than more expensive Cds. Dvds tend to be really rubbish for this. Low 'burn' speeds are better.

Another guide to help is Getting Ubuntu if any of this is being awkward for you. Don't worry. These things are seldom easy first time but once you have done this once or twice then it's really very easy most of the time.

The How-To

So, put the Ubuntu Cd into the cd/dvd-drive and reboot the computer. This should hopefully get you to a menu with "Try Ubuntu without any change to your computer" as the top, default, option. If you don't get this menu then this guide should be able to help https://help.ubuntu.com/community/BootFromCD

Up or Down arrow on keyboard to get your language and then press enter align="right"

Choosing the "Try Ubuntu without any change to your computer" should get you to a working desktop which we call a "LiveCd session". Exploring the Boot Options should help if you have troubles getting the working desktop but if it is still not behaving then try asking for help https://answers.launchpad.net/ubuntu/+addquestion or https://help.ubuntu.com/community/Signpost/Questions#help

The LiveCd showing how to reach GPartEd, also notice the installer icon top-left

Note that Ubuntu's Server Edition works quite differently in that it doesn't have a gui desktop so it's LiveCd gets you to a working command-line rather than a working desktop - some other distros also run from the command-line rather than having a desktop. Anyway, from most LiveCd sessions Firefox on the top panel/taskbar should easily surf the internet and of course almost all the other normal programs are in the menu's along with one or two more.

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.

One reason why a LiveCd session is so useful on machines that don't belong to you is that none of your personal data nor emails nor traces of financial transactions remains on the machine. There will only be traces of on-line activity at the isp, router, server or other monitoring system level.

Installing Programs or Other Packages

Note that while the LiveCd doesn't give much space it is possible to install programs to a LiveCd session although these will be forgotten as soon as you switch the machine off. Still it can be handy for a few things such as installing and using an antivirus to deal with a Windows hard-drive without booting into that hard-drive, or for installing data-recovery tools again without touching the hard-drive. Generally Windows, Mac/Apple or perhaps even other Linux users might appreciate help from this guide
https://help.ubuntu.com/community/SynapticHowto
While some packages, updates and things can be installed it is worth keeping this to a minimum unless you use a persistent image, even then you might want to show some restraint in order to keep more space free for your own use (rather than the OS's).

Persistent Image, keeping your settings

If you want to save your LiveCd session to a Usb stick, check LiveCDPersistence. A persistent image can give more space for installing packages and saving data. It also means programs and data don't get forgotten as soon as you shut down the machine Smile :)

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 leaving these entry lines blank and pressing enter (or allowing it to time-out) should get you past this step without troubles.

Just press enter to get past this, or let it time-out

Security and Updating

While linux systems are very much more secure than Windows it is worth noting that LiveCd sessions are not meant for long-term use nor for long sessions lasting for days. https://help.ubuntu.com/community/Antivirus

It is not a good idea to update a normal LiveCd session because it will quickly run out of space. This means that known issues, exploits and vulnerabilities that are usually quickly patched in linux will be left open on the LiveCd. Also running a LiveCd session still leaves you vulnerable to phishing and also may allow a variety of attacks against your network or allow your machine to be used as a launch-place for a variety of attacks on other systems either on your network or externally. There are other security threats i don't fully understand although some comments near the end of http://distrowatch.com/weekly.php?issue=20090803&mode=67 and at the beginning of http://distrowatch.com/weekly.php?issue=20090810&mode=67 might explain some things. Mostly this will not be a problem because the OS and programs cannot be so easily subverted because the Cd cannot be written too, a LiveUsb or use of a persistent image removes this protection but does allow updates to be applied. Anyway, as you have seen from the Antivirus link it is very rare for linux to suffer from security issues due to inherent design. Also there is no anti-malware industry depending on security flaws in order to generate income streams.

While such problems might be incredibly rare and non-existent except in theoretical terms (especially in the Ubuntu LiveCd as opposed to most other distros LiveCd) it is worth being aware that there are issues to consider.

A persistent image removes a lot of the advantages of running a LiveCd session but does add back a lot more, especially in giving more space to allow for all the normal updates to be applied.

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)