Softpanorama
(slightly skeptical) Open Source Software Educational Society

May the source be with you, but remember the KISS principle ;-)

Google   


Suse Installation

News

Recommended Books

Recommended Links  Installation Checklist YaST RPM Packages

Midnight Commander

Yast

Swap partition

Siga

Installing Suse from ISO image

Humor Etc

Novell is one of the few linux vendors that provides manuals that try to help users beyond installing the product. The following manuals are available for OpenSuse 10.2:

Getting Started view size last update
openSUSE 10.2 Start-Up  html  pdf 2 MB 12/07/2006
KDE Quick Start  html  pdf 2 MB 12/07/2006
GNOME Quick Start  html  pdf 2 MB 12/07/2006
User Guides view size last update
KDE User Guide  html  pdf .1 MB 12/07/2006
GNOME User Guide  html  pdf 10 MB 12/07/2006
Administration view size last update
openSUSE 10.2 Reference Guide  html  pdf 7 MB 12/07/2006
AppArmor 2.0.1 Administration Guide  html  pdf 2 MB 12/07/2006
AppArmor 2.0.1 Quick Start  html  pdf 1 MB 12/07/2006
Additional Information view size last update
Release Notes  html         12/07/2006

The online versions of the manuals are updated regularly, even after your version of the distribution is current, so check for updates at least a couple times a year to be sure you have the latest version.

Open the Help Center by typing susehelp from the shell, or click the life preserver icon in KDE or GNOME. Putter around the Table of Contents to see what is included, or click the Search tab to find something specific.

Downloading Media from OpenSUSE.org

The OpenSuse process offers a freely-downloadable distribution that contains only open-source software, with the ability to add non–open-source packages (like the Java Runtime Engine) separately. In addition, OpenSuse serves as the basis for the  retail versions of SUSE Linux.

Images are now available from Y:\data\Suse

The OpenSuse media  is bootable and will install OpenSuse directly after booting from it.  You might need to change your BIOS booting sequence to boot from your CD-ROM or DVD-ROM drive. If you install 64-bit version you need to enable virtual machine instruction on D620 laptop.

To change the boot sequence, reboot your computer. Among the first things you see on your screen as the computer starts up is the method of accessing your BIOS settings. On Dell this is F2 key; press this key as soon as you see it. Shortly, the BIOS settings will appear.

Look for a setting title called Boot Sequence, Boot Order, or something similar. This setting determines where the BIOS looks for a bootloader code that tells it the volume is bootable.

Every drive that may be bootable should be listed here. The new order should point first to the DVD drive, then the hard drive (which may be identified as either IDE or SCSI instead of the Windows drive letter), and then everything else.

Checking DVD before the hard drive will slow your boot time a few seconds, so you may want to reset the Boot sequence after your SUSE Linux installation is completed.

Various methods of running SUSE

There are multiple ways to install and run SUSE Linux on a desktop computer:

64-Bit SUSE Linux vs. 32 bit Linux

There are two versions of Suse 32 bit and 64 bit. 64-bit version requires CPUs with extended instruction set (AMD64 and Intel 64 CPU). Intel Duo series used in D620 is such CPU. It cannot run on old Pentium 4.

For dual boot 64 bit system is better as it will match the system used on the server: For servers 64-bit version is better as it allow to access more then 16G of RAM and on configurations from 4G to 16G works faster.

The only exception is virtual machine environment: 32-bit kernel is better for VMware environment.

Availability of SUSE for 64-bit Intel and AMD hardware platforms does not necessarily mean that all the applications included have already been ported to 64-bit platforms. Often this is not true and some application even commercial one are distributed in 32-bit mode. OpenSuse supports the use of 32-bit applications in a 64-bit system environment.
To be executed correctly, every application requires a range of libraries. Unfortunately, the names for the 32-bit and 64-bit versions of these libraries are identical. They must be differentiated from each other by placement:

Subdirectories of 32-bit /lib directories whose data content does not depend on the word size are not moved.

The installed 32-bit and 64-bit libraries must have an API (application programming interface) that matches the installed header files. The normal openSUSE environment is designed according to this principle.

In the case of manually updated libraries, you need to resolve these issues yourself.

The Linux Boot Process

