Unable to mount drives!

Asked by Chrich

Hi, I've really ground to a halt here! Please help.

I have a 20gb hard disk dual booted with xp and dapper drake (theres a grub loader to choose between the two).
   Device /dev/hda1
   Partition 1 - 8.4gb NTFS (xp)

   Device /dev/hda2
   Partition 2 - 10.13gb EXT 3 (ubuntu)

I have a 80gb hard disk for my University work
   Device /dev/hdc1
   vfat, innacessible (according to "disks manager")

I have a 250gb hard disk for my music, films etc
   Device /dev/hd5
   vfat, inaccessible

I have a CD/DVD-RW
   Device /dev/hdb

I have a Floppy (named as my cd/dvd-rw bizzarely!)
   Devive /dev/hdb

When I try to view the HARD DRIVES through "Computer - File Browser", I get "unable to mount volume", that particular device is "not removable", "could not execute pmount". I have tried "enabling" them through disk manager.

Everything works fine in xp (which is annoying!)

Could you help me out? If you need more info just ask.
Cheers from Chris.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) said :
#1

Can you post the results of running:-

$ sudo fdisk -l /dev/sda

For each of the disks?

Do you see anything odd if you do:-

$ dmesg | grep hdc

For each disk?

Revision history for this message
chadlongstaff (chadlongstaff) said :
#2

Could you also post the relevant lines of your /etc/fstab, and also post the output of 'sudo mount -a'?

Thanks

Revision history for this message
Chrich (iceman-tle) said :
#3

Hi Alan & Chad.

Hmmm, tried the fdisk below.

chris@chris-desktop:~$ sudo fdisk
Password:

Usage: fdisk [-l] [-b SSZ] [-u] device
E.g.: fdisk /dev/hda (for the first IDE disk)
  or: fdisk /dev/sdc (for the third SCSI disk)
  or: fdisk /dev/eda (for the first PS/2 ESDI drive)
  or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices)
  ...
chris@chris-desktop:~$ fdisk /dev/hda

Unable to open /dev/hda
-------------------------------------------------------------

So tried...

chris@chris-desktop:~$ sudo fdisk -l /dev/sda
chris@chris-desktop:~$
and
chris@chris-desktop:~$ sudo mount -a
chris@chris-desktop:~$

Again, no joy?

I'm a newbie, so I really don't know what I'm doing? Can you expliain things in words of one syllable?

Cheers

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) said :
#4

> chris@chris-desktop:~$ sudo fdisk
> Password:
>
> Usage: fdisk [-l] [-b SSZ] [-u] device
> E.g.: fdisk /dev/hda (for the first IDE disk)
> or: fdisk /dev/sdc (for the third SCSI disk)
> or: fdisk /dev/eda (for the first PS/2 ESDI drive)
> or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices)
> ...

Ok, you missed the drive off (/dev/hda) when you called it that time.

> chris@chris-desktop:~$ fdisk /dev/hda
>
> Unable to open /dev/hda
> -------------------------------------------------------------
>

And that time you missed "sudo" off the beginning which gives you the rights
to use fdisk..

> So tried...
>
> chris@chris-desktop:~$ sudo fdisk -l /dev/sda

Now you've changed from hda to sda..

> chris@chris-desktop:~$
> and
> chris@chris-desktop:~$ sudo mount -a

If "mount -a" has worked then it reports nothing. So that's working as
designed :)

You probably need to do the following

$ sudo fdisk -l /dev/hda
$ sudo fdisk -l /dev/hdb
$ sudo fdisk -l /dev/hdc

and then

$ mount

(no -a)

Revision history for this message
Chrich (iceman-tle) said :
#5

OK cheers Alan,
I did as you said (below)...

chris@chris-desktop:~$ sudo fdisk -l /dev/hda
Password:

Disk /dev/hda: 20.4 GB, 20404101120 bytes
255 heads, 63 sectors/track, 2480 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start End Blocks Id System
/dev/hda1 * 1 1097 8811621 7 HPFS/NTFS
/dev/hda2 1098 2419 10618965 83 Linux
/dev/hda3 2420 2480 489982+ 5 Extended
/dev/hda5 2420 2480 489951 82 Linux swap / Solaris
chris@chris-desktop:~$ sudo fdisk -l /dev/hdb
chris@chris-desktop:~$ sudo fdisk -l /dev/hdc

