<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://ca.wiki.guifi.net/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
		<id>http://ca.wiki.guifi.net/w/index.php?action=history&amp;feed=atom&amp;title=Chroot</id>
		<title>Chroot - Historial de revisió</title>
		<link rel="self" type="application/atom+xml" href="http://ca.wiki.guifi.net/w/index.php?action=history&amp;feed=atom&amp;title=Chroot"/>
		<link rel="alternate" type="text/html" href="http://ca.wiki.guifi.net/w/index.php?title=Chroot&amp;action=history"/>
		<updated>2026-07-29T04:31:29Z</updated>
		<subtitle>Historial de revisió per a aquesta pàgina del wiki</subtitle>
		<generator>MediaWiki 1.22.0</generator>

	<entry>
		<id>http://ca.wiki.guifi.net/w/index.php?title=Chroot&amp;diff=527&amp;oldid=prev</id>
		<title>Al: 1 revisió</title>
		<link rel="alternate" type="text/html" href="http://ca.wiki.guifi.net/w/index.php?title=Chroot&amp;diff=527&amp;oldid=prev"/>
				<updated>2010-11-13T20:27:40Z</updated>
		
		<summary type="html">&lt;p&gt;1 revisió&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←Versió més antiga&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revisió de 20:27, 13 nov 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Cap diferència)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Al</name></author>	</entry>

	<entry>
		<id>http://ca.wiki.guifi.net/w/index.php?title=Chroot&amp;diff=526&amp;oldid=prev</id>
		<title>Sergi: /* Entrant a chroot */</title>
		<link rel="alternate" type="text/html" href="http://ca.wiki.guifi.net/w/index.php?title=Chroot&amp;diff=526&amp;oldid=prev"/>
				<updated>2009-09-16T15:34:00Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Entrant a chroot&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pàgina nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Binding resources==&lt;br /&gt;
&lt;br /&gt;
Abans d'executar chroot pot ser util lligar (bind) alguns recursos del sistema actual al sistema nou (chroot). Alguns dels recursos que ens pot interessar lligar son:&lt;br /&gt;
{{Box Note|Si els directoris de destí no existeixen s'ha de crear.}}&lt;br /&gt;
  mount --bind /proc /chroot/proc (you need this for system stats) &lt;br /&gt;
  mount --bind /dev /chroot/dev (need to access device nodes)&lt;br /&gt;
  mount -t devpts none /path/to/chroot/dev/pts (don't forget this one or else x won't start in your chrooted environment!)&lt;br /&gt;
  mount --bind /usr/portage /chroot/usr/portage (otherwise you'll do needless multiple emerge --sync's)&lt;br /&gt;
&lt;br /&gt;
  mount --bind /usr/src/linux /chroot/usr/src/linux (otherwise kernel based stuff will die on compile) &lt;br /&gt;
  mount --bind /lib/modules /chroot/lib/modules (module installations) &lt;br /&gt;
  mount --bind /sys /chroot/sys (for more system info)&lt;br /&gt;
  mount --bind /tmp /chroot/tmp (for access with base X ie. sharing 1 X server)&lt;br /&gt;
&lt;br /&gt;
{{Box Warning|Atenció amb no borrar cap sistema vinculat! Es carregaria el sistema actual.}}&lt;br /&gt;
&lt;br /&gt;
==Altres fitxers a copiar==&lt;br /&gt;
&lt;br /&gt;
Per tal d'evitar errors al resoldre noms cal copiar els fitxers:&lt;br /&gt;
  cp -L /etc/resolv.conf /mnt/chroot/etc/resolv.conf&lt;br /&gt;
  cp -L /etc/hosts /mnt/chroot/etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
== Entrant a chroot==&lt;br /&gt;
&lt;br /&gt;
 # chroot /mnt/chroot /bin/bash&lt;br /&gt;
&lt;br /&gt;
== Resolució de problemes ==&lt;br /&gt;
&lt;br /&gt;
=== Error urandom al canviar passwd chroot  ===&lt;br /&gt;
&lt;br /&gt;
Cal crear abans el fitxer. Fora de la &amp;quot;jaula&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 $ sudo mknod p/dev/urandom c 1 9 &lt;br /&gt;
&lt;br /&gt;
On p es on està muntat el disc dur.&lt;br /&gt;
&lt;br /&gt;
==Recursos==&lt;br /&gt;
*[http://gentoo-wiki.com/HOWTO_startx_in_a_chroot HOWTO_startx_in_a_chroot]&lt;/div&gt;</summary>
		<author><name>Sergi</name></author>	</entry>

	</feed>