oot@sysresccd /root % cat /proc/cpuinfo 
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 21
model		: 48
model name	: AMD A10-7850K APU with Radeon(TM) R7 Graphics  
stepping	: 1
cpu MHz		: 3693.483
cache size	: 2048 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 16
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr tbm topoext perfctr_core arat cpb xsaveopt npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold fsgsbase
bogomips	: 7386.96
TLB size	: 1536 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate [9] [10] [13]

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 21
model		: 48
model name	: AMD A10-7850K APU with Radeon(TM) R7 Graphics  
stepping	: 1
cpu MHz		: 3693.483
cache size	: 2048 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 2
apicid		: 17
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr tbm topoext perfctr_core arat cpb xsaveopt npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold fsgsbase
bogomips	: 7384.57
TLB size	: 1536 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate [9] [10] [13]

processor	: 2
vendor_id	: AuthenticAMD
cpu family	: 21
model		: 48
model name	: AMD A10-7850K APU with Radeon(TM) R7 Graphics  
stepping	: 1
cpu MHz		: 3693.483
cache size	: 2048 KB
physical id	: 0
siblings	: 4
core id		: 2
cpu cores	: 2
apicid		: 18
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr tbm topoext perfctr_core arat cpb xsaveopt npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold fsgsbase
bogomips	: 7384.69
TLB size	: 1536 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate [9] [10] [13]

processor	: 3
vendor_id	: AuthenticAMD
cpu family	: 21
model		: 48
model name	: AMD A10-7850K APU with Radeon(TM) R7 Graphics  
stepping	: 1
cpu MHz		: 3693.483
cache size	: 2048 KB
physical id	: 0
siblings	: 4
core id		: 3
cpu cores	: 2
apicid		: 19
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr tbm topoext perfctr_core arat cpb xsaveopt npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold fsgsbase
bogomips	: 7384.69
TLB size	: 1536 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate [9] [10] [13]

root@sysresccd /root % gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.1

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): 

