Differences between revisions 81 and 120 (spanning 39 versions)
Revision 81 as of 2011-03-15 18:37:50
Size: 6739
Editor: ?ThomasLange
Comment: add FAI
Revision 120 as of 2020-12-29 01:55:52
Size: 8190
Editor: PaulWise
Comment: fix link, https
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
||<tablewidth="100%"style="border: 0px hidden ;">~-''Translation(s): [[pt_BR/DebianInstall|Brasileiro]] - [[de/DebianInstall|Deutsch]] - [[DebianInstall|English]] - [[it/DebianInstall|Italiano]] - [[DebianInstallSpanish|Español]] - [[fr/DebianInstall|Français]] - [[DebianInstallDutch|Nederlands]] - [[DebianInstallPolish|Polski]] - [[DebianRussian/DebianInstall| CAA:89 (Russkij)]] - [[el/DebianInstall|•»»·½¹º¬]] - [[zh_CN/DebianInstall|€S-‡]]''-~ ||<style="border: 0px hidden ; text-align: right;"> (!) [[/Discussion]] || ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: [[de/DebianInstall|Deutsch]] - [[el/DebianInstall|Ελληνικά]] - English - [[es/DebianInstall|Español]] - [[fr/DebianInstall|Français]] - [[it/DebianInstall|Italiano]] - [[ko/DebianInstall|Korean]] - [[DebianInstallDutch|Nederlands]] - [[DebianInstallPolish|Polski]] - [[pt_BR/DebianInstall|Brasileiro]] - [[ru/DebianInstall|Русский]] - [[si/DebianInstall|සිංහල-(Sinhala)]] - [[zh_CN/DebianInstall|简体中文]]-~
Line 4: Line 4:
<<TableOfContents(2)>>
Line 6: Line 5:
= Introduction =
Debian GNU/Linux is distributed freely over the Internet. It is possible to install it in several ways: from a CD, DVD or Bluray disk, over a network, bootstrapped from within another Linux distribution, or from a MS Windows system. After the initial installation has been completed, further upgrades and maintenance are performed using built-in package management tools. It's possible to upgrade major software components, or even transition between releases of Debian without reinstalling the system.

