-
Notifications
You must be signed in to change notification settings - Fork 7
PicUntu
This is primarily from the Miniand site with minor modifications I've figured out along the way. I left the original download links intact, but you can clone this project to download all the files. The files are in the repo.
PicUntu Linux is a Ubuntu linux distro specifically designed for Mini PC's that use the Rockchip RK3066 Arm processor. The RK3066 is a powerful CPU, with two Cortex A9 cores that can be clocked up to 1.6 Ghz per core. Mini PC's using the RK3066 are generally available at very reasonable prices and are packed with extras. This makes for a very cheap linux webserver that still has alot of CPU left to use.
- A Mini PC with a Rockchip RK3066 dual core ARM A9 processor. The following are officially supported per the PicUntu FAQ: a. Ugoos UG802 b. MK808 (w/o bluetooth) c. Rikomagic MK802 III (w/o bluetooth) (Since this chip has the exact same wifi chipset as the UG802, select UG802 from any Picuntu dialog asking what device you have) Note, that the Mini PC's with bluetooth all use a different wifi chip than the original. I am sure it will only be a matter of time before they are also supported. The following are not officially supported, but have been reported to work (you may have to load additional kernel drivers or use a wifi dongle or USB wired ethernet adapter): a. Minix Neo G4 b. iMito MX1/MX2 c. MK808B with bluetooth (at least 2 different models with different wifi/bluetooth chipsets are known to exist) d. Rikomagic MK802 IIIS with bluetooth Note: If you want to install PicUntu on a device that does not yet have supported WiFi drivers, you will need to have some form of network adapter in order to complete the install.
- A monitor or TV with an available HDMI input.
- An OTG USB cable appropriate for your device. For the Windows PC side we need a full size USB A connector. The Mini PC side of this cable varies, depending on the device. A MK808 uses a Mini USB male connector. The UG802 and the MK802 III use a Micro USB male connector.
- A MicroSD of at least 4GB in size to hold the linuxroot filesystem.
- A windows based PC, preferably a desktop PC, as laptop PC's usually have underpowered USB buses. The USB bus of the Windows PC will need to provide All power required by both the mini PC and any USB devices you are connecting to it. A typical laptop is not up to this task.
- A linux based PC or PC that can be booted into linux via dual boot or Live CD boot.
- An internet connection, in order to download the 2 required files to complete this process and also to allow picuntu-da-server.sh to download packages once the Picuntu install is running on your device.
- Some patience, as this project is very new and still in the alpha stage. However, I think you will be pleasantly surprised at how smoothly it runs already.
###Creating the linuxroot filesystem using pre-picuntu.sh
This section covers using the pre-picuntu.sh script to create the linuxroot filesystem on your target media. This is the recommended method.
You will need:
- A MicroSD that is 4 GB or larger in size. Any data that was stored on the MicroSD beforehand will be wiped clean by this process. A larger MicroSD will give you more available space for applications and data post install, but you would likely be surprised how many packages you can install to even a 4 GB MicroSD.
- The latest linuxroot .tgz file from the PicUntu site. You may download the image here: http://download.g8.net/picuntu/picuntu-linuxroot-0.9-RC2.2.tgz
- The latest pre-picuntu.sh script from the PicUntu site. You may download the image here: http://dl.miniand.com/tecknight/pre-picuntu-0.9-RC2.2.tgz
- A linux system on a PC that can read/write a MicroSD. This would include a linux install under windows or even a linux VM as long as it can read/write a MicroSD. If you do not have a linux install that meets these requirements, then download the Puppy linux live CD from here and burn the image to a blank CD-R.
- 10-15 minutes to complete the steps below.
###Step by Step Instructions
- Insert the MicroSD you plan to use for the linuxroot filesystem into a reader connected to the system we will be launching linux on.
- Launch linux in the appropriate fashion: +Reboot system and select linux boot for a dual boot system +Launch VM in VMware if launching a linux VM +Launch linux from Windows if that is how your distro is launched or +Insert your Puppy linux live CD into your CD/DVD drive and boot the system from the CD.
- Once linux boots up, you will need to determine the device name linux is assigning to your MicroSD card. Puppy linux has a mount utility that will show you. Look under USB devices. In my case, it was /dev/sdg. If necessary, type the following from a root terminal session: parted -l You should see output resembling the following:
Model: ATA MAXTOR STM332062 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 316GB 316GB primary ext4 boot
2 316GB 320GB 4294MB extended
5 316GB 320GB 4294MB logical linux-swap(v1)
Model: Sony Card R/W -SD/MS (scsi)
Disk /dev/sdg: 7948MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 7946MB 7946MB primary ext4You should be able to find your device name in the provided list. Note the device name, as we will be providing it to the pre-picuntu script in a moment. 4. Open up a root terminal session and change your working directory to the folder where you have downloaded pre-picuntu-0.9-RC2.2.tgz to. Extract pre-picuntu.sh, make it executable and then run it.
tar zxf pre-picuntu*.tgz
chmod +x pre-picuntu.sh
./pre-picuntu.shPre-picuntu begins with the following dialog.
!(images/screen1.jpg)
If you answer no, pre-picuntu.sh will download the linuxroot tarball for you. If you answer yes, tell pre-picuntu.sh where the tarball is:
scrn02
Select your device. If you have a RikoMagic MK802 III, select UG802
scrn03
Select how you will connect to the internet.
scrn04
Enter AP SSID and password, if you selected wifi.
scrn05
Enter the device name we determined earlier here.
scrn06
pre-picuntu.sh confirms all settings.
scrn07
The device to be formatted is detailed. Make sure it is a MicroSD or USB drive and not your hard disk.
scrn08
The selected device is formatted as ext4, wiping out any pre-existing partitions or data.
scrn09
The linuxroot tarball is extracted to the selected device.
scrn10
The filesystem is synched and the target device is ejected. You can now remove the MicroSD and put it aside.
scrn11
Congratulations, you have created the linuxroot filesystem. One task remains & you will be booting into PicUntu !!