LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-07-2011, 06:07 PM   #1
Karottenbaum
LQ Newbie
 
Registered: Oct 2011
Posts: 14

Rep: Reputation: Disabled
cant mount partition sda3


Im not able to mount sda3.
just so you know, i installed xubunto and this long i know linux....

i created all three partitions as primary, when it came to sda3 (supposed to be for movies and music) i didnt know what mountpoint to select (dont know anything about mountpoints)..
but i choosed opt/ as mountpoint, bcause i didnt know what to do... as far as i remember i formated it as FA32 (i know not good)

i found a file named opt/ which has the size of ma partition but i cant write on it,

something else: is it a bad idea to create all three partitions as primary?

how can i make xubuntu make use of the SWAP?


sudo fdisk -l

Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb8f0ffa4

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1824    14647296   83  Linux
/dev/sda2            1824        2189     2929664   82  Linux swap / Solaris
/dev/sda3            2189        9730    60572672   83  Linux
 
Old 10-07-2011, 06:32 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Why would you mount something to /opt? That is for programs, configurations, etc... Whenever you mount something, you need to create a new directory as a mount path. /media and /mnt are there for a reason, to keep your mount points within them. Create a new directory in /mnt and mount /dev/sda3 to it, and you will be good.
 
Old 10-07-2011, 07:12 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,365
Blog Entries: 16

Rep: Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146
You will probably want to put /dev/sda3 in your fstab.

Here's one of the clearest explanations of /etc/fstab that I've found:

http://www.tuxfiles.org/linuxhelp/fstab.html
 
Old 10-07-2011, 09:32 PM   #4
Karottenbaum
LQ Newbie
 
Registered: Oct 2011
Posts: 14

Original Poster
Rep: Reputation: Disabled
ok thanks, ill try that tommorow - im allready tyred!
thanks alot
 
Old 10-07-2011, 10:01 PM   #5
adventuremalcolm
LQ Newbie
 
Registered: Apr 2011
Posts: 6

Rep: Reputation: 0
RE: Can't mount sda1

Hi

an excellent document for understand what goes where in Linux is the Filesystem Hierachy Standard. You can get it a t http://www.pathname.com/fhs/pub/fhs-2.3.html

I hope you find it helpful.

Malcolm
-------------------------------

Quote:
Originally Posted by Karottenbaum View Post
Im not able to mount sda3.
just so you know, i installed xubunto and this long i know linux....

i created all three partitions as primary, when it came to sda3 (supposed to be for movies and music) i didnt know what mountpoint to select (dont know anything about mountpoints)..
but i choosed opt/ as mountpoint, bcause i didnt know what to do... as far as i remember i formated it as FA32 (i know not good)

i found a file named opt/ which has the size of ma partition but i cant write on it,

something else: is it a bad idea to create all three partitions as primary?

how can i make xubuntu make use of the SWAP?


sudo fdisk -l

Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb8f0ffa4

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1824    14647296   83  Linux
/dev/sda2            1824        2189     2929664   82  Linux swap / Solaris
/dev/sda3            2189        9730    60572672   83  Linux
 
Old 10-08-2011, 03:42 PM   #6
Karottenbaum
LQ Newbie
 
Registered: Oct 2011
Posts: 14

Original Poster
Rep: Reputation: Disabled
thanks for the hints and links, was very helpful.

my fstab looks like this now.

Code:
# /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
# / was on /dev/sda1 during installation
/dev/sda1	 /		ext4    errors=remount-ro 0       1
/dev/sda3       /mnt/Data	ext4    defaults        0       2
/dev/sda2	swap	swap	pri=42	 0 0
/dev/sda3 gets mountet and i made a shortcut to my desktop, but i cant write on it. there is just one lost+found file...
should i edit the read/write permissions or is something else wrong?

thanks alot people!
 
Old 10-08-2011, 06:55 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,279

Rep: Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380
Quote:
/dev/sda3 gets mountet and i made a shortcut to my desktop, but i cant write on it.
You mean you can't write to it as a normal user? or as any user? or even when using sudo? If you want users to be able to write to it you do need to give permission to users to do so. You can change the fstab entry from defaults to auto mount also as well as give users access and make it read/write, if you want?

Quote:
there is just one lost+found file..
That's all there should be there because you haven't written/copied any directories/files there because you haven't given permission to users to do so.
 
Old 10-09-2011, 12:59 PM   #8
Karottenbaum
LQ Newbie
 
Registered: Oct 2011
Posts: 14

Original Poster
Rep: Reputation: Disabled
sorry im a little overused with all that configuring...

can you give me a hint how to grant users permission?
i have only one user who uses sudo if necessary.
 
Old 10-09-2011, 01:44 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,279

Rep: Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380
Since sda3 is mounted at /mnt/Data, you can find out what the actual permissions are by typing this command in a terminal:

sudo ls -l /mnt/Data/

This will show permissions for user/group as well as who owns the file and the group which has access. If you don't understand it, post the output.

The command to change permissions is: chmod
You can post back the output of the ls command or read: man chmod or google chmod or changing permissions in linux to get more information.
 
  


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
copy whole drive sdb to sda3 EDDY1 Linux - Newbie 22 12-02-2010 12:17 PM
fresh 9.10 install reboot error no device trying to mount partition mount: can't fin bud1237 Ubuntu 1 06-24-2010 12:44 AM
Fedora 11: Cannot mount partition on Seagate FreeAgent Drive's secondary partition Erik Anderson Linux - Newbie 5 06-25-2009 01:10 AM
Waiting for sda3 to appear ss_zaidi Linux - Newbie 0 04-09-2009 02:03 AM
Increasing my sda3 partition size on gentoo Kyprioth Linux - General 6 05-07-2007 07:03 AM

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

All times are GMT -5. The time now is 10:19 AM.

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