Command (? for help): p
Disk /dev/sda: 250069680 sectors, 119.2 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 88352352-EBA6-4F0E-98CF-27F6D3C47496
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 250069646
Partitions will be aligned on 2048-sector boundaries
Total free space is 40147565 sectors (19.1 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048            4095   1024.0 KiB  EF02  BIOS boot partition
   2            4096          208895   100.0 MiB   8300  Linux filesystem
   3          208896       209924095   100.0 GiB   8300  Linux filesystem

Command (? for help): o
This option deletes all partitions and creates a new protective MBR.
Proceed? (Y/N): y

Command (? for help): p
Disk /dev/sda: 250069680 sectors, 119.2 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 0CF5112D-95CE-4B34-A47C-E6E9860BB644
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 250069646
Partitions will be aligned on 2048-sector boundaries
Total free space is 250069613 sectors (119.2 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name

Command (? for help): n
Partition number (1-128, default 1): 1
First sector (34-250069646, default = 34) or {+-}size{KMGTP}: 
Information: Moved requested sector from 34 to 2048 in
order to align on 2048-sector boundaries.
Use 'l' on the experts' menu to adjust alignment
Last sector (2048-250069646, default = 250069646) or {+-}size{KMGTP}: +1M
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): EF02
Changed type of partition to 'BIOS boot partition'

Command (? for help): p
Disk /dev/sda: 250069680 sectors, 119.2 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 0CF5112D-95CE-4B34-A47C-E6E9860BB644
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 250069646
Partitions will be aligned on 2048-sector boundaries
Total free space is 250067565 sectors (119.2 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048            4095   1024.0 KiB  EF02  BIOS boot partition

Command (? for help): o
This option deletes all partitions and creates a new protective MBR.
Proceed? (Y/N): y

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT).
The operation has completed successfully.
root@sysresccd /root % parted /dev/sda
GNU Parted 2.4
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p                                                                
Model: ATA SanDisk SDSSDH21 (scsi)
Disk /dev/sda: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start  End  Size  File system  Name  Flags

(parted) gpt                                                              
  align-check TYPE N                        check partition N for TYPE(min|opt) alignment
  check NUMBER                             do a simple check on the file system
  cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another partition
  help [COMMAND]                           print general help, or help on COMMAND
  mklabel,mktable LABEL-TYPE               create a new disklabel (partition table)
  mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on partition NUMBER
  mkpart PART-TYPE [FS-TYPE] START END     make a partition
  mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file system
  move NUMBER START END                    move partition NUMBER
  name NUMBER NAME                         name partition NUMBER as NAME
  print [devices|free|list,all|NUMBER]     display the partition table, available devices, free space, all found
        partitions, or a particular partition
  quit                                     exit program
  rescue START END                         rescue a lost partition near START and END
  resize NUMBER START END                  resize partition NUMBER and its file system
  rm NUMBER                                delete partition NUMBER
  select DEVICE                            choose the device to edit
  set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
  toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition NUMBER
  unit UNIT                                set the default unit to UNIT
  version                                  display the version number and copyright information of GNU Parted
(parted) mklabel gpt                                                      
Warning: The existing disk label on /dev/sda will be destroyed and all data on this disk will be lost. Do you want to
continue?
Yes/No? yes                                                               
(parted) print                                                            
Model: ATA SanDisk SDSSDH21 (scsi)
Disk /dev/sda: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start  End  Size  File system  Name  Flags

(parted) mkpart primary fa32 0 100
parted: invalid token: fa32
File system type?  [ext2]? fat32                                          
Start? ^C                                                                 
(parted) mkpart primary fat32 0 100                                        
Warning: The resulting partition is not properly aligned for best performance.
Ignore/Cancel? c                                                          
(parted) p                                                                
Model: ATA SanDisk SDSSDH21 (scsi)
Disk /dev/sda: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start  End  Size  File system  Name  Flags

(parted) mkpart primary fat32 0 100                                       
Warning: The resulting partition is not properly aligned for best performance.
Ignore/Cancel? c                                                          
(parted) mkpart primary fat32 0 96
Warning: The resulting partition is not properly aligned for best performance.
Ignore/Cancel? c                                                          
(parted) quit                                                             
Information: You may need to update /etc/fstab.                           

root@sysresccd /root % gdisk /dev/sda 
GPT fdisk (gdisk) version 0.8.1

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): p
Disk /dev/sda: 250069680 sectors, 119.2 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): EB5293B4-601F-429A-AE10-ADC96E802B54
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 250069646
Partitions will be aligned on 2048-sector boundaries
Total free space is 250069613 sectors (119.2 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name

Command (? for help): n
Partition number (1-128, default 1): 1
First sector (34-250069646, default = 34) or {+-}size{KMGTP}: 
Information: Moved requested sector from 34 to 2048 in
order to align on 2048-sector boundaries.
Use 'l' on the experts' menu to adjust alignment
Last sector (2048-250069646, default = 250069646) or {+-}size{KMGTP}: +100M
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): L
0700 Microsoft basic data  0c01 Microsoft reserved    2700 Windows RE          
4200 Windows LDM data      4201 Windows LDM metadata  7501 IBM GPFS            
7f00 ChromeOS kernel       7f01 ChromeOS root         7f02 ChromeOS reserved   
8200 Linux swap            8300 Linux filesystem      8301 Linux reserved      
8e00 Linux LVM             a500 FreeBSD disklabel     a501 FreeBSD boot        
a502 FreeBSD swap          a503 FreeBSD UFS           a504 FreeBSD ZFS         
a505 FreeBSD Vinum/RAID    a800 Apple UFS             a901 NetBSD swap         
a902 NetBSD FFS            a903 NetBSD LFS            a904 NetBSD concatenated 
a905 NetBSD encrypted      a906 NetBSD RAID           ab00 Apple boot          
af00 Apple HFS/HFS+        af01 Apple RAID            af02 Apple RAID offline  
af03 Apple label           af04 AppleTV recovery      af05 Apple Core Storage  
be00 Solaris boot          bf00 Solaris root          bf01 Solaris /usr & Mac Z
bf02 Solaris swap          bf03 Solaris backup        bf04 Solaris /var        
bf05 Solaris /home         bf06 Solaris alternate se  bf07 Solaris Reserved 1  
bf08 Solaris Reserved 2    bf09 Solaris Reserved 3    bf0a Solaris Reserved 4  
bf0b Solaris Reserved 5    c001 HP-UX data            c002 HP-UX service       
ef00 EFI System            ef01 MBR partition scheme  ef02 BIOS boot partition 
fd00 Linux RAID            
Hex code or GUID (L to show codes, Enter = 8300): ef00
Changed type of partition to 'EFI System'

