The translation is temporarily closed for contributions due to maintenance, please come back later.
English Portuguese (Brazil)
<personname> <firstname>Daniel</firstname> <surname>Gerzo</surname> </personname> <affiliation> <_:address-1/> </affiliation> <personname> <firstname>Daniel</firstname> <surname>Gerzo</surname> </personname> <affiliation> <_:address-1/> </affiliation>
FreeBSD is a registered trademark of the FreeBSD Foundation. FreeBSD is a registered trademark of the FreeBSD Foundation.
$FreeBSD: head/en_US.ISO8859-1/articles/remote-install/article.xml 51348 2017-12-30 22:56:56Z eadler $ $FreeBSD: head/en_US.ISO8859-1/articles/remote-install/article.xml 51348 2017-12-30 22:56:56Z eadler $
Background Background
<prompt>#</prompt> <userinput>fetch http://mfsbsd.vx.sk/release/mfsbsd-<replaceable>2.1</replaceable>.tar.gz</userinput>
<prompt>#</prompt> <userinput>tar xvzf mfsbsd-<replaceable>2.1</replaceable>.tar.gz</userinput>
<prompt>#</prompt> <userinput>cd mfsbsd-<replaceable>2.1</replaceable>/</userinput>
<prompt>#</prompt> <userinput>fetch http://mfsbsd.vx.sk/release/mfsbsd-<replaceable>2.1</replaceable>.tar.gz</userinput>
<prompt>#</prompt> <userinput>tar xvzf mfsbsd-<replaceable>2.1</replaceable>.tar.gz</userinput>
<prompt>#</prompt> <userinput>cd mfsbsd-<replaceable>2.1</replaceable>/</userinput>
mac_interfaces="ext1"
ifconfig_ext1_mac="00:00:00:00:00:00"
ifconfig_ext1="inet 192.168.0.2/24"
mac_interfaces="ext1"
ifconfig_ext1_mac="00:00:00:00:00:00"
ifconfig_ext1="inet 192.168.0.2/24"
defaultrouter="192.168.0.1" defaultrouter="192.168.0.1"
defaultrouter="192.168.0.1"
ifconfig_re0="inet 192.168.0.2/24"
defaultrouter="192.168.0.1"
ifconfig_re0="inet 192.168.0.2/24"
<prompt>#</prompt> <userinput>mdconfig -a -t vnode -u 10 -f <replaceable>FreeBSD-10.1-RELEASE-amd64-disc1.iso</replaceable></userinput>
<prompt>#</prompt> <userinput>mount_cd9660 /dev/md10 /cdrom</userinput>
<prompt>#</prompt> <userinput>mdconfig -a -t vnode -u 10 -f <replaceable>FreeBSD-10.1-RELEASE-amd64-disc1.iso</replaceable></userinput>
<prompt>#</prompt> <userinput>mount_cd9660 /dev/md10 /cdrom</userinput>
<prompt>#</prompt> <userinput>mkdir <replaceable>DIST</replaceable></userinput>
<prompt>#</prompt> <userinput>tar -xvf /cdrom/usr/freebsd-dist/base.txz -C <replaceable>DIST</replaceable></userinput>
<prompt>#</prompt> <userinput>tar -xvf /cdrom/usr/freebsd-dist/kernel.txz -C <replaceable>DIST</replaceable></userinput>
<prompt>#</prompt> <userinput>mkdir <replaceable>DIST</replaceable></userinput>
<prompt>#</prompt> <userinput>tar -xvf /cdrom/usr/freebsd-dist/base.txz -C <replaceable>DIST</replaceable></userinput>
<prompt>#</prompt> <userinput>tar -xvf /cdrom/usr/freebsd-dist/kernel.txz -C <replaceable>DIST</replaceable></userinput>
<prompt>#</prompt> <userinput>make BASE=<replaceable>DIST</replaceable></userinput> <prompt>#</prompt> <userinput>make BASE=<replaceable>DIST</replaceable></userinput>
<prompt>#</prompt> <userinput>scp disk.img root@192.168.0.2:.</userinput> <prompt>#</prompt> <userinput>scp disk.img root@192.168.0.2:.</userinput>
<prompt>#</prompt> <userinput>dd if=/root/disk.img of=/dev/sda bs=1m</userinput> <prompt>#</prompt> <userinput>dd if=/root/disk.img of=/dev/sda bs=1m</userinput>
<prompt>#</prompt> <userinput>dd if=/dev/zero of=/dev/<replaceable>ad0</replaceable> count=2</userinput> <prompt>#</prompt> <userinput>dd if=/dev/zero of=/dev/<replaceable>ad0</replaceable> count=2</userinput>
<prompt>#</prompt> <userinput>fdisk -BI /dev/ad0</userinput> <co xml:id="fdisk"/>
<prompt>#</prompt> <userinput>fdisk -BI /dev/ad1</userinput>
<prompt>#</prompt> <userinput>bsdlabel -wB /dev/ad0s1</userinput> <co xml:id="bsdlabel-writing"/>
<prompt>#</prompt> <userinput>bsdlabel -wB /dev/ad1s1</userinput>
<prompt>#</prompt> <userinput>bsdlabel -e /dev/ad0s1</userinput> <co xml:id="bsdlabel-editing"/>
<prompt>#</prompt> <userinput>bsdlabel /dev/ad0s1 &gt; /tmp/bsdlabel.txt &amp;&amp; bsdlabel -R /dev/ad1s1 /tmp/bsdlabel.txt</userinput> <co xml:id="bsdlabel-restore"/>
<prompt>#</prompt> <userinput>gmirror label root /dev/ad[01]s1a</userinput> <co xml:id="gmirror1"/>
<prompt>#</prompt> <userinput>gmirror label var /dev/ad[01]s1d</userinput>
<prompt>#</prompt> <userinput>gmirror label usr /dev/ad[01]s1e</userinput>
<prompt>#</prompt> <userinput>gmirror label -F swap /dev/ad[01]s1b</userinput> <co xml:id="gmirror2"/>
<prompt>#</prompt> <userinput>newfs /dev/mirror/root</userinput> <co xml:id="newfs"/>
<prompt>#</prompt> <userinput>newfs /dev/mirror/var</userinput>
<prompt>#</prompt> <userinput>newfs /dev/mirror/usr</userinput>
<prompt>#</prompt> <userinput>fdisk -BI /dev/ad0</userinput> <co xml:id="fdisk"/>
<prompt>#</prompt> <userinput>fdisk -BI /dev/ad1</userinput>
<prompt>#</prompt> <userinput>bsdlabel -wB /dev/ad0s1</userinput> <co xml:id="bsdlabel-writing"/>
<prompt>#</prompt> <userinput>bsdlabel -wB /dev/ad1s1</userinput>
<prompt>#</prompt> <userinput>bsdlabel -e /dev/ad0s1</userinput> <co xml:id="bsdlabel-editing"/>
<prompt>#</prompt> <userinput>bsdlabel /dev/ad0s1 &gt; /tmp/bsdlabel.txt &amp;&amp; bsdlabel -R /dev/ad1s1 /tmp/bsdlabel.txt</userinput> <co xml:id="bsdlabel-restore"/>
<prompt>#</prompt> <userinput>gmirror label root /dev/ad[01]s1a</userinput> <co xml:id="gmirror1"/>
<prompt>#</prompt> <userinput>gmirror label var /dev/ad[01]s1d</userinput>
<prompt>#</prompt> <userinput>gmirror label usr /dev/ad[01]s1e</userinput>
<prompt>#</prompt> <userinput>gmirror label -F swap /dev/ad[01]s1b</userinput> <co xml:id="gmirror2"/>
<prompt>#</prompt> <userinput>newfs /dev/mirror/root</userinput> <co xml:id="newfs"/>
<prompt>#</prompt> <userinput>newfs /dev/mirror/var</userinput>
<prompt>#</prompt> <userinput>newfs /dev/mirror/usr</userinput>
<prompt>#</prompt> <userinput>mount /dev/mirror/root /mnt</userinput>
<prompt>#</prompt> <userinput>mkdir /mnt/var /mnt/usr</userinput>
<prompt>#</prompt> <userinput>mount /dev/mirror/var /mnt/var</userinput>
<prompt>#</prompt> <userinput>mount /dev/mirror/usr /mnt/usr</userinput>
<prompt>#</prompt> <userinput>mount /dev/mirror/root /mnt</userinput>
<prompt>#</prompt> <userinput>mkdir /mnt/var /mnt/usr</userinput>
<prompt>#</prompt> <userinput>mount /dev/mirror/var /mnt/var</userinput>
<prompt>#</prompt> <userinput>mount /dev/mirror/usr /mnt/usr</userinput>
<prompt>#</prompt> <userinput>chroot /mnt</userinput> <prompt>#</prompt> <userinput>chroot /mnt</userinput>
# Device Mountpoint FStype Options Dump Pass#
/dev/mirror/swap none swap sw 0 0
/dev/mirror/root / ufs rw 1 1
/dev/mirror/usr /usr ufs rw 2 2
/dev/mirror/var /var ufs rw 2 2
/dev/cd0 /cdrom cd9660 ro,noauto 0 0
# Device Mountpoint FStype Options Dump Pass#
/dev/mirror/swap none swap sw 0 0
/dev/mirror/root / ufs rw 1 1
/dev/mirror/usr /usr ufs rw 2 2
/dev/mirror/var /var ufs rw 2 2
/dev/cd0 /cdrom cd9660 ro,noauto 0 0
geom_mirror_load="YES"
zfs_load="YES"
geom_mirror_load="YES"
zfs_load="YES"
<prompt>#</prompt> <userinput>echo 'zfs_enable="YES"' &gt;&gt; /etc/rc.conf </userinput> <prompt>#</prompt> <userinput>echo 'zfs_enable="YES"' &gt;&gt; /etc/rc.conf </userinput>