Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
I want to be able to see partions on my hard drives. But in /mnt/ I only see cdrom and floppy. How do I see the and add the following 5 windows and FAT partions to my linux system so that I can see them and store data on them for later use in windows.
The following is my configuration:
Hard Drive 1 (8 GB) Primary IDE Master
(1GB Wind98)+(2GB Win2k)+(5GB RedHat 7.2)
Hard Drive 2 (15 GB) for data only 2ndary IDE Master
(3GB FAT32)+(3GB FAT32)+(9GB FAT32)
I can go straight there. I do this as root because I do it so rarely, but you can modify your /etc/fstab and make it available to all users.
I've never tried to write to the windows partion, and I understand that this is a no-no if you use ntfs. But just reading my fat partion has not caused any problems.
You can read more about it with $ man mount
~~~~~~~~~~~~~
I know better than to double post a question, but is a reply ok?
Hi all, yeah I do this same thing in my computer, and it works fine. I think you are right Tunedlow in that you cannot write to the windows partition, it will give you a, you don't have enough privileges, error message. However, you can copy from the windows partition into your linux partition. This is great since we don't have to reboot any more like before, :-D
Actually you can write to a fat/vfat partition. The standard warning is that vfat support is in alpha applies, but I've never caused a problem doing it. I dual booted various version of RedHat and 95 or 2K for years.
You have to be su to have the permission, or put umask=000 (I think it was) in fstab like so...
Ok this one works
$ mount -t vfat /dev/hda1 /mnt/vfat
but these all
$ mount -t vfat /dev/hda2 /mnt/vfat2
$ mount -t vfat /dev/hdb1 /mnt/vfat_b1
$ mount -t vfat /dev/hdb2 /mnt/vfat_b2
$ mount -t vfat /dev/hdb3 /mnt/vfat_b3
give this type of error
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
I know I have all FAT32 for my non linux partions so they shoudl all work just like the first command worked.
I was wodering if there a command to see what are my partions named in redhat..
but fdisk only displays the partition of the first primary hard drive.
On the doing
fdisk -l /dev/hdb gives me nothing at all. no message is displayed, no partition table. Nothing. Does that mean that my redhat doens't know that I have a 2nd hard drive.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.