LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-20-2011, 12:18 PM   #31
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295

Quote:
Originally Posted by Bhakta Neal View Post
will i type ?

---------- Post added 05-20-11 at 12:10 PM ----------

Ok, I did so anyway!
Dude, patience is a virtue!

I was typing your step by step instructions.
 
1 members found this post helpful.
Old 05-20-2011, 12:23 PM   #32
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
The results:

Quote:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda1 / ext3 errors=remount-ro 0 1
# swap was on /dev/sda3 during installation
UUID=e05c7519-bb29-4e72-b7b2-2bda220fe058 none swap sw $
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sda4 /mnt/data ext3 auto,user,rw 1 2
Then:

Quote:
neally@honeybear:~$ sudo mount -a
mount: mount point /mnt/data does not exist
And, of course the partition is still unavailable via gui Dolphin.
 
Old 05-20-2011, 12:26 PM   #33
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
Quote:
Dude, patience is a virtue!

I was typing your step by step instructions.
Ha sorry to seem impatient! I was actually reading the wiki, posting step by step, trying to understand what I was doing. I knew you were typing a long one!
 
Old 05-20-2011, 12:26 PM   #34
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

As I mentioned in my rather large post, maybe you missed it, you need to have a directory /mnt/data if you want to mount a partition to it. If you want to mount the partition to another directory you need to change /mnt/data to that. And you also need to make sure you have the correct permissions set on that same directory in order to have the rights you need to access the mounted partition.

So, do you have a directory where you want to mount the parition? If so what is it and run the following command on it:
Code:
ls -l yourdirectory_you_want_to_mount_the_partition_to
Post the output first before doing anything else.

Kind regards,

Eric
 
1 members found this post helpful.
Old 05-20-2011, 12:29 PM   #35
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
[Hangs head in shame]

I have not created a directory. This is a basic thing you taught me, but I dont remember. After we are done here I will need to review the Lorax threads.
 
Old 05-20-2011, 12:31 PM   #36
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
Also, I am not sure where the mounting "should" go, and why it would be a good choice. For example, I dont understand the difference between /mnt and /media and a custom directory.
 
Old 05-20-2011, 12:32 PM   #37
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

Always keep your head up and never be ashamed to learn. To create directory, for example DATA in your home directory type the following:
Code:
mkdir /home/neally/DATA
and next change in the fstab file with the same commands as before the /mnt/data to /home/neally/DATA. After saving and closing the editor run:
Code:
mount /home/neally/DATA
That should mount the partition correctly and you should have your lost+found folder in /home/neally/DATA.

Kind regards,

Eric
 
1 members found this post helpful.
Old 05-20-2011, 12:35 PM   #38
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Quote:
Originally Posted by Bhakta Neal View Post
Also, I am not sure where the mounting "should" go, and why it would be a good choice. For example, I dont understand the difference between /mnt and /media and a custom directory.
Hi,

Basically you can mount the partition where you want, considering you as user have the permissions to that mountpoint, but it's good practice to put personal data under your /home/<username> directory. General data for other users to access can be put in a mountpoint under /mnt where permissions can be changed to give access to others too.

Kind regards,

Eric
 
1 members found this post helpful.
Old 05-20-2011, 12:37 PM   #39
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Hello,

To add what Eric said - /mnt is normally where you will want to mount your drives and devices, whereas /media is there for more system automount "stuff" - If you would enable automount, your system will mount everything in /media. Just trying to make that simple.

Cheers,

Josh
 
2 members found this post helpful.
Old 05-20-2011, 12:46 PM   #40
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
Did that:

Quote:
neally@honeybear:~$ sudo nano /etc/fstab
[sudo] password for neally:
neally@honeybear:~$ sudo mount -a
neally@honeybear:~$ mount /home/neally/DATA
mount: /dev/sda4 already mounted or /home/neally/DATA busy
mount: according to mtab, /dev/sda4 is already mounted on /home/neally/DATA
Now, do I have permissions screwed up? I ask because now I can navigate via gui to /home/neally/DATA, but I can not make new folder (ghosted out in the right-click menu),

