[SOLVED] Can't mount partitions

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

[SOLVED] Can't mount partitions

Post by Sybelius »

Hi All,

I am facing another issue with Salix 14.1 KDE 32 bit: can't mount partitions.
I have been creating directories under /mnt and adding lines to /etc/fstab, still not working after reboot.
Maybe needing to add the same lines to /etc/mtab?
I did'nt try it because facing another annoying problem: can't copy & paste over the terminal using "nano" (Kate and Kwrite don't work too).
Any suggestion? :)
This is the /etc/fstab:
/dev/sda1 swap swap defaults 0 0
/dev/sda5 / ext4 defaults 1 1
/dev/sdb1 /fat-c ntfs-3g fmask=111,dmask=000 1 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show 0 0
/dev/fd0 /mnt/floppy auto noauto,users,rw,umask=00 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
UUID=8f3e261a-f3ba-41bc-8ab5-62fc05530d17 /mnt/Ubuntu ext4 users,rw,utf8,shortname=mixed umask=000 0 0
UUID=bd73cc02-4ba9-4708-b791-1b7f8748c900 /mnt/Sabayon ext4 users,rw,utf8,shortname=mixed umask=000 0 0
UUID=ffa5f7f6-3086-4860-af80-a9c5d679ab6e /mnt/CLD-14 ext4 users,rw,utf8,shortname=mixed umask=000 0 0
UUID=fa0a03a2-fac5-4f75-a438-4bf670829aed /mnt/Zorin ext4 users,rw,utf8,shortname=mixed umask=000 0 0
This is /etc/mtab:
/dev/sda5 / ext4 rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/sdb1 /fat-c fuseblk rw,allow_other,default_permissions,blksize=4096 0 0
/dev/sdc1 /media/VERBATIM vfat rw,nosuid,nodev,uid=1000,gid=100,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks 0 0
Best Regards

Edit
Ok, I discovered "mtab" is not involved. I mean don't need to copy the lines over there because rebooting the original one born again :)
I have been changed the "UUID" with "/dev/sdax" to "fstab" without getting nothing
Last edited by Sybelius on 10. Dec 2014, 02:59, edited 1 time in total.
djemos
Salix Warrior
Posts: 1464
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Can't mount partitions

Post by djemos »

Do not put entries to mount partitions in /etc/fstab
KDE does it through dolphin automatically asking for password (using sudo)
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Can't mount partitions

Post by gapan »

You're missing commas before umask.
Image
Image
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: Can't mount partitions

Post by Sybelius »

@Djemos: - Hi! - Yes, the point is that Dolphin does'nt accept the password when the window comes out (sudo is not activate, I have been upgrading from 14.0, still using "su"). that's why I'm trying to sort out using that trick.

@Gapan: - Hi! - Thank you :) I modified the lines (hereby quoted the last attempt) but something still wrong, comes out in Dolphin the voice to mount in another window but mounting the position comes out empty.
Starting Salix I read the warning talking about error but is scrolling too fast, just got the suggestion to try the command "dsmeg|tail"; it doesn't work, "bash does'nt reconnaize the command".
UUID=8f3e261a-f3ba-41bc-8ab5-62fc05530d17 /mnt/Ubuntu ext4 users,rw,utf8it_IT@euro,shortname=mixed,umask=0 0 0
UUID=bd73cc02-4ba9-4708-b791-1b7f8748c900 /mnt/Sabayon ext4 users,rw,utf8it_IT@euro,shortname=mixed,umask=0 0 0
UUID=ffa5f7f6-3086-4860-af80-a9c5d679ab6e /mnt/CLD-14 ext4 users,rw,utf8it_IT@euro,shortname=mixed,umask=0 0 0
UUID=fa0a03a2-fac5-4f75-a438-4bf670829aed /mnt/Zorin ext4 users,rw,utf8it_IT@euro,shortname=mixed,umask=0 0 0
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Can't mount partitions

Post by gapan »

If you want to mount with dolphin remove them from fstab. If they are in fstab, you can only mount manually from a terminal with the mount command (and sudo).
Image
Image
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: Can't mount partitions

Post by Sybelius »

I did, cancelled the added lines to "fstab" and cancelled the folders under "mtn"; Dolphin mounts in new window but comes out empty.
djemos
Salix Warrior
Posts: 1464
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Can't mount partitions

Post by djemos »

Sybelius wrote:@Djemos: - Hi! - Yes, the point is that Dolphin does'nt accept the password when the window comes out (sudo is not activate, I have been upgrading from 14.0, still using "su"). that's why I'm trying to sort out using that trick.
To enable sudo on KDE read this http://forum.salixos.org/viewtopic.php? ... =10#p36200
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: Can't mount partitions

Post by Sybelius »

....maybe I miss something. Have been following the instructions:
- Adding the user to "sudoers" group (was already in the group "wheel").
After that:
- sudo sed -i "s/AdminIdentities=.*/AdminIdentities=unix-group:wheel/g" /etc/polkit-1/localauthority.conf.d/50-localauthority.conf
- /etc/polkit-1/localauthority.conf.d/50-localauthority.conf # was already there
- Installed http://people.salixos.org/djemos/salix/ ... ch-1dj.txz
- ~/.kde/share/config/kdesurc # is there
- Reboot
Still the authentication fails.
djemos
Salix Warrior
Posts: 1464
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Can't mount partitions

Post by djemos »

are these packages installed
wheel-sudo-1
polkit
polkit-kde-agent-1
polkit-kde-kcmodules-1
polkit-qt-1
nepomuk-core
nepomuk-widgets
soprano
kde-workspace
udisks
udisks2
kde-baseapps-lite or kde-baseapps
kde-runtime
kde-workspace
kdelibs
kdepimlibs
kdewebdev


Maybe some package is still missing
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: Can't mount partitions

Post by Sybelius »

....wheel-sudo-1 was not there, installed. Still the same situation
Post Reply