LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting Win2K Partition in RedHat 8.0 (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-win2k-partition-in-redhat-8-0-a-36358/)

geektb 11-24-2002 07:14 PM

Mounting Win2K Partition in RedHat 8.0
 
I have a Dell Latitude CpxJ running dual boot Windows 2000 and Linux Red Hat 8.0 (kernel-2.4.18-18.8.0) of 1 30GB IBM hard drive.

I am having trouble mounting my windows partition through Linux.
I tried mount -t vfat /dev/hda1 /mnt/win
and mount -t msdos /dev/hda1 /mnt/win

and got the following error:
mount: wrong fs type, bad option, bad superblock on /dev/hda1, or too many mounted file systems.

Anyone have any suggestions on why this is not working????
I am very new to Linux so sorry if this is a stupid question.

I am posting some info below that might be of help.

Thanks in advance,

geektb
Portland, OR

fdisk -l
Disk /dev/hda: 255 heads, 63 sectors, 3648 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2373 19061091 7 HPFS/NTFS
/dev/hda2 2374 2386 104422+ 83 Linux
/dev/hda3 2387 3551 9357862+ 83 Linux
/dev/hda4 3552 3648 779152+ f Win95 Ext'd (LBA)
/dev/hda5 3552 3648 779121 82 Linux swap

fdisk -l /dev/hda1

Disk /dev/hda1: 255 heads, 63 sectors, 2372 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1p1 ? 13578 119522 850995205 72 Unknown
Partition 1 does not end on cylinder boundary:
phys=(371, 101, 51) should be (371, 254, 63)
/dev/hda1p2 ? 45382 79243 271987362 74 Unknown
Partition 2 does not end on cylinder boundary:
phys=(299, 114, 44) should be (299, 254, 63)
/dev/hda1p3 ? 10499 10499 0 65 Novell Netware 386
Partition 3 does not end on cylinder boundary:
phys=(353, 115, 52) should be (353, 254, 63)
/dev/hda1p4 167628 167631 25817+ 0 Empty
Partition 4 does not end on cylinder boundary:
phys=(0, 0, 0) should be (0, 254, 63)

Partition table entries are not in disk order

MasterC 11-24-2002 07:21 PM

/dev/hda1 * 1 2373 19061091 7 HPFS/NTFS

that's why.

It's NTFS, which isn't supported by default on RH8. There are numerous threads around on getting support though, and supposedly it's almost as easy as simply installing an RPM and viola. Then the mount command will be:
mount -t ntfs /dev/hdx /mnt/wherever

Cool

michaelk 11-24-2002 08:50 PM

http://www.linuxnewbie.org/forum/sho...threadid=76160

See the link in the sig for mdwatts. This will allow you to read NTFS without recompiling the kernel.

geektb 11-25-2002 12:24 AM

you guys kick ass.

I installed RPM and it's working like a charm.

Thanks a bunch.

geektb

MasterC 11-25-2002 12:26 AM

Sweet, it's always nice to get things working isn't it? ;)

Cool

Ciccio 11-25-2002 03:03 PM

sorry.. but redhat supports NTFS partitons... all new linux distros do.

try mount -t ntfs /dev/hda1 /mnt/win

btw... what does your fstab say???

sorry to ansewr so late... it seems to me that this forum is closed already..

MasterC 11-25-2002 08:17 PM

Hi, ciccio, he got to the RH page...

Actually RH8 doesn't support NTFS out of the box for some unknown reason...

Cool

heathimself 11-25-2002 09:54 PM

nm

Ciccio 11-26-2002 08:36 AM

Ok... if you say so... I've never actually worked with RH8.0... and it seems logical to me that it doesn't support NTFS....

Save the penguin :Pengy:

devourer 01-05-2003 03:44 AM

Re: Mounting Win2K Partition in RedHat 8.0
 
Quote:

Originally posted by geektb
I have a Dell Latitude CpxJ running dual boot Windows 2000 and Linux Red Hat 8.0 (kernel-2.4.18-18.8.0) of 1 30GB IBM hard drive.

I am having trouble mounting my windows partition through Linux.
I tried mount -t vfat /dev/hda1 /mnt/win
and mount -t msdos /dev/hda1 /mnt/win

and got the following error:
mount: wrong fs type, bad option, bad superblock on /dev/hda1, or too many mounted file systems.

Anyone have any suggestions on why this is not working????
I am very new to Linux so sorry if this is a stupid question.

I am posting some info below that might be of help.

Thanks in advance,

geektb
Portland, OR

fdisk -l
Disk /dev/hda: 255 heads, 63 sectors, 3648 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2373 19061091 7 HPFS/NTFS
/dev/hda2 2374 2386 104422+ 83 Linux
/dev/hda3 2387 3551 9357862+ 83 Linux
/dev/hda4 3552 3648 779152+ f Win95 Ext'd (LBA)
/dev/hda5 3552 3648 779121 82 Linux swap

fdisk -l /dev/hda1

Disk /dev/hda1: 255 heads, 63 sectors, 2372 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1p1 ? 13578 119522 850995205 72 Unknown
Partition 1 does not end on cylinder boundary:
phys=(371, 101, 51) should be (371, 254, 63)
/dev/hda1p2 ? 45382 79243 271987362 74 Unknown
Partition 2 does not end on cylinder boundary:
phys=(299, 114, 44) should be (299, 254, 63)
/dev/hda1p3 ? 10499 10499 0 65 Novell Netware 386
Partition 3 does not end on cylinder boundary:
phys=(353, 115, 52) should be (353, 254, 63)
/dev/hda1p4 167628 167631 25817+ 0 Empty
Partition 4 does not end on cylinder boundary:
phys=(0, 0, 0) should be (0, 254, 63)

Partition table entries are not in disk order


devourer 01-05-2003 03:46 AM

NTFS IS'nt supported by default in red hat 8.0,sorry,I have the same problem so......i need help too with getting redhat 8.0 to support ntfs fs!

Ciccio 01-05-2003 01:43 PM

You shouldn't write on a ntfs partition. so when you mount it you would want to use the ro option.

MasterC 01-05-2003 05:17 PM

Yes, true. But unless you specifically ALLOW this in the kernel, you cannot write to it anyway.

Cool

Ciccio 01-05-2003 09:34 PM

I don't use ntfs anyway, so I didn't know that. However if you write to a ntfs partition from linux you risk losing it. Windows may not detect it, or say it's corrupted.


All times are GMT -5. The time now is 05:32 AM.