Saturday, September 13, 2008

geek-out moment :D

i'm up at 4:42am and for once it's not just because of facebook or other things (seriously i don't even know what i'm doing when i stay up late on the computer...). for my linux class the first thing we have to do is get access to linux somehow, either eniac or install on our own computers. well it'd be even more awesome if i could repartition my hard drive and actually install linux, but i think i'll save that for later. (i did actually spend a bunch of hours one time researching this possibility but was a bit nervous about actually doing such things to my hard drive.) so instead i'm using virtualbox to run a virtual machine on my laptop and install ubuntu on it. so basically i dl'd ubuntu as an iso image and mounted it into the virtual machine's cd-rom drive, then "installed" linux to a virtual hard drive on my machine (the "host" machine..gotta have my terminology down :P ). while it was installing i even did some online banking, downloaded music (REO Speedwagon... John mentioned some lyrics to me and I listened to one song on playlist.com and decided to download some and check it out), and started renewing my ruckus licenses. woot for multitasking!

after it finished installing, i mounted the iso for the "guest additions" thing from virtual box (which adds a bunch of ease-of-use features, like increased virtual box screen resolution and options for "capturing" the mouse on the guest vs. the host) and ran my first ever linux installation via commands in the terminal!!! i wish i'd taken a screenshot, however.... i did save it as a text file (gedit is the text editor) ANDDD since i have the guest additions installed, i can now copy and paste to and from the guest and host!! so here it is!!

To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.

tory@tory-vmlinux:~$ ls
Desktop  Documents  Examples  Music  Pictures  Public  Templates  Videos
tory@tory-vmlinux:~$ cd ..
tory@tory-vmlinux:/home$ cd ..
tory@tory-vmlinux:/$ ls
bin   cdrom  etc   initrd      lib         media  opt   root  srv  tmp  var
boot  dev    home  initrd.img  lost+found  mnt    proc  sbin  sys  usr  vmlinuz
tory@tory-vmlinux:/$ cdrom
bash: cdrom: command not found
tory@tory-vmlinux:/$ cd cdrom
tory@tory-vmlinux:/cdrom$ sudo sh ./VBoxLinuxAdditions-x86.run
[sudo] password for tory:
Verifying archive integrity... All good.
Uncompressing VirtualBox 2.0.2 Guest Additions for Linux installation............
.................................................................................
.................................................................................
...........
VirtualBox 2.0.2 Guest Additions installation
Building the VirtualBox Guest Additions kernel module...
Building the shared folder support kernel module...
Installing the VirtualBox Guest Additions...

Successfully installed the VirtualBox Guest Additions.
You must restart your guest system in order to complete the installation.
tory@tory-vmlinux:/cdrom$



...THIS IS SO COOL!!!

1 comments:

Rebecca said...

You'd rather play with computers than hang out with me. :-(

Post a Comment