LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can I mount extended XP partitions? (https://www.linuxquestions.org/questions/linux-newbie-8/can-i-mount-extended-xp-partitions-21061/)

Mystakill 05-15-2002 07:52 PM

Can I mount extended XP partitions?
 
and/or logical drives? If so, how?

TIA
__/\/\ystakill

neo77777 05-15-2002 11:22 PM

Only logical drives on extended partitions can be mounted. To figure out which one it is, do
fdisk -l
the output will be in a form
/dev/ide/host0/bus0/target0/lun0/part1 * 1 324 2602498+ c Win95 FAT32 (LBA)

from here you can derive that it is (in my case even though it's not logical drive on extended partition)
/dev/hda1 (note 1 is the /part1 of the fdisk output)
and it can be mounted as
mount -tvfat /dev/hda1 /mnt/windows
this is pertain to my case, your can be different (logical drives start from /dev/hda5, ntfs partitions are mounted with -tntfs instead of -tvfat, and it only works if the kernel was compiled with ntfs support)
Good luck

Mystakill 05-16-2002 05:22 PM

I guess I should have provided a little more detail on my setup:

I'm running SuSE 8.0 on /dev/hdd3, with swap on /dev/hdd2. /dev/hdd1 contains a FAT32 partition that I can mount fine, but it's only 4GB. My first disk (/dev/hdb) contains one primary partition, hosting Windows XP, and an extended partition containing three logical NTFS partitions. I can currently mount the primary partition by specifying "-t ntfs", but I get an error when trying to mount the logical drives (I'm working in XP at the moment, so I don't recall the exact message).

At any rate, I'd like to be able to mount the logical drives in that extended partition. Otherwise, I've got 60GB of data that I need to move somewhere, and I don't have enough space on my other system to host it while I reformat.

Mystakill 05-16-2002 09:27 PM

I figured it out. Silly me -- I thought that the partition numbers were contiguous. It seems that my first logical drive was /dev/hdb5, not /dev/hdb2 or 3 (2 was the Extended partition).

I ran SuSE's YaST Partitioner, and it was immediately obvious why I couldn't mount what I thought should have been the right devices :)

Now that I know what devices to mount, it's all good.

Thanks anyway!


All times are GMT -5. The time now is 05:22 PM.