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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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...
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.
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.
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.