LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-28-2007, 03:20 PM   #1
Iskendar
Member
 
Registered: Jul 2003
Posts: 30

Rep: Reputation: 15
Partitions won't automount


Hi all,

Ever since switching from gentoo to kubuntu I have had some problems with mounting partitions. This is a copy of /etc/fstab

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc /proc proc defaults 0 0
# /dev/hdd1
UUID=3c70bdda-a73f-454c-9a26-1ba6ef6e2306 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
# /dev/hda2
UUID=c00f459e-fd54-4602-b5c7-98d4272a16a0 /boot ext3 nouser,defaults,atime,auto,rw,dev,exec,suid 0 2
# /dev/hda1
UUID=F2E83150E83113F7 /media/hda1 ntfs defaults,nls=utf8,umask=007,uid=0,gid=46,auto,rw,nouser 0 1
# /dev/hda5
UUID=e6e1d876-dc55-4665-a81a-d4fb54a9e1bc /media/hda5 reiserfs nouser,defaults,atime,auto,rw,dev,exec,suid 0 2
# /dev/hda7
UUID=1f595962-ccb6-47f9-bbf2-46fcb62ab69c /media/hda7 reiserfs nouser,defaults,atime,auto,rw,dev,exec,suid 0 2
# /dev/hdd2
UUID=f81f614b-3df3-4bc1-8ffa-ccb02e4ac799 /home/ab/hdd2 reiserfs nouser,defaults,atime,auto,rw,dev,exec,suid 0 2
# /dev/hdd3
UUID=8b5799b8-5bca-44d1-8ee5-18aa976c3f3c /home/ab/hdd3 reiserfs nouser,defaults,atime,auto,rw,dev,exec,suid 0 2
# /dev/hdd4
UUID=7f1c6c4e-1160-464f-886a-4ac6c0fd6325 /home/ab/hdd4 reiserfs nouser,defaults,atime,auto,rw,dev,exec,suid 0 2
# /dev/hda6
UUID=1feef07d-c0bc-49ac-94c2-c941d248e504 /home reiserfs nouser,defaults,atime,auto,rw,dev,exec,suid 0 2
# /dev/hda3
UUID=3bfbd205-be82-417c-afd3-394361268f0f none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
Basically, hdd1 is /, hda2 is /boot, hda3 swap and hda6 is
/home. These get mounted at boot time just fine. Of the
others, hda1 is windows, hda5 and hda7 my old gentoo install,
and hdd2, hdd3 and hdd4 data partitions don't get mounted
unless I do so manually.
Now, I see no difference in options between hda6 and hdd3, so
I wonder why the first gets mounted at boot time, and the
other doesn't. Any ideas on what may cause this? I know kde mounts external drives (hald???), maybe a conflict?
 
Old 03-05-2007, 03:30 AM   #2
Iskendar
Member
 
Registered: Jul 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Bump.

Ok, no useful response so far, not here, and not on the ubuntu board. Anyone?
 
Old 03-05-2007, 04:33 AM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
In /etc/init.d/mountall.sh,
there should be this:
Quote:
mount_all_local() {
mount -a -t nonfs,nfs4,smbfs,cifs,ncp,ncpfs,coda,ocfs2,gfs \
-O no_netdev
}
Add automounting of reiserfs on boot:
Quote:
mount_all_local() {
mount -a -t nonfs,nfs4,smbfs,cifs,ncp,ncpfs,coda,ocfs2,gfs,reiserfs \
-O no_netdev
}
edit: uh wait, it shouldn't go there.
Probably it's trying to mount them but /home is not yet present.

Last edited by nx5000; 03-05-2007 at 04:49 AM.
 
Old 03-05-2007, 05:00 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
Well,
put this before the others (/home/...)
Quote:
# /dev/hda6
UUID=1feef07d-c0bc-49ac-94c2-c941d248e504 /home reiserfs nouser,defaults,atime,auto,rw,dev,exec,suid 0 2
I think the order is important
 
Old 03-05-2007, 06:25 AM   #5
Iskendar
Member
 
Registered: Jul 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by nx5000
Well,
put this before the others (/home/...)


I think the order is important
Well, that made sense :-) Thanks, I'll try it later when I get home and report back here.
 
Old 03-06-2007, 03:48 AM   #6
Iskendar
Member
 
Registered: Jul 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Ok, changing the order worked as expected. Thanks! Now, on a
related topic, I've got this external harddisk which I keep more
or less permanently plugged in. Problem is it gets automounted by
the first user to log in, and permissions are assigned to that user
only. I'd like to configure it so that rw permissions are granted
to the entire users group, but I don't know where to configure this
for the automount feature. Is that a part of kde by the way, or is
it separate?
 
Old 03-07-2007, 11:30 AM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
I'm sorry, no precise idea, eventhough I would be interested to know since I more or less have the same problem

It's probably in HAL configuration (or KDE dbus-listener if it exists, the one that really mounts)

Could be in :

/etc/hal/fdi/policy/

But I'm not familiar with the syntax...
 
  


Reply

Tags
fstab, kde, kubuntu, mount, partition


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
windows killed my partitions! no linux partitions found on this computer. The MJ Linux - Software 10 01-05-2007 08:31 AM
how do I add partitions to drives that have Logical Volume (LVM) partitions? The MJ Linux - Software 5 08-17-2006 06:15 PM
"I want my windows partitions to automount" bah_will87 Ubuntu 2 05-17-2006 05:55 PM
automount windows partitions at startup BiPolar Fedora 11 08-13-2005 05:35 PM
New install doesn't recognize/automount all partitions RobF Debian 1 06-23-2005 12:46 PM


All times are GMT -5. The time now is 01:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration