Jump to content

mechtn

Members
  • Content Count

    47
  • Joined

  • Last visited

  • Days Won

    1

mechtn last won the day on June 29 2013

mechtn had the most liked content!

Community Reputation

1 Neutral

About mechtn

  • Rank
    Noob
  1. somehow ended up with this.. "Clock skew detected. Your build may be incomplete" to fix type.. find . -print | xargs touch
  2. Gentoo nox passwd (set root password so ssh can login) dhcpcd (starts dhcp so eth0 can get an ip address) /etc/init.d/sshd start (starts SSH) ssh into machine and run the rest... ### Formatting... fdisk /dev/sda use p to view available partitions use d to delete each partition 1. N, P, 1, (Hit enter), +100MB 2. N, p, 2, (Hit enter), +512MB, t, 2, 82 3. N, p, 3, (hit enter), (hit enter) 4. W mke2fs /dev/sda1 mke2fs -j /dev/sda3 mkswap /dev/sda2 swapon /dev/sda2 mount /dev/sda3 /mnt/gentoo mkdir /mnt/gentoo/boot mount /dev/sda1 /mnt/gentoo/boot cd /mnt/gentoo ### Add USB Drive to copy files from mkdir /mnt/usb mount /dev/sdb1 -t vfat /mnt/usb ### Basic Package Setup... date 022619482007 (date MMDDhhmmYYYY syntax (Month, Day, hour, minute and Year)) cp /mnt/usb/Gentoo/stage* /mnt/gentoo/ tar xvjpf stage3* cp /mnt/usb/gentoo/portage* /mnt/gentoo tar xvjf portage* -C /mnt/gentoo/usr mount -t proc none /mnt/gentoo/proc cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf ### Gentoo Env Setup chroot /mnt/gentoo /bin/bash env-update source /etc/profile passwd (set root password) mkdir -p /etc/portage echo "sys-libs/glib nptl nptlonly" >> /etc/portage/package.use cp /usr/share/zoneinfo/US/Central /etc/localtime sed -i -e 's/HOSTNAME.*/HOSTNAME="gentoo"/' /etc/conf.d/hostname nano -w /etc/locale.gen uncomment out en_US ISO-8859-1 en_US.UTF-8 UTF-8 locale-gen nano -w /etc/make.conf 1. CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" 2. CHOST="i686-pc-linux-gnu" 3. CXXFLAGS="${CFLAGS}" 4. MAKEOPTS="-j4" 5. FEATURES="parallel-fetch" 6. USE="X bzip2 tk threads symlink" 7. VIDEO_CARD="fglrx" 8. INPUT_DEVICES="mouse keyboard evdev synaptics" ### Base Compile emerge --sync emerge portage emerge -epv world emerge -uDN world ### Kernel Compile Update USE Flags XUSE="truetype X new-login xorg xscreensaver xv xcomposite xinerama opengl aiglx xcb glitz svg" IMAGEUSE="jpeg gif tiff png svg pdf gtk gtk2" MEDIAUSE="alsa mp3 mpeg win32codecs dvd mp4 aac xvid nsplugin mp3 quicktime" GENERAL="samba java bzip2 symlink xml rdesktop tk" SYSTEM="hal fam dbus threads" NOTUSE="-arts -qt4 -ipv6 -kde -qt3 -gnome" USE="${NOTUSE} ${SYSTEM} ${GENERAL} ${IMAGEUSE} ${XUSE} ${MEDIAUSE}" emerge gentoo-sources cd /usr/src/linux make menuconfig . changed processor family, enable dell laptop support, disable all ethert 10/100/1000 drivers except broadcom 4400 make && make modules_install cp arch/i386/boot/bzImage /boot/kernel ### Grub and Fstab nano -w /etc/fstab add to fstab /dev/sda1 /boot ext2 defaults,noatime 1 2 /dev/sda2 none swap sw 0 0 /dev/sda3 / ext3 noatime 0 1 /dev/cdroms/cdrom0 /mnt/cdrom auto noauto,ro 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 proc /proc proc defaults 0 0 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 nano -w /boot/grub/grub.conf add to grub.conf - default 0 - timeout 30 - splashimage=(hd0,0)/boot/grub/splash.xpm.gz - title=Gentoo Linux 2.6 - root (hd0,0) - kernel /boot/kernel root=/dev/hda3 grub root (hd0,0) setup (hd0) quit ### Final Configuration emerge dhcpcd emerge grub emerge syslog-ng rc-update add net.eth0 default rc-update add sshd default rc-update add syslog-ng default etc-update exit umount /mnt/gentoo/proc /mnt/gentoo/boot /mnt/gentoo /mnt/usb Errors: nano /etc/login.defs change to #GETPASS_ASTERISKS 0 ### ATI-DRIVERS / XORG Video Card (ATI Radeon Mobility x1400 with Linux): In order to get the required driver versions of the ati-drivers, you need to add the following to your package.keywords: echo "app-admin/eselect-opengl ~x86" >> /etc/portage/package.keywords echo "x11-drivers/ati-drivers ~x86" >> /etc/portage/package.keywords echo "x11-apps/ati-drivers-extra ~x86" >> /etc/portage/package.keywords emerge ati-drivers emerge xorg-x11 env-update source /etc/profile modprobe fglrx eselect opengl set ati get your xorg.conf setup Section "ServerFlags" Option "AIGLX" "off" EndSection echo "app-portage/layman" >> /etc/portage/package.keywords emerge layman nano -w /etc/layman/layman.cfg storage : /usr/portage/local/layman to storage : /usr/local/layman nocheck : no to nocheck : yes layman -L layman -a xeffects nano -w /etc/make.conf PORTDIR_OVERLAY="/usr/local/layman/xeffects" nano /etc/portage/package.keywords media-libs/mesa x11-apps/mesa-progs x11-base/xgl x11-apps/xvinfo x11-libs/libdrm x11-libs/libxcb dev-libs/libpthread-stubs x11-proto/xcb-proto x11-libs/libX11 nano /etc/portage/package.unmask media-libs/mesa emerge xgl cp /usr/bin/startx /usr/bin/startxgl nano -w /usr/bin/startxgl replace xinit $clientargs -- $serverargs -deferglyphs 16 & with xinit $clientargs -- /usr/bin/Xgl -br -ac -accel xv:pbuffer -accel glx:pbuffer $serverargs -deferglyphs 16 & add to portage.keywords x11-apps/xlsclients x11-apps/xvinfo x11-wm/beryl x11-wm/beryl-core x11-wm/emerald x11-plugins/beryl-plugins x11-plugins/beryl-plugins-extra x11-plugins/beryl-plugins-vidcap x11-misc/beryl-manager x11-misc/beryl-settings x11-misc/beryl-settings-bindings x11-themes/emerald-themes make sure we have USE="glitz svg" in /etc/make.conf emerge -1 cairo emerge beryl add to package.keywords xfce-extra/xfce4-timer ~x86 xfce-extra/xfce4-clipman ~x86 xfce-extra/xfce4-fsguard ~x86 xfce-extra/xfce4-mailwatch ~x86 xfce-extra/xfce4-notes ~x86 xfce-extra/xfce4-datetime ~x86 xfce-extra/xfce4-weather ~x86 xfce-extra/xfce4-netload ~x86 xfce-extra/xfce4-xkb ~x86 xfce-extra/xfce4-quicklauncher ~x86 xfce-extra/xfce4-mount ~x86 xfce-extra/xfce4-cpugraph ~x86 xfce-extra/thunar-media-tags ~x86 xfce-extra/xfce4-systemload ~x86 xfce-extra/xfce4-genmon ~x86 xfce-extra/thunar-archive ~x86 xfce-extra/xfce4-dict ~x86 xfce-extra/xfce4-diskperf ~x86 xfce-extra/xfce4-taskmanager ~x86 xfce-extra/xfce4-xfapplet ~x86 xfce-extra/xfce4-sensors ~x86 xfce-extra/xfce4-smartbookmark ~x86 xfce-base/xfce4-extras ~x86 xfce-extra/xfce4-screenshooter ~x86 xfce-extra/xfce4-fsguard ~x86 xfce-extra/xfce4-mount ~x86 xfce-base/xfce-utils ~x86 xfce-extra/verve ~x86 xfce-extra/xfce4-xkb ~x86 xfce-base/libxfce4mcs ~x86 xfce-base/libxfce4util ~x86 xfce-base/libxfcegui4 ~x86 xfce-base/orage ~x86 xfce-base/xfce-mcs-manager ~x86 xfce-base/xfce-mcs-plugins ~x86 xfce-base/xfce-utils ~x86 xfce-base/xfce4 ~x86 xfce-base/xfce4-panel ~x86 xfce-base/xfce4-session ~x86 xfce-base/xfdesktop ~x86 xfce-base/xfprint ~x86 xfce-base/xfwm4 ~x86 xfce-base/thunar ~x86 xfce-extra/xfce4-appfinder ~x86 xfce-extra/xfce4-icon-theme ~x86 xfce-extra/xfce4-mixer ~x86 xfce-extra/xfwm4-themes ~x86 xfce-extra/exo ~x86 xfce-extra/mousepad ~x86 xfce-extra/terminal ~x86 xfce-extra/xarchiver ~x86 xfce-extra/xfce4-dev-tools ~x86 xfce-extra/xfmedia ~x86 x11-themes/gtk-engines-xfce ~x86 add to package.use xfce-extra/exo hal xfce-base/xfwm4 startup-notification xfce-base/xfce4-session hal xfce-base/xfce4-panel startup-notification xfce-base/thunar hal startup-notification thumbnail xfce-base/xfdesktop exo panel-plugin thunar-vfs xfce-extra/xarchiver ace rar rpm zip add to package.unmask xfce-extra/xfce4-timer xfce-extra/xfce4-clipman xfce-extra/xfce4-fsguard xfce-extra/xfce4-mailwatch xfce-extra/xfce4-notes xfce-extra/xfce4-datetime xfce-extra/xfce4-weather xfce-extra/xfce4-netload xfce-extra/xfce4-xkb xfce-extra/xfce4-quicklauncher xfce-extra/xfce4-mount xfce-extra/xfce4-cpugraph xfce-extra/thunar-media-tags xfce-extra/xfce4-systemload xfce-extra/xfce4-genmon xfce-extra/thunar-archive xfce-extra/xfce4-dict xfce-extra/xfce4-diskperf xfce-extra/xfce4-taskmanager xfce-extra/xfce4-xfapplet xfce-extra/xfce4-sensors xfce-extra/xfce4-smartbookmark xfce-base/xfce4-extras xfce-extra/verve xfce-extra/xfce4-screenshooter xfce-base/libxfce4mcs xfce-base/libxfce4util xfce-base/libxfcegui4 xfce-base/orage xfce-base/xfce-mcs-manager xfce-base/xfce-mcs-plugins xfce-base/xfce-utils xfce-base/xfce4 xfce-base/xfce4-panel xfce-base/xfce4-session xfce-base/xfdesktop xfce-base/xfprint xfce-base/xfwm4 xfce-base/thunar xfce-extra/xfce4-appfinder xfce-extra/xfce4-icon-theme xfce-extra/xfce4-mixer xfce-extra/xfwm4-themes xfce-extra/mousepad xfce-extra/exo xfce-extra/terminal xfce-extra/xarchiver xfce-extra/xfce4-dev-tools xfce-extra/xfmedia x11-themes/gtk-engines-xfce emerge -pv xfce4 xfce4-extras orage thunar Other guides to check for reference http://gentoo-wiki.com/HOWTO_Gentoo_on_laptops http://www.gentoo.org/doc/en/xorg-config.xml http://www.gentoo.org/doc/en/dri-howto.xml http://gentoo-wiki.com/HOWTO_ATI_Drivers http://james.jamesandkristin.net/install-g...inspiron-e1705/ http://www.odi.ch/prog/macbookpro/index.php http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts http://gentoo-wiki.com/HOWTO_XGL/Troublesh...xmap_is_missing http://wiki.jonwatson.ca/index.php?title=I...ivers_and_Beryl http://wiki.gentoo-xeffects.org/Overlay http://gentoo-wiki.com/TIP_Recommended_Packages ### more use flags to check out USE="-qt -kde -gnome -eds -X -motif -esd -arts -gstreamer" USE="-* berkdb crypt hardened mmx ncurses nptl pam perl pic python readline snmp ssl tcpd xml" USE="-* 3dnow 3dnowext alsa amd64 apache2 berkdb cairo cdr crypt dbus elibc_glibc fam firefox gdbm glitz gnome gpm gstreamer gtk hal input_device_evdev input_devices_keyboard input_devices_mouse jpeg kernel_linux libg++ mmx ncurses nls nptl nptlonly opengl pam pcre perl png python readline samba sse ssl svg tcpd tiff truetype udev unicode userland_GNU X xinerama xml xorg zlib" USE="xml qa lm_sensors plugins vdr v4l v4l2 dxr3 dvb subtitles dxr3-audio-denoise setup-plugin bigpatch mozbranding mixer mikmod mpeg libnotify imap fontconfig zip ace rar xcb xcomposite firefox dvdr asf wmp gmedia realmedia msn xscreensaver real quicktime offensive startup-notification dbus glitz bash-completion aiglx truetype sdl ogg mad mp3 opengl X jpeg png alsa gtk vorbis xv divx cdr xine a52 hal flac ffmpeg aac dvd dvdread win32codecs theora r
  3. https://www.linux-noob.com/forums/index.php?showtopic=2781
  4. Add to kernel Device Drivers ---> Sound ---> Advanced Linux Sound Architecture ---> <*> Advanced Linux Sound Architecture <*> INTEL HDA (ICH7 is hda-intel) http://www.alsa-project.org/alsa-doc/index...or=vendor-Intel emerge alsa-utils rc-update add alsasound boot Next, just check the /etc/conf.d/alsasound file and ensure that SAVE_ON_STOP variable is set to yes. alsamixer press M to unmute your master channel more can be found at http://www.gentoo.org/doc/en/alsa-guide.xml
  5. My very latest /etc/make.conf (XFCE4.4, XGL, ATI-DRIVERS, BERYL - ALL WORKING!!!) # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j4" FEATURES="parallel-fetch" XUSE="truetype X new-login xorg xscreensaver xv xcomposite xinerama opengl glitz svg xgl" IMAGEUSE="jpeg gif tiff png svg pdf gtk gtk2" MEDIAUSE="alsa mp3 mpeg win32codecs dvd mp4 aac xvid nsplugin mp3 quicktime" GENERAL="samba java bzip2 symlink xml rdesktop tk" SYSTEM="hal fam dbus threads" NOTUSE="-arts -qt4 -ipv6 -kde -qt3 -gnome" USE="${NOTUSE} ${SYSTEM} ${GENERAL} ${IMAGEUSE} ${XUSE} ${MEDIAUSE}" VIDEO_CARD="fglrx" PORTDIR_OVERLAY="/usr/local/layman/xeffects" INPUT_DEVICES="mouse keyboard evdev synaptics"
  6. Section "ServerFlags" Option "AIGLX" "off" EndSection Video Card Selection Driver "fglrx" Option "VideoOverlay" "on" Option "OpenGLOverlay" "off" Option "UseFastTLS" "2" Option "EnablePrivateBackZ" "on" Section "DRI" Mode 0666 EndSection Section "Extensions" Option "Composite" "Disable" EndSection modules section Load "dri" Load "glx" change your /etc/rc.conf XSESSION to = gnome it has to match something inside /etc/X11/Sessions/ under there i have Xfce4 so my XSESSION="xfce4" dont put anything in .xintrc or if you made up a .xglintrc .. leave it blank edit /usr/bin/startxgl at the very end change the line like this xinit $clientargs -- /usr/bin/Xgl :1 -br -ac -accel xv:pbuffer -accel glx:pbuffer $serverargs -deferglyphs 16 & :1 is important that most guides leave out or at least to me it was
  7. emerge corefonts add corefonts to xorg.conf emerge slocate emerge mplayer mplayer-skins emerge xchat adduser -g users -G wheel,cdrom,users,audio -m username passwd username
  8. Gentoo nox passwd (set root password so ssh can login) dhcpcd (starts dhcp so eth0 can get an ip address) /etc/init.d/sshd start (starts SSH) ssh into machine and run the rest... ### Formatting... fdisk /dev/sda use p to view available partitions use d to delete each partition 1. N, P, 1, (Hit enter), +100MB 2. N, p, 2, (Hit enter), +512MB, t, 2, 82 3. N, p, 3, (hit enter), (hit enter) 4. W mke2fs /dev/sda1 mke2fs -j /dev/sda3 mkswap /dev/sda2 swapon /dev/sda2 mount /dev/sda3 /mnt/gentoo mkdir /mnt/gentoo/boot mount /dev/sda1 /mnt/gentoo/boot cd /mnt/gentoo ### Add USB Drive to copy files from mkdir /mnt/usb mount /dev/sdb1 -t vfat /mnt/usb ### Basic Package Setup... date 022619482007 (date MMDDhhmmYYYY syntax (Month, Day, hour, minute and Year)) cp /mnt/usb/Gentoo/stage* /mnt/gentoo/ tar xvjpf stage3* cp /mnt/usb/gentoo/portage* /mnt/gentoo tar xvjf portage* -C /mnt/gentoo/usr mount -t proc none /mnt/gentoo/proc cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf ### Gentoo Env Setup chroot /mnt/gentoo /bin/bash env-update source /etc/profile passwd (set root password) mkdir -p /etc/portage echo "sys-libs/glib nptl nptlonly" >> /etc/portage/package.use cp /usr/share/zoneinfo/US/Central /etc/localtime sed -i -e 's/HOSTNAME.*/HOSTNAME="gentoo"/' /etc/conf.d/hostname nano -w /etc/locale.gen uncomment out en_US ISO-8859-1 en_US.UTF-8 UTF-8 locale-gen nano -w /etc/make.conf 1. CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" 2. CHOST="i686-pc-linux-gnu" 3. CXXFLAGS="${CFLAGS}" 4. MAKEOPTS="-j4" 5. FEATURES="parallel-fetch" 6. USE="X bzip2 tk threads symlink" 7. VIDEO_CARD="fglrx" 8. INPUT_DEVICES="mouse keyboard evdev synaptics" ### Base Compile emerge --sync emerge portage emerge -epv world emerge -uDN world ### Kernel Compile Update USE Flags XUSE="truetype X new-login xorg xscreensaver xv xcomposite xinerama opengl aiglx xcb glitz svg" IMAGEUSE="jpeg gif tiff png svg pdf gtk gtk2" MEDIAUSE="alsa mp3 mpeg win32codecs dvd mp4 aac xvid nsplugin mp3 quicktime" GENERAL="samba java bzip2 symlink xml rdesktop tk" SYSTEM="hal fam dbus threads" NOTUSE="-arts -qt4 -ipv6 -kde -qt3 -gnome" USE="${NOTUSE} ${SYSTEM} ${GENERAL} ${IMAGEUSE} ${XUSE} ${MEDIAUSE}" emerge gentoo-sources cd /usr/src/linux make menuconfig . changed processor family, enable dell laptop support, disable all ethert 10/100/1000 drivers except broadcom 4400 make && make modules_install cp arch/i386/boot/bzImage /boot/kernel ### Grub and Fstab nano -w /etc/fstab add to fstab /dev/sda1 /boot ext2 defaults,noatime 1 2 /dev/sda2 none swap sw 0 0 /dev/sda3 / ext3 noatime 0 1 /dev/cdroms/cdrom0 /mnt/cdrom auto noauto,ro 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 proc /proc proc defaults 0 0 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 emerge dhcpcd emerge grub emerge syslog-ng rc-update add net.eth0 default rc-update add sshd default rc-update add syslog-ng default nano -w /boot/grub/grub.conf add to grub.conf - default 0 - timeout 30 - splashimage=(hd0,0)/boot/grub/splash.xpm.gz - title=Gentoo Linux 2.6 - root (hd0,0) - kernel /boot/kernel root=/dev/hda3 grub root (hd0,0) setup (hd0) quit exit umount /mnt/gentoo/proc /mnt/gentoo/boot /mnt/gentoo /mnt/usb
  9. http://www.uberpenguin.net/?p=37 http://wiki.gentoo-xeffects.org/XGL http://gentoo-wiki.com/Beryl#XFCE_4_.28startx.29 http://gentoo-wiki.com/HOWTO_XGL#XDM eselect opengl set ati sed -i '/do not remove/ s/"radeon"/"fglrx"/' /etc/X11/xorg.conf
  10. emerge mozilla-firefox-bin emerge rdesktop emerge kuroo emerge xchat emerge xdm had to make some changes to add xdm into the picture nano -w /etc/rc.conf XSESSION="startxfce4" DISPLAYMANGER="xdm" then had to restart xdm /etc/init.d/xdm restart rc-update add xdm default
  11. ermege ufed emerge xorg-x11 emerge
  12. installed ufed to help me pick my use flags emerge ufed Also used this website to help me. http://www.gentoo.org/dyn/use-index.xml
  13. <deface> mechtn: i'd also add truetype & xft to your use flags
  14. www.gentoo-install.com - great resouce for learning to install gentoo
×
×
  • Create New...