Partition mounting

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

Partition mounting

Postby Thomass on Sun Jun 29, 2008 8:49 pm

My pc shares its hard drive over multiple partitions including one for ALL of my media

is there a way to mount that partition so it can always be seen by linux

problem = if I start linux and open rythmbox all of my music disappears. If I browse computer/that partition first then go to rythmbox everything is fine.

small annoying problem that I am sure is easily fixed.

thanks for any help-
Thomass
 

Linux Mint is funded by ads and donations.
 

Re: Partition mounting

Postby 67GTA on Mon Jun 30, 2008 12:01 am

You can add it to your /etc/fstab file so it will be mounted at each boot. Once you have it mounted, go to /etc/mtab. There will be a temporary entry for that partition. Copy and paste it at the end of your fstab file and save it.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: Partition mounting

Postby Thomass on Mon Jun 30, 2008 7:30 pm

I got this code

You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again.

when trying to add this line

/dev/sda3 /media/disk fuseblk rw,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
Thomass
 

Re: Partition mounting

Postby 67GTA on Mon Jun 30, 2008 8:06 pm

You will have to have root permission to write to the fstab file. The easiest way is from a terminal. Just run
Code: Select all
sudo gedit /etc/fstab
this will open the fstab file with the gedit text editor with root permissions. You should be able to paste it in there then. Save it and reboot. Sorry, I just assumed you knew that. Anything that is not inside your home folder requires you to have root(administrator) powers. That is the reason Linux is so secure. sudo gives you(the user) temporary root powers.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: Partition mounting

Postby Thomass on Mon Jun 30, 2008 9:46 pm

see, now that worked.

I should have explained that I'm still a newb
Thomass
Level 1
Level 1
 
Posts: 6
Joined: Mon Jun 30, 2008 7:31 pm

Re: Partition mounting

Postby 67GTA on Mon Jun 30, 2008 9:51 pm

After using Linux for enough years, things like that become second nature. You tend to forget little things like that. Someone had to explain it to me several years ago :D
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: Partition mounting

Postby Thomass on Mon Jun 30, 2008 9:54 pm

ok, so after a quick reboot i see that it allowed me to enter the code I pasted above, but this did not mount my partition

also forgot to mention that the partition is ntsf

als sorry for not posting in the proper sub-forum, I just spotted that too!

I'm a mess :roll:
Thomass
Level 1
Level 1
 
Posts: 6
Joined: Mon Jun 30, 2008 7:31 pm

Re: Partition mounting

Postby 67GTA on Mon Jun 30, 2008 10:01 pm

Being ntfs will make a small difference. Delete the fstab entry you made, and install
Code: Select all
ntfs-config
with the package manager. It will be in your menu after installing it. It will let you set up read/write permission for it and create an entry in fstab for you.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: Partition mounting

Postby Thomass on Mon Jun 30, 2008 10:06 pm

neat-o

thank you!!
Thomass
Level 1
Level 1
 
Posts: 6
Joined: Mon Jun 30, 2008 7:31 pm

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 14 guests