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 have a second HD connected through USB. I can open this hard disk from /disks/dos/... But i noticed i cannot delete any files or add any to this drive.
Any suggestions? Thnx
what filesystem is it?
if its a fat drive...then you'll have to edit the /etc/fstab ..
add an option: umask=000
or specify a userID such as: UID=500
so an example line would look like
/dev/hda /mnt/disk vfat user,umask=000,rw 0 0
or replace where i have umask=000 if you just want to specify it for a particular user...
Has the disk been mounted with the ro (read-only) option? Try setting the uid and gid options (execute "man mount" for more information). The mount point info is stored in /etc/fstab.
If its NTFS a typical entry in /etc/fstab would look like this (this is an example ) - Again - post your fstab file so we can have a look at it - Ive give instructions in the last post.
If your file-system is NTFS then it will definately be mounted as read-only as support for writing to NTFS filesystems is experimental at the moment and has been known to break the filesystem. Your best option is to create a small FAT32 partition which will be rad-write accessible from both Windows and Linux and can serve as a place to put files that need to be accessible from both OSes.
so how do i mkae a fat32 partition on this drive. I dont know if it matters but i am using Lindows. I know nothing so if you can give details i'd greatly apreciate it THNXS
If you are resizing the NTFS partition then I recommend you use Partition Magic under Windows XP. If you are using Linux then the commands to use are resize2fs and parted. The manpages for both of these commands should show you how to use them.
Try:
resize2fs -p (linux partition device) (new size in blocks)
parted (drive (not partition) device)
then type help at the parted prompt to see the commands available. I suggest print, then resize, then mkpartfs, then quit. Once parted is finished, reboot and run mkdosfs -F 32 (new partition device file) to create the filesystem.
Once mkdosfs is complete then you should be able to mount the partition under linux and it should appear as an extra drive letter under Windows. To make linux mount the filesystem at boot add a line to your /etc/fstab file:
(new partition device) (new mount point) vfat defaults 0 0
P.S. unmount partitions before resizing them.
P.P.S. booting from a rescue cd-rom mey help if you wish to resize your root partition.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.