= Documentation =
Line 12: Line 7:
[[http://www.debian.org/releases/stable/i386/|Debian GNU/Linux Installation Guide]] (i386, stable branch) <<BR>>
[[http://www.debian.org/releases/stable/installmanual|Debian GNU/Linux Installation Guide]] (all architectures, stable branch)
https://www.debian.org/releases/stable/amd64/ - Debian GNU/Linux installation guide<<BR>>
https://debian-handbook.info/browse/stable/sect.installation-steps.html - Debian Administrator's Handbook - Installing Debian, Step by Step
Line 16: Line 11:
Sections 4, 5 and 6 describe how to obtain the installation media, boot the installation system and use the [[DebianInstaller|Debian Installer]]. <<TableOfContents>>
Line 18: Line 13:
= Which version of Debian to install =
Line 20: Line 14:
See [[DebianReleases|Debian Releases]]. ----
Line 22: Line 16:
= Installation Media = == Getting Familiar With Debian Releases ==
Refer to [[DebianReleases|Debian Releases]] for more information about the Debian versions, but the following ideas may guide your decision.
Line 24: Line 19:
See http://www.debian.org/distrib. === Stable ===
The whole point of Debian from day one was "Stable", in reaction to what else was extant at the time: !SoftLandingSystems "''SLS''" and ''Slackware''. Debian chose stability, as administrators needed for servers. Choose Debian "[[DebianStable|Stable]]" if you want the computer to just work for a prolonged period of time, without the risk of new packages breaking your habits or workflow. In most cases, when people talk about Debian, they are referring to Debian "Stable". The network install images for stable (<<DebianCodename(stable)>>) can be found at https://www.debian.org/CD/netinst/
Line 26: Line 22:
Generally one obtains the [[DebianInstaller|Debian Installer]] on a release medium (such as a CD) and uses it to install the desired set of packages, either from the same medium or via a network. There are alternatives such as booting from a network or installing from within an existing system using [[Debootstrap]]. === Testing ===
If it is important to you to have recent packages of ''all'' the installed software continuously rolling through Debian, and you are fine with constantly downloading and installing updates that will stir up a bug at times, and you want to help squash bugs threatening to get into ''Stable'', you may choose Debian "[[DebianTesting|Testing]]". The network install images for testing (<<DebianCodename(testing)>>) can be found at https://www.debian.org/devel/debian-installer/.
Line 28: Line 25:
== Download and burn a network install CD ==
For those with broadband Internet access it is often preferable to use a minimal network install CD, rather than download a full set of 650 MB iso images. This network install iso (called "netinst") contains just enough packages to install a very basic Debian system. During the install procedure only the required packages are downloaded from the Internet, making it more efficient overall. A netinst iso image is around 180 MB. Also available is the smaller [[https://secure.wikimedia.org/wikipedia/en/wiki/Cd|"Business card" size CD]] image that is around 40 MB.
=== Unstable ===
If it is important to you to have the absolute latest packages available in Debian, you should learn about Debian "[[DebianUnstable|Unstable]]". There are currently no network install images for unstable. If you want to install unstable, download the image for stable and upgrade through testing to unstable by editing /etc/apt/sources.list.
----

== Choosing The Appropriate Installation Media ==
Be sure you have downloaded the installer for your [[https://www.debian.org/ports/|hardware architecture]]. (The [[https://www.debian.org/ports/i386/|i386]] architecture is for both Intel and AMD 32 bit CPUs. The [[https://www.debian.org/ports/amd64/|amd64]] architecture is for both Intel and AMD 64 bit CPUs.) The [[https://www.debian.org/ports/amd64/|amd64]] architecture is appropriate for most common hardware.

There are two main choices of installation media to meet your needs.

=== The Network Install Image ===
For those with reliable Internet access using a network install image often saves time, compared with downloading some of the 650 MB ISO images. This network install ISO (called "netinst") contains only a near-minimal Debian system. During installation as many packages as you request are downloaded from the Internet. A netinst iso image is around 180 MB but the CD or DVD images are much larger and will almost surely contain packages downloaded but not installed.
Line 33: Line 39:
If you have no way of establishing a network connection during the installation, then you will need to install using full installation CDs or DVDs. If you have no way of establishing a network connection while installing then you will need to install using at least a partial set of the installation CDs or DVDs.
Line 35: Line 41:
## * DebianNetworkInstall === The Full "CD/DVD" Image ===
These images are for those who need all available packages that are in the current "[[DebianStable|stable]]" release of Debian.
Line 37: Line 44:
== Download and burn full a CD/DVD set ==
The full CD set can be downloaded in .iso format from:
Although there are over 30 CDs (or 5 DVDs) in a full set, only the first CD or DVD is required to install Debian. The additional images are optional and include extra packages, that can be downloaded individually during the installation, or later.
----
Line 40: Line 47:
 * http://www.debian.org/distrib - Official download page
 * http://www.debian.org/CD/http-ftp - Debian mirrors
== Non-Free Firmware ==
Please refer to the [[Firmware]] Page to determine if and how you may need to download firmware for a successful installation.
Line 43: Line 50:
If you want to download one or more of the full 650 MB iso images, please use the [[jigdo]] tool which spreads out the load among various Debian servers, lightening their load as well as giving you a faster download. You can use one of the parallel installer image builds that also include all the non-free firmware packages directly. We have "netinst" CD images and also DVD installer images - see https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/
----
Line 45: Line 53:
 * http://www.debian.org/CD/jigdo-cd - [[jigdo]] ''(better)''
Line 47: Line 54:
Although there are over 30 CDs (or 5 DVDs) in a full set, only the first CD is required to install Debian. The additional CDs are optional and include extra packages, that can be downloaded individually during the installation, or later. == Creating a Bootable Debian USB Flashdrive ==
After downloading the .iso, the next step is to create some form of bootable media that you can use to install Debian. The most common form of installation is from a USB flash drive. If you wish to use a CD or DVD, you can use that method as well.
Line 49: Line 57:
 * [[DebianCDContents]] to find out what is on each CD. To create a bootable USB drive from Microsoft Windows or Mac OS a reliable choice is [[https://rufus.ie/|Rufus]].
Line 51: Line 59:
== Buy a set of CDs ==
The easiest way to install Debian is with a set of CDs bought from a vendor. There is a list of CD vendors:
To create a bootable USB drive on Linux follow the installation
[[https://www.debian.org/releases/stable/amd64/ch04s03.en.html|instructions]].
[TL;DR `cp debian.iso /dev/sdX` Be cautious!]
Line 54: Line 63:
 * http://www.debian.org/CD/vendors To burn the .iso to a CD on Microsoft Windows use [[https://www.imgburn.com/|IMGBurn]]
Line 56: Line 65:
= Net Boot via another Debian system =
There is also the possibility to boot from another computer without needing to use CD/floppy media at all. All you need is a TFTPD and a DHCPD running on the install-from computer. This is called installing via "netboot".
----
Line 59: Line 67:
 * NetworkBooting - the installation manual for more info on netboot installation. == Booting From a USB Flash Drive ==
If you plan to dual-booting with another OS, both OSes' need to be installed with the same boot mode. Most computers built after 2012 boot in UEFI mode, so this configuration dictates use of UEFI mode when installing and booting Debian. If the other system of your computer are installed in BIOS(legacy) mode, then you must install Debian in BIOS mode as well.
Line 61: Line 70:
= Install from within an existing system = You should be able to check the current boot mode in the first few seconds of your computer starting up. Some common options include the "F2", "F8", "F12", and "Del" keys.
Line 63: Line 72:
This can be done, even from within another distribution, using [[Debootstrap]]. Currently, Secure Boot is not available in Debian "Stretch". For a successful installation, make sure that Secure Boot is turned off. The next stable release of Debian, code named "[[DebianBuster|Buster]]", features Secure Boot.
Line 65: Line 74:
= See also = Once the proper boot mode is set, you are ready to start your installation. If the Debian Installer does not load, you may have to change your boot options and specify booting from USB.
----

== Installation ==
'''Prior to making any major change to your computer you should ALWAYS backup all of your work. While the Debian Installer has been extensively tested, it cannot prevent you from making mistakes nor a prevent a power failure in your city while you are installing your new operating system.'''

###To use sudo and your regular password for system administration, leave the root password empty during installation.
----

== Installation FAQ ==
ToDo
----

== Post-Install Tips ==
ToDo
----


== See also ==

 * [[DebianDesktopHowTo]]
Line 69: Line 98:
 * [[Installation+Archive+USBStick|A Portable Installer and Package Archive]]
Line 72: Line 102:
 * [[Debootstrap|How to install from within an existing system]]
Line 74: Line 105:
----
ToDo: this page needs a major rewrite.
 * [[https://www.debian.org/releases/stable/installmanual|Debian GNU/Linux Installation Guide]] (all architectures, stable branch)
 * [[PXEBootInstall]] - The manual for setting up a netboot server.
 * https://www.debian.org/CD/vendors
 * [[https://cdimage.debian.org/cdimage/|All Debian images]]
Line 78: Line 111:
||<-2 style="border-top:0;border-left:0">||<-5>''Source for those components''||
|| '''Media Name''' ||'''Boot''' ||'''udeb'''||'''Core system'''||'''XWindow'''||'''Desktop'''||'''on demand pkg'''||
||<-7 style="background-color:#aaccff; font-size:8pt; margin:2pt">CDs (optical medium)||
|| '''Business card CD'''|| CD || CD || Net || Net || Net || Net ||
|| '''Netinst CD card'''|| CD || CD || CD || Net || Net || Net ||
|| '''CD-1''' || CD || CD || CD || CD || CD or Net || CD or Net ||
|| '''DVD''' || DVD || DVD || DVD || DVD || DVD || DVD or Net ||
|| '''Blueray disk''' || BD || BD || BD || BD || BD || BD ||
||<-7 style="background-color:#aaccff; font-size:8pt; margin:2pt"> Usb keychain ||
|| '''hd-media''' || USB || iso ||<-4> iso or Net ||
||<-7 style="background-color:#aaccff; font-size:8pt; margin:2pt"> Floppy ||
|| '''Floppy'''<<FootNote(Booting DebianInstaller from floppy-disks is discontinued since Lenny.)>> || Floppy ||<-5> CD or DVD or Net ||
||<-7 style="background-color:#aaccff; font-size:8pt; margin:2pt"> Netboot ||
|| '''Netboot''' || TFTP || Net || Net || Net || Net || Net ||
|| '''mini-iso''' || CD || Net || Net || Net || Net || Net ||
||<-7 style="background-color:#aaccff; font-size:8pt; margin:2pt"> DOS / MS Windows ||
|| '''win32-loader''' || Windows<<FootNote(win32-loader don't actually boot from windows: It adds a boot menu entry, in boot.ini, that loads Debian-Installer's kernel an initrd from the NTFS partition)>> || Net || Net || Net || Net || Net ||
Line 96: Line 112:
CategoryQuickInstall
ToDo | CategoryObsolete - this page needs a thorough rewrite

Translation(s): Deutsch - Ελληνικά - English - Español - Français - Italiano - Korean - Nederlands - Polski - Brasileiro - Русский - සිංහල-(Sinhala) - 简体中文


https://www.debian.org/releases/stable/amd64/ - Debian GNU/Linux installation guide
https://debian-handbook.info/browse/stable/sect.installation-steps.html - Debian Administrator's Handbook - Installing Debian, Step by Step


Getting Familiar With Debian Releases

Refer to Debian Releases for more information about the Debian versions, but the following ideas may guide your decision.

Stable

The whole point of Debian from day one was "Stable", in reaction to what else was extant at the time: SoftLandingSystems "SLS" and Slackware. Debian chose stability, as administrators needed for servers. Choose Debian "Stable" if you want the computer to just work for a prolonged period of time, without the risk of new packages breaking your habits or workflow. In most cases, when people talk about Debian, they are referring to Debian "Stable". The network install images for stable (bookworm) can be found at https://www.debian.org/CD/netinst/

Testing

If it is important to you to have recent packages of all the installed software continuously rolling through Debian, and you are fine with constantly downloading and installing updates that will stir up a bug at times, and you want to help squash bugs threatening to get into Stable, you may choose Debian "Testing". The network install images for testing (trixie) can be found at https://www.debian.org/devel/debian-installer/.

Unstable

If it is important to you to have the absolute latest packages available in Debian, you should learn about Debian "Unstable". There are currently no network install images for unstable. If you want to install unstable, download the image for stable and upgrade through testing to unstable by editing /etc/apt/sources.list.


Choosing The Appropriate Installation Media

Be sure you have downloaded the installer for your hardware architecture. (The i386 architecture is for both Intel and AMD 32 bit CPUs. The amd64 architecture is for both Intel and AMD 64 bit CPUs.) The amd64 architecture is appropriate for most common hardware.

There are two main choices of installation media to meet your needs.

The Network Install Image

For those with reliable Internet access using a network install image often saves time, compared with downloading some of the 650 MB ISO images. This network install ISO (called "netinst") contains only a near-minimal Debian system. During installation as many packages as you request are downloaded from the Internet. A netinst iso image is around 180 MB but the CD or DVD images are much larger and will almost surely contain packages downloaded but not installed.

If your wireless network card is not recognized by the installer you might consider doing the installation using a wired (ethernet cable) connection or installing using a different network card. In any case it may be preferable to install with a wired connection for bandwidth reasons or simply to defer wireless setup until after the initial installation.

If you have no way of establishing a network connection while installing then you will need to install using at least a partial set of the installation CDs or DVDs.

The Full "CD/DVD" Image

These images are for those who need all available packages that are in the current "stable" release of Debian.

Although there are over 30 CDs (or 5 DVDs) in a full set, only the first CD or DVD is required to install Debian. The additional images are optional and include extra packages, that can be downloaded individually during the installation, or later.


Non-Free Firmware

Please refer to the Firmware Page to determine if and how you may need to download firmware for a successful installation.

You can use one of the parallel installer image builds that also include all the non-free firmware packages directly. We have "netinst" CD images and also DVD installer images - see https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/


Creating a Bootable Debian USB Flashdrive

After downloading the .iso, the next step is to create some form of bootable media that you can use to install Debian. The most common form of installation is from a USB flash drive. If you wish to use a CD or DVD, you can use that method as well.

To create a bootable USB drive from Microsoft Windows or Mac OS a reliable choice is Rufus.

To create a bootable USB drive on Linux follow the installation instructions. [TL;DR cp debian.iso /dev/sdX Be cautious!]

To burn the .iso to a CD on Microsoft Windows use IMGBurn


Booting From a USB Flash Drive

If you plan to dual-booting with another OS, both OSes' need to be installed with the same boot mode. Most computers built after 2012 boot in UEFI mode, so this configuration dictates use of UEFI mode when installing and booting Debian. If the other system of your computer are installed in BIOS(legacy) mode, then you must install Debian in BIOS mode as well.

You should be able to check the current boot mode in the first few seconds of your computer starting up. Some common options include the "F2", "F8", "F12", and "Del" keys.

Currently, Secure Boot is not available in Debian "Stretch". For a successful installation, make sure that Secure Boot is turned off. The next stable release of Debian, code named "Buster", features Secure Boot.

Once the proper boot mode is set, you are ready to start your installation. If the Debian Installer does not load, you may have to change your boot options and specify booting from USB.


Installation

Prior to making any major change to your computer you should ALWAYS backup all of your work. While the Debian Installer has been extensively tested, it cannot prevent you from making mistakes nor a prevent a power failure in your city while you are installing your new operating system.


Installation FAQ

ToDo


Post-Install Tips

ToDo


See also


ToDo | CategoryObsolete - this page needs a thorough rewrite