2013. augusztus 14., szerda

Installing Ubuntu on BeagleBone Black 2.

Last time here I wrote about my adventure with the BBB and Ubuntu.
Now I have a task to create a kiosk like something from the BBB. When I tried to install the desktop environment on the BBB realized, that it won't fit into the 2GB integrated MMC. To go further - If I install the ubuntu image to an 8 gig SD it still create a 2 gig ext4 filesystem. When I tried to expand it I get some strange error. Finally found the solution:
  1. Put the SD card into an USB reader and connect it to the BBB
  2. Boot the system from the MMC
  3. Install the ubuntu image to the SD card as mentioned in the previous article
  4. delete the ext4 partition (namely: /dev/sda2) with the cfdisk and recreate it to fill the whole free space on the SD card (in my case it will be a partition little bit smaller than 8GB)
  5. Repair the partition:  e2fsck -f /dev/sda2
  6. Expand the partition: resize2fs /dev/sda2
  7. Shutdown the system
  8. When it finished you can put the SD card into the holder on the BBB, boot to ubuntu and do whatever you want
After that I installed the xubuntu-desktop environment but realized that it extremely slow and even hangs after a few mouse clicks.
Today in the morning I reinstalled the whole thing with lubuntu. I had no time to wait the completion of the process. I'll see afternoon if it works correctly or not.

Nincsenek megjegyzések:

Megjegyzés küldése