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 would like to how i can see other partition that are available under windows system.
the parttions are formated fat32, and i am using redhat ver 9.
thanks
first, make a directory (like say, windows) (probably make it in /mnt)
then
mount -t vfat /dev/hdxx /your/directory
the hdxx is any of hda, hdb, hdc, hdd where hda is primary master, hdb is primary slave, hdc is secondary master and hdd is secondary slave. the second x is a number telling which partion. it could be 1, 2, up to 5 or 6 (or higher.....)
for example,
mkdir /mnt/windows
mount -t vfat /dev/hda5 /mnt/windows
then you can use konqueror/whatever to browse /mnt/windows/C/xxxxxxx
you will have to be root user to do the mounting (use the su command to become root temporarily)
if something is wrong, sorry, i am also still a newbie
I think red hat "sees" other dirves, but file tranfers between drives on the same machines may not be possible. I know that Windows sees the Linux drives as healthy, but identifies them as "unknown partition". I cannot access any Linux drives from Windows, even if the Windows drive is FAT32 or not.
well i suppose you just might have one problem. when you exit su mode...you wont be able to rwx (read-write-execute) as you mounted as partition as root. try giving options like this
Code:
mount -t vfat -o rw,user,umask=000 /dev/hdbx /mnt/mount-point
try manmount at the console or try google keyword "man mount" for more info.
I didn't realize this was possible. (I'm learning more in a few hours in here than by reading through mountains of documentation.) I guess viewing an NTFS drive from Linux is right out?
Distribution: SuSE 9.1 Pro, Linux XP Pro (based on Fedora Core 1), Knoppix, DeMuDi (Agnula Project)
Posts: 80
Rep:
You can view and access files stored on Windows partitions, including NTFS formated partitions, from some Linux distributions. The distros that set up the necessary mount points include SuSE (rpm distro), Knoppix (Debian based) and Mandrake (rpm distro) to name just a few.
Normally you can read files and play back MP3s etc saved on a Windows partition - I've just successfully burned an ISO file located on a Windows NTFS partition to CD using K3b on SuSE Linux 9.1.
What you can't do is save files TO a Windows partition from Linux, that is yet to come.
To make Windows partitions "visible" in Red Hat, you need to mount them. Please note that Red Hat 9 does NOT have support for NTFS partitions! Please visit this thread for more info:
Ok, if you can mount and read from it...is there a way you can set the permissions on the Windows partition to write to it as well? Just a thought at least. Almost makes me wish you could network it (which don't think you can anyways) like through Samba or something.
/dev/hdc2 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/hdc9 on /usr type ext2 (rw)
none on /dev/pts type devpts (rw,mode=0622) /dev/hdc5 on /edr type msdos (rw,umask=000,conv=a)
The above is an extract from my /etc/fstab and my `mount` commands in Linux. In DOS and W98, the the device mounted as /dev/hdc5 reads as e:. E-drive is a FAT system. Not tested for FAT32, but I expect it will work. Not sure about NTFS. I think it will need some permissions on the Windows server side.
Distribution: SuSE 9.1 Pro, Linux XP Pro (based on Fedora Core 1), Knoppix, DeMuDi (Agnula Project)
Posts: 80
Rep:
Basslord,
you can't network your Linux to your Windows partitions if they're all on the same system - not even Samba is that clever. Reason - your Windows system isn't booted!
No, so far there is no way to write to a NTFS partition from Linux, although I have managed to copy some files from SuSE to a Windows partition. These were MP3/AVI and JPG files, an rpm file and one tar.gz install file. How it did it when that's supposed to be impossible - no idea! Miracles happen!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.