January 25, 2010 · General · 27 comments

This tutorial will allow you to access your ext3 partition under Windows, using Sun VirtualBox and Ubuntu.
The tutorial is pretty long due to the images, but they explain things easier sometimes (they are not just meaningless screenshots) (forgive me for your scroll button :P)
I tested this on Windows Xp, using my Ubuntu Linux's root partition for test purposes and everything went ok, but be aware:

Warning
Raw hard disk access is for expert users only. Incorrect use or use of an outdated configuration can lead to total loss of data on the physical disk. Most importantly, do not attempt to boot the partition with the currently running host operating system in a guest. This will lead to severe data corruption.

as stated in the VirtualBox manual!

download and install sun virtualbox for windows
(http://www.virtualbox.org/wiki/Downloads)

download the 32-bit ubuntu server edition
(http://www.ubuntu.com/getubuntu/download-server)

open up a windows command prompt (Start Menu > All programs > Accessories)
change into to the sun virtualbox folder:

cd "C:\Program Files\Sun\VirtualBox"

(tailor this if you have a non-standard Windows or VirtualBox installation)

find your ext3 partition:

VBoxManage internalcommands listpartitions -rawdisk \\.\PhysicalDriveX

(where X should be 0,1,... depending on which hdd you want to use)
(tip: ext3 partition type is 0x83)

create a special image which points to your partition:

VBoxManage internalcommands createrawvmdk -filename \path\to\file.vmdk -rawdisk \\.\PhysicalDriveX -partitions Y,Z

(where Y, Z should be the partition number(s) you found out before, and filename is self-explanatory, but should end with .vmdk)

set up a virtual machine in virtualbox:




select your virtual machine and click on settings:
set up networking:

"insert" your ubuntu server install cd into the virtual machine:


start up your virtual machine and install ubuntu server:


select your keymap, and select the install mode:
the install is pretty self explanatory, you shouldn't have problems with it
choose samba file server and openssh server when asked

unmount the install medium and boot into your new system

update your system (optional), install some additional stuff(required):

sudo apt-get update (optional)
sudo apt-get dist-upgrade (optional)
sudo apt-get install screen nano mc htop

screen > allows multiple terminals to be opened easily
nano > easier to use than vim in my opinion
mc > just like norton commander or total commander
htop > easy process management

stop your virtualmachine and add the physical patrtition‘s image to the virtual machine
(image should be added to available images in virtual device manager first)

boot up your server again

make a new directory for the shared partition

cd /
mkdir sharedpartition
chmod 777 sharedpartition

edit your fstab to auto-mount the partition at every startup:

sudo nano /etc/fstab

add the following

/dev/sdXY /sharedpartition ext3 relatime,errors=remount-ro 0 1

(where X should be a,b,... depending on hdd number, and Y should 1,2,... depending on partition number)

edit samba configuration:

sudo nano /etc/samba/smb.conf

change your workgroup to be the same as your windows one, and uncomment the security line:

workgroup = yourworkgroup
security = user

add this to the end:

[SharedPartition]
comment = The shared physical partition
path = /sharedpartition
browseable = yes
writeable = yes
valid users = tutorial

now add and enable this user to samba

sudo smbpasswd -a tutorial
sudo smbpasswd -e tutorial

restart samba with

sudo /etc/init.d/samba restart

Enjoy!

P.s:
You can share multiple partitions and/or different filesystems too.

January 24, 2010 · General · 18 comments

ÜberStudent is a free, Ubuntu-based operating system for higher education and emerging-generation high school students, those who wish to learn to excel at the tasks and habits of top students and researchers, and anyone who can benefit from easy-to-use yet powerful computing. Like Ubuntu, ÜberStudent is a complete operating system with programs for everyday computing tasks, but comes with an additional core of expertly configured programs, and many user-friendly extras, designed to increase your academic success. It's Software Explorer enables you to easily extend ÜberStudent still further for specific academic disciplines, and it doesn't stop there. Music and movie lovers, gamers, budding graphic designers, and those who insist on an ascetically eye-popping user interface will also be very pleased.
Continue reading →

January 22, 2010 · News · 8 comments

Now that Ubuntu 9.10 (Karmic Koala) is out and stable I thought I would look into what is on the horizon for the next release of Ubuntu. There are a lot of questions that I have about the next release and I have found some solid answers, rumors and a lot of speculation as to what the next release will have.
Continue reading →

January 22, 2010 · General · 2 comments

These two nice Google chrome themes for Ubuntu

Continue reading →

January 21, 2010 · General · 29 comments

Firefox v.3.6, released January 21st, 2010.Firefox 3.6  is built on Mozilla's Gecko 1.9.2 web rendering platform, which has been under development since early 2009 and contains many improvements for web developers, add-on developers, and users. This version is also faster and more responsive than previous versions and has been optimized to run on small device operating systems such as Maemo.

If you want to install this  on your ubuntu system use this tutorial (Ubuntu Karmic/Jaunty/Intrepid/Hardy)
Continue reading →