LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help mounting 2nd partition on WinXP drive (https://www.linuxquestions.org/questions/linux-newbie-8/help-mounting-2nd-partition-on-winxp-drive-160275/)

harnadem 03-20-2004 01:56 PM

help mounting 2nd partition on WinXP drive
 
I have a dual-boot system with two HD's. The first hard disk (hda) has WinXP with a "c-drive" partition (hda1) and a "d-drive" partition (hda2). The second hard drive has RH9 running.

This is my second install of RH9. I used to be able to mount both hda1 and hda2 partitions from Linux. However, when I re-installed RH9 I can only mount hda1 partition.

When I try to mount hda2 partition I receive the following message:

[root@localhost dosd]# mount -t vfat /dev/hda2 /mnt/dosd
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 have no idea why I could mount the hda2 partition previously, but now cannot. The second install was a clean install after having tried some other linux distribution.

Any ideas of what I can do to access my files on the hda2 partition? I know that I can always boot into WinXP and copy the necessary files to the hda1 partition, but I am running out of room, and would prefer to access the hda2 partition.

Is there a way to make RH9 "see" the hda2 partition? Or do I have to do another clean install?

tvn 03-20-2004 03:08 PM

If you're not sure that your FAT partition (D) is /dev/hda2 , use #fdisk -l /dev/hda (as root), the -l flag list the partition table on hda.

harnadem 03-21-2004 09:38 AM

Thank you for the help! From the listing I discovered that my second WinXP partition is hda5 and not hda2 as I had assumed! Now I can access my files with ease.


All times are GMT -5. The time now is 10:47 PM.