LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   cant mount windows partition (https://www.linuxquestions.org/questions/linux-general-1/cant-mount-windows-partition-28788/)

MrPolite 08-26-2002 01:48 AM

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?!

MasterC 08-26-2002 01:55 AM

modprobe ntfs

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

Good luck

Tinkster 08-26-2002 02:03 AM

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

MrPolite 08-26-2002 02:14 AM

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:confused:

MasterC 08-26-2002 02:15 AM

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

MrPolite 08-26-2002 02:44 AM

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

MasterC 08-26-2002 02:49 AM

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.

MasterC 08-26-2002 02:50 AM

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.

MrPolite 08-26-2002 02:52 AM

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?

MasterC 08-26-2002 02:59 AM

Yes, but 'su -' would be more correct.

MrPolite 08-26-2002 04:53 PM

I tried that, it says "Can't locate module ntfs"....what's wrong?!!

neo77777 08-26-2002 08:48 PM

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.

MrPolite 08-26-2002 09:31 PM

tnx :) I've been using linux maybe for a total of 2 hours in my life:D 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:D), still doesnt work... I guess I'll have to go with the site you gave me

neo77777 08-26-2002 10:23 PM

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.

Zachary 08-29-2002 09:43 PM

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.


All times are GMT -5. The time now is 03:36 PM.