This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:creid4:start [2017/05/02 15:18] – creid4 | user:creid4:start [2017/05/12 18:03] (current) – [Arcade stick] creid4 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== VirtualBox step 1 ===== | ||
+ | --------------------------------------------- | ||
+ | These are instructions to set up a Vm or virtual machine | ||
+ | that can be used for installing an os and software | ||
+ | without compromising the health or integrity of your machine. | ||
+ | ---------------------------------------------------------------- | ||
+ | *First install virtual box | ||
+ | [[https:// | ||
+ | |||
+ | *Find the appropriate version for your system. advanced linux users might need to install virtual box via package manager i will not cover this as there are to many different managers. | ||
+ | |||
+ | next you will need to get a os disc image i will be using arch linux but any os can be used on vm. | ||
+ | |||
+ | *warning arch linux does not hold your hand you will need to follow a installation guide after the vm set up if you dont like this use Ubuntu or any other Debian based Linux for ease of use. | ||
+ | [[https:// | ||
+ | |||
+ | *After installing and running vb click New in the top left. | ||
+ | This will create a image file to host the os and config files for vb. | ||
+ | *Create a name that identifies the os mine is Arch Linux. | ||
+ | *Pick the type mine is linux, and the version just happens my operationg system is included in the version, but if yours is not chose other. | ||
+ | *dont forget to pick 64 or 32 bit based on your image and hardware. | ||
+ | |||
+ | *click next | ||
+ | *now you are to select the memory size or amount of ram for the machine to have. | ||
+ | i will use recommended but if you have ram hungry programs to test you can use as much ram as the green line shows possible. | ||
+ | |||
+ | *WARNING -- any thing beyond green into red could cause memory leaks and buffer overflows, causing system instability and crashes | ||
+ | that can damage data on the underlying os. | ||
+ | |||
+ | *chose next then create to make a virtual hard disk(this is default setting). | ||
+ | *chose next for default setting. | ||
+ | *then next again. | ||
+ | *chose the file location by clicking the folder icon and selecting a location. i chose to not change anything. | ||
+ | *then chose the size of the virtual hdd this is the image file that is stored to your systems hard drive. again i picked default. | ||
+ | your done with step one | ||
+ | ===== Virtualbox step 2 ===== | ||
+ | ----------------------------------------- | ||
+ | This covers loading the os image after that installation is dependent on your selected image. in this case i will cover arch Linux in the instructions located under Arch Linux installation. | ||
+ | -------------------------------------------------------------------- | ||
+ | *First right click the newly created vm select the yellow sprocket for settings. | ||
+ | |||
+ | *now select storage. | ||
+ | |||
+ | *in storage tree there is a empty disc icon select that and on the right in the optical drives box select the disc and chose virtual optical drive search your system for the correct image and select it your done. | ||
+ | |||
+ | *click ok and the click the green start arrow to boot the vm and begin the installation. | ||
+ | |||
+ | *this will run exactly like it does with ought the vm. | ||
+ | |||
+ | ===== Arch Linux installation ===== | ||
+ | ---------------------------------------------------------------------- | ||
+ | with the above vm settings you should be able to follow these instructions and test arch linux. | ||
+ | ---------------------------------------------------------------------- | ||
<cli> | <cli> | ||
$ Arch linux set up: | $ Arch linux set up: | ||
Line 4: | Line 57: | ||
$ FORMAT DISC: | $ FORMAT DISC: | ||
+ | ################################## | ||
+ | # get the name of the disk drive | ||
# in terminal type | # in terminal type | ||
+ | ################################## | ||
$ fdisk -l (L) | $ fdisk -l (L) | ||
- | $ fdisk | + | # get the name of the disk drive |
+ | $ cfdisk (drivename) | ||
+ | |||
+ | ################################## | ||
+ | # if error accures use | ||
+ | ################################## | ||
+ | $ fdisk < | ||
$ dos mode o | $ dos mode o | ||
$ new partition n primary 1 | $ new partition n primary 1 | ||
$ enter for default | $ enter for default | ||
$ end sector set size | $ end sector set size | ||
- | $ 2 enter enter p new partition filling remainder | + | $ 2 enter enter p |
- | $ t change type to linux 82 | + | $ new partition filling remainder |
+ | $ to change type to linux 82 | ||
$ bootable a | $ bootable a | ||
$ w save | $ w save | ||
- | # get the name of the disk drive | + | |
- | # if error accures use fdisk | + | ###################################################### |
- | $ cfdisk (drivename) | + | |
# create free space by deleting | # create free space by deleting | ||
# create swap partition at half the size of ram | # create swap partition at half the size of ram | ||
# click new use the size determined | # click new use the size determined | ||
# make the part primary and at the end | # make the part primary and at the end | ||
- | # now free space primary enter to sellect all remaining space | + | # now free space primary |
+ | # enter to sellect all remaining space | ||
# clack bootable to make boot | # clack bootable to make boot | ||
# mark swap as swap | # mark swap as swap | ||
Line 30: | Line 93: | ||
# leave file partition | # leave file partition | ||
# format root drive with extension for file system | # format root drive with extension for file system | ||
+ | ##################################################### | ||
$ mkfs.ext4 /dev/sda2 | $ mkfs.ext4 /dev/sda2 | ||
+ | |||
+ | ##################################################### | ||
# mount root to mnt directory | # mount root to mnt directory | ||
+ | ##################################################### | ||
$ mount /dev/sda2 /mnt | $ mount /dev/sda2 /mnt | ||
+ | |||
+ | ##################################################### | ||
# use swap space make swap space on swap partition | # use swap space make swap space on swap partition | ||
+ | ##################################################### | ||
$ mkswap /dev/sda1 | $ mkswap /dev/sda1 | ||
+ | |||
+ | ################### | ||
# use swap | # use swap | ||
+ | ################### | ||
$ swapon /dev/sda1 | $ swapon /dev/sda1 | ||
- | $ install system to root drive: | + | ################################# |
+ | ## install system to root drive: | ||
# get internet connection | # get internet connection | ||
# set up wifi useing | # set up wifi useing | ||
+ | ################################# | ||
$ wifi-menu | $ wifi-menu | ||
+ | |||
+ | ###################################### | ||
# insatall base system to root drive | # insatall base system to root drive | ||
+ | ###################################### | ||
$ pacstrap /mnt base base-devel | $ pacstrap /mnt base base-devel | ||
+ | |||
+ | ###################################### | ||
# chroot into partition | # chroot into partition | ||
+ | ###################################### | ||
$ arch-chroot /mnt | $ arch-chroot /mnt | ||
+ | |||
+ | ###################################### | ||
# create new root pass | # create new root pass | ||
+ | ###################################### | ||
$ passwd (type new password) | $ passwd (type new password) | ||
+ | |||
+ | ###################################### | ||
# change location stuff | # change location stuff | ||
+ | ###################################### | ||
$ nano / | $ nano / | ||
- | $ select us remove >#< from in front of selected language | + | ######################################################### |
- | $ en_us | + | # select us remove >#< from in front of selected language |
+ | # look for #en_us make en_us | ||
+ | |||
+ | ##################################### | ||
# generate time zone | # generate time zone | ||
$ cd / | $ cd / | ||
$ ls | $ ls | ||
+ | |||
+ | ###################################### | ||
# find your zone | # find your zone | ||
$ cd US | $ cd US | ||
Line 83: | Line 175: | ||
</ | </ | ||
+ | ===== Arcade stick ===== | ||
+ | --------------------------------------------- | ||
+ | This project started from an idea to build a arcade stick for old school games. | ||
+ | --------------------------------------------------------------------------------- | ||
+ | This is a picture of the top where made a prototype case reusing a cardboard box. | ||
+ | {{ : | ||
+ | This is a side view it shows of the location of the start select and the usb out cable. | ||
+ | {{ : | ||
+ | this is the internals showing the controller board and the conection to the switches and joystick. | ||
+ | {{ : | ||
+ | ---------------------------------------------------------------------------------- | ||
+ | The controller was fully compatible with ps2 ps3 windows and linux. | ||
+ | I even used it with the mudkip sdl program and controlled the sprite. |