Skip navigation.

Mr Green's Coffeshop

Heal the world, smoke weed!

February 2006

( Monthly archive )

New harddisk.

Added a new harddisk to my ubuntu installation last night. Actually the harddisk was NTFS and belonged to windows. Without the ability to write to NTFS partitions in Linux I had to move it over.

After a lot of burning to clear the disk of data I did the following to get it under ubuntu's control.

sudo fdisk /dev/hdb


d (Delete the existing windows partition.)
n (Create a new primary partition, for the entire disk.)
w (Write table to disk and exit.)

To format the disk I used the following command:
sudo mkfs.ext3 /dev/hdb1


When this completed all I needed to do was to mount the new drive somewhere so I added the following line to /etc/fstab:
/dev/hdb1     /home/rjs    ext3    defaults   1   1


To actually get the disk mounted according to fstab I just typed:
sudo mount -a 


So now I have 200 extra gigabytes of free space to fill up, I think Azureus will overheat tonight.
February 2006
M T W T F S S
January 2006March 2006
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28