Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

missing win/dos partition

Status
Not open for further replies.

roeiboot

Technical User
Feb 10, 2002
241
US
oi,

i changed my server from Windows 2000 AS to Linux RedHat.. most of it seems to work fine (still learning Linux on a daily basis by working/playing with it). 1 thing i would like to knw & maybe you can help me with it. when i switched to Linux i had 2 partitions on that HD.. 1 of them is totally 'converted' to Linux, the other one is still a win/dos partition.. is there anyway to get on that partition from inside Linux ?? i do have Samba running and can access the Linux box from my Windows 98 workstation (not sure how i can access it the other way around tho..)

thanks in advance,
rb.
 
If vfat:
mount -t vfat /dev/partitionname /mnt
if ntfs:
mount -t ntfs /dev/partitionname /mnt

>man mount

Welcome to linux.
 
thanks for the welcome buddy :}} hehe.. problem here is i'm not 100% sure what the partion-name is plus i think there is a space in it, is that a problem you think ??

(assuming you mean the label-name with partition-name)

thanks!

 
Hi,

I think you mention "System" column instead of "Device".

Use "fdisk -l" to get the list of all disk partitions. It sould be of the form /dev/hda1 for 1st IDE drive 1st partition, /dev/hda2 for 1st IDE drive 2nd partition (/dev/hdbX for 2nd IDE drive, /dev/sdaX for SCSI), and that's what you have to indicate with mount.
 
i see this in the fdisk -l output:

/dev/hde1 Linux System
/dev/hde2 Extended

so i guess it's the second one... using
mount -t ntfs /dev/hde2 /mnt says, mount: fs type ntfs not supported by kernel (i use RedHat 7.1)
mount -t vfat /dev/hde2 /mnt says, mount: wrong fs type, bad option, bad superblock on /dev/hde2, or too many mounted file systems (aren't you trying to mount an extended partition, instead of some logical partition inside?)

keep in mind, the space i lost is not a harddisk, it's a partition.
 
from man fdisk:
The partition is a device name followed by a partition
number. For example, /dev/hda1 is the first partition on
the first IDE hard disk in the system. IDE disks can have
up to 63 partitions, SCSI disks up to 15. See also
/usr/src/linux/Documentation/devices.txt.

You don't have a filesystem on your extended partition.
What does fdisk -l -s /dev/hde2 tell you.
 
i do have a file-system on that partition.. that is if Linux install didn't screw it up :}
it's partition #2 on harddisk 1.. so i'm guessing it's hde2.

fdisk -l -s /dev/hde2 tells me nothing, no output.

oops.. all other hde's i try with that comand return with "no valid partition table"
 
Hmm..
How bout..
mount -l -t fat
mount -l -t vfat
mount -l -t ext2
mount -l -t ext3
mount -l -t reiserfs
also post the output of: cat /proc/filesystems



 
Hard drive device is hda (with a A) and not hde (with e E)

You should also have partitions starting at number 5. For Linux, Extended partition is just an "empty shell", and partitions you define under Windoze as logical are numbered from 5 (the 4 firsts are Windoze primary patitions)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top