PDA

View Full Version : [ubuntu] Need some help editing Fstab



Maupertus
September 15th, 2008, 09:36 AM
Hi, I just did a clean install of Ubuntu and want my Windows partition and 250GB internal 2nd Harddrive to auto-mount. They are both NTFS partitions.


sudo fdisk -l gives:




Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x190e190d

Device Boot Start End Blocks Id System
/dev/sda1 * 1 9119 73248336 7 HPFS/NTFS
/dev/sda2 9120 18959 79039800 83 Linux
/dev/sda3 18960 19457 4000185 82 Linux swap / Solaris

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2256f17d

Device Boot Start End Blocks Id System
/dev/sdb1 1 30401 244196001 7 HPFS/NTFS


And this is my fstab:

# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
# Entry for /dev/sda2 :
UUID=52bd4871-1f29-4841-b36b-97f1ccf3979b / ext3 relatime,errors=remount-ro 0 1
# Entry for /dev/sda3 :
UUID=7396a5bb-5f13-414e-9160-e021a94c40ea none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0



I've been reading a lot of posts and articles about editing fstab, but have to say I'm not confident enough to go and edit. Can someone help me and tell what I need to add?

Thank!

Elfy
September 15th, 2008, 09:48 AM
The easiest method is to install ntfs-config, once installed there will be a tool in system tools with which you can mount you internal drives


sudo apt-get install ntfs-config

Maupertus
September 15th, 2008, 11:04 AM
The easiest method is to install ntfs-config, once installed there will be a tool in system tools with which you can mount you internal drives


sudo apt-get install ntfs-config

You know, I remember a time when I actually loved posting a question and improve my knowledge of the system etc...but it's just getting to easy ;)

Thank you Forestpixie, it worked like a charm

Elfy
September 15th, 2008, 11:38 AM
we can do it the other way if you like ;)