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.
first you should check whether it's not mounted yet; Ubuntu may do that automatically; no need to mount anything that is already mounted. Have a look in /mnt/windows.
You may also have to log out now so that the ntfs-3g can be loaded first. To find out whether it's loaded, type:
lsmod
and check whether you see any reference to ntfs-3g; if you do, you're OK.
if there isn't a /mnt/windows yet, you need to create it.
mkdir /mnt/windows
Next step is mounting the partition:
mount -t ntfs-3g /dev/sda5 /mnt/windows
Have a look in /mnt/windows; if you still can't see anything, we'll have to come up with something different.
Btw, it's getting very late here so unless you post back quick I may not be able to take this up again before tomorrow.
I suggest you take the suggestions seriously: boot into Windows first and let it do a system check if that's what it wants to do. The very fact that you could see files on the ntfs partition from the terminal but not in graphical mode was in itself an indication that something wasn't quite right. You may possibly have been working too hard at it without the proper modules so that the partition was slightly hurt. So do the wise thing and let win check itself first; otherwise you may completely lose the partition and all the data (keep your fingers crossed that's not the case yet).
Then reboot into Ubuntu and see whether it makes a difference.
What this means is that the system could actually read the "Guitar Stuff" directory from the /mnt/windows directory from the beginning. It also means that "Guitar Stuff" is a directory owned by root and is read only by root. i.e. NO OTHER USER can access it, so that clearly the GUI was never going to get access to it. Whether the data has now been broken by loading ntfs-3g I can't say. I know nothing about that software, other than I think it's in early early stages of development.
I would advise you to consider doing "man mount" and looking through the parameters "-t" and "-o" to see and try to understand exactly what I'm having you do. But, in a nutshell, this opens a read-only ntfs partition located at /dev/sda5 onto /mnt/windows. I don't know what effect the ntfs-3g will have, but since we're opening it as ntfs and not ntfs-3g, it shouldn't be a problem.
Last edited by Quakeboy02; 03-07-2007 at 10:16 PM.
If this mounts OK and you're able to do the "cp -a etc", you will need to do still another command to be able to see them from your home directory. This is the command, and I Cannot Stress Strongly Enough that you MUST NOT run this against "/mnt/windows"! Look at the man page for "chown" to see what I'm having you do.
Code:
sudo chown -R youruserid "Guitar Stuff"
In this case, I believe youruserid to be "ian", if I've been reading correctly. DO NOT do this against /mnt/windows!!!!! Do it only to the "Guitar Stuff" directory you create by the copy command.
Last edited by Quakeboy02; 03-07-2007 at 10:22 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.