Ubuntu on SD Card - jackspaceBerkeley/pupil GitHub Wiki
If you just want to try out Pupil on Ubuntu and you have a Mac/PC with SD-Card slot you can grab our specially prepared image to try it our.
##Creating a bootable Pupil Ubuntu SD-Card This guide explains how to load our image of Ubunut 14.04 onto an SD-Card. The SD-Card should be class 10 and needs to have 16GB or more.
-
Download and unzip the preprepared image: pupil_ubuntu.dmg for mac and BIOS laptops (the os user:
pupil
, pw:pupil_pupil
) -
Insert SD-Card. (We will erase all contents!)
-
Find out its node name Run
diskutil list
to find the SD-Card name. In the example case it is1
. Going forward replace the number with the one you have.
⌘ ~/ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 250.1 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *16.0 GB disk1
1: Linux 6.1 GB disk1s1
2: Linux 7.7 GB disk1s2
3: Linux_Swap 2.0 GB disk1s3
- Format the SD-Card:
sudo newfs_msdos -F 16 /dev/rdisk1
- Unmount and write image (make sure the path to image and disk number are appropriate):
diskutil unmountDisk /dev/disk1
sudo dd if=~/Desktop/pupil_ubuntu.dmg of=/dev/rdisk1 bs=5m
- Wait until done.
##Booting from the image
- Insert the SD-Card into the machine you want to load Ubuntu with.
- On Mac you will now restart and hold
alt
when the machine starts up. You will be presented with a selection of boot options. Select the one with USB logo it might mistakenly saywindows
but it will boot into Ubuntu. - The user password is:
pupil_pupil
. You should change that.
##What we did to the Ubuntu installation: Not much really:
- Installed Ubuntu 14.04 on an SD-Card
- Patched the UVC driver: Patch Guide
- Downloaded
Pupil Player
andPupil Capture
. - Created launcher shortcuts.
- Created an image of the SD-Card.