Command (? for help): p
Disk /dev/sda: 250069680 sectors, 119.2 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): EB5293B4-601F-429A-AE10-ADC96E802B54
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 250069646
Partitions will be aligned on 2048-sector boundaries
Total free space is 249864813 sectors (119.1 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          206847   100.0 MiB   EF00  EFI System

Command (? for help): n
Partition number (2-128, default 2): 2
First sector (34-250069646, default = 206848) or {+-}size{KMGTP}: 
Last sector (206848-250069646, default = 250069646) or {+-}size{KMGTP}: +50G
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): 
Changed type of partition to 'Linux filesystem'

Command (? for help): p
Disk /dev/sda: 250069680 sectors, 119.2 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): EB5293B4-601F-429A-AE10-ADC96E802B54
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 250069646
Partitions will be aligned on 2048-sector boundaries
Total free space is 145007213 sectors (69.1 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          206847   100.0 MiB   EF00  EFI System
   2          206848       105064447   50.0 GiB    8300  Linux filesystem

Command (? for help): n
Partition number (3-128, default 3): 
First sector (34-250069646, default = 105064448) or {+-}size{KMGTP}: 
Last sector (105064448-250069646, default = 250069646) or {+-}size{KMGTP}: +50G
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): 0700
Changed type of partition to 'Microsoft basic data'

Command (? for help): p
Disk /dev/sda: 250069680 sectors, 119.2 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): EB5293B4-601F-429A-AE10-ADC96E802B54
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 250069646
Partitions will be aligned on 2048-sector boundaries
Total free space is 40149613 sectors (19.1 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          206847   100.0 MiB   EF00  EFI System
   2          206848       105064447   50.0 GiB    8300  Linux filesystem
   3       105064448       209922047   50.0 GiB    0700  Microsoft basic data

Command (? for help): h
b	back up GPT data to a file
c	change a partition's name
d	delete a partition
i	show detailed information on a partition
l	list known partition types
n	add a new partition
o	create a new empty GUID partition table (GPT)
p	print the partition table
q	quit without saving changes
r	recovery and transformation options (experts only)
s	sort partitions
t	change a partition's type code
v	verify disk
w	write table to disk and exit
x	extra functionality (experts only)
?	print this menu

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT).
The operation has completed successfully.
root@sysresccd /root % mkfs.vfat -F 32 /dev/sda1 
mkfs.vfat 3.0.9 (31 Jan 2010)
root@sysresccd /root % mkfs.ext4 --help
mkfs.ext4: invalid option -- '-'
Usage: mkfs.ext4 [-c|-l filename] [-b block-size] [-f fragment-size]
	[-i bytes-per-inode] [-I inode-size] [-J journal-options]
	[-G meta group size] [-N number-of-inodes]
	[-m reserved-blocks-percentage] [-o creator-os]
	[-g blocks-per-group] [-L volume-label] [-M last-mounted-directory]
	[-O feature[,...]] [-r fs-revision] [-E extended-option[,...]]
	[-T fs-type] [-U UUID] [-jnqvFKSV] device [blocks-count]
