|
Dimensione: 7146
Commento:
|
Dimensione: 7866
Commento:
|
| Le cancellazioni sono segnalate in questo modo. | Le aggiunte sono segnalate in questo modo. |
| Linea 16: | Linea 16: |
| * [[http://www.finnie.org/software/raspberrypi/2015-03-02-ubuntu-trusty.zip|Download 2015-03-02-ubuntu-trusty.zip]] ([[http://www.finnie.org/software/raspberrypi/2015-03-02-ubuntu-trusty.zip.asc|GPG signature]]) * 145MiB ZIP, 1.75GiB uncompressed image * Login username is "ubuntu", password is "ubuntu" |
* [[http://www.finnie.org/software/raspberrypi/2015-03-02-ubuntu-trusty.zip|Download 2015-03-02-ubuntu-trusty.zip]] ([[http://www.finnie.org/software/raspberrypi/2015-03-02-ubuntu-trusty.zip.asc|firma GPG]]) * Dimensioni: 145MiB file ZIP (1.75GiB dopo l'estrazione) * Lo username è "ubuntu", la password è "ubuntu" |
| Linea 20: | Linea 20: |
| If you downloaded an older image than the current one above, you shouldn't need to reinstall, but be sure to review the changelog below. | Se si preferisce scaricare un'immagine precedente a quella indicata non è necessario reinstallare, ma tuttavia si consiglia di verificare il changelog in basso. |
| Linea 24: | Linea 24: |
| Installation is the same as other Raspberry Pi images; [[http://www.raspberrypi.org/documentation/installation/installing-images/README.md|a generic installation guide from raspberrypi.org is available here]]. | L'installazione segue la stessa procedura delle altre immagini per Raspberry Pi. È possibile consultare una guida (in lingua inglese) sul [[http://www.raspberrypi.org/documentation/installation/installing-images/README.md|sito ufficile]] del progetto Raspberry Pi. |
| Linea 26: | Linea 26: |
| Additionally, the distribution .zip includes a .bmap file. If you are installing to the SD card from Linux, you may use the [[http://packages.ubuntu.com/bmap-tools|bmap-tools]] package to save some time by writing only the non-zero blocks. | In alternativa l'immagine compressa include un file .bmap. Se per l'installazione su scheda SD si sta usando un sistema Linux si consiglia di usare il pacchetto [[http://packages.ubuntu.com/bmap-tools|bmap-tools]]. |
| Linea 31: | Linea 31: |
| === Usage === | === Uso === |
| Linea 33: | Linea 33: |
| * There are no Raspbian-specific utilities included, specifically no automatic root resizer. However, it's not hard to do manually. Once booted: | * Non sono presenti le utilities incluse in [[http://www.raspbian.org/|Raspbian]] (distribuzione basata su Debian, ottimizzata per Raspberry Pi). Pertanto è possibile ridimensionare la partizione root manualmente. Dopo l'avvio: |
| Linea 37: | Linea 37: |
| Delete the second partition (d, 2), then re-create it using the defaults (n, p, 2, enter, enter), then write and exit (w). Reboot the system, then: | Eliminare quindi la seconda partizione (d, 2) e ricrearla usando le opzioni di default (n, p, 2, enter, enter), infine scrivere e uscire (w). Riavviare il sistema e quindi: |
| Linea 42: | Linea 42: |
| * There is no swap partition/file included. If you want swap, it's recommended you do: | * Non è presente nessun file o partizione di swap. È possibile creare un file di swap attraverso il comando: |
| Linea 46: | Linea 46: |
| You should have a (resized) SD card at least 4GB, because by default it will want to create a ~2GB swapfile. | In questo caso è necessario avere a disposizione una scheda SD della capacità di almeno 4GB, perchè di default verrà creato un file di swap di 2 GB. |
| Linea 48: | Linea 48: |
| * This is a minimal ubuntu-standard image. If you want a full desktop, go ahead and do so: | * Al termine dell'installazione sarà presente un sistema [[Installazione/CdMinimale|Ubuntu minimale]] a linea di comando. È tuttavia possibile installare un server grafico con relativo[[AmbienteGrafico/AmbientiDesktop|ambiente desktop]] attraverso le normali procedure d'installazione. Ad esempio, per installare l'ambiente grafico '''Xubuntu''' basta digitare il comando |
| Linea 50: | Linea 50: |
| $ sudo apt-get install xubuntu-desktop # or $ sudo apt-get install lubuntu-desktop # or $ sudo apt-get install kubuntu-desktop # etc |
$ sudo apt-get install xubuntu-desktop |
| Linea 55: | Linea 53: |
| Ubuntu (Unity) and Ubuntu-GNOME just display a blank screen, presumably because they require 3D compositing. Kubuntu works but is slow unless you turn off desktop effects under System Settings. Xubuntu and Lubuntu work fine out of the box. | /!\ Si consiglia l'installazione di DE che abbiano requisiti hardware compatibili con il Raspberry Pi 2 B (Openbox, LXDE, XFCE, Lubuntu, Xubuntu ecc.). Alcuni utenti hanno infatti segnalato l'impossibilità di poter eseguire Unity e Gnome Shell per via dell'hardware non in grado di supportare la composizione 3D. KDE e Kubuntu solo dopo aver disabilitato le animazioni grafiche. /!\ |
| Linea 57: | Linea 55: |
| * If you would like to install an SSH server for remote access: | * È possibile abilitare un server SSH per l'accesso remoto con il comando: |
| Linea 62: | Linea 60: |
| * An accelerated x.org video driver is available (fbturbo), though this is limited to hardware accelerated window moving/scrolling on the Raspberry Pi. To install: | * È disponibile un driver per l'accelerazione video in x.org (fbturbo), anche se l'accelerazione hardware è limitata allo spostamento e allo scrolling delle finestre. Si può abilitare con la seguente procedura. Eseguire il comando: |
| Linea 66: | Linea 64: |
| Then add this to {{{/etc/X11/xorg.conf}}} (create if it doesn't already exist): | Successivamente aprire con un editor di testo il file {{{/etc/X11/xorg.conf}}} o crearlo se non presente. Quindi aggiungere le seguenti stringhe: |
Table of Contents |
Raspberry Pi
Con la messa in commercio del Raspberry Pi 2 Modello B dotato di processore ARMv7 BCM2709, è ora possibile installare Ubuntu sul Raspberry Pi.
Si precisa quindi che le informazioni contenute in questa pagina fanno riferimento al Raspberry Pi 2 e non ai modelli precedenti.
Ubuntu 14.04 LTS
È disponibile un'immagine di Ubuntu 14.04 LTS Trusty Tahr per the Raspberry Pi 2 con PPA dedicati che contengono kernel e firmware funzionanti sul Raspberry Pi 2.
Quest'immagine è mantenuta dalla comunità di Ubuntu e non è supportata ufficialmente. Il 3.13 kernel è stato sostituito con con una versione aggiornata del kernel 3.18, per il quale non sono garantiti gli aggiornamenti di sicurezza forniti invece per la versione del kernel LTS kernel.
Download
- Dimensioni: 145MiB file ZIP (1.75GiB dopo l'estrazione)
- Lo username è "ubuntu", la password è "ubuntu"
Se si preferisce scaricare un'immagine precedente a quella indicata non è necessario reinstallare, ma tuttavia si consiglia di verificare il changelog in basso.
Installation
L'installazione segue la stessa procedura delle altre immagini per Raspberry Pi. È possibile consultare una guida (in lingua inglese) sul sito ufficile del progetto Raspberry Pi.
In alternativa l'immagine compressa include un file .bmap. Se per l'installazione su scheda SD si sta usando un sistema Linux si consiglia di usare il pacchetto bmap-tools.
$ sudo bmaptool copy --bmap ubuntu-trusty.bmap ubuntu-trusty.img /dev/sdX
Uso
Non sono presenti le utilities incluse in Raspbian (distribuzione basata su Debian, ottimizzata per Raspberry Pi). Pertanto è possibile ridimensionare la partizione root manualmente. Dopo l'avvio:
$ sudo fdisk /dev/mmcblk0
Eliminare quindi la seconda partizione (d, 2) e ricrearla usando le opzioni di default (n, p, 2, enter, enter), infine scrivere e uscire (w). Riavviare il sistema e quindi:
$ sudo resize2fs /dev/mmcblk0p2
- Non è presente nessun file o partizione di swap. È possibile creare un file di swap attraverso il comando:
$ sudo apt-get install dphys-swapfile
In questo caso è necessario avere a disposizione una scheda SD della capacità di almeno 4GB, perchè di default verrà creato un file di swap di 2 GB.
Al termine dell'installazione sarà presente un sistema Ubuntu minimale a linea di comando. È tuttavia possibile installare un server grafico con relativoambiente desktop attraverso le normali procedure d'installazione. Ad esempio, per installare l'ambiente grafico Xubuntu basta digitare il comando
$ sudo apt-get install xubuntu-desktop
Si consiglia l'installazione di DE che abbiano requisiti hardware compatibili con il Raspberry Pi 2 B (Openbox, LXDE, XFCE, Lubuntu, Xubuntu ecc.). Alcuni utenti hanno infatti segnalato l'impossibilità di poter eseguire Unity e Gnome Shell per via dell'hardware non in grado di supportare la composizione 3D. KDE e Kubuntu solo dopo aver disabilitato le animazioni grafiche.
- È possibile abilitare un server SSH per l'accesso remoto con il comando:
$ sudo apt-get install openssh-server
- È disponibile un driver per l'accelerazione video in x.org (fbturbo), anche se l'accelerazione hardware è limitata allo spostamento e allo scrolling delle finestre. Si può abilitare con la seguente procedura. Eseguire il comando:
$ sudo apt-get install xserver-xorg-video-fbturbo
Successivamente aprire con un editor di testo il file /etc/X11/xorg.conf o crearlo se non presente. Quindi aggiungere le seguenti stringhe:
Section "Device"
Identifier "Raspberry Pi FBDEV"
Driver "fbturbo"
Option "fbdev" "/dev/fb0"
Option "SwapbuffersWait" "true"
EndSectionAs with Raspbian, VideoCore packages are available:
$ sudo apt-get install libraspberrypi-bin libraspberrypi-dev
However, since these packages are compiled from source during build, the files are installed in their "proper" locations in /usr. Some third-party scripts may expect e.g. /opt/vc/bin/vcgencmd; if so, this hack should do it:
$ sudo ln -s /usr /opt/vc
(Raspbian packages use precompiled repositories during build, which install in /opt/vc.) vcdbg and edidparser are not part of the open source package and must be installed separately:
$ sudo apt-get install libraspberrypi-bin-nonfree
- Serial console / login
To enable the serial console, change the /boot/cmdline.txt as follows:
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootwait
and add a new file /etc/init/ttyAMA0.conf:
start on stopped rc or RUNLEVEL=[12345] stop on runlevel [!12345] respawn exec /sbin/getty -L 115200 ttyAMA0 vt102
Building
The script used to build the images is available here.
Links
- PPAs:
ppa:fo0bar/rpi2 - Stable packages (enabled in the default image)
ppa:fo0bar/rpi2-staging - Staging builds
ppa:fo0bar/rpi2-nightly - Nightly automatic builds of some packages
Changelog
2015-03-02
- Updated Ubuntu / PPA packages
- Kernel module bcm2708_rng now loaded on boot
- Blacklisted platform modules not applicable to the RPi2 (snd_soc_pcm512x_i2c, snd_soc_pcm512x, snd_soc_tas5713, snd_soc_wm8804)
2015-02-19
If you installed the 2015-02-17 image, you don't need to reinstall this image, but you should remove /var/lib/dbus/machine-id and reboot.
- Updated Ubuntu / kernel packages
- Default apt-src repositories are now commented out
- Installed language-pack-en package
- Sound driver (snd_bcm2835) now loaded by default
- Created legacy /boot/config.txt and /boot/cmdline.txt symlinks as these live in /boot/firmware
- Cleaned up /etc/hosts formatting
- Renamed ubuntu user GECOS from "Ubuntu" to "Ubuntu user"
- Removed variant /var/lib/dbus/machine-id (will be regenerated on first boot)
- Removed console=ttyAMA0,115200 from default cmdline.txt (interferes with non-console use of the serial port)
2015-02-17
- Initial release
Snappy Ubuntu Core
Snappy Ubuntu Core is a new rendition of Ubuntu with transactional updates - a minimal server image with the same libraries as today’s Ubuntu, but applications are provided through a simpler mechanism. A developer preview is available for the Raspberry Pi 2.
