LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-18-2003, 10:54 AM   #1
silkmaze
Member
 
Registered: Aug 2003
Location: Was in DE now in the Caribbean
Distribution: Suse 11.1
Posts: 39

Rep: Reputation: 15
Mounting extended windows partition


Help. I have a Dell 2 hd's. The first one, 80GB is partitioned into 2x40, the second, a 60GB is partitioned into 1x40 and 1x20.

when I type in fdisk -l /dev/hda I get:


Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 5100 40965718+ c Win95 FAT32 (LBA)
/dev/hda2 5101 5113 104422+ 83 Linux
/dev/hda3 5114 5178 522112+ 83 Linux
/dev/hda4 5179 9729 36555907+ f Win95 Ext'd (LBA)
/dev/hda5 5179 7728 20482843+ 83 Linux
/dev/hda6 7729 9003 10241406 83 Linux
/dev/hda7 9004 9663 5301418+ 83 Linux
/dev/hda8 9664 9728 522081 82 Linux swap

I want to mount hda5, thats where I have all my data, you know, stuff I've downloaded, etc.

I have created a mount point under /mnt called XP_P2P.
I then did the following

chmod a+rw /mnt/XP_P2P

No problems so far. then I mounted or tried to with

mount /dev/hda5 /mnt/XP_P2P -t vfat

and got the following message

mount: /dev/hda5 already mounted or /mnt/XP_P2P busy
mount: according to mtab, /dev/hda5 is mounted on /usr

I off I shuffled to /usr, no XP_P2P, I went back to /mnt and the mount point, XP_P2P was there, but it was empty.

So I'm kinda stumped. Where is all the data from my XP partition? Where IS my XP partition?

Anyone, Help please!!!
 
Old 08-18-2003, 10:57 AM   #2
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
i think your hda5 is not a windows partition.
 
Old 08-18-2003, 10:57 AM   #3
silkmaze
Member
 
Registered: Aug 2003
Location: Was in DE now in the Caribbean
Distribution: Suse 11.1
Posts: 39

Original Poster
Rep: Reputation: 15
Ok, quick update.

I changed the mount to hda4, not 5, and got the following message.

mount: wrong fs type, bad option, bad superblock on /dev/hda4,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)


How am I supposed to mount a extended partition? Can I do it at all?

Thanks.
 
Old 08-18-2003, 10:59 AM   #4
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
an extended partition is a primary partition divided into logical partitions.so try mounting the logical partitions.[they are hda5,6,etc]
 
Old 08-18-2003, 04:34 PM   #5
silkmaze
Member
 
Registered: Aug 2003
Location: Was in DE now in the Caribbean
Distribution: Suse 11.1
Posts: 39

Original Poster
Rep: Reputation: 15
The logical partitions are already mounted, they are linux partitions. The extended partition is the XP one, that I see under XP as drive D: . I in the listing it is listed as Win95 Ext'd , not a FAT32. That's my problem. It should be seen as a Fat32 partition, it is under XP, but since linux doesn't see it that way, I get that "wrong fs type" error when I tried to mount it..
 
Old 08-20-2003, 06:18 AM   #6
silkmaze
Member
 
Registered: Aug 2003
Location: Was in DE now in the Caribbean
Distribution: Suse 11.1
Posts: 39

Original Poster
Rep: Reputation: 15
Ok, I finally got it . I changed the mounting of the hda1 to hdb1 and it worked. My C drive is hda1 and the D drive is hdb1. It worked perfectly.

Thanks for your help.
 
  


Reply



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
Mounting Extended Partition damica Linux - Hardware 2 01-15-2004 09:02 AM
Mounting Extended XP Partition silkmaze Linux - General 4 08-20-2003 06:03 AM
Mounting extended vfat partition shaggz Linux - General 15 05-26-2003 06:33 AM
mounting a extended partition ntfs CleonII Linux - General 3 05-17-2003 10:02 PM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:40 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration