Difference between pages "Install/Chroot" and "User:Thiago.faioli"

< Install(Difference between pages)
(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 ===
+
{{Person
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:
+
|Full name=Thiago Torres Faioli
<console>
+
|Email=thiago.faioli@gmail.com
# ##i##cd /mnt/funtoo
+
|Nick=thiago.faioli
# ##i##mount -t proc none proc
+
|Geoloc=-19.903757, -43.941042
# ##i##mount --rbind /sys sys
+
|Location name=Belo Horizonte, Minas Gerais, Brazil
# ##i##mount --rbind /dev dev
+
|Roles={{Role
</console>
+
|Role type=User
 +
|Role desc=Sysadmin
 +
|Start date=2013/12/12
 +
|Maintains=
 +
|Blogs=www.minasdata.org
 +
}}
 +
}}
 +
==Thiago Torres Faioli==
  
<noinclude>
+
Analyst infrastructure, Sysadmin [http://www.faioli.eti.br ;)]
{{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.}}
+
</noinclude>
+
  
You'll also want to copy over <code>resolv.conf</code> in order to have proper DNS name resolution from inside the chroot:
+
'''Nick:''' ttfx_
<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:
+
'''Site:''' [http://www.faioli.eti.br faioli]
  
<console>
+
'''Company:''' [http://www.minasdata.org MinasData Tecnology]
# ##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.}}
+
'''Twitter:''' [https://twitter.com/ttfx_ @ttfx_]
{{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:
+
'''Facebook:''' [https://www.facebook.com/thiago.torresfaioli thiago.torresfaioli]
<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.
+
'''Jabber (XMPP):''' thiago.faioli@area31.net.br
 +
 
 +
 
 +
== Skills ==
 +
 
 +
*Hardening Linux system as ISO IEC-27002
 +
*Implementing and Administering Linux network servers
 +
*Identity and access management with centralized authentication
 +
*High Availability disks and volumes
 +
*Distributed file systems
 +
*Planning, implementation and management of wireless networks point-to-point, multi-point, hotspot; mesh, MIMO

Latest revision as of 17:27, July 9, 2015



Contact

freenode: ttfx

Location

Loading map...
Belo Horizonte, Minas Gerais, Brazil


Thiago Torres Faioli

Analyst infrastructure, Sysadmin ;)

Nick: ttfx_

Site: faioli

Company: MinasData Tecnology

Twitter: @ttfx_

Facebook: thiago.torresfaioli

Jabber (XMPP): thiago.faioli@area31.net.br


Skills

  • Hardening Linux system as ISO IEC-27002
  • Implementing and Administering Linux network servers
  • Identity and access management with centralized authentication
  • High Availability disks and volumes
  • Distributed file systems
  • Planning, implementation and management of wireless networks point-to-point, multi-point, hotspot; mesh, MIMO