Difference between revisions of "Gentoo"

From Pandora Wiki
Jump to: navigation, search
m (Extract Gentoo onto the SD card partitions)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[File:Lead_Photo_For_Gentoo0-3487219834854004.jpg|thumbnail|Gentoo running on Alec' pandora]]
 
[[File:Lead_Photo_For_Gentoo0-3487219834854004.jpg|thumbnail|Gentoo running on Alec' pandora]]
  
 +
Note: An alternative is to cross install Gentoo by yourself. This way a more recent system can be installed but it is much more difficult. See '''[[Cross Install Gentoo]]'''.
  
 
[http://boards.openpandora.org/topic/16315-gentoo-for-pandora-release-201405/ forum thread]
 
[http://boards.openpandora.org/topic/16315-gentoo-for-pandora-release-201405/ forum thread]
Line 12: Line 13:
 
* '''SD card''' Minimum 2GB
 
* '''SD card''' Minimum 2GB
  
==== '''Download''' the gentoo image ====
+
=== '''Download''' the gentoo image ===
* [http://gentoo.openpandora.org/images]
+
* [http://gentoo.openpandora.org/images Images]
 
+
<pre>
 
# wget http://gentoo.openpandora.org/images/gentoo-pandora-2014.05.tar.bz2
 
# wget http://gentoo.openpandora.org/images/gentoo-pandora-2014.05.tar.bz2
 +
</pre>
  
 
+
=== '''Partition''' the SD card ===
 
+
<pre>
==== '''Partition''' the SD card ====
 
 
 
 
# mkfs.ext2 -L boot /dev/mmcblk0p1
 
# mkfs.ext2 -L boot /dev/mmcblk0p1
 
# mkfs.ext4 -L gentoo -E stride=2,stripe-width=1024 /dev/mmcblk0p2
 
# mkfs.ext4 -L gentoo -E stride=2,stripe-width=1024 /dev/mmcblk0p2
# mkdir -p /mnt/gentoo# mount /dev/mmcblk0p2 /mnt/gentoo
+
# mkdir -p /mnt/gentoo
 +
# mount /dev/mmcblk0p2 /mnt/gentoo
 
# mkdir /mnt/gentoo/boot
 
# mkdir /mnt/gentoo/boot
 
# mount /dev/mmcblk0p1 /mnt/gentoo/boot
 
# mount /dev/mmcblk0p1 /mnt/gentoo/boot
 
+
</pre>
  
 
=== '''Extract''' Gentoo onto the SD card partitions ===
 
=== '''Extract''' Gentoo onto the SD card partitions ===
 
+
<pre>
 
# tar xapvf gentoo-pandora-2014.05.tar.bz2 -C /mnt/gentoo
 
# tar xapvf gentoo-pandora-2014.05.tar.bz2 -C /mnt/gentoo
 
# umount /mnt/gentoo/boot
 
# umount /mnt/gentoo/boot
 
# umount /mnt/gentoo
 
# umount /mnt/gentoo
 +
</pre>
  
 
=== ''' Wireless ''' ===
 
=== ''' Wireless ''' ===
 
 
# Click the wifi icon in the tray.
 
# Click the wifi icon in the tray.
 
# In the window, press scan.
 
# In the window, press scan.
Line 42: Line 43:
 
# You should be connected now. It now will connect every time Gentoo starts.
 
# You should be connected now. It now will connect every time Gentoo starts.
  
==== '''Installing packages''' ====  
+
=== '''Installing packages''' ===  
 
[http://gentoo.openpandora.org/packages available packages]
 
[http://gentoo.openpandora.org/packages available packages]
 
* Open a terminal and run:
 
* Open a terminal and run:
 +
<pre>
 
# $ su -  
 
# $ su -  
 
# Password:
 
# Password:
 
# emerge -avK htop
 
# emerge -avK htop
 
+
</pre>
 
* Updating the system using binary packages:
 
* Updating the system using binary packages:
 
+
<pre>
 
# emerge -auvDK @world  
 
# emerge -auvDK @world  
 
+
</pre>
 
* Build portage tree to install prebuilt packages:
 
* Build portage tree to install prebuilt packages:
 
+
<pre>
 
# emerge --sync          (will take a while the first time)
 
# emerge --sync          (will take a while the first time)
 
# emerge -av wgetpaste
 
# emerge -av wgetpaste
 +
</pre>
 +
 +
[[Category:Operating system]]

Latest revision as of 13:31, 10 June 2018

Gentoo running on Alec' pandora

Note: An alternative is to cross install Gentoo by yourself. This way a more recent system can be installed but it is much more difficult. See Cross Install Gentoo.

forum thread

  • Razor-qt 0.5.2 desktop
  • Over 500 pre-built packages, including: Firefox 29.0, GIMP 2.8.10, QtCreator 2.8.1, gdb 7.6.2, Valgrind 3.9.0, gcc 4.7.3
  • All the packages were built for Cortex-A8 (softfp), mostly Gentoo arm stable

Installation requirements

  • Pandora All versions fine?
  • SD card Minimum 2GB

Download the gentoo image

# wget http://gentoo.openpandora.org/images/gentoo-pandora-2014.05.tar.bz2

Partition the SD card

# mkfs.ext2 -L boot /dev/mmcblk0p1
# mkfs.ext4 -L gentoo -E stride=2,stripe-width=1024 /dev/mmcblk0p2
# mkdir -p /mnt/gentoo
# mount /dev/mmcblk0p2 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/mmcblk0p1 /mnt/gentoo/boot

Extract Gentoo onto the SD card partitions

# tar xapvf gentoo-pandora-2014.05.tar.bz2 -C /mnt/gentoo
# umount /mnt/gentoo/boot
# umount /mnt/gentoo

Wireless

  1. Click the wifi icon in the tray.
  2. In the window, press scan.
  3. "Double-click" your network (hit right nub up, might take a few tries if it's not tuned)
  4. Fill in the auth info and hit enter
  5. You should be connected now. It now will connect every time Gentoo starts.

Installing packages

available packages

  • Open a terminal and run:
# $ su - 
# Password:
# emerge -avK htop
  • Updating the system using binary packages:
# emerge -auvDK @world 
  • Build portage tree to install prebuilt packages:
# emerge --sync          (will take a while the first time)
# emerge -av wgetpaste