Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "User:Danielv"

From Funtoo
Jump to navigation Jump to search
(Add section on Funtoo re-install, abbreviated instructions - danielv)
(update - dv)
 
(9 intermediate revisions by the same user not shown)
Line 4: Line 4:
}}
}}


--[[User:Danielv|Danielv]] ([[User talk:Danielv|talk]]) 03:07, July 7, 2015 (UTC)<br />
--[[User:Danielv|Danielv]] ([[User talk:Danielv|talk]]) 16:14, November 29, 2015 (UTC)
== Redo Funtoo install ==
I don't really want to use a ready-made Funtoo that would be similar to Sabayon, as I would miss out on learning.  
<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]]
I have freed up a few hard drives, so I have a few Linux things I want to try. I am happy to see that Mr. Robbins continues to improve Funtoo through great new ideas. I am confident that this is the right approach.
<console>
###i## date
</console>
<br />
 
=== 4. Install the Funtoo stage tarball of your choice. ===
For stage 3 tarball, I just surfed to http://build.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://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. "
 
=== 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. ===
--[[User:Danielv|Danielv]] ([[User talk:Danielv|talk]]) 15:07, September 26, 2015 (UTC)
<console>
I really like the Funtoo Linux way of doing things, the community is great. I see lots of strengths in Funtoo Linux. I need to study the main configuration options so I can really get the most benefit from it. I had run into issues installing software (I, for the most part, use really old, slow computers) and time was a factor for me, so I got away from it, although I didn't want to stop using Funtoo. Any shortcomings are my own. I don't think I've ever seen faster, better, more polite and professional maintenance and follow-up than from Daniel Robbins. I was considering using Sabayon Linux. I don't like change, but I think that if I can get my processes together for setting up and running Funtoo Linux, I can get far better performance from my computers, and I don't mind taking the time to compile software, as long as I feel I am on the right track. I would like to know how to best get myself up to speed on getting the most out of Funtoo setup/optimization... I wish there were a way to take advantage of Funtoo through a Sabayon-like type of ready-built distro... If it were just me, sure, I can take my time and take as long as I want with setting up a Linux distro... my goal is to help get people to using Linux, and community education... it behooves me to be able to set up a Linux computer in a few hours so i can devote time to adding educational software and training others. I suppose I could do a build and use partimage, and go from there.  
(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<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>


to start with computer
--[[User:Danielv|Danielv]] ([[User talk:Danielv|talk]]) 12:53, July 8, 2015 (UTC)<br />
<console>
http://forums.funtoo.org/blog/9-danielvs-blog/
###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>
to start with computer
<console>
###i## rc-update add ip6tables default
</console>
https://help.ubuntu.com/community/UFW<br />
<console>
###i## ufw enable
</console>
<console>
###i## ufw default deny
</console>
Add rules, if you care to.
<console>
###i## ufw reload
</console>
<console>
###i## ufw status
</console>
<br />


--[[User:Danielv|Danielv]] ([[User talk:Danielv|talk]]) 00:06, July 3, 2015 (UTC)<br />
--[[User:Danielv|Danielv]] ([[User talk:Danielv|talk]]) 00:06, July 3, 2015 (UTC)<br />
Note to self:  only edit ebuild pages.<br />
Note to self:  only edit ebuild pages.<br />
[[Adding_an_Ebuild_to_the_Wiki|http://www.funtoo.org/Adding_an_Ebuild_to_the_Wiki]]<br />
[[Help:Funtoo_Editing_Guidelines|http://www.funtoo.org/Help:Funtoo_Editing_Guidelines]]
[[Install/Overview|http://www.funtoo.org/Install/Overview]]<br />
[[Install|http://www.funtoo.org/Install]]<br />
[[Install/Scraps|http://www.funtoo.org/Install/Scraps]]<br />
[[Install/Stage3|http://www.funtoo.org/Install/Stage3]]<br />
<br />
A must read if you're new to Funtoo, has kernel descriptions...<br />
[[Installation_(Tutorial)|http://www.funtoo.org/Installation_%28Tutorial%29]]<br />
<br />
info on kernel v3.19.3 release from 26 Mar 2015<br />
https://lwn.net/Articles/638054/<br />
[[Genkernel_Quick_Start_Tutorial|http://www.funtoo.org/Genkernel_Quick_Start_Tutorial]]<br />
[[Installing_Gentoo_Sources|http://www.funtoo.org/Installing_Gentoo_Sources]]<br />
[[Install/Kernel|http://www.funtoo.org/Install/Kernel]]<br />
[[Grub-install|http://www.funtoo.org/Grub-install]]<br />
[[Building_a_Kernel_from_Source#Kernel_Sources|http://www.funtoo.org/Building_a_Kernel_from_Source#Kernel_Sources]]<br />
<br />
[[Install/Portage|http://www.funtoo.org/Install/Portage]]<br />
[[Emerge|http://www.funtoo.org/Emerge]]<br />
Might want to emerge packages using...  (--av) or (--pretend), or  (--update)<br />
[[Funtoo_Linux_First_Steps|http://www.funtoo.org/Funtoo_Linux_First_Steps]]<br />
[[Video|http://www.funtoo.org/Video]]<br />
[[X_Window_System|http://www.funtoo.org/X_Window_System]]
<br />


--[[User:Danielv|Danielv]] ([[User talk:Danielv|talk]]) 20:07, June 29, 2015 (UTC)<br/>
--[[User:Danielv|Danielv]] ([[User talk:Danielv|talk]]) 20:07, June 29, 2015 (UTC)<br/>
Line 242: Line 62:
sys-kernel/tuxonice-sources
sys-kernel/tuxonice-sources
sys-kernel/vanilla-sources
sys-kernel/vanilla-sources
sys-kernel/vserver-sources
sys-kernel/vserver-sourcesIdeas?
sys-kernel/xbox-sources
sys-kernel/xbox-sources
sys-kernel/zen-sources
sys-kernel/zen-sources

Latest revision as of 16:14, November 29, 2015




--Danielv (talk) 16:14, November 29, 2015 (UTC) I don't really want to use a ready-made Funtoo that would be similar to Sabayon, as I would miss out on learning.

I have freed up a few hard drives, so I have a few Linux things I want to try. I am happy to see that Mr. Robbins continues to improve Funtoo through great new ideas. I am confident that this is the right approach.

--Danielv (talk) 15:07, September 26, 2015 (UTC) I really like the Funtoo Linux way of doing things, the community is great. I see lots of strengths in Funtoo Linux. I need to study the main configuration options so I can really get the most benefit from it. I had run into issues installing software (I, for the most part, use really old, slow computers) and time was a factor for me, so I got away from it, although I didn't want to stop using Funtoo. Any shortcomings are my own. I don't think I've ever seen faster, better, more polite and professional maintenance and follow-up than from Daniel Robbins. I was considering using Sabayon Linux. I don't like change, but I think that if I can get my processes together for setting up and running Funtoo Linux, I can get far better performance from my computers, and I don't mind taking the time to compile software, as long as I feel I am on the right track. I would like to know how to best get myself up to speed on getting the most out of Funtoo setup/optimization... I wish there were a way to take advantage of Funtoo through a Sabayon-like type of ready-built distro... If it were just me, sure, I can take my time and take as long as I want with setting up a Linux distro... my goal is to help get people to using Linux, and community education... it behooves me to be able to set up a Linux computer in a few hours so i can devote time to adding educational software and training others. I suppose I could do a build and use partimage, and go from there.


--Danielv (talk) 12:53, July 8, 2015 (UTC)
http://forums.funtoo.org/blog/9-danielvs-blog/

--Danielv (talk) 00:06, July 3, 2015 (UTC)
Note to self: only edit ebuild pages.

--Danielv (talk) 20:07, June 29, 2015 (UTC)
re: kernels

root # emerge -av app-portage/eix


To see available kernel packages, I do this command for a brief listing

root # eix -# sys-kernel/
sys-kernel/alt-sources
sys-kernel/aufs-sources
sys-kernel/better-initramfs-bin
sys-kernel/bliss-initramfs
sys-kernel/bliss-kernel
sys-kernel/centos7plus-sources
sys-kernel/ck-sources
sys-kernel/cryptodev
sys-kernel/debian-sources
sys-kernel/dkms
sys-kernel/dracut
sys-kernel/genkernel
sys-kernel/genkernel-next
sys-kernel/gentoo-sources
sys-kernel/git-sources
sys-kernel/hardened-sources
sys-kernel/kccmp
sys-kernel/kergen
sys-kernel/linux-docs
sys-kernel/linux-firmware
sys-kernel/linux-headers
sys-kernel/mips-sources
sys-kernel/openvz-rhel6-stable
sys-kernel/openvz-sources
sys-kernel/pf-sources
sys-kernel/raspberrypi-image
sys-kernel/raspberrypi-sources
sys-kernel/rhel7-sources
sys-kernel/rsbac-sources
sys-kernel/rt-sources
sys-kernel/spl
sys-kernel/std-sources
sys-kernel/tuxonice-sources
sys-kernel/vanilla-sources
sys-kernel/vserver-sourcesIdeas?
sys-kernel/xbox-sources
sys-kernel/zen-sources

or for more detail

root # eix -c sys-kernel/


This command puts out lots of content to the screen, and it has color...

root # eix -A sys-kernel/


Let's say you want to look at sys-kernel/genkernel

root # eix sys-kernel/genkernel/


--Danielv (talk) 19:03, June 29, 2015 (UTC)

root # emerge -ajv @module-rebuild

These are the packages that would be merged, in order:

Calculating dependencies  ... done!
[ebuild   R    ] sys-kernel/debian-sources-3.19.3:3.19.3  USE="binary -rt" 0 kB
[ebuild   R    ] x11-drivers/nvidia-drivers-352.21  USE="X gtk2 gtk3 (multilib) tools -acpi -pax_kernel -uvm" 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB

root # grep -r nvidia /etc/portage
/etc/portage/make.conf:VIDEO_CARDS="nvidia"

root # genkernel --menuconfig all
root # make modules_install
root # make install
 sh ./arch/x86/boot/install.sh 3.18.16-gentoo arch/x86/boot/bzImage \<br />
   System.map "/boot"

script runs automatically

root # boot-update
root # emerge x11-drivers/nvidia-drivers
352.21

add it to /etc/conf.d/modules


root # eix-installed all |grep nvidia
x11-drivers/nvidia-driver-352.21

root # eix-installed all |grep kernel
sys-kernel/debian-sources-3.19.3
sys-kernel/genkernel-3.4.40.7-r6
sys-kernel/gentoo-sources-3.18.16
sys-kernel/gentoo-sources-4.1.0
sys-kernel/linux-headers-4.0

root # eselect kernel list
[1] linux-3.18.16-gentoo *
[2] linux-debian-sources-3.19.3

root # cfg-update -u
root # emerge -auDN @world
root # emerge --depclean


http://www.funtoo.org/Ebuilds_by_CatPkg