LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-27-2006, 01:02 PM   #1
comradesniper
Member
 
Registered: Oct 2003
Location: SouthWest
Distribution: SuSE 10
Posts: 39

Rep: Reputation: 15
Ubuntu newbie, problem accessing harddisks


Hello
I have just installed Ubuntu, and I am experiencing a problem accessing my old windows haddisks. I need to use these to get to my music collection (one of the reasons I am trying Ubuntu is because of sound support)...

The problem is that I can't access any of these drives. Ubuntu reports the following error when I try to read one of the windows drives:

Quote:
The folder contents could not be displayed.

You do not have the permissions necessary to view the contents of "hdd1".
[OK]
Is this to do with the unusual security measures in Ubuntu, or can't it read NTFS?
 
Old 03-27-2006, 01:20 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,124

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Will be mount options in fstab - change them to suit; maybe umask.
 
Old 03-27-2006, 01:24 PM   #3
angkor
Member
 
Registered: Mar 2005
Location: Amsterdam
Distribution: Debian => Ubuntu => Mac Osx
Posts: 165

Rep: Reputation: 31
The info is a bit old, but should still work.

http://ubuntuguide.org/#automountntfs
 
Old 03-27-2006, 01:59 PM   #4
comradesniper
Member
 
Registered: Oct 2003
Location: SouthWest
Distribution: SuSE 10
Posts: 39

Original Poster
Rep: Reputation: 15
When I try to mount the drive now, using sudo mount -a, I get the following error:

mount: wrong fs type, bad option, bad superblock on /dev/hdd5,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

My fstab looks like this:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hdd7       /               ext3    defaults,errors=remount-ro 0       1
/dev/hdd1       /media/hdd1     ntfs    defaults        0       0
/dev/sda1       /media/sda1     ntfs    defaults        0       0
/dev/sda6       /media/sda6     reiserfs defaults        0       2
/dev/hdd6       none            swap    sw              0       0
/dev/sda5       none            swap    sw              0       0
/dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdb        /media/cdrom1   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
/dev/hdd5       /media/hdd5  	ntfs    user		 0       0
The one that fails is hdd5. I can't access the other ones either.
 
Old 03-27-2006, 03:12 PM   #5
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Code:
sudo cp /etc/fstab /etc/fstab_backup
sudo nano /etc/fstab
Replace your old /etc/fstab with this
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hdd7       /               ext3    defaults,errors=remount-ro 0       1
/dev/hdd1       /media/hdd1     ntfs    nls=utf8,umask=0222        0       0
/dev/sda1       /media/sda1     ntfs    nls=utf8,umask=0222        0       0
/dev/sda6       /media/sda6     reiserfs defaults        0       2
/dev/hdd6       none            swap    sw              0       0
/dev/sda5       none            swap    sw              0       0
/dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdb        /media/cdrom1   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
/dev/hdd5       /media/hdd5  	ntfs    nls=utf8,umask=0222		 0       0
Then save (control-x), confirm (y), and exit (Enter). Reboot.
 
Old 03-27-2006, 09:41 PM   #6
maury0324
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Debian Squeeze amd_64
Posts: 66

Rep: Reputation: 16
Mounting Drives

Here are notes I made as I learned how to get my backup drive mounted (hdc1) hope they help Notes follow:
Procedure for auto mounting /dev/hdc1 in ubuntu
1-Using Terminal: sudo nautilus and put in password
2-Create a extdrive folder in the media folder
3-Create a link to the extdrive folder and leave it in the media folder
4-save and exit
5- using terminal: sudo gedit and goto etc/fstab and open it
6- add this line to fstab: /dev/hdc1 /media/extdrive ext3 defaults,rw 0 0
Save and exit.and Reboot.
You should see a "extdrive" icon on the desktop and you should be able to access the drive.
Note! New fastab is as fillows

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdc1 /media/extdrive ext3 defaults,rw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sda /media/usb0 auto rw,user,noauto 0 0

Last edited by maury0324; 03-27-2006 at 09:43 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu server no longer accessing internet xTheLostx Linux - Networking 3 09-29-2005 08:03 PM
Accessing Fat32 partitions in Ubuntu 5.04 crash_override_me Ubuntu 2 09-03-2005 07:48 AM
Accessing Fat32 partitions in Ubuntu 5.04 crash_override_me Ubuntu 1 09-02-2005 11:29 PM
problem in ubuntu regarding accessing through network pranith Debian 1 02-17-2005 08:14 AM
Exereme newbie-need help accessing internet jej2017 Linux - Networking 12 09-04-2003 06:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration