Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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
# /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?
/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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.