LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-26-2002, 01:48 AM   #1
MrPolite
Member
 
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109

Rep: Reputation: 15
Unhappy cant mount windows partition


I used to try this before and it would work
mount -t ntfs /dev/hd0 /mnt/WinXP

it says "s type ntfs not supported by kernel"
what should I do?!
 
Old 08-26-2002, 01:55 AM   #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
modprobe ntfs

If that doesn't work, guess what? Time for a kernel update, and ntfs support included...

Good luck
 
Old 08-26-2002, 02:03 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Re: cant mount windows partition

Quote:
Originally posted by MrPolite
I used to try this before and it would work
mount -t ntfs /dev/hd0 /mnt/WinXP

it says "s type ntfs not supported by kernel"
what should I do?!
Recompile your Kernel with NTFS support ... ;)
http://www.tldp.org/HOWTO/Kernel-HOWTO.html

Cheers,
Tink

Last edited by Tinkster; 08-26-2002 at 02:20 AM.
 
Old 08-26-2002, 02:14 AM   #4
MrPolite
Member
 
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MasterC
modprobe ntfs

If that doesn't work, guess what? Time for a kernel update, and ntfs support included...

Good luck
'it says command not found.... I dont get it. I installed redhat 7.3 and I'm using KDE AND I'm a linux idiot. No idea what's going on
 
Old 08-26-2002, 02:15 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
modprobe would be entered into a terminal, not the "run" area. Open up an xterm, or CTRL ALT F2 to a blank terminal, and login as root, then try:
modprobe ntfs
 
Old 08-26-2002, 02:44 AM   #6
MrPolite
Member
 
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MasterC
modprobe would be entered into a terminal, not the "run" area. Open up an xterm, or CTRL ALT F2 to a blank terminal, and login as root, then try:
modprobe ntfs
I couldnt find that xterm thingie. I typed the last commands in KONSOLE.
I tried ctrl alt f2 and when I typed that I got an error message... I dont remember the error, becuase I rebooted the comp. Just tell me how to get back to graphical mode after I press ctrl alt f2 and I'll try it again to see what the error was
thanks for the help
 
Old 08-26-2002, 02:49 AM   #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
ALT F7 probably

And here's a trick to help you post the error:
highlight the "error message" in console, then use the middle mouse button (or the 2 buttons together if no middle button) to paste the highlighted info.
 
Old 08-26-2002, 02:50 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
And the only reason I could think of for getting "command not found" in a terminal would be if you weren't root, so don't forget to be root.
 
Old 08-26-2002, 02:52 AM   #9
MrPolite
Member
 
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MasterC
And the only reason I could think of for getting "command not found" in a terminal would be if you weren't root, so don't forget to be root.
I typed su and typed the pass, isnt that right?
 
Old 08-26-2002, 02:59 AM   #10
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, but 'su -' would be more correct.
 
Old 08-26-2002, 04:53 PM   #11
MrPolite
Member
 
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109

Original Poster
Rep: Reputation: 15
I tried that, it says "Can't locate module ntfs"....what's wrong?!!
 
Old 08-26-2002, 08:48 PM   #12
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
It means that you kernel was compiled without ntfs support, the best option is to get the newer kernel from http://www.kernel.org and compile it yourself - NTFS support is under FileSystem area in the kernel configuration, if you've never tried to compile your own kernel I suggest searching here as well as going to http://tldp.org to read kernel-HOWTO.
Good luck.
 
Old 08-26-2002, 09:31 PM   #13
MrPolite
Member
 
Registered: Jun 2002
Location: Middle of nowhere
Posts: 109

Original Poster
Rep: Reputation: 15
tnx I've been using linux maybe for a total of 2 hours in my life I'll take a look at that and I'll post if I have a problem

there is a program for redhat 7.3(update agent or something), I updated the kernel to a newer version (I think), still doesnt work... I guess I'll have to go with the site you gave me
 
Old 08-26-2002, 10:23 PM   #14
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Actually you can recompile the kernel you got off the up2date, it is RH practices not to include ntfs support in their stock kernels because it is concidered experimential. Go to /usr/src/linux-2.4/configs directory as root
copy the appropriate config file t to one directory up (/usr/src/linux-2.4) as .config,
cd /usr/src/linux-2.4/configs
cp kernel-2.4.x.-arch.config ../.config
make xconfig
choose whatever suits your system better
make dep
make bzImage
make modules
make modules_install

Now if you have SCSI devices you need to create initrd.img file as follows
/sbin/mkinitrd kernel.version-extraversion /boot/initrd-kernel.version-extraversion.img
cp arch/i386/boot/bzImage /boot/whatever_you_want_your_kernel_to_be_called
cp System.map /boot/System.map-kernel.version-extraversion
ln -sf /boot/System.map-kernel.version-extraversion /boot/System.map
and adjust LILO or GRUB (whichever is your boot loader) to reflect the changes. Re-run lilo with /sbin/lilo in the case of GRUB the changes are immediate after you edit GRUB config file. For more info per-use tldp website.
 
Old 08-29-2002, 09:43 PM   #15
Zachary
LQ Newbie
 
Registered: Aug 2002
Location: Toronto, Canada
Distribution: Redhat 7.3
Posts: 17

Rep: Reputation: 0
sorry to butt in here but i am trying to follow your instructions above..

after "make config" you say to choose whatever suits my system.... how do i know what is right for my system?? there's a heck of a lot of choices, and i don't know if i should pick No over Yes...i'm very confused on this one..
do i just ignore all the config options until i find the one that says 'enable ntfs read support?"


and the other thing, I am supposed to have Bash in either /bin/bash or bin/sh or $BASH.. but when I use 'make config' i get this stuff

/bin/sh: gcc: command not found
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
/bin/sh scripts/Configure arch/i386/config.in
#
# Using defaults found in .config
#
* Code maturity level options
*
Prompt for development and/or incomplete code/drivers (CONFIG_EXPERIMENTAL) [Y/n/?]

what is going on???

Zach.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot mount windows partition scng Linux - Networking 6 07-09-2005 10:56 PM
How many windows partition can I mount? subaruwrx Debian 4 12-23-2004 06:29 PM
Mount Windows partition? JoseSilva Linux - General 7 01-27-2004 11:44 PM
how do i mount my windows partition ? abiagi Linux - Newbie 8 12-07-2003 06:45 PM
can't mount windows nt partition cyberswami Linux - General 3 01-26-2003 09:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:43 PM.

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