root@sysresccd /root % mkfs.ext4 -L gentoo /dev/sda2
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=gentoo
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
3276800 inodes, 13107200 blocks
655360 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
400 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
	4096000, 7962624, 11239424

Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 30 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
root@sysresccd /root % mkfs.vfat --help             
mkfs.vfat 3.0.9 (31 Jan 2010)
mkfs.vfat: invalid option -- '-'
Unknown option: ?
Usage: mkdosfs [-a][-A][-c][-C][-v][-I][-l bad-block-file][-b backup-boot-sector]
       [-m boot-msg-file][-n volume-name][-i volume-id]
       [-s sectors-per-cluster][-S logical-sector-size][-f number-of-FATs]
       [-h hidden-sectors][-F fat-size][-r root-dir-entries][-R reserved-sectors]
       /dev/name [blocks]
root@sysresccd /root % mkfs.vfat -F 32 -n efi-boot /dev/sda1
mkfs.vfat 3.0.9 (31 Jan 2010)
root@sysresccd /root % mount /dev/sda2 /mnt/gentoo 
root@sysresccd /root % mkdir /mnt/gentoo/boot
root@sysresccd /root % mkdir /mnt/gentoo/boot/efi
root@sysresccd /root % mount /dev/sda1 /mnt/gentoo/boot/efi 
root@sysresccd /root % mount
rootfs on / type rootfs (rw)
udev on /dev type tmpfs (rw,relatime,size=10240k,mode=755)
tmpfs on /livemnt/boot type tmpfs (rw,relatime,size=524288k)
/dev/loop0 on /livemnt/squashfs type squashfs (ro,relatime)
tmpfs on /livemnt/memory type tmpfs (rw,relatime)
none on / type aufs (rw,noatime,si=13303d402caf5c99)
tmpfs on /livemnt/tftpmem type tmpfs (rw,relatime,size=524288k)
none on /tftpboot type aufs (rw,relatime,si=13303d402caf4099)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
rc-svcdir on /lib/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
tmpfs on /tmp type tmpfs (rw)
/dev/sda2 on /mnt/gentoo type ext4 (rw)
/dev/sda1 on /mnt/gentoo/boot/efi type vfat (rw)
root@sysresccd /root % cd /tmp 
root@sysresccd /tmp % wget http://mirrors.kernel.org/gentoo/releases/amd64/current-stage3/stage3-amd64-20140320.tar.bz2
--2014-03-25 19:19:51--  http://mirrors.kernel.org/gentoo/releases/amd64/current-stage3/stage3-amd64-20140320.tar.bz2
Resolving mirrors.kernel.org... 149.20.20.135, 149.20.4.71, 2001:4f8:8:10:0:1994:3:14, ...
Connecting to mirrors.kernel.org|149.20.20.135|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 184597608 (176M) [application/x-bzip2]
Saving to: `stage3-amd64-20140320.tar.bz2'

100%[==============================================================================>] 184,597,608 1.60M/s   in 1m 52s  

2014-03-25 19:21:44 (1.57 MB/s) - `stage3-amd64-20140320.tar.bz2' saved [184597608/184597608]

root@sysresccd /tmp % 




