Changes

Jump to: navigation, search

Raspberry Pi 4

951 bytes removed, 11 months ago
m
Booting the Raspberry Pi 4
}}
==Booting the Raspberry Pi 24==Now for the fun part! Insert the SD card into Rpi. Connect your keyboard, monitor and network card, then power it on. It should boot into Funtoo very quickly. If it doesn't work, go back through the guide and make sure you've got everything configured correctly - in particular the cmdline.txt file on the boot partition.
Log in using the password you created earlier. The first thing you'll want to do is fix the clock, set your time zone and sync your portage tree.
Because the Raspberry Pi does not have a hardware clock, you'll need to set the date and time right away. Later on we'll make sure we can get the correct time at boot via NTP, but for now we need to do it manually
{{console|body=
###i## /etc/init.d/busybox-ntpd restart
or
###i## date MMDDHHMMCCYY
}}
{{console|body=
###i## rc-update add dhcpcd default
###i## rc
}}
The next step is to initialise our portage tree so we can start installing additional packages to our system (the emerge --sync is optional)kitchen SINK:
{{console|body=
###i## cd /usr/portage ###i## git checkout funtoo.org###i## emerge --ego sync
}}
 
Set your profile with epro:
Depending on what you'll be using your RPi2 for, use epro to set your profile:
{{console|body=
###i## epro subarch armv7a_hardfp list
###i## epro flavor server
}}
Now is a good time to enable swclock NTP so we can be sure to set the correct time the next time we boot:{{console|body=###i## emerge -av chrony}}Once this finishes building, use rc-update to add it to the default run-level, and start the service with rc:
{{console|body=
###i## rc-update add chronyd default###i## rcbusybox-ntpd sysinit
###i## rc-update add swclock boot
}}
 
Since the RPi2 doesn't have a hardware clock, remove the hwclock startup script from bootup:
{{console|body=
###i## rc-update del hwclock boot
}}
Now you can follow the [[Funtoo Linux Installation|Funtoo Install documentation]] to continue configuring your system. You'll definitely want to look into {{Package|sys-devel/distcc}} if you are going to be adding lots of software to your system.
730
edits

Navigation menu