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:
- Put the SD card into an USB reader and connect it to the BBB
- Boot the system from the MMC
- Install the ubuntu image to the SD card as mentioned in the previous article
- 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)
- Repair the partition: e2fsck -f /dev/sda2
- Expand the partition: resize2fs /dev/sda2
- Shutdown the system
- When it finished you can put the SD card into the holder on the BBB, boot to ubuntu and do whatever you want
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