Difference between revisions of "En:Beginners Guide"

From Sabayon Wiki
Jump to: navigation, search
(Passwords on live CD/DVD)
 
(35 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{I18n| [[De:Beginners_Guide|de]] [[En:Beginners Guide|en]]}}
+
{{I18n| [[De:Beginners_Guide|de]] [[En:Beginners Guide|en]] [[Fr:Beginners Guide|fr]]}}
  
Through this Wiki, on several places you can find Documentations and visual tours about how to install, and use Sabayon Linux.
+
This document will guide you through the process of installing SabayonLinux.  
  
To give you a overview, all those articles are merged here, into one synoptic page.
+
Before installing, you are advised to read the Frequently Asked Questions:
 +
[[FAQ]]
  
== System Requirements ==
+
If you're experiencing problems, the Wiki is an excellent resource to be consulted.
  
* '''Live Environment - No 3D Desktop''':
+
The IRC channel (https://www.sabayon.org/chat),
** ''i686'' Processor
+
** at least ''512 MB'' of RAM (1 GB suggested)
+
** a ''2D'' graphics card
+
** a ''[http://en.wikipedia.org/wiki/Display_Data_Channel DDC] capable Monitor''
+
** ''mouse'' and ''keyboard''
+
  
* '''Live Environment - 3D Desktop''':
+
and the forums (https://forum.sabayon.org/) are also available if the answer cannot be found here.  
** ''i686'' Processor (starting from AMD K6 and Intel Pentium II)
+
** at least ''512 MB'' of RAM (1 GB suggested)
+
** an '''[http://en.wikipedia.org/wiki/OpenGL OpenGL] capable 3D graphics card''' (mostly NVIDIA, ATI, Intel, VIA)
+
** a ''[http://en.wikipedia.org/wiki/Display_Data_Channel DDC] capable Monitor''
+
** ''mouse'' and ''keyboard''
+
  
* '''Installation''':
 
{{Note| Please note that the below Requirements can be a bit too low for some Desktop Environments.
 
A full KDE Desktop for example, CAN run with only 1 GB RAM, but you will most likely run out of memory during a session.
 
Especially when running programs, such as firefox or thunderbird. Please keep that in mind.}}
 
** ''i686'' Processor
 
** at least ''512 MB'' of RAM (1 GB suggested for decent eyecandy effects)
 
** an '''[http://en.wikipedia.org/wiki/OpenGL OpenGL] capable 3D graphics card''' (mostly NVIDIA, ATI, Intel, VIA)
 
** ''20'' GB of free space, that is bare minimum DVD Install. ''30+'' GB is highly recommended.
 
** ''8 GB'' of free space for miniCD. 10+ GB is recommended
 
** ''Internet connection'' (not mandatory but highly suggested)
 
** a ''[http://en.wikipedia.org/wiki/Display_Data_Channel DDC] capable Monitor''
 
** ''mouse'' and ''keyboard''
 
  
== The live CD/DVD ==
 
  
=== What Editions are available in Sabayon Linux? ===
+
{{Note| please bookmark this page, as the links mentioned in this guide, will lead you to other pages...}}
  
Sabayon is all about choice. You have many flavors to choose from.
+
== '''Installing Sabayon''' ==
  
You can download them from the mirrors, here:
+
===Installation Guide: Step by Step===
* [http://www.sabayon.org/mirrors Sabayon Mirrors Page]
+
  
The following choices are the main releases available in 32Bit (x86) or 64Bit (amd64):
+
==== install guide with grub2 and GPT ====
{{Note| "amd64" is also suitable for '''Intel''' based 64bit Processors}}
+
* [http://wiki.sabayon.org/index.php?title=HOWTO:_Install_Sabayon_with_GRUB2_and_GPT_on_a_New_System#C._Install_Sabayon Quick install guide with grub 2 and GPT]
1. KDE
+
2. Gnome
+
3. LXDE
+
4. MATE
+
5. XFCE
+
6. Enlightenment
+
All of the above mentioned Desktop Environments are fully featured.
+
  
7. CoreCDX
+
==== visual walkthrough installing Sabayon ====
CoreCDX is a minimal install for those wishing to configure the system more to their liking,
+
* [https://wiki.sabayon.org/index.php?title=Visual_Tour:_Installing_Sabayon#C._Visual_Tour visual walkthrough installing Sabayon]
(for more advanced users) in 32bit or 64bit., and uses the Fluxbox Window Manager.
+
====Pre-installation Preparation====
  
=== burning / checking the .iso image ===
+
===Make a note of your current hardware===
  
One of the most common problems with burning a Linux install CD/DVD is that people sometimes don't understand that an iso image file is not a normal file.  You cannot just burn the iso to disc to and expect it to work.  I repeat: '''you cannot simply put the iso file on a blank disk and expect it to work'''. In order to properly make a CD or DVD out of an iso image, you need special software.  Instructions for Nero and Isorecorder are included; for other programs, see the manual for the software, or just give one of these a shot.
+
Though not 100% necessary, it's a pretty good idea to know the specs of your computer. This can help to pre-plan and with some decisions later on during the installation. If you currently have MS Windows installed, there are several ways by which you can check some basic details of your system:
  
With Nero you just select file and burn image, then select the .iso file you want to burn. The software handles the rest.
+
* Start menu / all programs / accessories / system tools / system information
  
If you're looking for a good, alternative freeware solution, you can download a free image burner.
+
* Start menu / control panel / system
  
isorecorder [http://isorecorder.alexfeinman.com/isorecorder.htm] Simply download and install the correct version for your version of windows, then right click on the .iso and tell it to burn.
+
* Start menu / control panel / Hardware (tab on top) / device manager
  
== checking the integrity of the burned disc ==
+
* Start menu / my computer
  
Many people know they can check if a downloaded ISO file is OK by comparing the md5sum of the ISO file against the md5sum posted on the SL mirrors. For example:
+
Here are some questions to keep in mind while searching these areas:
  
{{Console| <pre class="clear">
+
How much hard drive space do I have ?
# md5sum -c SabayonLinux-x86_64-3.4f.iso.md5
+
SabayonLinux-x86_64-3.4f.iso: OK
+
</pre>}}
+
  
cf. the contents of ftp://bo.mirror.garr.it/mirrors/sabayonlinux/SabayonLinux-x86_64-3.4f.iso.md5 which are:
+
How much memory do I have ? (physical ram also know as ram)
645600788920443b372baae3544acffa SabayonLinux-x86_64-3.4f.iso
+
This is helpful for choosing your swap partition later.
  
so the ISO I downloaded was good.
+
Which CPU do I have ?
 +
This will help you decide if you choose a 64bit or 32bit operating system. You may need to go to the Intel or AMD websites to check your architure. Or you may be able to find it by using your favorite search engine.
  
Remember - verify the MD5 sum for the version of Sabayon that you downloaded - they are all different.  The MD5s can be found on the mirrors listed at: http://www.sabayonlinux.org/mirrors
+
===Other Pre-install Considerations===
  
But a different method is needed to verify the integrity of the LiveDVD/CD itself. You should select the verify written data checkbox in K3b before burning the DVD/CD, but if you forgot or still have doubts then the following methods can be used to check the integrity of the burnt LiveDVD/CD:
+
Do I want to use 2 operating systems (such as Sabayon and Windows) on 1 computer?
  
'''EDIT (May 24, 2012): Method 1 and Method 2 below for Linux no longer work, so jump to the end of this article for the latest method to use if you are not using Windows. If you are using Windows, see Method 3.'''
+
If you do you may wish to read the following links:
  
 +
[http://wiki.sabayon.org/index.php?title=HOWTO:_Dual_boot_Sabayon_Linux_and_Windows How to dual boot Sabayon and Windows]
  
 +
[http://wiki.sabayon.org/index.php?title=En:Security#Dual_Booting.2FMulti_Booting_with_Disk_Encryption Dual booting with hard disk encryption]
  
'''Method 1'''
+
I want to keep my current Windows installed, but I need to make room on my hard drive to install Sabayon
  
If you know the md5sum from the mirrors, you can find the md5sum of the LiveDVD/CD you burnt and compare the two.
+
[http://wiki.sabayon.org/index.php?title=HOWTO:_Dual_boot_Sabayon_Linux_and_Windows#Step_1:_Reduce_the_size_of_the_existing_partition Shrink an existing partition]
  
a) Boot up SL as usual from the HDD, then put the LiveDVD/CD in the optical drive.
+
Do I need to wipe my hard drive clean ?
  
b) Do the following (two commands) in a Terminal window:
+
Even if you delete files and over write a hard drive with a new operating system, old and potentially sensitive data can be retrieved using forensics. If you are looking for a truly clean start you may wish to read the following link and wipe your hard drive properly:
  
{{Console| <pre class="clear">
+
[http://wiki.sabayon.org/index.php?title=En:Security#Wiping_and_filling_hard_drive_with_useless_data How to wipe and shred data]
localhost fitzcarraldo # isoinfo -d -i /dev/cdrom
+
CD-ROM is in ISO 9660 format
+
System id: LINUX
+
Volume id: Sabayon Linux - x86-64
+
Volume set id:
+
Publisher id:
+
Data preparer id:
+
Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING
+
Copyright File id:
+
Abstract File id:
+
Bibliographic File id:
+
Volume set size is: 1
+
Volume set sequence number is: 1
+
Logical block size is: 2048
+
Volume size is: 2282392
+
El Torito VD version 1 found, boot catalog is in sector 751
+
Joliet with UCS level 3 found
+
Rock Ridge signatures version 1 found
+
Eltorito validation header:
+
    Hid 1
+
    Arch 0 (x86)
+
    ID ''
+
    Key 55 AA
+
    Eltorito defaultboot header:
+
        Bootid 88 (bootable)
+
        Boot media 0 (No Emulation Boot)
+
        Load segment 0
+
        Sys type 0
+
        Nsect 4
+
        Bootoff 2F0 752
+
localhost fitzcarraldo # dd if=/dev/cdrom bs=2048 count=2282392 conv=notrunc,noerror | md5sum
+
2282392+0 records in
+
2282392+0 records out
+
645600788920443b372baae3544acffa  -
+
4674338816 bytes (4.7 GB) copied, 594.962 s, 7.9 MB/s
+
localhost fitzcarraldo #
+
</pre>}}
+
  
Notice that the value I have used for bs= in the second command is the "Logical block size" displayed from the first command, and the value I have used for count= in the second command is the "Volume size" displayed from the first command. Make sure you use the values returned when ''you'' run the first command.
+
Is security and hard drive encryption important to me ?
  
The long alphanumeric string displayed should equal the m5dsum published on the SL mirrors provided that you recorded the LiveDVD/CD using 'session at once' mode (single session, disk-at-once), not 'track at once' mode (multi-session, track-at-once).
+
You may not know the answer to that question until a jealous lover decides to kill you in your sleep or some government agency arrives at your home to take you and your pc away ;). If you think privacy and security are important to you then read the following link:
  
In this example (SL x86-64 3.4f), the md5sum published on the mirrors for the ISO file is:
+
[http://wiki.sabayon.org/index.php?title=En:Security#Hard_Disk_Encryption_.26_boot_options Hard Disk Encryption]
645600788920443b372baae3544acffa SabayonLinux-x86_64-3.4f.iso
+
  
Notice that this matches the md5sum of /dev/cdrom as displayed by the second command above, so the burn was good. If it does not match the md5sum published on the mirrors then the LiveDVD/CD is useless and you need to burn another one.
+
Which kind of desktop do I want ?
  
 +
KDE, GNOME, Fluxbox, LXDE, Openbox, Xfce, and  Enlightenment are window managers for Linux. They have different functions and appearance. All can work well and have certain advantages. At this point it seems KDE and GNOME are more widely used. I think new Linux users migrating from Windows may find KDE and the classic style kickoff menu (start button and programs list) a little more familiar.
  
'''Method 2'''
+
===Final preparation for installation===
  
If you know the ISO you downloaded from the mirrors is good (because you checked the md5sum), you can create an ISO from the LiveDVD/CD and compare it with the good ISO.
+
Choose a download mirror
  
(In the example below I assume the original ISO you downloaded is on your desktop, so alter the path accordingly if it is somewhere else on your PC.)
+
These are different servers in various countries and regions where you can download Sabayon. Usually the closest country or region will download faster, but not always.
  
a) Boot up SL as usual from the HDD, then put the LiveDVD/CD in the optical drive.
+
[http://www.sabayon.org/mod/mirrors/ Download mirrors]
  
b) Do the following (three commands) in a Terminal window:
 
  
{{Console| <pre class="clear">
+
Click iso/ from the list
localhost fitzcarraldo # isoinfo -d -i /dev/cdrom
+
CD-ROM is in ISO 9660 format
+
System id: LINUX
+
Volume id: Sabayon Linux - x86-64
+
Volume set id:
+
Publisher id:
+
Data preparer id:
+
Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING
+
Copyright File id:
+
Abstract File id:
+
Bibliographic File id:
+
Volume set size is: 1
+
Volume set sequence number is: 1
+
Logical block size is: 2048
+
Volume size is: 2282392
+
El Torito VD version 1 found, boot catalog is in sector 751
+
Joliet with UCS level 3 found
+
Rock Ridge signatures version 1 found
+
Eltorito validation header:
+
    Hid 1
+
    Arch 0 (x86)
+
    ID ''
+
    Key 55 AA
+
    Eltorito defaultboot header:
+
        Bootid 88 (bootable)
+
        Boot media 0 (No Emulation Boot)
+
        Load segment 0
+
        Sys type 0
+
        Nsect 4
+
        Bootoff 2F0 752
+
localhost fitzcarraldo # cd /
+
localhost / # dd if=/dev/cdrom bs=2048 count=2282392 conv=notrunc,noerror > SabayonLinux-x86_64-3.4f.iso
+
2282392+0 records in
+
2282392+0 records out
+
4674338816 bytes (4.7 GB) copied, 612.163 s, 7.6 MB/s
+
localhost / # diff SabayonLinux-x86_64-3.4f.iso /home/fitzcarraldo/Desktop/SabayonLinux-x86_64-3.4f.iso
+
localhost / #
+
</pre>}}
+
  
Notice that the value I have used for bs= in the third command is the "Logical block size" displayed from the first command, and the value I have used for count= in the third command is the "Volume size" displayed from the first command. Make sure you use the values returned when ''you'' run the first command.
+
Too easy
  
If the result of the diff (compare file) command is just the usual prompt then the files are identical and the burn was good. In the example above it was. But if the result is:
+
====Choose the correct iso you want====
  
{{Console| <pre class="clear">
+
This is more tricky as the list is quite long. Look at the file names carefully. The file name will incude Sabayon_Linux; version number (as of this writing, 5.4); cpu type (amd64 for both intel and amd 64bit cpu's; or x86 for 32bit processors); and desktop type (E17 for enlightenment; G for GNOME; K for KDE; LXDE); and file type (we want .iso).
Files SabayonLinux-x86_64-3.4f.iso and /home/fitzcarraldo/Desktop/SabayonLinux-x86_64-3.4f.iso differ
+
</pre>}}
+
  
then the LiveDVD/CD is useless and you must burn another.
+
If you are unsure than use x86 for 32bit. 32bit operating systems will work on 64bit CPU's, but NOT vice-versa.
  
 +
Note: files that end with .iso.md5 or .iso.pkglist or .iso.torrent are NOT the iso file. The file image you need to burn to disk will end in .iso
  
'''Method 3'''
+
Example: Sabayon_Linux_5.4_amd64_K.iso
  
If you only have Windows installed on your HDD, apparently you can use a Windows shareware application to perform something similar to the above method -- see the following Web page for details:
+
If there are errors during installation you may want to come back here and downlown the .iso.md5 file that is a partner to your iso file. The .iso.md5 file is a small file to check the integrity of main iso file you downloaded.  
http://www.mepis.org/docs/en/index.php?title=Checking_the_integrity_of_a_Live_CD
+
  
 +
Example of the partner checksum file: Sabayon_Linux_5.4_amd64_K.iso.md5
  
TWO WARNINGS:
+
For instructions to use the md5 checksum read the following link:
  
1. I have not checked if the method for Windows on the above-mentioned Web page actually works, so use it at your own risk.
+
[http://wiki.sabayon.org/index.php?title=HOWTO:_Checking_the_integrity_of_a_LiveCD_or_LiveDVD How to check integrity of a live dvd]
  
2. The method for checking the integrity of a LiveCD under Linux, given on the Web page mentioned under Method 3, does not work for me. If I use the command '''md5sum /dev/cdrom''' it does '''not''' return the same md5sum as published on the mirrors '''even though the LiveCD is good'''. So do not use that method under Linux, use either Method 1 or Method 2 given in this Wiki article.
+
====Burn the iso file to dvd====
  
 +
It is very important to know that you do NOT simply burn the iso file as a data file to the dvd. There are many drink coasters out there from those that have. The selection on your dvd/cd coping software needs to say “burn as image”. This selection is not usually on the front of the control panel, but more likely buried under a tab somewhere. For more information on burning an iso to disk try the following links:
  
----
+
[http://pcsupport.about.com/od/toolsofthetrade/ht/burnisofile.htm From About.com PC Support]
  
EDIT (May 24, 2012): Method 1 and Method 2 no longer work, and the method for checking the integrity of a LiveCD under Linux, given on the Web page mentioned under Method 3, does now work. This is how to do it:
+
[http://wiki.sabayon.org/index.php?title=HOWTO:_Burn_Sabayon_from_Windows Sabayon how to burn dvd]
  
Insert the LiveDVD into the optical drive, let the disc spin up and then enter the following three commands:
+
====Booting Sabayon LiveDVD Image from a USB Device====
  
{{Console| <pre class="clear">
+
If you prefer to use a usb or flash drive instead of dvd to boot Sabayon you can try the following links:
md5sum /dev/cdrom | awk '{print $1}' > md5a.txt
+
md5sum ~/Sabayon_Linux_8_amd64_K.iso | awk '{print $1}' > md5b.txt
+
diff -qs md5a.txt md5b.txt
+
</pre>}}
+
  
(Obviously change the path and/or the ISO file name to match your circumstances.)
+
[http://wiki.sabayon.org/index.php?title=HOWTO:_Booting_Sabayon_LiveDVD_Image_from_a_USB_Device_with_Grub Boot dvd iso from usb]
  
If you get an error message while the md5sum is reading the disc, there must be something wrong either with the burn or with the optical drive itself.
+
[http://wiki.sabayon.org/index.php?title=HOWTO:_booting_Sabayon_CoreCD_image_from_a_USB_flash_with_Syslinux Boot CoreCD image from usb]
  
If you get the message "Files md5a.txt and md5b.txt differ" then the burn was bad.
+
It is easier though to install syslinux, format your flash drive in FAT32 or ext2/ext3 (the latter is required for LiveDVD images) and use unetbootin GUI tool on the iso image.
  
If you get the message "Files md5a.txt and md5b.txt are identical" then the burn was good.
+
====Change the boot priority in bios====
  
=== Passwords on live CD/DVD ===
+
BIOS is the pretty, black screen with white words you see when you first power on or restart your computer. Normally your hard drive is set to boot first. In order to boot your iso DVD you need to change the boot order so that the computer will boot from the cd/dvd player or usb first. To change the boot order you need to enter BIOS. To enter BIOS you need to push either DEL, F1 or ESC at the very beginning of start up/restart, depending on  which BIOS and motherboard you have. After you have entered BIOS you will need to use the arrows on the keyboard to move around and find the settings for boot order/boot priority. After you have made changes you will probably need to push F10 to save and exit.
  
* The root password:
+
{{Warning|''' Save and/or Backup anything on the hard drive you want to keep'''}}
no password is required: just press the Enter key.
+
  
* The sabayonuser password:
+
=='''Begin Installation'''==
no password is required: just press the Enter key.
+
  
 +
No doubt your eye balls are square and head is buzzing from hours and/or days of reading. At this point we should be ready to rock.
  
*For older releases (version 6 and earlier) the password for Root is "root" (without the quotes) and the password for Sabayonuser is "sabayonuser" (without the quotes).
+
Power on/Restart with Sabayon live DVD loaded in your player.
  
=== Visual walkthrough Booting process ===
+
The computer will power up and begin to load the DVD. It will bring you to a loading options screen. There will be 3-5 choices. You have about 45-60 second to choose, unless you press a key to stop the timer. The top option should be the main loading choice. Selecting this will not install, nor will it hurt your hard drive. It will simply load you to a desktop environment. It could take 3-5 minutes to load to desktop. After it loads you can check that the internet works and play with the system a bit. Keep in mind that the look and feel may be a bit slow and clunky because you are merely test driving on the DVD. After installation, look and feel will be much better. When you're done goofing off and decide for a more serious comitment:
  
Please see: [[Visual_Tour:_Boot-menu_Sabayon_LiveCD/DVD]]
+
{{Warning|''' Save and/or Backup anything on the hard drive you want to keep'''}}
  
When having a old NVidia card, and downloaded latest ISOs, chances are that they will not start the Window Manager/Desktop Environment (see the flavors above), but rather present you with a black screen.
+
===Click the “Install Sabayon” icon located near the top left corner===
  
There is nothing wrong with the ISOs, it is because "nvidia-drivers-304.64" or higher is installed by default.
+
The first few screens of the installer should be pretty straight forward even for novice computer users.
  
You can bypass that by hitting ctrl-alt-f1, remove the nvidia-drivers, (nouveau is installed too) <!-- FIXME: Link to remove nvidia-drivers? --~~~~ --> and restart xdm:
+
===Select Root password===
{{Console| <pre class="clear">/etc/init.d/xdm restart</pre>}}
+
  
For a overall view of which cards support what driver., please see: http://www.nvidia.com/object/IO_32667.html
+
In Sabayon, as with most GNU/linux systems, root is the equivalent of  “admin” in ms windows systems. This password is important and should be different than user password or any other pw. Linux is fundmentally safer in part because the root password is needed to make changes to important files. Viruses can't auto run and go crazy through your system because you would have to physically log in as root and then run the virus yourself, but we're too smart for that, right? Always initially log into Sabayon or any linux as user, never as root.  
  
The following visual tour will show you how to edit Xorg.conf: [[Visual_Tour:_Part_2_Editing_the_xorg.conf]]
+
You need root password to open Rigo (the GUI package manager for Entropy) and to run certain commands in the terminal.
  
== Installing Sabayon ==
+
===Select user name, full name, and user password===
  
For a installation guide, step-by-step, please see: [[En:Introduction#Installation_Guide:_Step_by_Step]]
+
User name is the name you will need at the login screen everytime you start your computer. (no spaces or funny symbols)
  
We also offer a visual walkthrough about installing Sabayon, please see: [[Visual_Tour:_Installing_Sabayon]]
+
User password is the password you need at the login screen everytime you start the computer.
 +
 
 +
Full name can be whatever you want including the same as user name. It can also have spaces, etc.
 +
 
 +
=== Advice on the hostname: ===
 +
 
 +
[[HOWTO:_Advice_on_the_hostname_to_specify_when_installing_Sabayon_Linux]]
  
=== Partitioning ===
+
===Create partition scheme===
  
 
When installing, Sabayon offers a standard partitioning scheme using LVM, and leaves Windows partitions untouched.
 
When installing, Sabayon offers a standard partitioning scheme using LVM, and leaves Windows partitions untouched.
Line 280: Line 174:
 
For [http://en.wikipedia.org/wiki/GUID_Partition_Table GPT] partitioning: [[HOWTO:_Install_Sabayon_with_GRUB2_and_GPT_on_a_New_System]]
 
For [http://en.wikipedia.org/wiki/GUID_Partition_Table GPT] partitioning: [[HOWTO:_Install_Sabayon_with_GRUB2_and_GPT_on_a_New_System]]
  
=== Advice on the hostname: ===
 
  
[[HOWTO:_Advice_on_the_hostname_to_specify_when_installing_Sabayon_Linux]]
+
Currently mbr style partitioning is the most widely used and and easiest for for nearly all os's to install to, though GUID (gpt) are gaining more acceptance in mac and latter newer versions of ms windows. Mbr partitioning is the recommended and least problem free at the moment for linux and bsd systems. With mbr partitioning, hard drives can have 4 primary partitions, but can have many logical and extended partitions. Logical/extended partitions are like imaginary branches off of one primary partition.Each LVM group or extended partition group will use 1 of your 4 primary partitions.
  
=== Dual boot with Windows ===
+
Regardless of which scheme you choose, you will need atleast one partition. One partition must contain / (root) partition. Other partitions are optional, but /swap is recommended (/home will be inside of root if you dont make an addition partition). Both /home and swap can be installed as logical partitions off of the /(root) primary partition if need be.
  
If you want to Dual boot with Windows, or first need to reduce the size of the existing partitions, please see: [[HOWTO:_Dual_boot_Sabayon_Linux_and_Windows]]
+
The simplest and most efficient way is to install the entire system to / on 1 primary partition. You will get a warning that swap is not installed, but a swap folder can be added after installation if you want it.
 +
 
 +
If for some reason you wish to install using multiple mount points or partitions i reccomend the following: I tend to pad partions with a little more volume than is required. You can adjust to leaner amounts if you are thin on hd space, but I recommend the following:
 +
 
 +
/boot 100mb ext4(32mb-100 is fine)
 +
 
 +
/ (root) 30,000mb ext4(about 30 gb) 18gb-30gb is fine, but /var will be inside /root, so I put more here.
 +
 
 +
/swap 1028mb – 4096mb swap(1gb-4gb) this should be about the size of your physical memory.
 +
 
 +
/home 40,000mb -200,000mb+ ext4(40gb-200gb+) This generally should be the biggest partition as all your personal things will come here, photos, films, games, music, bla bla bla.
 +
 
 +
If you want an education try reading the following links:
 +
 
 +
[http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=4 Gentoo partition guide]
 +
 
 +
[https://wiki.archlinux.org/index.php/Beginners%27_Guide#C:_Prepare_Hard_Drive Arch Linux partition guide]
 +
 
 +
[http://wiki.sabayon.org/index.php?title=HOWTO:_Manual_Partitioning_with_Sabayon_Linux Sabayon manual partitioning]
 +
 
 +
During the installation you will arrive at a page on the install asking "what kind of installation do you want ?". You can make your own decision about this, but i would recommend Create Custom Partition Scheme. In this way you can set the partitons and partition sizes to fit your needs. Upon selecting custom partion setup you will come to a new page. Click on the freespace or partition you want to change or install to, so that it is highlighted. Once the freespace or partition is highlighted you can then click one of the buttons to either Create, edit, or delete that particular freespace/partition.
 +
 
 +
For disk encryption you need atleast 2 primary partitions. /boot and / (/root). In this way all other directories such as /home and /var will be installed inside of / (/root). /boot must be unencrypted when you encrypt / (root). For extra security a 100mb partition can installed to a usb flash drive and install /boot to it., though not necessary.
 +
 
 +
In using LVM groups I have found i can not see swap after installation using LVM. As of yet, I'm not certain if swap is working with LVM groups. I do know swap works on its own primary partition. I have reports it also works on an extended partition. If you have a small amount of ram you may wish to take this into consideration.
 +
 
 +
====Dual Booting====
 +
 
 +
For dual booting Sabayon Linux and ms windows try the 2 links below:
 +
 
 +
* [http://wiki.sabayon.org/index.php?title=HOWTO:_Dual_boot_Sabayon_Linux_and_Windows Dual Booting with no encryption]
 +
 
 +
* [http://wiki.sabayon.org/index.php?title=En:Security#Dual_Booting.2FMulti_Booting_with_Disk_Encryption Dual Booting with Encryption]
 +
 
 +
===Boot Loader Option page===
 +
 
 +
After you have selected your partion and clicked ok, it will begin formatting and writing to disk. Within a few minutes you will arrive at the boot loader option page. You will want to leave the check box enabled for the bootloader. In most cases you will just click "next". If you are dual booting you STILL leave the check box enabled, but you may wish to click the "change" button. Dual booters should read the above link.
 +
 
 +
People booting only 1 operating system, Sabayon Linux, (and some dual booters) can click next without changing anything.
 +
 
 +
 
 +
===Finish DVD Installation===
 +
 
 +
After the boot loader menu you will arrive at the final installer screen. Kiss your lover. Hug the kids. Say a small prayer. Cross your fingers and . . .
 +
 
 +
Click "Reboot" !
 +
 
 +
Remove the DVD when the BIOS begins.
  
 
=== Install the Gentoo way ===
 
=== Install the Gentoo way ===
Line 292: Line 232:
 
[[HOWTO:_Install_from_an_existing_Linux_system]]
 
[[HOWTO:_Install_from_an_existing_Linux_system]]
  
== FAQ ==
+
=='''The Aftermath: Post-installation upgrades and configuration'''==
 +
 
 +
With a little luck you will have passed the grub bootloader menu and now find yourself at the login screen.
 +
 
 +
Enter user name and user password
 +
 
 +
After you load to desktop you will need a few minutes to let the system check for updates(it takes a while on a new install). When its finished a yellow shield icon will appear in the notification area near the clock.
 +
 
 +
Don't fall out of your chair !
 +
 
 +
It is not uncommon to have 300-1000 updates needing to be done on a fresh install. Remember Sabayon is a rolling release so we get new stuff a lot. After the initial install, update, and upgrade the number of updates at once will be way smaller. You don't need to update yet. You can take some time to play and look around.
 +
 
 +
For users new to Linux that choose the KDE desktop environment I recommend a few quick changes before updating.
 +
 
 +
===Convenient settings for new linux users using KDE desktop===
 +
 
 +
For users new to Linux that choose the KDE desktop environment I recommend a few quick changes before updating. Apply changes in the following order.
 +
 
 +
Close the small desktop inside of the desktop
 +
 
 +
This can be annoying, causing disappearing/reappearing icons and widgets. Besides the fact it has a seperate picture in the top left corner of the screen. To get rid of it do the following: Right click on open space on the desktop. Click "activities" in the small drop down box. A new task bar will have opened along the bottom of the screen. There are 5 square icons to the left in the task bar. Click the top right corner of 4 of the icons(2-5) so that there is a red x in the corner of each of the 4 icons. Close the task bar.
 +
 
 +
Add the home folder to desktop
 +
 
 +
This can make life easier when you are looking for things or need a place for downloading or putting your other things. To do this click the start button. Move the mouse pointer on top of the "computer" icon. Right click on the "home" folder. Click "add to desktop" in the small drop down box. You may need to move the icons manually if they dog pile on eachother. Now you can click and open the home folder(it should have your user name). After you open it you can right click and add new folders for your downloads, photos, etc inside of the home folder.You will find the home folder is the default for office document saves and other downloads.
 +
 
 +
You can also go to the start button > system > Dolphin (file manager). Right click Dolphin and add to desktop or panel, whichever you prefer.
 +
 
 +
Change KickOff launcher(start button) to classic style
 +
 
 +
The Kickoff menu is nice, but terribly slow to use when you want to get things done. The classic menu is awesome, fast, and easy. To change it simply right click the start button and click "switch to classic style menu".
 +
 
 +
Add a terminal (command line tool) to either desktop or quick launch bar
 +
 
 +
Yes, Sabayon has a GUI installer (Rigo). But you are still going to want to use the command line on occasion, especially with a fresh install. Also using the command line in Sabayon is quite a treat on the eyes. All the text when using the command line is multi colored, making it very enjoyable to read and look at. It is also makes finding details in all the text so easy compared to black and white text. Click the start button and put the mouse pointer on "system", find "Konsole" in the list. Right click Konsole and "add to desktop" or "add to panel".
 +
 
 +
 
 +
For a installation guide, step-by-step, please see: [[En:Introduction#Installation_Guide:_Step_by_Step]]
 +
 
 +
We also offer a visual walkthrough about installing Sabayon, please see: [[Visual_Tour:_Installing_Sabayon]]
 +
 
 +
== '''FAQ''' ==
  
 
[[FAQ]]
 
[[FAQ]]
  
== Troubleshooting ==
+
== '''Troubleshooting''' ==
  
 
=== boot parameters ===
 
=== boot parameters ===
  
 
[[En:Sabayon_Linux#Boot_parameters_and_workarounds_for_problematic_Hardware]]
 
[[En:Sabayon_Linux#Boot_parameters_and_workarounds_for_problematic_Hardware]]

Latest revision as of 05:22, 13 February 2013

i18n: de en fr

This document will guide you through the process of installing SabayonLinux.

Before installing, you are advised to read the Frequently Asked Questions: FAQ

If you're experiencing problems, the Wiki is an excellent resource to be consulted.

The IRC channel (https://www.sabayon.org/chat),

and the forums (https://forum.sabayon.org/) are also available if the answer cannot be found here.


Question.png
please bookmark this page, as the links mentioned in this guide, will lead you to other pages...

Installing Sabayon

Installation Guide: Step by Step

install guide with grub2 and GPT

visual walkthrough installing Sabayon

Pre-installation Preparation

Make a note of your current hardware

Though not 100% necessary, it's a pretty good idea to know the specs of your computer. This can help to pre-plan and with some decisions later on during the installation. If you currently have MS Windows installed, there are several ways by which you can check some basic details of your system:

  • Start menu / all programs / accessories / system tools / system information
  • Start menu / control panel / system
  • Start menu / control panel / Hardware (tab on top) / device manager
  • Start menu / my computer

Here are some questions to keep in mind while searching these areas:

How much hard drive space do I have ?
How much memory do I have ? (physical ram also know as ram)

This is helpful for choosing your swap partition later.

Which CPU do I have ?

This will help you decide if you choose a 64bit or 32bit operating system. You may need to go to the Intel or AMD websites to check your architure. Or you may be able to find it by using your favorite search engine.

Other Pre-install Considerations

Do I want to use 2 operating systems (such as Sabayon and Windows) on 1 computer?

If you do you may wish to read the following links:

How to dual boot Sabayon and Windows

Dual booting with hard disk encryption

I want to keep my current Windows installed, but I need to make room on my hard drive to install Sabayon

Shrink an existing partition

Do I need to wipe my hard drive clean ?

Even if you delete files and over write a hard drive with a new operating system, old and potentially sensitive data can be retrieved using forensics. If you are looking for a truly clean start you may wish to read the following link and wipe your hard drive properly:

How to wipe and shred data

Is security and hard drive encryption important to me ?

You may not know the answer to that question until a jealous lover decides to kill you in your sleep or some government agency arrives at your home to take you and your pc away ;). If you think privacy and security are important to you then read the following link:

Hard Disk Encryption

Which kind of desktop do I want ?

KDE, GNOME, Fluxbox, LXDE, Openbox, Xfce, and Enlightenment are window managers for Linux. They have different functions and appearance. All can work well and have certain advantages. At this point it seems KDE and GNOME are more widely used. I think new Linux users migrating from Windows may find KDE and the classic style kickoff menu (start button and programs list) a little more familiar.

Final preparation for installation

Choose a download mirror

These are different servers in various countries and regions where you can download Sabayon. Usually the closest country or region will download faster, but not always.

Download mirrors


Click iso/ from the list

Too easy

Choose the correct iso you want

This is more tricky as the list is quite long. Look at the file names carefully. The file name will incude Sabayon_Linux; version number (as of this writing, 5.4); cpu type (amd64 for both intel and amd 64bit cpu's; or x86 for 32bit processors); and desktop type (E17 for enlightenment; G for GNOME; K for KDE; LXDE); and file type (we want .iso).

If you are unsure than use x86 for 32bit. 32bit operating systems will work on 64bit CPU's, but NOT vice-versa.

Note: files that end with .iso.md5 or .iso.pkglist or .iso.torrent are NOT the iso file. The file image you need to burn to disk will end in .iso

Example: Sabayon_Linux_5.4_amd64_K.iso

If there are errors during installation you may want to come back here and downlown the .iso.md5 file that is a partner to your iso file. The .iso.md5 file is a small file to check the integrity of main iso file you downloaded.

Example of the partner checksum file: Sabayon_Linux_5.4_amd64_K.iso.md5

For instructions to use the md5 checksum read the following link:

How to check integrity of a live dvd

Burn the iso file to dvd

It is very important to know that you do NOT simply burn the iso file as a data file to the dvd. There are many drink coasters out there from those that have. The selection on your dvd/cd coping software needs to say “burn as image”. This selection is not usually on the front of the control panel, but more likely buried under a tab somewhere. For more information on burning an iso to disk try the following links:

From About.com PC Support

Sabayon how to burn dvd

Booting Sabayon LiveDVD Image from a USB Device

If you prefer to use a usb or flash drive instead of dvd to boot Sabayon you can try the following links:

Boot dvd iso from usb

Boot CoreCD image from usb

It is easier though to install syslinux, format your flash drive in FAT32 or ext2/ext3 (the latter is required for LiveDVD images) and use unetbootin GUI tool on the iso image.

Change the boot priority in bios

BIOS is the pretty, black screen with white words you see when you first power on or restart your computer. Normally your hard drive is set to boot first. In order to boot your iso DVD you need to change the boot order so that the computer will boot from the cd/dvd player or usb first. To change the boot order you need to enter BIOS. To enter BIOS you need to push either DEL, F1 or ESC at the very beginning of start up/restart, depending on which BIOS and motherboard you have. After you have entered BIOS you will need to use the arrows on the keyboard to move around and find the settings for boot order/boot priority. After you have made changes you will probably need to push F10 to save and exit.

Stop.png
Save and/or Backup anything on the hard drive you want to keep

Begin Installation

No doubt your eye balls are square and head is buzzing from hours and/or days of reading. At this point we should be ready to rock.

Power on/Restart with Sabayon live DVD loaded in your player.

The computer will power up and begin to load the DVD. It will bring you to a loading options screen. There will be 3-5 choices. You have about 45-60 second to choose, unless you press a key to stop the timer. The top option should be the main loading choice. Selecting this will not install, nor will it hurt your hard drive. It will simply load you to a desktop environment. It could take 3-5 minutes to load to desktop. After it loads you can check that the internet works and play with the system a bit. Keep in mind that the look and feel may be a bit slow and clunky because you are merely test driving on the DVD. After installation, look and feel will be much better. When you're done goofing off and decide for a more serious comitment:

Stop.png
Save and/or Backup anything on the hard drive you want to keep

Click the “Install Sabayon” icon located near the top left corner

The first few screens of the installer should be pretty straight forward even for novice computer users.

Select Root password

In Sabayon, as with most GNU/linux systems, root is the equivalent of “admin” in ms windows systems. This password is important and should be different than user password or any other pw. Linux is fundmentally safer in part because the root password is needed to make changes to important files. Viruses can't auto run and go crazy through your system because you would have to physically log in as root and then run the virus yourself, but we're too smart for that, right? Always initially log into Sabayon or any linux as user, never as root.

You need root password to open Rigo (the GUI package manager for Entropy) and to run certain commands in the terminal.

Select user name, full name, and user password

User name is the name you will need at the login screen everytime you start your computer. (no spaces or funny symbols)

User password is the password you need at the login screen everytime you start the computer.

Full name can be whatever you want including the same as user name. It can also have spaces, etc.

Advice on the hostname:

HOWTO:_Advice_on_the_hostname_to_specify_when_installing_Sabayon_Linux

Create partition scheme

When installing, Sabayon offers a standard partitioning scheme using LVM, and leaves Windows partitions untouched.

If you wish to manually partition, or add mountpoints, please see: HOWTO:_Manual_Partitioning_with_Sabayon_Linux

For GPT partitioning: HOWTO:_Install_Sabayon_with_GRUB2_and_GPT_on_a_New_System


Currently mbr style partitioning is the most widely used and and easiest for for nearly all os's to install to, though GUID (gpt) are gaining more acceptance in mac and latter newer versions of ms windows. Mbr partitioning is the recommended and least problem free at the moment for linux and bsd systems. With mbr partitioning, hard drives can have 4 primary partitions, but can have many logical and extended partitions. Logical/extended partitions are like imaginary branches off of one primary partition.Each LVM group or extended partition group will use 1 of your 4 primary partitions.

Regardless of which scheme you choose, you will need atleast one partition. One partition must contain / (root) partition. Other partitions are optional, but /swap is recommended (/home will be inside of root if you dont make an addition partition). Both /home and swap can be installed as logical partitions off of the /(root) primary partition if need be.

The simplest and most efficient way is to install the entire system to / on 1 primary partition. You will get a warning that swap is not installed, but a swap folder can be added after installation if you want it.

If for some reason you wish to install using multiple mount points or partitions i reccomend the following: I tend to pad partions with a little more volume than is required. You can adjust to leaner amounts if you are thin on hd space, but I recommend the following:

/boot 100mb ext4(32mb-100 is fine)

/ (root) 30,000mb ext4(about 30 gb) 18gb-30gb is fine, but /var will be inside /root, so I put more here.

/swap 1028mb – 4096mb swap(1gb-4gb) this should be about the size of your physical memory.

/home 40,000mb -200,000mb+ ext4(40gb-200gb+) This generally should be the biggest partition as all your personal things will come here, photos, films, games, music, bla bla bla.

If you want an education try reading the following links:

Gentoo partition guide

Arch Linux partition guide

Sabayon manual partitioning

During the installation you will arrive at a page on the install asking "what kind of installation do you want ?". You can make your own decision about this, but i would recommend Create Custom Partition Scheme. In this way you can set the partitons and partition sizes to fit your needs. Upon selecting custom partion setup you will come to a new page. Click on the freespace or partition you want to change or install to, so that it is highlighted. Once the freespace or partition is highlighted you can then click one of the buttons to either Create, edit, or delete that particular freespace/partition.

For disk encryption you need atleast 2 primary partitions. /boot and / (/root). In this way all other directories such as /home and /var will be installed inside of / (/root). /boot must be unencrypted when you encrypt / (root). For extra security a 100mb partition can installed to a usb flash drive and install /boot to it., though not necessary.

In using LVM groups I have found i can not see swap after installation using LVM. As of yet, I'm not certain if swap is working with LVM groups. I do know swap works on its own primary partition. I have reports it also works on an extended partition. If you have a small amount of ram you may wish to take this into consideration.

Dual Booting

For dual booting Sabayon Linux and ms windows try the 2 links below:

Boot Loader Option page

After you have selected your partion and clicked ok, it will begin formatting and writing to disk. Within a few minutes you will arrive at the boot loader option page. You will want to leave the check box enabled for the bootloader. In most cases you will just click "next". If you are dual booting you STILL leave the check box enabled, but you may wish to click the "change" button. Dual booters should read the above link.

People booting only 1 operating system, Sabayon Linux, (and some dual booters) can click next without changing anything.


Finish DVD Installation

After the boot loader menu you will arrive at the final installer screen. Kiss your lover. Hug the kids. Say a small prayer. Cross your fingers and . . .

Click "Reboot" !

Remove the DVD when the BIOS begins.

Install the Gentoo way

HOWTO:_Install_from_an_existing_Linux_system

The Aftermath: Post-installation upgrades and configuration

With a little luck you will have passed the grub bootloader menu and now find yourself at the login screen.

Enter user name and user password

After you load to desktop you will need a few minutes to let the system check for updates(it takes a while on a new install). When its finished a yellow shield icon will appear in the notification area near the clock.

Don't fall out of your chair !

It is not uncommon to have 300-1000 updates needing to be done on a fresh install. Remember Sabayon is a rolling release so we get new stuff a lot. After the initial install, update, and upgrade the number of updates at once will be way smaller. You don't need to update yet. You can take some time to play and look around.

For users new to Linux that choose the KDE desktop environment I recommend a few quick changes before updating.

Convenient settings for new linux users using KDE desktop

For users new to Linux that choose the KDE desktop environment I recommend a few quick changes before updating. Apply changes in the following order.

Close the small desktop inside of the desktop

This can be annoying, causing disappearing/reappearing icons and widgets. Besides the fact it has a seperate picture in the top left corner of the screen. To get rid of it do the following: Right click on open space on the desktop. Click "activities" in the small drop down box. A new task bar will have opened along the bottom of the screen. There are 5 square icons to the left in the task bar. Click the top right corner of 4 of the icons(2-5) so that there is a red x in the corner of each of the 4 icons. Close the task bar.

Add the home folder to desktop

This can make life easier when you are looking for things or need a place for downloading or putting your other things. To do this click the start button. Move the mouse pointer on top of the "computer" icon. Right click on the "home" folder. Click "add to desktop" in the small drop down box. You may need to move the icons manually if they dog pile on eachother. Now you can click and open the home folder(it should have your user name). After you open it you can right click and add new folders for your downloads, photos, etc inside of the home folder.You will find the home folder is the default for office document saves and other downloads.

You can also go to the start button > system > Dolphin (file manager). Right click Dolphin and add to desktop or panel, whichever you prefer.

Change KickOff launcher(start button) to classic style

The Kickoff menu is nice, but terribly slow to use when you want to get things done. The classic menu is awesome, fast, and easy. To change it simply right click the start button and click "switch to classic style menu".

Add a terminal (command line tool) to either desktop or quick launch bar

Yes, Sabayon has a GUI installer (Rigo). But you are still going to want to use the command line on occasion, especially with a fresh install. Also using the command line in Sabayon is quite a treat on the eyes. All the text when using the command line is multi colored, making it very enjoyable to read and look at. It is also makes finding details in all the text so easy compared to black and white text. Click the start button and put the mouse pointer on "system", find "Konsole" in the list. Right click Konsole and "add to desktop" or "add to panel".


For a installation guide, step-by-step, please see: En:Introduction#Installation_Guide:_Step_by_Step

We also offer a visual walkthrough about installing Sabayon, please see: Visual_Tour:_Installing_Sabayon

FAQ

FAQ

Troubleshooting

boot parameters

En:Sabayon_Linux#Boot_parameters_and_workarounds_for_problematic_Hardware