Ubuntu – Add another SATA Drive

hard drivepartitioning

I have installed Ubuntu 10.10 X64 (when I type "arch" in terminal, it outputs "x86_64"), I have only one 250GB SATA Drive (SATA 0) at the moment where I have my OS and apps installed.

I am now purchasing a 1TB SATA Drive and will install that inside the machine on a separate SATA Controller (SATA1), Question is :

a) How will I format and use this drive to store my data (Music, FTP downloads, softwares)
b) Will it automatically be available when I restart my system ?

Any other advise you may wish to give with regards to a new drive.

Will be grateful for your answers
Kind Regards
Rihatum

Best Answer

a. Format it with gparted Install gparted. It's very easy to use if you just make sure you take care selecting all the options you need.

enter image description here

  • Top right has a drop down box. Choose your new disc (will be /dev/sdb1).
  • You will get 1 big unallocated with the size of your disc. Format it with ext3/etc4 (or whatever system you want on it ;) )
  • You can also create partitions on it if need be.

b. No, you will need to manually add it to /etc/fstab (with gksu gedit /etc/fstab) but that's fairly easy. It will be something like this:

/dev/sdb1 /mountpoint ext4 defaults 1 2

  • make a backup of /etc/fstab 1st (with something similar to cp /etc/fstab /etc/fstab.20110614).
  • gparted will tell you the name of the disc but I assume it will be /dev/sdb;
  • mountpoint is a directory you created;
  • ext4 is the formatting you used (could be ext2, ext3 or a windows version).