Fedora 17 @ dom3     

Installed software: diaries

  1. (12.06.13) System installation (Fedora 17)

    General remarks

  • All logs are copied from ~root to
               /opt/root/Install/initial_installation_logs/ .
            [root@localhost Install]# ll initial_installation_logs/
             total 200
             -rw-------. 1 root root  14995 Jun 12 07:34 anaconda-ks.cfg
             drwxr-xr-x. 2 root root   4096 Jun 12 07:00 anaconda-screenshots
             -rw-r--r--. 1 root root    138 Jun 13 16:08 anaconda-screenshots.ORIGIN
             drwxr-xr-x. 2 root root   4096 Jun 13 04:33 firstboot-screenshots
             -rw-r--r--. 1 root root 153285 Jun 12 07:33 install.log
             -rw-r--r--. 1 root root  18434 Jun 12 07:24 install.log.syslog
    
    (local copies:
              anaconda-ks.cfg,
              anaconda-screenshots.ORIGIN,
              install.log,
              install.log.syslog,
              anaconda-screenshots.screenshot-0052.png,
              firstboot-screenshots.screenshot-0000.png
    )

  • The system was installed from a Fedora-17-x86__64_DVD disc. It was a graphical installation in the
               Troubleshooting -> Install in a basic graphics mode
    branch (normal branch lead to a hangup of the PC).

  • Unfortunately, the screenshots were not found in the
               ~root/anaconda-screenshots,
    where they had to be.
    This can be associated with a bug discussed in
    • "Anaconda screenshots are not saved after reboot" https://bugzilla.redhat.com/show_bug.cgi?id=787962 .
      • Bug in F16, to be fixed in F18.
      • Suggested remedy (AMM 2012-03-25 02:14:40 EDT):
        • before rebooting you should run (manually by switching to console Alt-F2)
                          mkdir /mnt/sysimage/root/anaconda-screeenshots
                          cp /tmp/anaconda-screenshots/* \
                             /mnt/sysimage/tmp/anaconda-screenshots/* \
                             /mnt/sysimage/root/anaconda-screenshots/
          
    AFTER all the installation (including the "firstboot" stage) had finished, I found only one file
               screenshot-0052.png
    in the
               /tmp/anaconda-screenshots
    directory which I saved to
               ~root/anaconda-screenshots

  • As a guide to the installation, I used my notes in the
    • Inst_SW_aux/F17_Installation_Guide_Notes.html ( local copy, requires the character encoding to be set to either Western Windows-1252 or Cyrillic Windows-1251 ) .

    Step 1. Loading system from disc

      Hard disk partitioning.

Two Windows partitions were available:

             sda1
             sda2 (~100Gb, "Win7") .
The following new partitions were created:
             sda3  250Mb  ext4 /boot
             sda4                        extended partition
             sda5  176GB                 LVM physical volume
             sda6  250Mb  ext4 /boot2    a reserve for future Linux systems
             sda7  250Mb  ext4 /boot3           -"-
             sda8  250Mb  ext4 /boot4           -"-
The /boot[2-4] were specified BEFORE the LVM PhysVolume and first got natural names sda[5-7], but specifying the LVM volume moved them to sda[6-8] for an unknown reason.

Here is a post-installation report on the the above partitions by fdisk:

             [root@localhost Install]# fdisk -l /dev/sda
             
             Disk /dev/sda: 750.2 GB, 750156374016 bytes
             255 heads, 63 sectors/track, 91201 cylinders, total 1465149168
             sectors

             Units = sectors of 1 * 512 = 512 bytes
             Sector size (logical/physical): 512 bytes / 512 bytes
             I/O size (minimum/optimal): 512 bytes / 512 bytes
             Disk identifier: 0x85dc822c
             
                Device Boot     Start        End    Blocks Id System
             /dev/sda1   *       2048     206847    102400 27 Hidden NTFS WinRE
             /dev/sda2         206848  195518463  97655808  7 HPFS/NTFS/exFAT
             /dev/sda3      195518464  196030463    256000 83 Linux
             /dev/sda4      196030464 1465147391 634558464  5 Extended
             /dev/sda5      196034560  556482559 180224000 8e Linux LVM
             /dev/sda6      556484608  556996607    256000 83 Linux
             /dev/sda7      556998656  557510655    256000 83 Linux
             /dev/sda8      557512704  558024703    256000 83 Linux

      LVM partitioning.

One LVM volume group (phys. extent size 4Mb) was created named

             vg01
with the following LVM logical volumes:
             lv_swap    4Gb
             lv_root1  16Gb  ext4 /
             lv_opt1   20Gb  ext4 /opt
             lv_x01    50Gb  ext4 /x01
occupying 90 Gb. The rest free ~86 Gb of the LVM phys. volume are left for, say, 16 Gb (lv_root2) + 20 Gb (lv_opt2) of the next Linux (Fedora 18 ?) plus 50 Gb of a general reserve.

      Post-installation reports on partitions and devices

        /etc/fstab

Here is the description of all the (standard + LVM) partitions in the post-installation /etc/fstab:

            # /etc/fstab
            # Created by anaconda on Wed Jun 12 06:53:53 2013
            #
            # Accessible filesystems, by reference, are maintained under
            #                                                       '/dev/disk'
            # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for
            #                                                         more info
            #
            /dev/mapper/vg01-lv_root1                 /      ext4 defaults  1 1
            UUID=a984859d-099b-4fc7-a5bd-c0330eee186f /boot  ext4 defaults  1 2
            UUID=adefa6ae-ccda-4c58-8f26-214fef90236e /boot2 ext4 defaults  1 2
            UUID=eea0a12e-a855-4327-9ac6-4d79d1659c3f /boot3 ext4 defaults  1 2
            UUID=a1b1e9df-dbb0-4dad-9f55-cf2c359ebe60 /boot4 ext4 defaults  1 2
            /dev/mapper/vg01-lv_opt1 /opt                    ext4 defaults  1 2
            /dev/mapper/vg01-lv_x01 /x01                     ext4 defaults  1 2
            /dev/mapper/vg01-lv_swap swap                    swap defaults  0 0

        df -h

Another table of (post-installation) device - mount point correspondence is given by the `df -h' command:

        [fedotov@localhost]~% df -h  
        Filesystem                 Size  Used Avail Use% Mounted on
        devtmpfs                   2.0G     0  2.0G   0% /dev
        tmpfs                      2.0G   92K  2.0G   1% /dev/shm
        tmpfs                      2.0G  2.7M  2.0G   1% /run
        /dev/mapper/vg01-lv_root1   16G  9.5G  5.1G  66% /
        tmpfs                      2.0G     0  2.0G   0% /sys/fs/cgroup
        tmpfs                      2.0G     0  2.0G   0% /media
        /dev/sda3                  239M   88M  139M  39% /boot
        /dev/mapper/vg01-lv_opt1    20G  242M   18G   2% /opt
        /dev/sda6                  239M  2.1M  224M   1% /boot2
        /dev/sda8                  239M  2.1M  224M   1% /boot4
        /dev/sda7                  239M  2.1M  224M   1% /boot3
        /dev/mapper/vg01-lv_x01     48G  409M   46G   1% /x01

        blkid

Another list of devices:

        [root@...]# blkid
        /dev/sda1: LABEL="System [Don't Touch]" UUID="F828C44D28C40C96" \
                                                               TYPE="ntfs" 
        /dev/sda2: LABEL="Win7" UUID="C2E6C562E6C55777" TYPE="ntfs" 
        /dev/sda3: UUID="a984859d-099b-4fc7-a5bd-c0330eee186f" TYPE="ext4" 
        /dev/sda5: UUID="0Yptz3-QJ1d-qhg0-HEqa-nD9p-jKse-RUy1Jc" \
                                                             TYPE="LVM2_member" 
        /dev/sda6: UUID="adefa6ae-ccda-4c58-8f26-214fef90236e" TYPE="ext4" 
        /dev/sda7: UUID="eea0a12e-a855-4327-9ac6-4d79d1659c3f" TYPE="ext4" 
        /dev/sda8: UUID="a1b1e9df-dbb0-4dad-9f55-cf2c359ebe60" TYPE="ext4" 
        /dev/mapper/vg01-lv_root1: UUID="2ae2f462-6fe5-4427-b8e6-faa7dcaf004d" \
                                                               TYPE="ext4" 
        /dev/mapper/vg01-lv_swap: UUID="be1bcd3a-b9d6-450f-8d99-98aa44092e9f" \
                                                               TYPE="swap" 
        /dev/mapper/vg01-lv_x01: UUID="b7e9002e-ef88-48eb-b0a7-88cdb9bdebc8" \
                                                               TYPE="ext4" 
        /dev/mapper/vg01-lv_opt1: UUID="c820e6bc-3c3a-4057-8b8c-bab76258970b" \
                                                               TYPE="ext4" 

      Network parameters

  • We did not configure any Network parameters. A wired ethernet connection to an ONT modem (mgts GPON) was recognised and configured automatically under the name of p2p1 .

      Boot loader

  • The boot loader (GRUB2) info was recorded into the /boot partion.

      Package selection.

  • All packages (including those optional) in all categories were selected: 2766 packages in total. The list is available in
    • /opt/root/Install/rpm_history/130617.0208.rpm-qa.Initially_installed

    Step 2. Adding a Fedora-17 entry to Windows 7 bootloader menu

    Step 3. Firstboot

      Defining /usr/local and /home

  • In the beginning, we entered a shell console with Ctrl+Alt+F2 and made some renaming:
    • /usr/local :
                    mv /usr/local /opt/usr_local
                    ln -s /opt/usr_local /usr/local
      
    • /home :
                    rmdir /home
                    mkdir /opt/home
                    ln -s /opt/home /
      

      Creating account fedotov

  • The account fedotov was created with
               (user id, group id) = (501, 501)
    as it was in the fedora 10 @ dom2 installation (purpose: to have a correct user/group for fedotov's files on the internal and external disks of dom2).

    This violated the recommendations of F17 to have ID's > 999, and placed the account into a user/group "system" area, such that it is not seen by default in the lists of the system-config-users utility (the "hide system entries" option in the settings should be deselected in order to make the account fedotov visible).

    Post-installation file-system occupancies (Mon Jun 17 01:57:22 MSK 2013)

  •         [root@localhost ~]# df -h 
            Filesystem                 Size  Used Avail Use% Mounted on
            rootfs                      16G  9.7G  5.2G  66% /
            devtmpfs                   2.0G     0  2.0G   0% /dev
            tmpfs                      2.0G   96K  2.0G   1% /dev/shm
            tmpfs                      2.0G   29M  1.9G   2% /run
            /dev/mapper/vg01-lv_root1   16G  9.7G  5.2G  66% /
            tmpfs                      2.0G     0  2.0G   0% /sys/fs/cgroup
            tmpfs                      2.0G     0  2.0G   0% /media
            /dev/mapper/vg01-lv_opt1    20G  570M   18G   4% /opt
            /dev/mapper/vg01-lv_x01     49G  1.2G   46G   3% /x01
            /dev/sda7                  248M   12M  224M   5% /boot3
            /dev/sda6                  248M   12M  224M   5% /boot2
            /dev/sda8                  248M   12M  224M   5% /boot4
            /dev/sda3                  248M   49M  187M  21% /boot
            /dev/sda2                   94G   59G   35G  63% /media/Win7
    
    The most interesting lines are:
            rootfs                      16G  9.7G  5.2G  66% /
            /dev/mapper/vg01-lv_root1   16G  9.7G  5.2G  66% /
            /dev/sda3                  248M   49M  187M  21% /boot
    

  2. (17.06.13) /x01/legacy/ directory for dom, dom2, ... stuff

  • The following subdirs in /x01/legacy/ created:
    • dom/RH9/
                  opt_root_Install -- a "cp -rp" of
                                         dom2:/opt/root/dom_legacy/opt_root_Install
                  usr_local        -- a "cp -rp" of
                                         dom2:/opt/root/dom_legacy/usr_local
      
    • dom2/F10/
                  home/fedotov     -- for selected stuff from dom2:/home/fedotov
                  opt ->
                      root/Install -- a "cp -rp" of
                                         dom2:/opt/root/Install
                      usr_local    -- a "cp -rp" of
                                         dom2:/opt/usr_local
      

  3. (17.06.13) ~fedotov/.emacs, ~root/.emacs

  • copied from ~fedotov/.emacs at dom2
               (via /x01/legacy/dom2/F10/home/fedotov/.emacs);
    the original F17 version moved to .emacs.original_F17_version:
    • ~fedotov:
                     mv .emacs .emacs.original_F17_version 
                     cp -rp /x01/legacy/dom2/F10/home/fedotov/.emacs .
                     [fedotov@localhost]~% ll .emacs
                     -rw-r--r--. 1 fedotov fedotov 3505 Aug 26  2010 .emacs
      
    • ~root:
                     cp -rp /x01/legacy/dom2/F10/home/fedotov/.emacs .
                     chown root.root .emacs
                     [root@localhost ~]# ll .emacs
                    -rw-r--r--. 1 root root 3505 Aug 26  2010 .emacs
      

  4. (18.06.13) Fisrt SYSTEM UPDATE; looking at Apper working

  • The update is done via the Apper tool ("Get, Remove and Update SW", accessible via f -> Applications -> Administration -> SW Management) by
    • selecting Updates;
    • clicking "Check for new udpates" -> 1268 packages found;
    • clicking "Apply" -> 150 additional packages to be installed;
    • waiting about 70' for the procedure to finish;
    • rebooting the computer (there was a clickable icon of a a message window ~"restart required" followed by a list of names of 15-30 packages, the window popping up when the mouse was brought over the icon).

  • The occupancy of the root partition after the update:
               [root@localhost ~]# df -h /
               Filesystem                 Size  Used Avail Use% Mounted on
               /dev/mapper/vg01-lv_root1   16G  9.2G  5.4G  64% /
    
    The min value of `Avail' was as low as 1.6G during the update. The rpm's seem to have been downloaded into subdirs of
               /var/cache/yum/x86_64/17/
    occupying there ~1.5-2 Gb of space which was freed in the end (the Apper reported of 1.6 Gb of estimated download volume).

  • The total amount of installed packages is now 2904 (was 2766 initially).
    The list is in
    • rpm_history/130619.0016.rpm-qa.After_first_update

Tips

Topic attachments
I Attachment History Action Size Date Who Comment
HTMLhtml 130612.F17_Installation_Guide_Notes.html r1 manage 28.3 K 2013-10-26 - 01:02 AlexanderFedotov  
Unknown file formatcfg initial_installation_logs.anaconda-ks.cfg r1 manage 14.6 K 2013-10-25 - 22:58 AlexanderFedotov  
Texttxt initial_installation_logs.anaconda-screenshots.ORIGIN.txt r1 manage 0.1 K 2013-10-25 - 23:17 AlexanderFedotov  
PNGpng initial_installation_logs.anaconda-screenshots.screenshot-0052.png r1 manage 29.8 K 2013-10-25 - 22:58 AlexanderFedotov  
PNGpng initial_installation_logs.firstboot-screenshots.screenshot-0000.png r1 manage 36.2 K 2013-10-25 - 22:58 AlexanderFedotov  
Texttxt initial_installation_logs.install.log.syslog.txt r1 manage 18.0 K 2013-10-25 - 23:30 AlexanderFedotov  
Texttxt initial_installation_logs.install.log.txt r1 manage 149.7 K 2013-10-25 - 23:27 AlexanderFedotov  
Texttxt rpm_history.130617.0208.rpm-qa.Initially_installed.txt r1 manage 97.2 K 2013-10-26 - 04:38 AlexanderFedotov  
Texttxt rpm_history.130619.0016.rpm-qa.After_first_update.txt r1 manage 101.5 K 2013-10-26 - 04:38 AlexanderFedotov  
Texttxt rpm_history.130625.0059.rpm-qa.After_sys_update.txt r1 manage 101.5 K 2013-10-26 - 04:38 AlexanderFedotov  
Texttxt rpm_history.130625.0333.rpm-qa.rpmfusion_repos_configured.txt r1 manage 101.5 K 2013-10-26 - 04:38 AlexanderFedotov  
Texttxt rpm_history.130625.0353.rpm-qa.nvidia_video_driver_installed.txt r1 manage 101.9 K 2013-10-26 - 04:38 AlexanderFedotov  
Texttxt rpm_history.131025.2118.rpm-qa.After_sys_update.txt r1 manage 102.3 K 2013-10-26 - 04:38 AlexanderFedotov  
Edit | Attach | Watch | Print version | History: r6 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2013-10-26 - AlexanderFedotov
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback