Question #73046 “Ubuntu mounts all partitions automatically duri...” : Questions : Ubuntu

Ubuntu mounts all partitions automatically during the boot but Kubuntu not

Asked by Jan Hlodan

Kubuntu 9.04 64bit
Ubuntu 2.6.28-12.43-generic x86_64

My previous system - Ubuntu 8.10 32bit, mounted all partitions automatically during the boot.
I have 2 external hard disks pluged in via USB.

One disk is divided into 4 partitions:
/dev/sdb1 1 38912 312560608+ 83 Linux (reiserfs)
/dev/sdb2 38913 65703 215198707+ 83 Linux (reiserfs)
/dev/sdb3 65704 105279 317894220 83 Linux (reiserfs)
/dev/sdb4 105280 121601 131106465 b W95 FAT32

and second one has just one partition:
/dev/sdc1 1 30401 244196001 83 Linux (ext3)

They are not mounted after Kubuntu starts up.
$ ls -lap /media/
lrwxrwxrwx 1 root root 6 2009-05-02 16:20 cdrom -> cdrom0/
drwxr-xr-x 2 root root 4096 2009-05-02 16:20 cdrom0/
drwxr-xr-x 2 root root 4096 2009-05-02 16:20 cdrom1/
lrwxrwxrwx 1 root root 45 2009-05-02 16:20 .directory -> /etc/kubuntu-default-settings/directory-media
-rw-r--r-- 1 root root 341 2009-06-02 18:15 .hal-mtab
-rw------- 1 root root 0 2009-06-02 13:58 .hal-mtab-lock
lrwxrwxrwx 1 root root 42 2009-05-02 16:20 .hidden -> /etc/kubuntu-default-settings/hidden-media

/media/.hal-mtab is empty.
I need to open Dolphin and open them manually. Then I can see them in /media:

drwxr-xr-x 12 1002 1005 288 2008-11-22 22:28 book1/
drwxr-xr-x 10 wewek root 264 2009-06-01 20:45 book2/
drwxr-xr-x 11 wewek root 256 2009-05-02 13:20 book3/
drwxr-xr-x 12 wewek root 16384 1970-01-01 01:00 book4/
lrwxrwxrwx 1 root root 6 2009-05-02 16:20 cdrom -> cdrom0/
drwxr-xr-x 2 root root 4096 2009-05-02 16:20 cdrom0/
drwxr-xr-x 2 root root 4096 2009-05-02 16:20 cdrom1/

$ cat /media/.hal-mtab
/dev/sdb1 1000 0 reiserfs nosuid,nodev,uhelper=hal /media/book1
/dev/sdb2 1000 0 reiserfs nosuid,nodev,uhelper=hal /media/book2
/dev/sdb3 1000 0 reiserfs nosuid,nodev,uhelper=hal /media/book3
/dev/sdb4 1000 0 vfat nosuid,nodev,uhelper=hal,uid=1000,utf8,shortname=mixed /media/book4
/dev/sdc1 1000 0 ext3 nosuid,nodev,uhelper=hal /media/disk

I would like to mount them automatically like Ubuntu does.
I don't want to change anything in /etc/fstab
Is this a new features of KDE4? If yes, it's really absurd.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Jan Hlodan
Solved:
Last query:
Last reply:
Revision history for this message
Chris Coulson (chrisccoulson) said :
#1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

Revision history for this message
FactTech (launchpad-facttechnologies) said :
#2

Automounting is handled by the settings in your /etc/fstab file. You should be able to get the automounting to work by copying the relevant lines from the fstab file used by your Ubuntu installation to the one used by your Kubuntu installation.

The man page on fstab is pretty informative, but dense. You may find this link (or others on Google) more informative:

http://www.tuxfiles.org/linuxhelp/fstab.html

Does this help?

Revision history for this message
Jan Hlodan (wewek) said :
#3

No, this didn't help.
I wrote that I'm not going to change anything in fstab.
Ubuntu doesn't write entries in fstab neither. There are just 2 entries: / partition and cdrom

Here is another example:

* Plug in USB flash disk into Ubuntu -> flash disk will be mounted automatically
* Plug in USB flash disk into Kubuntu -> just stupid notification will appears that USB disk was plugged in. But disk wasn't mounted! You can't find it in /media. You have to open it via dolphin if you want to mount it.

Please change status from answered to new.
Thank you.

Revision history for this message
FactTech (launchpad-facttechnologies) said :
#4

Since the issue you are experiencing seems to be with Kubuntu, and not Ubuntu, I suggest that you post your question on the Kubuntu forums. See:

http://www.kubuntuforums.net/

You may have more luck getting a response there.

Revision history for this message
Jan Hlodan (wewek) said :
#5

launchpad is just for ubuntu???
ok guys, really thanks for "help".
the problem is tracking here:
https://bugs.kde.org/show_bug.cgi?id=164053