You are not logged in.

#1 2008-07-16 07:30:25

liticovjesac
Member
From: Stockholm-Belgrade-Köln
Registered: 2008-07-16
Posts: 110

[SOLVED] how to mount partitions as user?

Hi everyone.
This is my first post here. I am kind of newbee (using linux for 3 years, mostly ubuntu, redhat, fedora, suse...). As you see I used distros that makes basic staff easy for user.  Now I want to try arch. I like what I see. I like the speed of arch and pacman is fastest package manager I ever used. Great job! smile

Now to the problems.
I use gnome on p3 computer. Have one user created.
1.
As I noticed user is not , by default, member of some groups (like optical). So one have to add user to the group to be able to run some apps (like k3b). Is there some default , "must be member" groups that I should be aware of?
2.
I have 2 hard drives. Sda have sda1 (/ ), sda2 (swap) sda3(empty, ext3) partition.
Second drive is one partition, sdb1 ext3
Problem is that I can't mount partition sda3 and sdb1. I dont know how to do that.  There is no lines in /etc/fstab for those partitions thou when I am logged in as user I see those 2 partitions under gnome menu - places. When I try to mount them, as user, I get a message that I'm missing permisssions to do that.
ls /dev lists sdb1 and sda3. That means that system see and recognize all partitions.
I tryed to add lines for those two partitions to /etc/fstab (as I used to do in ubuntu) ,  and I created mounting point in /media as root ,  but no luck after reboot.

Any suggestion? What should I do to be able to mount those two partitons as user and to have them mounted when I boot?

Last edited by liticovjesac (2008-07-17 06:11:28)

Offline

#2 2008-07-16 08:02:11

Hide
Member
From: Castalia
Registered: 2007-02-02
Posts: 368

Re: [SOLVED] how to mount partitions as user?

Nice to see you here, pal smile

1. These are mine: wheel audio optical storage users

2. Paste here what you wrote in fstab. And don't mount it in /media, but /mnt. /media is only for usb stick etc. smile

Offline

#3 2008-07-16 08:09:19

liticovjesac
Member
From: Stockholm-Belgrade-Köln
Registered: 2008-07-16
Posts: 110

Re: [SOLVED] how to mount partitions as user?

I will post it when I came back home.
I understand it somehow that nautilus like to look in /media. Thats why I choose it as a mounting point.

Nice to see you here smile

Offline

#4 2008-07-16 09:09:12

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: [SOLVED] how to mount partitions as user?

The Beginner's Guide does a good job of listing the groups you need to be in to have a 'normal' Linux experience.

Offline

#5 2008-07-17 06:10:07

liticovjesac
Member
From: Stockholm-Belgrade-Köln
Registered: 2008-07-16
Posts: 110

Re: [SOLVED] how to mount partitions as user?

Thanx Barrucadu. I've missed that part.

Otherwise I solved my mounting problem by putting a lines in /etc/fstab that mount sda3 and sdb1 in my home dir. Since I am the only user it doesn't matter.

/dev/sda3 /home/myusername/new_dir ext3 defaults 0 1
/dev/sdb1 /home/myusername/new_dir1 ext3 defaults 0 1

Last edited by liticovjesac (2008-07-17 06:10:44)

Offline

#6 2008-07-17 07:33:32

Hide
Member
From: Castalia
Registered: 2007-02-02
Posts: 368

Re: [SOLVED] how to mount partitions as user?

Hehehe, cool, if it works for you smile

Offline

Board footer

Powered by FluxBB