The Linux boot process consists of several stages each represented by another component. The following list briefly summarizes the boot process and features all the major components involved.

  1. BIOS After the computer has been turned on, the BIOS initializes the screen and keyboard and tests the main memory. Up to this stage, the machine does not access any mass storage media. Subsequently, the information about the current date, time, and the most important peripherals are loaded from the CMOS values. When the first hard disk and its geometry are recognized, the system control passes from the BIOS to the boot loader.
     

  2. MBR boot Loader The first physical 512-byte data sector of the first device defined in BIOS load chain is loaded into the main memory and the program that resides at the beginning of this sector takes over. It usually loads another loader but it can do so only if the latter is located at fixed disk addresses as no file system is present. That's why it is often referred to as Master Boot Record (MBR). The boot loader then passes control to the actual operating system, in this case, the Linux kernel at /boot partition. 
     

  3. Kernel and initramfs MBR loads both the kernel and an initial RAM–based file system (initramfs) into memory. initramfs is a small cpio archive It contains a small executable that uses BIOS calls called init that handles the mounting of the real root file system.  It provides a minimal Linux environment that enables the execution of programs before the actual root file system is created. This minimal Linux environment is loaded into memory by BIOS routines and does not have specific hardware requirements other than sufficient memory.

    • init on initramfs This program performs all actions needed to mount the proper root file system on the installation media, like providing kernel functionality for the needed file system and device drivers for typical mass storage controllers. After the root file system has been found, it is checked for errors and mounted. If this has been successful, the initramfs is cleaned and the init program on the root file system is executed.
       
    • Before the root file system can be mounted and the operating system can be started, the kernel needs the corresponding drivers to access the device on which the root file system is located. These drivers may include special drivers for certain kinds of hard drives or even network drivers to access a network file system. The needed modules for the root file system may be loaded by init on initramfs. After the modules are loaded, udev provides the initramfs with the needed devices. Later in the boot process, after changing the root file system, it is necessary to regenerate the devices. This is done by boot.udev with the command udevtrigger.

The main purpose of init on initramfs is to prepare the mounting of and access to the real root file system. Depending on your system configuration, init is responsible for the following tasks.

When init is called during the initial boot as part of the installation process, its tasks differ from those mentioned earlier:

Installation from CD/DVD

CD/DVD are default installation medium for YAST. Local CD/DVD installations are very much the same for Solaris and OpenSuse. The installation program prompts for information when it is required. A menu of options is presented in some parts so that you can select the appropriate choice or choices. As with a Solaris installation, Linux will perform the following operations.

  1. Probe the hardware for devices and load the appropriate device drivers.
  2. Select language
  3. Accept license agreement
  4. Select a time zone.
  5. Select GUI (Gnome of KDE). Gnome will be used in lectures.
  6. Assign a host name.
  7. Set up a network setup type (DHCP or static IP)
    1. If static IP, you will be asked to enter the IP address, subnet mask, default gateway, and DNS servers to use.
    2. You can also use DHCP.
       
  8. Select installation type (the initial not upgrade ).
     
  9. Repartition hard disk:
  10. Prompt for a automatic or manual disk layout for the file systems. Select manual and allocate 4G for swap and 10G for root and 8G for /home partitions (if you have a separate /home partition you can upgrade system without need to restore your data)
     
  11.  Select filesystem for partitions. You should use ext3fs as your filesystem
     
  12. Prompt for the software bundle or packages to install.  You need carefully browse and add your own choices of software packages to the default selection proposed by the installer, so click on the Change button and select Software from the menu, which brings you to the main Software Selection screen

OpenSuse 10 usually recognizes most devices and installs without major hardware problems on standard desktop and laptop.

Note: In Solaris, the installation program will use the current console as an I/O device, and if you are using a serial interface, it will use that same serial interface. In Linux for IA32 , the default console device used for installation is the graphics card. If you need to install the system using a serial interface, you need to specifically tell the installation program to do so by adding the nofb console=ttyS0 kernel boot options.

Installing using remote display

In Solaris, you can install using the local graphic display or the serial interface. In Linux, you can install using the local graphic display, serial interface, and a few other remote modes.

In RHEL, you have the following options:

Add a display=IP_OF_REMOTE_X:0 argument to the kernel boot line for using a remote X Server for displaying the installation GUI.
Add a vnc vncpassword=MIN_6_CHAR_PASS argument to the kernel boot line for using a VNC client from another machine to connect to the installation GUI.

In SLES, you have the following options:

Add a usessh=1 sshpassword=MIN_1_CHAR_PASS argument to the kernel boot line for starting a ssh installation. If you connect with ssh -X, you can have graphical GUI.
Add a vnc=1 vncpassword=MIN_5_CHAR_PASS argument to the kernel boot line for using a vnclient from another machine to connect to the installation GUI.

Partitioning

The two minimum partitions are the root partition, signified with a forward slash (/), and a swap partition, which Linux uses as virtual memory. You also would benefit form a separate /home partitions for the reasons explained above. Traditionally, the size of the swap partition is equivalent to (or a multiple of) the amount of hardware RAM you have installed. 

If you have only these two partitions, YaST will put all standard directories on the same partition as /. These are

Fun with Configuration Files

Instead of a single file linux configuration files are often spitted into chunks which are stored then into directories. The main file just assembles the chunks. As in other areas of life this quest to more flexibility actually sometimes backfire and turns into its opposite.

