I’ve just installed OS11 and have my swap/home/… partitions all on my primary sda drive. I have a second sdb drive installed with a single reiserfs partition (used to store my media).
I managed to mount the sdb drive to a folder to backup my sda files before my clean install from OS10.1 to 11, but now I’d like to mount this drive to ‘My Computer’ on the desktop.
My problem is that I am unexperienced with the terminal commands so can anyone please explain how to do this?
Thanks
[got nowhere when trying to find an existing post so apologies if this has been covered already!]
When all is fine it will show all your partitions. Select the one that cobvrs your second disk > Edit. Fill in where you want it mounted. Of course DO NOT FORMAT. Finish.
I think YaST will have made the fs read/write, but did the mount point exist before you called YaST or is it made by YaST?
When it was already there it may have no write access for everybody. So (as root) do an ls -l of the mount point (and the dirs in the path above it) to see who is the owner and what the access bits are. You can changewith chmod (or even change the owner with chown).
What if you have a separate hard drive hooked up, just for mass storage, and it doesn’t appear in /etc/fstab, and you don’t know its serial number (such as /dev/disk/by-id/scsi-SATA_ST3500320AS_5QM02D0H)?
I have a WD hard drive with my OS on it, then just recently I added a Seagate hard drive for storage. But the seagate hard drive doesn’t show up in /etc/fstab, just the WD:
Oh, I see what I was doing wrong. I had “do not mount at startup” checked. I unchecked it, and now it’s mounting at startup, which is what I wanted. Thanks for your help everyone!
YaST does not mount at all at startup. Mount at boot (normal file systems) is done via fstab.
When you want any help, please be more helpfull to us. When you say that working with YaST as shown here does not work for you then please tell what happened, what went wrong and where, etc. Only saying: “it does not work” will not get you any further.
Ok, I’ll try to post more information in the future.
I’m still having a problem, which is that I have to be SuperUser to edit anything in my storage partition, sda1. I want to be able to write changes to it as a normal user.
I went to the /media directory and did ls -la to see the partitions:
I want to be able to make folders and move files around in the sda1 partition without having to be SuperUser. I tried doing “chmod 775 /sda1”, but after that, here’s what it looked like:
and it still would not let me create folders in sda1 without being SU.
I will try to figure this out by myself, I don’t expect you to do all the work for me. But if you see an obvious mistake I’m making, I wouldn’t mind if you pointed it out
I suppose this is a typo in your post: chmod 775 /sda1.
Should be chmod 755 /media/sda1 or, while you are already in /media, chmod sda1.
It was 755 (rwxr-xr-x) and you made it 775 (rwxrwxr-x), I do not understand your **but after that, here’s what it looked like:
**. It looks exectly as it is and it is what you made it.
Why did you 775?? it means that the owner (user root) and those belonging to the group (group root) can read, write and search the directory and that the world (all other users) can only read and search. So obvious it should be 777 to make it world writeable!
Btw do you realy want to have that disk space at /media? When it is your space as normal user it looks more logical to me to mount it at e.g. /home/<user>/music or any other place and name inside your personal home directory. But that is your choice.
Oh, I didn’t know you could mount it anywhere. I thought you had to mount all hard drives and flash drives at /media. Also, I didn’t know that it was ok to chmod 777 an additional hard drive. I thought that was a security vulnerability that would make it susceptible to cracking.
I think you should forget some old habits from others Operating Systems. A partition (part of a disk, called hard drive by you, but floppies are the same), once mounted are a normal part of the directory tree. So you can let it be owned by any user. When it is mounted in the home dirctory of a user it you can also chown the directory to that user and then the user (or root) can chmod to something like 755. Same as any directory or file inside that users home directory. The same security as everywhere in the system.
/media is nothing particular, only a place where people happen to mount CDs and DVDs, but that is only a convention or habbit. There is no magic in computers! Why should /media be something different then /aap/noot/mies/wim?