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.
I am trying to mount a folder called checkit on an ntfs drive. The drive should be hdb . Problem is even though logged in as root I get a permission denied message... any ideas?
I'm using debian. As root, I typed "/dev/hdb /mnt/checkit" checkit is the folder that has the driver packages for my sound and video card to use in linux. I don't need nor want write permissions on that drive, I just want to get those files off from it.
First, you'll need to be root to mount.
Second, make sure the mount point /mnt/checkit exists.
Third: You will need to mount a partition, not the entire drive. If the drive only has 1 partition, it'll be hdb1. You can use:
fdisk -l (FDISK -L lowercase) to find out what partitions are existing on your system.
Fourth: You'll need to specify the filesystem with the mount command:
mount -t ntfs /dev/hdb1 /mnt/checkit
Fifth: This will mount the entire partition, then from there you'll move around the directories to the checkit folder and do your business
THX GUYZ! I got the drive mounted (or should I say / of that device) but it seems that the folders are not accessible.
One thing that I am sure will give me a prob is the the folder I am trying to access has a space in it. Do i type in qoutes so the kernal knows it should have a space? I tried these cd /check it ; cd check it ; cd "check it" when I list the directories they all said :No Such Directory ?!?!?!
When theirs spaces but a \ (backslash next too z key usually) before the space.
cd check\ it
Its best not to write to ntfs partitions, Linux support is still experimental. MS won't release the info needed to make it work fully, so its all guessing! So it might destroy your disk.
i hear ya man, i don't need to lose that drive out of em all I still can't seem to access any of the folders. when I type "dir -l |more" it lists all the folders but says the don't exist.....
if they don't exist how would it know they are there?
Originally posted by leonscape When theirs spaces put a \ (backslash next too z key usually) before the space.
do you have a picture of your keyboard, or a link to the site....cause as far as i know the z key is on the totally oppostie side of the board in comparison to the \ backslash key...anyways i am just curious to see a picture....just never heard of that before
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.