Disk /dev/hdc: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start End Blocks Id System
/dev/hdc1 * 1 9732 78172258+ c W95 FAT32 (LBA)
chris@chris-desktop:~$ mount
/dev/hda2 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
varrun on /var/run type tmpfs (rw)
varlock on /var/lock type tmpfs (rw)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
devshm on /dev/shm type tmpfs (rw)
lrm on /lib/modules/2.6.15-27-386/volatile type tmpfs (rw)
chris@chris-desktop:~$

But, when I go to Places - Computer File browser it still says unable to
mount drives.

Chrich

_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters!
http://www.msn.co.uk/newsletters

Revision history for this message
Wim van der Meer (wim-zaf) said :
#6

Please post the contents of your /etc/fstab file.

Revision history for this message
Chrich (iceman-tle) said :
#7
Revision history for this message
Ubuntu User (anotherubuntuuser) said :
#8

Chrich-

Please post the contents of your /etc/fstab file.

You can do this by opening a terminal (Applications -> Accessories -> Terminal) and typing:

cat /etc/fstab

Highlight the output and post it to this support request.

Thanks

Jim Jones

Revision history for this message
Prashant (aalpha) said :
#9

I am facing the same problem. Its been 3 days now trying to figure out what has happened.
I figure the file system has changed to HPFS and that is a reason for the problem. I am using Gutsy Gibbon and the sda disk has Vista.
I tried ntfs-3g but it still doesn't read the disk.

Please help me. Here is the information you may need.

prashant@love:~$ sudo fdisk -l /dev/sda

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

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 3188 25600000 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 3188 30402 218596352 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
prashant@love:~$ clear
prashant@love:~$ sudo mount -t hpfs /dev/sda1 /media/windows_c
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so

prashant@love:~$ sudo mount -t hpfs /dev/sda2 /media/windows_d
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so

prashant@love:~$ sudo fdisk -l /dev/sda

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

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 3188 25600000 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 3188 30402 218596352 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
prashant@love:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 /media/windows_c hpfs
UUID=ef10be79-f18b-44cd-8c81-05ce76732b9e / ext3 defaults,errors=remount-ro 0 1
/dev/sda1 /media/windows_c ntfs-3g defaults 0 0
/dev/sda2 /media/windows_d ntfs-3g defaults 0 0
UUID=8e3c0eaf-3aa2-4e10-af58-b898752efd99 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
prashant@love:~$ clear

prashant@love:~$ sudo mount -t hpfs /dev/sda1 /media/windows_c
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so

prashant@love:~$ sudo mount -t hpfs /dev/sda2 /media/windows_d
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so

prashant@love:~$ sudo fdisk -l /dev/sda

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

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 3188 25600000 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 3188 30402 218596352 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
prashant@love:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=ef10be79-f18b-44cd-8c81-05ce76732b9e / ext3 defaults,errors=remount-ro 0 1
# /dev/sda2
UUID=8e3c0eaf-3aa2-4e10-af58-b898752efd99 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0

Revision history for this message
Chrich (iceman-tle) said :
#10

Alright mate, try the link below.

