Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am having a strange issue with external hard drives/USB sticks/CD/SD card etc. in Oneiric 11.10. When I connect any storage device it seems that the device is recognised by the system (I get "Attached SCSI removable disk" in the syslog) but the device is not auto-mounted. Nor does it even show up in nautilus so that I can click to mount it.

I also noted that gparted shows my internal HD (/dev/sda) as unallocated although it has 5 partitions on it.

sudo fdisk -lu Shows all partitions as expected [although it says "omitting empty partition (5) for some reason"]

omitting empty partition (5)

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb8000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1             187   426219519   213109666+   5  Extended
/dev/sda2       410023936   426217471     8096768   82  Linux swap / Solaris
/dev/sda3   *   426220515   488375999    31077742+   7  HPFS/NTFS/exFAT
/dev/sda5             189   348337394   174168603   83  Linux
/dev/sda6   *   348337458   410021887    30842215   83  Linux

Any ideas on how to troubleshoot further? Might there be an issue with an abstraction layer used by gparted and auto-mounting both?

share|improve this question

closed as too localized by qbi, Stephen Myall, Mik, Seth, Eric Carvalho Mar 1 '13 at 0:11

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Show the results of fdisk -lu in your question. If gparted doesn't show any partitions it is because the partition table is corrupted in some way. –  psusi Jan 15 '12 at 14:57
    
Could you provide some detail as to how the disk ended up this way. From what I see, partitions 5(Linux),6(Linux),2(Swap) are all logical partitions inside sda1. sda3(ntfs) is the only bootable partition. Are any of the Linux partitions your root filesystem or are you booting from a different drive? –  Huckle Jan 15 '12 at 18:31
    
Sure, I used to have to linux partitions of ~30GB and one data partition ~200GB (all ext4). I then removed one of the linux partitions (in gparted) and created a an NTFS partition as part of the windows XP install procedure. Could it be that the partition I installed windows into was inside an logical partition and so windows somehow made a normal partition in the middle of the logical one (because windows doesn't support logical partitions, right?)? If so.. Any hope of fixing this? –  Kristofer Jan 15 '12 at 18:57
    
The /dev/sda6 is my root partition in Ubuntu and it says in fstab that it was on sda7 during installation –  Kristofer Jan 15 '12 at 19:08
    
/dev/sda5 is the ~200GB "data-storage" partition (was sda6 during ubuntu installation) sda2 (swap) was on sda5 during ubuntu installation. –  Kristofer Jan 15 '12 at 19:13