and,

I can open the /home/neally/DATA/lost + found, but also can not write to it, as above.

Thanks for the clarity, Josh.
 
Old 05-20-2011, 12:48 PM   #41
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
Here is current fstab, if it is needed:

Quote:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda1 / ext3 errors=remount-ro 0 1
# swap was on /dev/sda3 during installation
UUID=e05c7519-bb29-4e72-b7b2-2bda220fe058 none swap sw $
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sda4 /home/neally/DATA ext3 auto,user,rw 1 2
 
Old 05-20-2011, 12:49 PM   #42
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

What's the output of
Code:
ls -l /home/neally/
Kind regards,

Eric
 
1 members found this post helpful.
Old 05-20-2011, 12:50 PM   #43
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
It is:

Quote:
neally@honeybear:~$ ls -l /home/neally/
total 36
drwxr-xr-x 3 root root 4096 2011-05-17 23:27 DATA
drwxr-xr-x 2 neally neally 4096 2011-05-19 14:56 Desktop
drwxr-xr-x 2 neally neally 4096 2011-05-20 12:40 Documents
drwxr-xr-x 3 neally neally 4096 2011-05-19 14:01 Downloads
drwxr-xr-x 2 neally neally 4096 2011-05-17 23:41 Music
drwxr-xr-x 2 neally neally 4096 2011-05-17 23:41 Pictures
drwxr-xr-x 2 neally neally 4096 2011-05-17 23:41 Public
drwxr-xr-x 2 neally neally 4096 2011-05-17 23:41 Templates
drwxr-xr-x 2 neally neally 4096 2011-05-17 23:41 Videos
 
Old 05-20-2011, 12:52 PM   #44
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

OK, you created the directory with sudo apparently since owner is set to root:root. Run the following to fix that:
Code:
sudo chown -R neally:neally /home/neally/DATA
then run the ls -l command again and post output.

As I told you in one of the previous posts you need to make sure that you as user have permissions to that directory where you will mount your partition to.

Kind regards,

Eric
 
2 members found this post helpful.
Old 05-20-2011, 12:58 PM   #45
Bhakta Neal
Member
 
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248

Original Poster
Rep: Reputation: 19
Yes, Im sorry I spaced out on the owner details.

Quote:
neally@honeybear:~$ ls -l
total 36
drwxr-xr-x 3 neally neally 4096 2011-05-17 23:27 DATA
drwxr-xr-x 2 neally neally 4096 2011-05-19 14:56 Desktop
drwxr-xr-x 2 neally neally 4096 2011-05-20 12:50 Documents
drwxr-xr-x 3 neally neally 4096 2011-05-19 14:01 Downloads
drwxr-xr-x 2 neally neally 4096 2011-05-17 23:41 Music
drwxr-xr-x 2 neally neally 4096 2011-05-17 23:41 Pictures
drwxr-xr-x 2 neally neally 4096 2011-05-17 23:41 Public
drwxr-xr-x 2 neally neally 4096 2011-05-17 23:41 Templates
drwxr-xr-x 2 neally neally 4096 2011-05-17 23:41 Videos
Wow, now I see the difference in this result! I think Im getting this. It should work now!

It works! SOLVED!

Will this be available like this every time I boot?

Also, I notice there are 2 ways to navigate to it: Via /home.... and in the Places menu in my Dolphin. Very nice :-D
 
1 members found this post helpful.
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kubuntu10.04, partition access permissions Bhakta Neal Linux - Newbie 5 01-14-2011 06:13 PM
write access for ntfs partitions in opensuse11.0 plumpb Linux - Newbie 4 11-07-2008 10:59 AM
Write access to windows partitions in kubuntu 5.10 badbunny Ubuntu 4 02-07-2006 02:14 PM
HOWTO - Write Access to NTFS Partitions mac57 Mandriva 19 09-26-2005 01:11 AM
Mounting NTFS partitions with write access Tinky1901 Debian 13 04-09-2005 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:41 PM.

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