Changes

Jump to: navigation, search

User:Danielv

5,194 bytes removed, 4 years ago
add link to blog - danielv
}}
--[[User:Danielv|Danielv]] ([[User talk:Danielv|talk]]) 1712:1653, July 78, 2015 (UTC)<br />== Redo Funtoo install ==(based on Daniel Robbins' page [[Funtoo_Linux_Installation|http://www.funtoo.org/Funtoo_Linux_Installation]]<br />=== 1. I already have latest systemrescuecd on CD-ROM===Once I've booted up ...<console>###i## net-setup eth0</console><console>###i## startx</console>and open up a few terminal windows to do stuff. === 2. Prepare disk. === === 3. Create and mount filesystems. === I didn't bother with re-doing the partitioning, just mounted the partitions and deleted everything but the lost+found directories<br />[[Funtoo_Linux_Installation|http://www.funtoo.org/Funtoo_Linux_Installation]]<br />Create and mount filesystems.  <console>###i## mkswap /dev/sda2###i## swapon /dev/sda2</console><br /> Mount the filesystems<console>###i## mkdir /mnt/funtoo###i## mount /dev/sda3 /mnt/funtoo###i## mkdir /mnt/funtoo/boot###i## mount /dev/sda1 /mnt/funtoo/boot</console><br /> see "Setting the Date" part of [[Funtoo_Linux_Installation#Mounting_filesystems|http://www.funtoo.org/Funtoo_Linux_Installation#Mounting_filesystems]]<console>###i## date</console><br /> === 4. Install the Funtoo stage tarball of your choice. === For stage 3 tarball, I just surfed to http://buildforums.funtoo.org/funtoo-current/in a web browser on a different computer my homenetwork and ssh it over to my Funtoo experimental computer...You can see here [[Funtoo_Linux_Installation#Installing_the_Stage_3_tarball|http:/blog/www.funtoo.org/Funtoo_Linux_Installation#Installing_the_Stage_3_tarball]] === 5. Chroot into your new system. === Chroot in ([[Funtoo_Linux_Installation#Chroot_into_Funtoo|http://www.funtoo.org/Funtoo_Linux_Installation#Chroot_into_Funtoo]])<console>###i## cd /mnt/funtoo###i## mount -t proc none proc###i## mount --rbind /sys sys###i## mount --rbind /dev dev</console><console>###i## cp /etc/resolv.conf /mnt/funtoo/etc/</console><console>###i## env -i HOME=/root TERM=$TERM chroot . bash -l</console><console>###i## export PS1="(chroot) $PS1"</console><br />Test your network by pinging a website.<br />=== 6. Download the Portage tree. === Download the Portage tree. [[Funtoo_Linux_Installation#Downloading_the_Portage_tree|http://www.funtoo.org/Funtoo_Linux_Installation#Downloading_the_Portage_tree]]<br /><console> (chroot) ###i## emerge --sync</console><console> (chroot) ###i## emerge -auDN @world</console> === 7. Configure your system and network. === Make sure your /etc/fstab represents your actual partition layout.<console> (chroot) ###i## ln -sf /usr/share/zoneinfo/MST7MDT /etc/localtime</console>More on network later...  === 8. Install a kernel. === I skipped this as the instructions indicate that "If a version is listed under Latest version installed, then debian-sources is already pre-built for you and you can skip the rest of the Kernel section, and proceed to the Installing a Bootloader section. " This is for experimental purposes, on a non-production machine. Please verify usefulness/security of stock kernel and take appropriate measures! === 9. Install a bootloader. === see [[Funtoo_Linux_Installation#Installing_a_Bootloader|http://www.funtoo.org/Funtoo_Linux_Installation#Installing_a_Bootloader]]Old-fashioned booting method<console> (chroot) ###i## grub-install --target=i386-pc --no-floppy /dev/sda</console><console> (chroot) ###i## boot-update</console><br />==== Configuring your network ======== Desktop (Wired Ethernet) ====<console> (chroot) ###i## rc-update add dhcpcd default</console> === 10. Complete final steps. === Set root password.<console> (chroot) ###i## passwd</console>=== 11. Reboot and enjoy. === Restart your system<console> (chroot) ###i## exit</console><console>###i## cd /mnt</console><console>###i## umount -lR funtoo</console><console>###i## reboot</console><br />[[Iptables|http://www.funtoo.org/Iptables]] Install iptables<br /><console>###i## emerge -av iptables</console>Configure iptables for ipv4<console>###i## rc-service iptables save</console><console>###i## rc-service iptables start</console>Configure iptables (for ipv4) to start with computer<console>###i## rc-update add iptables default</console>Configure iptables for ipv6<console>###i## rc-service ip6tables save</console><console>###i## rc-service ip6tables start</console>Configure iptables (for ipv6) to start with computer<console>###i## rc-update add ip6tables default</console>Ubunto community information on UFW firewall...<br /> https://help.ubuntu.com/community/UFW<br />Install UFW<console>###i## emerge danielvs-av ufw</console><console>###i## ufw enable</console><console>###i## ufw default deny<blog/console>Add rules, if you care to.<console>###i## ufw reload</console><console>###i## ufw status</console><br /> Check out [[Install/Profiles|http://www.funtoo.org/Install/Profiles]]Work with your system profile... Even though Funtoo has no plans to use systemd (see [[Mitigating_Systemd|http://www.funtoo.org/Mitigating_Systemd]]), also this ([[FLOP:No-systemd_system|http://www.funtoo.org/FLOP:No-systemd_system]])<console>###i## epro mix-in +no-systemd</console><br />Now I'm looking at adding more stufff.<br /><br />
--[[User:Danielv|Danielv]] ([[User talk:Danielv|talk]]) 00:06, July 3, 2015 (UTC)<br />
wiki-users
68
edits

Navigation menu