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 11-24-2002, 07:14 PM   #1
geektb
LQ Newbie
 
Registered: Nov 2002
Location: oregon, USA
Distribution: Linux RedHat kernel-2.4.18-18.8.0
Posts: 2

Rep: Reputation: 0
Question 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
 
Old 11-24-2002, 07:21 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
/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
 
Old 11-24-2002, 08:50 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
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.
 
Old 11-25-2002, 12:24 AM   #4
geektb
LQ Newbie
 
Registered: Nov 2002
Location: oregon, USA
Distribution: Linux RedHat kernel-2.4.18-18.8.0
Posts: 2

Original Poster
Rep: Reputation: 0
you guys kick ass.

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

Thanks a bunch.

geektb
 
Old 11-25-2002, 12:26 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Sweet, it's always nice to get things working isn't it?

Cool
 
Old 11-25-2002, 03:03 PM   #6
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
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..
 
Old 11-25-2002, 08:17 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Hi, ciccio, he got to the RH page...

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

Cool
 
Old 11-25-2002, 09:54 PM   #8
heathimself
LQ Newbie
 
Registered: Nov 2002
Posts: 12

Rep: Reputation: 0
nm

Last edited by heathimself; 11-25-2002 at 09:56 PM.
 
Old 11-26-2002, 08:36 AM   #9
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
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
 
Old 01-05-2003, 03:44 AM   #10
devourer
LQ Newbie
 
Registered: Jan 2003
Distribution: red hat 8.0
Posts: 2

Rep: Reputation: 0
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
 
Old 01-05-2003, 03:46 AM   #11
devourer
LQ Newbie
 
Registered: Jan 2003
Distribution: red hat 8.0
Posts: 2

Rep: Reputation: 0
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!
 
Old 01-05-2003, 01:43 PM   #12
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
You shouldn't write on a ntfs partition. so when you mount it you would want to use the ro option.
 
Old 01-05-2003, 05:17 PM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

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

Cool
 
Old 01-05-2003, 09:34 PM   #14
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
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.
 
  


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
Need help with NFS mounting to a Win2k server. noone Linux - Networking 5 10-24-2004 01:56 PM
Mounting Win2k Shares w/Samba HKDude Linux - Newbie 2 01-25-2004 06:42 PM
Mounting NTFS partition in Redhat 9? Paul Parr Linux - General 7 05-01-2003 12:45 PM
Wierd problem mounting fat32 partition on redhat 8 floppycolon Linux - Software 3 03-02-2003 12:43 PM
Problem mounting SunOS disk on RedHat - unknown partition table jerrymc Linux - Software 2 12-03-2001 05:53 PM

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

All times are GMT -5. The time now is 11:09 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