Mount partitions

Show all partitions

fdisk -l

Edit /etc/fstab

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda12      /               ext3    defaults,errors=remount-ro 0       1
/dev/sda11      /boot           ext3    defaults        0       2
/dev/sda7       none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
 
/dev/sda6	/fatb		vfat	defaults        0       0
/dev/sda8	/app		ext3	defaults        0       0
/dev/sda9	/img		ext3	defaults        0       0
/dev/sda10	/storage	ext3	defaults        0       0
Make sure that there is an empty newline at the end of /etc/fstab.

Mount NTFS partition

  1. Add the following line in /etc/apt/sources.list:
    deb http://www.backports.org/debian etch-backports main contrib non-free
  2. Update package list by running
    aptitude update
  3. Search for linux-image available and select the 1 according to the architecture of your CPU:
    aptitude -t etch-backports search linux-image-2.6
  4. In my case, I install linux-image-2.6.22-2-486 and ntfs-3g by running:
    aptitude -t etch-backports install linux-image-2.6.22-2-486 ntfs-3g
  5. To mount NTFS partition by running:
    mount /dev/hda1 -t ntfs-3g /mnt/win

References

http://www.tuxfiles.org/linuxhelp/fstab.html
http://www.partedmagic.com/
http://gparted.sourceforge.net/