Difference between pages "Install/Chroot" and "Intel64-nehalem"

From Funtoo
< Install(Difference between pages)
Jump to navigation Jump to search
(Created page with "=== Chroot into Funtoo === Before chrooting into your new system, there's a few things that need to be done first. You will need to mount /proc and /dev inside your new system...")
 
 
Line 1: Line 1:
=== Chroot into Funtoo ===
{{Subarch
Before chrooting into your new system, there's a few things that need to be done first. You will need to mount /proc and /dev inside your new system. Use the following commands:
|CPU Family=64-bit Intel Processors
<console>
|subarch=corei7
# ##i##cd /mnt/funtoo
|CHOST=x86_64-pc-linux-gnu
# ##i##mount -t proc none proc
|CFLAGS=-march=corei7 -O2 -pipe
# ##i##mount --rbind /sys sys
|USE=mmx sse sse2 sse3 ssse3 sse4
# ##i##mount --rbind /dev dev
|Description=The '''corei7''' subarch supports the Nehalem, Westmere, Sandy_Bridge,  Ivy Bridge, and Haswel microarchitecture-based Intel Pentium/Celeron, Intel Core i3, i5, i7 and Xeon Processors.
</console>
}}
Beginning in November 2008, Intel launched the first Core i7 processor, codenamed [[Wikipedia:Bloomfield_(microprocessor)|Bloomfield]], based on the [[Wikipedia:Nehalem_(microarchitecture)|Nehalem]] microarchitecture. With this launch, they also added to and modified the conventions used in their [[Wikipedia:Intel_Core|Intel Core]] branding scheme. '''(Not to be confused with the [[Wikipedia:Intel Core (microarchitecture)|Intel Core microarchitecture]]. See [[core2_64]].)'''. This new naming scheme distinguishes between grades of processors rather than microarchitectures or design. Therefore, the '''corei7''' subarch supports the [[Wikipedia:Nehalem_(microarchitecture)|Nehalem]], [[Wikipedia:Westmere_(microarchitecture)|Westmere]], [[Wikipedia:Sandy_Bridge_(microarchitecture)|Sandy Bridge]],  [[Wikipedia:Ivy_Bridge_(microarchitecture)|Ivy Bridge]], and [[Wikipedia:Haswell_(microarchitecture)|Haswell]] microarchitectures under the following brand names:


<noinclude>
* Intel Pentium/Celeron (low-level consumer)
{{Note|This is a template that is used as part of the Installation instructions, to describe the process of chrooting into the stage3. Templates are being used to allow multiple variant install guides that use most of the same re-usable parts.}}
* Intel Core i3 (entry-level consumer)
</noinclude>
* Intel Core i5 (mainstream consumer)
* Intel Core i7 (high-end consumer/business)
* Intel Xeon (business server/workstation)


You'll also want to copy over <code>resolv.conf</code> in order to have proper DNS name resolution from inside the chroot:
See the following links for a list of supported [[Wikipedia:Celeron|Celeron]], [[Wikipedia:Pentium|Pentium]], [[Wikipedia:Intel_Core#Nehalem_microarchitecture_based|Nehalem]], [[Wikipedia:Westmere_(microarchitecture)|Westmere]], [[Wikipedia:Intel_Core#Sandy_Bridge_microarchitecture_based|Sandy Bridge]],  [[Wikipedia:Intel_Core#Ivy_Bridge_microarchitecture_based|Ivy Bridge]], and [[Wikipedia:Intel_Core#Haswell_microarchitecture_based|Haswell]] processors.
<console>
# ##i##cp /etc/resolv.conf etc
</console>
 
Now you can chroot into your new system. Use <code>env</code> before <code>chroot</code> to ensure that no environment variables from the installation media are used by your new system:
 
<console>
# ##i##env -i HOME=/root TERM=$TERM chroot . bash -l
</console>
 
{{fancynote|Users of live CDs with 64-bit kernels: Some software may use <code>uname -r</code> to check whether the system is 32 or 64-bit. You may want append linux32 to the chroot command as a workaround, but it's generally not needed.}}
{{fancyimportant|If you receive the error "<code>chroot: failed to run command `/bin/bash': Exec format error</code>", it is probably because you are running a 32-bit kernel and trying to execute 64-bit code. SystemRescueCd boots with a 32-bit kernel by default.}}
 
It's also a good idea to change the default command prompt while inside the chroot. This will avoid confusion if you have to change terminals. Use this command:
<console>
# ##i##export PS1="(chroot) $PS1"
</console>
 
Congratulations! You are now chrooted inside a Funtoo Linux system. Now it's time to get Funtoo Linux properly configured so that Funtoo Linux will boot successfully when your system is restarted.

Revision as of 10:02, December 20, 2014

This section lists the CPU-optimized Funtoo Linux builds currently available for download for corei7. The corei7 subarch supports the Nehalem, Westmere, Sandy_Bridge, Ivy Bridge, and Haswel microarchitecture-based Intel Pentium/Celeron, Intel Core i3, i5, i7 and Xeon Processors.

No downloadable stage builds are currently available for this sub-architecture.

The corei7 subarch supports the Nehalem, Westmere, Sandy_Bridge, Ivy Bridge, and Haswel microarchitecture-based Intel Pentium/Celeron, Intel Core i3, i5, i7 and Xeon Processors..

Architecture and Optimization

The following settings are applied to all stages for this subarch via Funtoo subarch profiles:

CHOSTx86_64-pc-linux-gnu
CFLAGS-march=corei7 -O2 -pipe

CPU Compatibility

The Funtoo CPU Database shows that this subarch is recommended for the following processors:

codenamenameplatformlaunch_datespec_codescore_countthread_countbase_clockmax_clocklithography

Beginning in November 2008, Intel launched the first Core i7 processor, codenamed Bloomfield, based on the Nehalem microarchitecture. With this launch, they also added to and modified the conventions used in their Intel Core branding scheme. (Not to be confused with the Intel Core microarchitecture. See core2_64.). This new naming scheme distinguishes between grades of processors rather than microarchitectures or design. Therefore, the corei7 subarch supports the Nehalem, Westmere, Sandy Bridge, Ivy Bridge, and Haswell microarchitectures under the following brand names:

  • Intel Pentium/Celeron (low-level consumer)
  • Intel Core i3 (entry-level consumer)
  • Intel Core i5 (mainstream consumer)
  • Intel Core i7 (high-end consumer/business)
  • Intel Xeon (business server/workstation)

See the following links for a list of supported Celeron, Pentium, Nehalem, Westmere, Sandy Bridge, Ivy Bridge, and Haswell processors.