steves850 Posted August 4, 2009 Report Share Posted August 4, 2009 First off, I want to apologize if this is a duplicate post, I searched and searched but didn't come across anything. I have Mandriva 2009.1 installed on my HP DV9608nr and I love it. Most stable Linux OS I've come across and I've tried many. Unfortunately I cannot get my second hard drive to mount. I've used the partitioning tool formatted and set the mount point, all that good stuff but I keep receiving the same error msg. "an error occurred while accessing 'Volume (ext3)', The system responded: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.storage.mount-fixed auth_admin_keep_always <--(action,result) ". As far as I can tell I have all the permissions to make any adjustments needed. Thanks for any assistance in advanced! Quote Link to comment Share on other sites More sharing options...
scarecrow Posted August 4, 2009 Report Share Posted August 4, 2009 cat /etc/fstab and paste the output here, please. Quote Link to comment Share on other sites More sharing options...
steves850 Posted August 4, 2009 Author Report Share Posted August 4, 2009 Just for the heck of it I mounted it to /var and it no longer showed up on the side as locations this is the results; # Entry for /dev/sda1 : UUID=4097790b-892b-48c2-9953-e242a991b44e / ext3 defaults 1 1 # Entry for /dev/sda6 : UUID=8139ea13-822c-4a8e-871c-0fd497626f3f /home ext3 defaults 1 2 none /proc proc defaults 0 0 # Entry for /dev/sdb1 : UUID=93c84642-4c4a-4e34-a9b5-5786a1a17218 /var ext3 defaults 1 2 # Entry for /dev/sda5 : UUID=83e037f4-b42b-4ba1-8af6-22bd811f9dad swap swap defaults 0 0 I'm still relatively a noob to linux, is there a better mount point? Quote Link to comment Share on other sites More sharing options...
K Bergen Posted August 4, 2009 Report Share Posted August 4, 2009 /var is a system folder, it's better you set the mount point to somewhere in /mnt or /media Ken Quote Link to comment Share on other sites More sharing options...
steves850 Posted August 5, 2009 Author Report Share Posted August 5, 2009 I cannot unmount it now am I screwed? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 5, 2009 Report Share Posted August 5, 2009 Yes, uncomment the partition that is in /etc/fstab that relates to /var and reboot your system. Then it won't mount as /var and you can then use the partition for something else. Of course, assuming that /dev/sdb1 is your partition that you mounted as /var as this is what I gather from the /etc/fstab you posted above but correct me if I'm wrong about that. Quote Link to comment Share on other sites More sharing options...
steves850 Posted August 5, 2009 Author Report Share Posted August 5, 2009 I'm not sure what you mean "uncomment" I went to unmount it I receive this error msg. "error unmounting /var: device is busy" Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 5, 2009 Report Share Posted August 5, 2009 From your above post: # Entry for /dev/sdb1 : UUID=93c84642-4c4a-4e34-a9b5-5786a1a17218 /var ext3 defaults 1 2 this is the var line. Is this the disk partition you are trying to unmount? If so, change /etc/fstab so it looks like this: # Entry for /dev/sdb1 : #UUID=93c84642-4c4a-4e34-a9b5-5786a1a17218 /var ext3 defaults 1 2 see I put a # in front of the line so that it will be ignored. I meant comment the line out, not uncomment - I made a typo before :) So, if this is the partition you are trying to unmount, do this and when you reboot it won't be mounted and you can do what you want with it after. If it is mounted and /var is in use, you cannot unmount it manually, you will need to reboot whole system. That is why you get "device is busy" because /var is in use. Quote Link to comment Share on other sites More sharing options...
steves850 Posted August 5, 2009 Author Report Share Posted August 5, 2009 Ahh, Thank you I apologize for my ignorance. Unfortunately when I attempt to comment the line out I receive the following error. "The document could not be saved, as it was not possible to write to /etc/fstab. I gave myself permission and obviously when I mounted the drive to /var (like an idiot) it saved. Can I replace it with fstab.old? I see that in the same folder and I tried manually overwriting it but I keep getting denied. Thank you again for dealing with noobs lol. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 5, 2009 Report Share Posted August 5, 2009 Type: su you need to be root to edit that file. You will be prompted for root password after typing su. Quote Link to comment Share on other sites More sharing options...
Greg2 Posted August 5, 2009 Report Share Posted August 5, 2009 That's correct if he's using vi, vim, or nano. But if he wants to use a gui editor he needs to do su - @steves850, are you using KDE, Gnome, or what? Quote Link to comment Share on other sites More sharing options...
steves850 Posted August 5, 2009 Author Report Share Posted August 5, 2009 I'm using Mandriva One 2009.1 KDE. Still no luck [steve@localhost ~]$ su - Password: [root@localhost ~]# /etc/fstab -bash: /etc/fstab: Permission denied [root@localhost ~]# also tried it with the "-" same results. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 6, 2009 Report Share Posted August 6, 2009 Just doing: /etc/fstab won't do anything as it's trying to run a command. Try: nano -w /etc/fstab after the su or su -. Then put the # in front of the line. Then press CTRL-X and press Y when you are prompted if you want to save the file. Quote Link to comment Share on other sites More sharing options...
steves850 Posted August 6, 2009 Author Report Share Posted August 6, 2009 I tried the su and the su - i tried the it on one line and like this. same results.. I hope I'm just an idiot. [steve@localhost ~]$ su Password: [root@localhost steve]# nano -w /etc/fstab bash: nano: command not found [root@localhost steve]# -w /etc/fstab bash: -w: command not found [root@localhost steve]# Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 6, 2009 Report Share Posted August 6, 2009 OK, I guess nano isn't installed. After the su, you can do: urpmi nano to install it, then repeat process again to edit file: nano -w /etc/fstab Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.