Some of those "hacked" files include /etc/profile (with chunks stored at /etc/profile.d), crontab (crontab.d), syslog (actually Suse uses syslog-ng instead of regular syslog), etc.  RC files are structures similarly to Solaris with links to each run level.

Some of the more important system-related configuration files in this directory are

Choosing and Using a Shell

Suse uses different default shell then Solaris called Bash. Often new Suse users try to avoid it, preferring old ksh shell.  But it is a better interactive shell then Korn shell.

Also the default ksh in linux is broken. That means that bash is preferable. Unless you are an expert in shell programming you will not notice any difference except more user friendliness (arrow keys work as well as ! command completion). Profiles for bash are usually better then profiles for ksh (which in many cases are dismal).

bash was one of the original GNU projects, it has been in development since 1987. Version 3.0 was released in July 2004. As you might guess from the name, bash (Bourne Again Shell) is the logical successor to the venerable Unix shell (sh) written by Steve Bourne. This is the best Korn-style interactive shell. 

You can tweak bash's performance by editing the .bashrc configuration file. Root can edit the systemwide .bashrc, and each user on the system may have his or her own configuration file, although a user cannot override the system configuration.

Running YaST from the Shell

YaST is an old and rather clumsy tool with pretty idiosyncratic interface but it has goood capabilities to recognize hardware and install correct software. So while interface is antiquted the capabilities are not.  Due to history of its development (it was first command line tool later converted into GUI tool, it still can runs in command line. Command line version is called yast while GUI version yast2.  Actually diagnostic is much better in this mode as GUI version is to a certain extent a hack. You need to be root to invoke YaST. Just type yast at the root prompt.

This can also be useful in recovery mode when the system won't boot to the GUI login screen.  It also can also serve for the installation of new packages if yast is configured correctly.

To maneuver around the menus and choices, use the accelerator keys highlighted on each screen. Press the Alt key with the highlighted letter to move to the item you want. For example, in any screen, press Alt+H to get Help on that screen. When finished, press Alt+Q to Quit and return to the shell prompt.

All YaST modules that are in the GUI version work in the command-line version as well.  

Old News ;-)

[Jan 28, 2008] Network Install HOWTO by Graham White

September 12,  2002 | IBM

SuSE Server Setup

SuSE Client Install

[Oct 8, 2007] Techzone Why SUSE Why

The installer certainly takes a while, but after the install, the system is set up with all online repose including non-oss repos (including if I remember correct packman) and all installed packages (and thus the whole OS) were up to date.

It certainly takes a while (though only an hour orso here) but it isn't 'antiquated'. It has many more options and features available than ubuntu and pclinuxos for example, and it leaves your system fully updated with all the latest updates.

That said, I do imagine that would be difficult to see after being bored to death for 6 hours. I certainly don't blame you for some hard feelings there. The livecd system would indeed by a good idea.

===

It is not necessary to download anything from the internet during installation. If you only want to use the CD medium uncheck the "Use online repositories" checkbox. It needs to be selected by default so netinstalls will "just work", and CD users can still have a complete experience with flash, java etc if they have an internet connection during install.

A live-cd with installer will be released in a week or so. (There is one for RC-1) This allows installing from the desktop as in some other distributions. It is significantly less flexible than the normal installer though. And using a livecd does not show whether things will work, in fact things are far less likely to work on a livecd.

Codec installation from packman you should find significantly easier than in previous versions. If you attempt to play an mp3 in e.g. amarok if you don't have fluendo's support installed (I think it will be if you included media from the online repositories) Then you would be linked to http://software.opensuse.org/codecs

The "community information" there will get you the fullest support, and will no longer require knowing how to add the packman repository etc.
 

Recommended Links

Installing Linux SUSE 10

Novell Documentation SUSE Linux Enterprise Server 10 - Installation Summary

Linux Partition HOWTO

Network Install HOWTO

C H A P T E R 5 - Installing SUSE Linux Enterprise Server 9 and 10

Novell Documentation SUSE Linux 10 - SUSE Linux 10 Reference Guide

Section 1.0, Remote Installation
  • Section 2.0, Advanced Disk Setup
  • Etc

    Blogging is futile — SuSE sucks!

    A guy with negative installation experience. Some points are well taken : attempt to minimize Suse breaks patching process, others are exaggerated.  He also forgot to mention that OpenSuse is free.

     

     



    Copyright © 1996-2007 by Dr. Nikolai Bezroukov. www.softpanorama.org was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. Submit comments This document is an industrial compilation designed and created exclusively for educational use and is placed under the copyright of the Open Content License(OPL). Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

    Standard disclaimer: The statements, views and opinions presented on this web page are those of the author and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with. We do not warrant the correctness of the information provided or its fitness for any purpose.

    Last modified: February 28, 2008