Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Desktop Environments
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Desktop Environments
Support for your Ubuntu desktop. Including Gnome, KDE and XFCE.

 
Thread Tools Display Modes
Old August 17th, 2005   #1
uperjer
5 Cups of Ubuntu
 
Join Date: Aug 2005
Beans: 15
mounting NTFS and FAT32 drives on startup

i know that the /etc/fstab file has to be amended to do this, but i'm not sure exactly what to put in it.

this is my drive information:

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2040 16386268+ 7 HPFS/NTFS
/dev/hda2 2041 4865 22691812+ 83 Linux

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

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 15988 128423578+ 7 HPFS/NTFS
/dev/hdb2 15989 19457 27864742+ c W95 FAT32 (LBA)


i'd really like to mount hda1, hdb1, and hdb2 on startup. any help would be greatly appreciated.
uperjer is offline   Reply With Quote
Old August 17th, 2005   #2
h4rdc0d3
Just Give Me the Beans!
 
h4rdc0d3's Avatar
 
Join Date: Aug 2005
Beans: 45
Re: mounting NTFS and FAT32 drives on startup

The FAT32 partition is easy because both Linux and Windows both can read and write it by default.

Try adding this to your /etc/fstab:
Code:
/dev/hdb2 	 /media/fat 	vfat	rw,auto,user 	 0	 0
Of course, then you'll need to do:
Code:
mkdir /media/fat
mount -a
For your NTFS partitions, you'll going to have to at least use a kernel mod and I can't help you with that. Anyone else?
h4rdc0d3 is offline   Reply With Quote
Old August 17th, 2005   #3
crispingatiesa
A Carafe of Ubuntu
 
crispingatiesa's Avatar
 
Join Date: Jun 2005
Beans: 97
Re: mounting NTFS and FAT32 drives on startup

This should be enough:

http://ubuntuguide.org/#mountunmountntfs
crispingatiesa is offline   Reply With Quote
Old August 17th, 2005   #4
uperjer
5 Cups of Ubuntu
 
Join Date: Aug 2005
Beans: 15
Re: mounting NTFS and FAT32 drives on startup

Quote:
Originally Posted by crispingatiesa
i tried using that, but for some reason all of my drives (except the linux partition) came up as the fat32 drive. i really don't know what i'm doing wrong.
uperjer is offline   Reply With Quote
Old August 17th, 2005   #5
crispingatiesa
A Carafe of Ubuntu
 
crispingatiesa's Avatar
 
Join Date: Jun 2005
Beans: 97
Re: mounting NTFS and FAT32 drives on startup

post your fstab here
crispingatiesa is offline   Reply With Quote
Old August 17th, 2005   #6
uperjer
5 Cups of Ubuntu
 
Join Date: Aug 2005
Beans: 15
Re: mounting NTFS and FAT32 drives on startup

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda2 / ext3 defaults,errors=remount-ro 0 1
/dev/hdd /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/hdc /media/cdrom1 udf,iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hdb2 /media/fat vfat rw,auto,user 0 0


i got the fat32 parition taken care of no problem. it's the ntfs drives i can't get mounted for some reason.
uperjer is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:43 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry