Difference between revisions of "Gentoo"

From Pandora Wiki
Jump to: navigation, search
(Added photo to page)
Line 21: Line 21:
 
==== '''Partition''' the SD card ====
 
==== '''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
+
# 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
  
  
Line 28: Line 32:
 
# tar xapvf gentoo-pandora-2014.05.tar.bz2 -C /mnt/gentoo# umount /mnt/gentoo/boot# umount /mnt/gentoo===''' Wireless ''' ===
 
# tar xapvf gentoo-pandora-2014.05.tar.bz2 -C /mnt/gentoo# umount /mnt/gentoo/boot# umount /mnt/gentoo===''' 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.
 
 
# "Double-click" your network (hit right nub up, might take a few tries if it's not tuned)
 
# "Double-click" your network (hit right nub up, might take a few tries if it's not tuned)
 
 
# Fill in the auth info and hit enter
 
# Fill in the auth info and hit enter
 
 
# 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.
  
Line 40: Line 40:
 
==== '''Installing packages''' ====  
 
==== '''Installing packages''' ====  
 
[http://gentoo.openpandora.org/packages available packages]
 
[http://gentoo.openpandora.org/packages available packages]
* Open a terminal and run:# $ su -  
+
* Open a terminal and run:
 
+
# $ su -  
 
 
 
 
 
# Password:
 
# Password:
 
 
# emerge -avK htop
 
# emerge -avK htop
  
* You can also try updating the system using binary packages:
+
* Updating the system using binary packages:
  
 
# emerge -auvDK @world  
 
# emerge -auvDK @world  
  
* If you'd like to install packages that are not prebuilt, you need to first get the portage tree, and then build it yourself:
+
* Build portage tree to install prebuilt packages:
  
 
# emerge --sync          (will take a while the first time)
 
# emerge --sync          (will take a while the first time)
 
# emerge -av wgetpaste
 
# emerge -av wgetpaste

Revision as of 19:28, 17 May 2014

Gentoo running on Alec' pandora


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

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


Partition the SD card

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


Extract Gentoo onto the SD card partitions

  1. tar xapvf gentoo-pandora-2014.05.tar.bz2 -C /mnt/gentoo# umount /mnt/gentoo/boot# umount /mnt/gentoo=== Wireless ===
  2. Click the wifi icon in the tray.
  3. In the window, press scan.
  4. "Double-click" your network (hit right nub up, might take a few tries if it's not tuned)
  5. Fill in the auth info and hit enter
  6. You should be connected now. It now will connect every time Gentoo starts.


Installing packages

available packages

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