LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 05-15-2002, 07:52 PM   #1
Mystakill
LQ Newbie
 
Registered: May 2002
Distribution: SuSE 8.0 Pro
Posts: 5

Rep: Reputation: 0
Can I mount extended XP partitions?


and/or logical drives? If so, how?

TIA
__/\/\ystakill
 
Old 05-15-2002, 11:22 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
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

Last edited by neo77777; 05-15-2002 at 11:23 PM.
 
Old 05-16-2002, 05:22 PM   #3
Mystakill
LQ Newbie
 
Registered: May 2002
Distribution: SuSE 8.0 Pro
Posts: 5

Original Poster
Rep: Reputation: 0
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.

Last edited by Mystakill; 05-16-2002 at 06:24 PM.
 
Old 05-16-2002, 09:27 PM   #4
Mystakill
LQ Newbie
 
Registered: May 2002
Distribution: SuSE 8.0 Pro
Posts: 5

Original Poster
Rep: Reputation: 0
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to mount extended partitions ngjunkie0011 Suse/Novell 16 07-14-2005 03:39 PM
fstab extended partitions Chrax Slackware 2 01-03-2005 06:19 PM
Primary and Extended Partitions Flossie Linux - Newbie 2 03-16-2004 12:25 PM
What can extended partitions be used for? imemyself Linux - Hardware 4 02-29-2004 06:55 PM
Primary and Extended Partitions batman Linux - Software 1 10-18-2000 01:17 PM


All times are GMT -5. The time now is 08:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration