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'm running Ubuntu 9.10 Main. I installed a second backup HDD to my system which is formatted in NTFS. Ubuntu sees it OK, but I'd like to format it in ext 3 or 4 as well.
Gparted does see it but only gives me formats like win98,beOS, and sun as a default format. If I try to unmount it I get: "Unable to unmount location. Daemon is inhibited." If I select load into terminal it shows: "/media/14G Western Digital HD$". Is there a way to format it within the command line? Thanks.
I was able to format it with ext 4, but when I try changing the permissions (say's I don't have it), with sudo chmod 777 I get "chmod: missing operand after `777'". How do I fix this?
"BLARG"? I don't know what an operand is. I just want to make my backup HDD accessible. Right now it just says I don't have permission to copy files to it. Why does this have to be so complicated?
Using chmod: you first specify the permissions you wish to set. In this case, 777 (readable, writable, executable by everyone).
After that, you specify the file or directory to which these permissions are to be applied.
For example, if you have mounted your hard drive as /mnt/hd2, you could change permission to that drive by: sudo chmod 777 /mnt/hd2
If there are files on the drive, you could recursively change all their permissions to 777 simultaneously by: sudo chmod -R 777 /mnt/hd2
NOTE: it sounds like something isn't right if you have formatted the drive as ext4 but are not able to access it. Did you mount it after creating the filesystem? sudo mount -t ext4 /dev/[device name here] /mnt/[directory to mount into]
replace [device name here] with the device name for this hard drive (you can get a list of devices with 'sudo fdisk -l'
replace [directory to mount into] with the directory you want to attach the drive to. (create this directory first!)
BTW: an 'operand' is just a bit of information which is fed into a command. "An input value or parameter."
It auto mounts. When I right click to "Open in Terminal", it shows as "jacatone@Dell /media/c5f7e03b-2c9c-4c76-abb1-a51ed7e05a14 $". So, what operand would I use to make it accessible? BTW, it has a Lost and Found file in it already. Thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.