Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
any help here would be better than a blank brain! my problem is i have created a new 'Photos' partition under ebian 4.0 using gparted. gparted returned no errors, but nautilus says
unable to mount the selected volume
libhal-storage.c 1401 : info: called libhal_free_dbus_error but dbuserror was not set.
process 10243: applications must not close shared connections - see dbus_connection_close() docs. this is a bug in the application.
error: device /dev/hda2 is not removable
error: could not execute pmount
as you can see, the device is on /dev/hda2, but i cannot work out for the life of me why i cant mount it. HEEELP!
ps. if ive missed anything out (bar punctuation lol), please let me know
i have just tried that to no avail. would it be because the partition has no mount point. gparted also reads it as ext3, so my question is: how do i change the mount point of the partition?
A partition without filesystem cannot be mounted - and if mounted mkfs would refuse to work.
You could try the -f switch to mkfs.
gparted reads it as ext3 because before the space belonged to a partition with ext3 on it(?)
It could be that you solve this by rebooting - not like the fix-all-solution for windows...but:
the partition table (layout) has changed - it could be that the kernel has problems even seeing the new partition - and thus cannot work on it.
After rebooting the creation of a filesystem there should be no problem.
There could be a way without rebooting - but I don't know it.
so now if you wish for that to mount automatically at every boot, you need to add an entry in your /etc/fstab file.
If you wish for PHOTOS to mount in a different location, say for instance under your home directory, you need to create a folder for it to use as a mount point in your home directory, then alter your fstab so that partition mounts to that folder..
As your normal user..
mkdir ~/photos
As root edit your /etc/fstab file
cp /etc/fstab /etc/fstab.bak - Back up your fstab file before starting nano /etc/fstab - Edit the file using nano, pico, vi or whatever you feel comfortable with
Add a line at the end of your /etc/fstab file like the following
Code:
/dev/hda2 /home/username/photos ext3 defaults 0 0
after that the partition should mount as /home/username/photos automatically every time you boot your machine.
yeah. i have done that already and everything is working fantastically. thanks for all the help lads. i feel like such an idiot, but i had no second clue, so thanks again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.