Solution - workaround that worked for me (no need to patch udisks).

Root cause of udisks problem is "bug" in partition table - nested
partition on extended partition. System is functional, however, udisks
reports wrong partition type because of this.

How you can find out if you are affected?
After running:
$ sudo fdisk -l /dev/sda
first line in otput is:
"omitting empty partition (5)" - message can be localized

If you have more hard disks, problematic disk is the one that gives
"ommitting empty partition (5)" error.

Workaround - how I solved the issue?
My disk with problem was /dev/sda

$ sudo fdisk /dev/sda

Now type these fdisk commands:
x - go to expert mode
f - fix partition order (I did not do this since I did not have problem with 
order of partitions, however this can also cause problems)
w - write partition table back to the disk and exit - fdisk writes partitions 
back to disk correctly without nested partition and complains because some 
partitions are used ;-) - this was my case

$ sudo partprobe

Last I did update of grub

$ sudo update-grub

and then cross your fingers and restart... ;-)

One more observation - Nautilus - I have the impression that before
fixing partition table I did not see in Nautilus any hdd partitions that
are not mounted (in Places or Devices or what is the name in english
version). These partitions were not visible even after applying
Mikhail's patch (when all the automount was working correctly for newly
inserted devices - new devices were visible in Nautilus). After fixing
partition table all is working correctly, non-mounted partitions are
visible in Nautilus and can be mounted by single click.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1093901

Title:
  Does not automount hotplugged storage device - no USB, no CD/DVD

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/1093901/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to