https://help.ubuntu.com/community/AutomaticallyMountPartitions> To: <email address hidden>> From: <email address hidden>> Subject: RE: [Question #2039]: Re: [Question #2039]: Re: Unable to mount drives!> Date: Wed, 9 Apr 2008 14:54:35 +0000> > Your question #2039 on Ubuntu changed:> https://answers.launchpad.net/ubuntu/+question/2039> > Prashant requested for more information:> I am facing the same problem. Its been 3 days now trying to figure out what has happened.> I figure the file system has changed to HPFS and that is a reason for the problem. I am using Gutsy Gibbon and the sda disk has Vista.> I tried ntfs-3g but it still doesn't read the disk.> > Please help me. Here is the information you may need.> > prashant@love:~$ sudo fdisk -l /dev/sda> > Disk /dev/sda: 250.0 GB, 250059350016 bytes> 255 heads, 63 sectors/track, 30401 cylinders> Units = cylinders of 16065 * 512 = 8225280 bytes> Disk identifier: 0xabd270f9> > Device Boot Start End Blocks Id System> /dev/sda1 * 1 3188 25600000 7 HPFS/NTFS> Partition 1 does not end on cylinder boundary.> /dev/sda2 3188 30402 218596352 7 HPFS/NTFS> Partition 2 does not end on cylinder boundary.> prashant@love:~$ clear> prashant@love:~$ sudo mount -t hpfs /dev/sda1 /media/windows_c> mount: wrong fs type, bad option, bad superblock on /dev/sda1,> missing codepage or helper program, or other error> In some cases useful info is found in syslog - try> dmesg | tail or so> > prashant@love:~$ sudo mount -t hpfs /dev/sda2 /media/windows_d> mount: wrong fs type, bad option, bad superblock on /dev/sda2,> missing codepage or helper program, or other error> In some cases useful info is found in syslog - try> dmesg | tail or so> > prashant@love:~$ sudo fdisk -l /dev/sda> > Disk /dev/sda: 250.0 GB, 250059350016 bytes> 255 heads, 63 sectors/track, 30401 cylinders> Units = cylinders of 16065 * 512 = 8225280 bytes> Disk identifier: 0xabd270f9> > Device Boot Start End Blocks Id System> /dev/sda1 * 1 3188 25600000 7 HPFS/NTFS> Partition 1 does not end on cylinder boundary.> /dev/sda2 3188 30402 218596352 7 HPFS/NTFS> Partition 2 does not end on cylinder boundary.> prashant@love:~$ cat /etc/fstab> # /etc/fstab: static file system information.> #> # <file system> <mount point> <type> <options> <dump> <pass>> proc /proc proc defaults 0 0> /dev/sda1 /media/windows_c hpfs> UUID=ef10be79-f18b-44cd-8c81-05ce76732b9e / ext3 defaults,errors=remount-ro 0 1> /dev/sda1 /media/windows_c ntfs-3g defaults 0 0> /dev/sda2 /media/windows_d ntfs-3g defaults 0 0> UUID=8e3c0eaf-3aa2-4e10-af58-b898752efd99 none swap sw 0 0> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0> prashant@love:~$ clear> > prashant@love:~$ sudo mount -t hpfs /dev/sda1 /media/windows_c> mount: wrong fs type, bad option, bad superblock on /dev/sda1,> missing codepage or helper program, or other error> In some cases useful info is found in syslog - try> dmesg | tail or so> > prashant@love:~$ sudo mount -t hpfs /dev/sda2 /media/windows_d> mount: wrong fs type, bad option, bad superblock on /dev/sda2,> missing codepage or helper program, or other error> In some cases useful info is found in syslog - try> dmesg | tail or so> > prashant@love:~$ sudo fdisk -l /dev/sda> > Disk /dev/sda: 250.0 GB, 250059350016 bytes> 255 heads, 63 sectors/track, 30401 cylinders> Units = cylinders of 16065 * 512 = 8225280 bytes> Disk identifier: 0xabd270f9> > Device Boot Start End Blocks Id System> /dev/sda1 * 1 3188 25600000 7 HPFS/NTFS> Partition 1 does not end on cylinder boundary.> /dev/sda2 3188 30402 218596352 7 HPFS/NTFS> Partition 2 does not end on cylinder boundary.> prashant@love:~$ cat /etc/fstab> # /etc/fstab: static file system information.> #> # <file system> <mount point> <type> <options> <dump> <pass>> proc /proc proc defaults 0 0> # /dev/sda1> UUID=ef10be79-f18b-44cd-8c81-05ce76732b9e / ext3 defaults,errors=remount-ro 0 1> # /dev/sda2> UUID=8e3c0eaf-3aa2-4e10-af58-b898752efd99 none swap sw 0 0> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0> > -- > To answer this request for more information, you can either reply to> this email or enter your reply at the following page:> https://answers.launchpad.net/ubuntu/+question/2039> > You received this question notification because you are a direct> subscriber of the question.
_________________________________________________________________
Amazing prizes every hour with Live Search Big Snap
http://www.bigsnapsearch.com

Revision history for this message
Harvey Muller (hlmuller) said :
#11

Chrich,

Do us a favor mate? You've left status of the question "Open". If the original question is resolved (seems like it is), you should mark it solved in launchpad.

Thanks!

Harvey

Can you help with this problem?

Provide an answer of your own, or ask Chrich for more information if necessary.

To post a message you must log in.