Tagged: gentoo64

Updated: /etc/fstab

Disclaimer:
The information in this site is the result of my researches in the Internet and of my experiences. This information below is solely used for my purpose and may not be suitable for others.

New /etc/fstab Scheme:

My new system, Dell Precision 3640 Tower, uses UEFI and its partion (/dev/sda2) needs to be vfat. Detail can be found at Gentoo Wiki: EFI System Partition

/dev/sda2/bootvfatnoauto,noatime0 2
/dev/sda3noneswapsw0 0
/dev/sda4/ext4noatime,errors=remount-ro0 1
/dev/sdb1/homeext4defaults1 2
tmpfs/tmptmpfsnoatime,nodev,nosuid,size=10G0 0
tmpfs/var/tmptmpfsrw,nosuid,noatime,nodev, size=15G,mode=17770 0
tmpfs/var/tmp/portage tmpfsrw,nosuid,noatime,nodev,size=15G, mode=775,uid=portage,gid=portage, x-mount.mkdir=7750 0

That's all!
-gibb

Updated: Partition Schemes

Disclaimer:
The information in this site is the result of my researches in the Internet and of my experiences. This information below is solely used for my purpose and may not be suitable for others.

New Partition Scheme:

My new system, Dell Precision 3640 Tower, uses UEFI and its partion (/dev/sda2) needs to be formatted as vfat. Detail can be found at Gentoo Wiki: EFI System Partition

PartitionSizeFSDescription
/dev/sda12MiB-BIOS boot partition
/dev/sda2128MiBvfatUEFI boot partition
/dev/sda34295MiBSWAPSwap Partition
/dev/sda4239970MiBext4/ Partition

That's all!
-gibb

Updated: X11

Disclaimer:
The information in this site is the result of my researches in the Internet and of my experiences. This information below is solely used for my purpose and may not be suitable for others.

X11:

After installing x11-base/xorg-drivers and x11-base/xorg-server, X11 may exit with errors complaining, missing twm, xterm, xclock. When that happens, installing these components will fix the issue and hopefully X11 will start.# emerge --ask twm xterm xclock

That's all!
-gibb

List of Installed Packages with USE flags

Disclaimer:
The information in this site is the result of my researches on the Internet and of my experiences. This information below is solely used for my purpose and may not be suitable for others.

List of Installed Packages with USE flags:

The command to view the list of installed packages with used or unused USE flags are the following:# emerge -pve world

To view a particular package is to run grep:# emerge -pve world | grep -i rxvt-unicode

That's all!
-gibb

Steps for Maintaining Gentoo Server

Disclaimer:
The information in this site is the result of my researches in the Internet and of my experiences. This information below is solely used for my purpose and may not be suitable for others.

  1. # eix-sync
    This is same as below:
    root #emerge --sync
    root #cp -a /var/cache/eix/portage.eix /var/cache/eix/previous.eix
    root #eix-update
    root #eix-diff
  2. # glsa-check --list
    1. # glsa-check -t all
      When above command returns [N], execute this.
    2. # glsa-check -p $(glsa-check -t all)
      To see what packages would be emerged.
    3. # glsa-check -f $(glsa-check -t all)
      To apply the fix.
  3. # eselect news read
  4. # emerge -uUDavp --with-bdeps=y @world
    -u (--update): Updates pkgs to the best version available
    -U (--changed-use): Include installed pkgs where USE flags have changed since installation.
    -D (--deep): Forces emerge to consider the entire dependency tree of pkgs
    -a (--ask): Display what will take place
    -v (--verbose): Run in verbose mode:
    -p (--pretend): Display what *would* have been installed if -p weren't used
    --with-bdeps=y: Pull in build time dependencies that are not strictly required
    If no problems flagged in above, go to xxx
    Otherwise, fix any problem(s) flagged by the emerge --pretend, then go to #4 again.
  5. # emerge -uUDav --with-bdeps=y @world
    If any issue(s), fix them and go to #5 again.
  6. # emerge @preserved-rebuild
    Run this only if specified in output from above.
    @preserved-rebuild: Update pkgs that still use old libraries with new ones
  7. # emerge --ask --depclean
    Run this only if specified in output from above.
    --depclean: Cleans the system by removing pkgs that are not associated w/explicitly merged pkgs
  8. # dispatch-conf
    Tool that aids in merging the ._cfg0000_[name] files
  9. # eclean-dist --deep
    Clean the source files directory, /var/cache/distfiles
  10. # eix-test-obsolete
    Search for obsolete packages on the system
  11. Wait for at least 24 hours to a week or so, then go from beginning.

That's all!
-gibb