root@sysresccd /tmp % tar xjpf stage3-*.tar.bz2 -C /mnt/gentoo
root@sysresccd /tmp % rm -rf /mnt/gentoo/dev/* 
zsh: sure you want to delete all the files in /mnt/gentoo/dev [yn]? y
root@sysresccd /tmp % nano -w /mnt/gentoo/etc/portage/make.conf 
root@sysresccd /tmp % cd /
root@sysresccd / % mount -t proc none /mnt/gentoo/proc 
root@sysresccd / % mount -o bind /dev /mnt/gentoo/dev 
root@sysresccd / % mount -o bind /sys /mnt/gentoo/sys 
root@sysresccd / % mount -t tmpfs tmpfs /mnt/gentoo/tmp 
root@sysresccd / % cp -L /etc/resolv.conf /mnt/gentoo/etc 


root@sysresccd / % nano -w /mnt/gentoo/etc/portage/make.conf   
root@sysresccd / % chroot /mnt/gentoo /bin/bash
sysresccd / # env-update 
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
!!! Section 'gentoo' in repos.conf has location attribute set to nonexistent directory: '/usr/portage'
!!! Section 'x-portage' in repos.conf has location attribute set to nonexistent directory: '/usr/portage'
!!! Invalid Repository Location (not a dir): '/usr/portage'
>>> Regenerating /etc/ld.so.cache...
sysresccd / # nano /etc/make.conf 

sysresccd / # rm /etc/make.conf 
sysresccd / # env-update 
!!! Section 'x-portage' in repos.conf has location attribute set to nonexistent directory: '/usr/portage'
!!! Section 'gentoo' in repos.conf has location attribute set to nonexistent directory: '/usr/portage'
!!! Invalid Repository Location (not a dir): '/usr/portage'
>>> Regenerating /etc/ld.so.cache...
sysresccd / # ls /usr/
bin  include  lib  lib32  lib64  libexec  local  sbin  share  src  tmp  x86_64-pc-linux-gnu
sysresccd / # mkdir /usr/portage
sysresccd / # env-update 
!!! Repository 'x-portage' is missing masters attribute in '/usr/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
>>> Regenerating /etc/ld.so.cache...
sysresccd / # source /etc/profile
sysresccd / #  export PS1="(chroot) $PS1" 
(chroot) sysresccd / # unset path
(chroot) sysresccd / # mount
(chroot) sysresccd / # emerge --sync




(chroot) sysresccd / # eselect news read all


(chroot) sysresccd / # eselect news purge all
(chroot) sysresccd / # eselect profile list
Available profile symlink targets:
  [1]   default/linux/amd64/13.0 *
  [2]   default/linux/amd64/13.0/selinux
  [3]   default/linux/amd64/13.0/desktop
  [4]   default/linux/amd64/13.0/desktop/gnome
  [5]   default/linux/amd64/13.0/desktop/gnome/systemd
  [6]   default/linux/amd64/13.0/desktop/kde
  [7]   default/linux/amd64/13.0/desktop/kde/systemd
  [8]   default/linux/amd64/13.0/developer
  [9]   default/linux/amd64/13.0/no-multilib
  [10]  default/linux/amd64/13.0/x32
  [11]  hardened/linux/amd64
  [12]  hardened/linux/amd64/selinux
  [13]  hardened/linux/amd64/no-multilib
  [14]  hardened/linux/amd64/no-multilib/selinux
  [15]  hardened/linux/amd64/x32
  [16]  hardened/linux/uclibc/amd64
(chroot) sysresccd / # eselect profile set 3
(chroot) sysresccd / # eselect python list
Available Python interpreters:
  [1]   python2.7
  [2]   python3.3 *
(chroot) sysresccd / # eselect python set 1
(chroot) sysresccd / # eselect python list
Available Python interpreters:
  [1]   python2.7 *
  [2]   python3.3
(chroot) sysresccd / # mount -t tmpfs tmpfs /usr/src/
(chroot) sysresccd / # cd /usr/
(chroot) sysresccd usr # ll
bash: ll: command not found
(chroot) sysresccd usr # ls -l
total 72
drwxr-xr-x   2 root root 20480 Mar 25 19:47 bin
drwxr-xr-x  60 root root 12288 Mar 20 04:51 include
lrwxrwxrwx   1 root root     5 Mar 25 19:24 lib -> lib64
drwxr-xr-x   5 root root  4096 Mar 20 04:31 lib32
drwxr-xr-x  24 root root 12288 Mar 20 04:51 lib64
drwxr-xr-x   5 root root  4096 Mar 20 04:43 libexec
drwxr-xr-x   5 root root  4096 Mar 20 01:32 local
drwxr-xr-x 168 root root  4096 Mar 25 19:36 portage
drwxr-xr-x   2 root root  4096 Mar 20 04:52 sbin
drwxr-xr-x  53 root root  4096 Mar 20 04:51 share
drwxrwxrwt   2 root root    40 Mar 25 19:47 src
lrwxrwxrwx   1 root root     8 Mar 25 19:25 tmp -> /var/tmp
drwxr-xr-x   6 root root  4096 Mar 20 02:23 x86_64-pc-linux-gnu
(chroot) sysresccd usr # unlink /usr/tmp/
unlink: cannot unlink '/usr/tmp/': Not a directory
(chroot) sysresccd usr # ls -l
total 72
drwxr-xr-x   2 root root 20480 Mar 25 19:47 bin
drwxr-xr-x  60 root root 12288 Mar 20 04:51 include
lrwxrwxrwx   1 root root     5 Mar 25 19:24 lib -> lib64
drwxr-xr-x   5 root root  4096 Mar 20 04:31 lib32
drwxr-xr-x  24 root root 12288 Mar 20 04:51 lib64
drwxr-xr-x   5 root root  4096 Mar 20 04:43 libexec
drwxr-xr-x   5 root root  4096 Mar 20 01:32 local
drwxr-xr-x 168 root root  4096 Mar 25 19:36 portage
drwxr-xr-x   2 root root  4096 Mar 20 04:52 sbin
drwxr-xr-x  53 root root  4096 Mar 20 04:51 share
drwxrwxrwt   2 root root    40 Mar 25 19:47 src
lrwxrwxrwx   1 root root     8 Mar 25 19:25 tmp -> /var/tmp
drwxr-xr-x   6 root root  4096 Mar 20 02:23 x86_64-pc-linux-gnu
(chroot) sysresccd usr # unlink /usr/tmp/
unlink: cannot unlink '/usr/tmp/': Not a directory
(chroot) sysresccd usr # ls -l /var/
total 28
drwxr-xr-x 5 root root 4096 Mar 20 04:43 cache
drwxr-xr-x 3 root root 4096 Mar 20 04:52 db
drwxr-xr-x 3 root root 4096 Mar 20 04:50 empty
drwxr-xr-x 4 root root 4096 Mar 20 01:43 lib
lrwxrwxrwx 1 root root    9 Mar 25 19:25 lock -> /run/lock
drwxr-xr-x 4 root root 4096 Mar 25 19:36 log
lrwxrwxrwx 1 root root    4 Mar 25 19:25 run -> /run
drwxr-xr-x 2 root root 4096 Mar 20 01:32 spool
drwxrwxrwt 2 root root 4096 Mar 20 04:52 tmp
(chroot) sysresccd usr # ls
bin  include  lib  lib32  lib64  libexec  local  portage  sbin  share  src  tmp  x86_64-pc-linux-gnu
(chroot) sysresccd usr # unlink tmp
(chroot) sysresccd usr # ln -s /tmp tmp
(chroot) sysresccd usr # ls -l
total 72
drwxr-xr-x   2 root root 20480 Mar 25 19:47 bin
drwxr-xr-x  60 root root 12288 Mar 20 04:51 include
lrwxrwxrwx   1 root root     5 Mar 25 19:24 lib -> lib64
drwxr-xr-x   5 root root  4096 Mar 20 04:31 lib32
drwxr-xr-x  24 root root 12288 Mar 20 04:51 lib64
drwxr-xr-x   5 root root  4096 Mar 20 04:43 libexec
drwxr-xr-x   5 root root  4096 Mar 20 01:32 local
drwxr-xr-x 168 root root  4096 Mar 25 19:36 portage
drwxr-xr-x   2 root root  4096 Mar 20 04:52 sbin
drwxr-xr-x  53 root root  4096 Mar 20 04:51 share
drwxrwxrwt   2 root root    40 Mar 25 19:47 src
lrwxrwxrwx   1 root root     4 Mar 25 19:49 tmp -> /tmp
drwxr-xr-x   6 root root  4096 Mar 20 02:23 x86_64-pc-linux-gnu
(chroot) sysresccd usr # cd /var/
(chroot) sysresccd var # ls -l
total 28
drwxr-xr-x 5 root root 4096 Mar 20 04:43 cache
drwxr-xr-x 3 root root 4096 Mar 20 04:52 db
drwxr-xr-x 3 root root 4096 Mar 20 04:50 empty
drwxr-xr-x 4 root root 4096 Mar 20 01:43 lib
lrwxrwxrwx 1 root root    9 Mar 25 19:25 lock -> /run/lock
drwxr-xr-x 4 root root 4096 Mar 25 19:36 log
lrwxrwxrwx 1 root root    4 Mar 25 19:25 run -> /run
drwxr-xr-x 2 root root 4096 Mar 20 01:32 spool
drwxrwxrwt 2 root root 4096 Mar 20 04:52 tmp
(chroot) sysresccd var # rm -rf /var/tmp
(chroot) sysresccd var # ln -s /tmp tmp
(chroot) sysresccd var # ls -l
total 24
drwxr-xr-x 5 root root 4096 Mar 20 04:43 cache
drwxr-xr-x 3 root root 4096 Mar 20 04:52 db
drwxr-xr-x 3 root root 4096 Mar 20 04:50 empty
drwxr-xr-x 4 root root 4096 Mar 20 01:43 lib
lrwxrwxrwx 1 root root    9 Mar 25 19:25 lock -> /run/lock
drwxr-xr-x 4 root root 4096 Mar 25 19:36 log
lrwxrwxrwx 1 root root    4 Mar 25 19:25 run -> /run
drwxr-xr-x 2 root root 4096 Mar 20 01:32 spool
lrwxrwxrwx 1 root root    4 Mar 25 19:50 tmp -> /tmp
(chroot) sysresccd var # cd /
(chroot) sysresccd / # emerge -av ccache
(chroot) sysresccd / # emerge -av portage
(chroot) sysresccd / # mkdir -p /etc/portage/
bin/                make.conf.catalyst  postsync.d/         
make.conf           make.profile/       savedconfig/        
(chroot) sysresccd / # mkdir -p /etc/portage/savedconfig/sys-kernel/
(chroot) sysresccd / # nano /etc/portage/savedconfig/sys-kernel/linux-firmware
(chroot) sysresccd / #  nano -w /etc/portage/package.keywords/sys-kernel 
(chroot) sysresccd / # mkdir -p /etc/portage/package.keywords/          
(chroot) sysresccd / #  nano -w /etc/portage/package.keywords/sys-kernel 
(chroot) sysresccd / # mkdir /etc/portage/package.use      
(chroot) sysresccd / #  nano -w /etc/portage/package.use/net-misc 
(chroot) sysresccd / #  nano -w /etc/portage/package.use/sys-apps 
(chroot) sysresccd / # nano /etc/portage/make.conf
(chroot) sysresccd / #  emerge -av linux-headers gentoo-sources linux-firmware 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] sys-kernel/linux-firmware-20130728  USE="-savedconfig" 18,793 kB
[ebuild  N     ] sys-devel/bc-1.06.95  USE="readline -libedit -static" 284 kB
[ebuild     U ~] sys-kernel/linux-headers-3.13 [3.9] 3,606 kB
[ebuild  N     ] sys-kernel/gentoo-sources-3.12.13:3.12.13  USE="-build -deblob -experimental -symlink" 74,963 kB

Total: 4 packages (1 upgrade, 3 new), Size of downloads: 97,644 kB

Would you like to merge these packages? [Yes/No] n

Quitting.

(chroot) sysresccd / #  emerge -av linux-headers aufs-sources linux-firmware