harrisonsp / forensics

Descriptions of useful cyber forensics tools
6 stars 1 forks source link

Install Ubuntu Mate 15.04 desktop to Pi #8

Open harrisonsp opened 8 years ago

harrisonsp commented 8 years ago

Because the Ubuntu 14.04 server with a desktop environment failed, this alternative needs to be explored.

harrisonsp commented 8 years ago

There is no username set up after first boot. Configured username as piforensics with our forensics password because admin is a reserved

https://ubuntu-mate.org/raspberry-pi/ http://askubuntu.com/questions/628945/ubuntu-desktop-for-raspberry-pi-2

harrisonsp commented 8 years ago

https://github.com/sans-dfir/sift-bootstrap/blob/master/bootstrap.sh This interactive ^^ script contains the list of all the tools installed on SANS SIFT 3.

It is not possible to run the shell script on the Pi because that script is meant for 64-bit arch systems only.

It IS possible to run scripts on the Pi like: sudo ./installer.sh

#!/bin/sh

the_packages="long list of packages all on the same line, separated by spaces only"

apt-get update                                 # get the latest list of packages
apt-get install $the_packages -y      # install the packages in the defined list, all need to be on same line

Thank you http://askubuntu.com/questions/519/how-do-i-write-an-application-install-shell-script

I was going through the list in chunks: copy paste sections, usually about 10 packages or all starting with a certain letter. I recorded the packages that didn't install with their respective error messages. Most packages were installing, however.

I was working on this until I started to run out of space on my partition. I tried to resize my partitions, then reboot, but then the memory system started to fail to read (should have taken a picture), and then the Pi froze and went into a kernel panic!!!

So I am going to have to format and rewrite the image to the SD card and start over with MATE. Then I will need to resize the partitions as described here: https://ubuntu-mate.org/raspberry-pi/

After successfully resizing the partitions, then I can begin to install the packages in the list. with the installer shell script. I can make the necessary user group changes (like for Wireshark) afterwards. This was not a setback I anticipated.

RTFD!!

harrisonsp commented 8 years ago

resize partition problem https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=110785

harrisonsp commented 8 years ago

So I didn't get anywhere with this tonight.....grrrr...... I tried the manual resizing like the above link describes, but it always fails. I think I need to do an overwrite format of the sd card before I can do anything with it again. Maybe try the GUI resize option.

After imaging. the Pi has memory block read failures, then freezes execution and never boots. Grrrrrrr.

One more try, then time to make a decision if it is worth working with this OS.