Skip navigation.

Mr Green's Coffeshop

Heal the world, smoke weed!

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.

Signing JAR files.

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

December 2009
M T W T F S S
November 2009January 2010
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 29 30 31