Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 14-08-2004, 12:39 AM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Aug 2004
Location: VNS India
Posts: 12
Default Problem Mounting NTFS partition on Red Hat 9.0


Can anybody tell me how to mount NTFS partitions on REDHAT 9.0 Linux?
I tried to mount it from the command line but it displays an error saying that NTFS is not supported on my system.
Moin is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 14-08-2004, 10:47 AM   #2 (permalink)
Broken In
 
Join Date: Dec 2003
Location: kolkata
Posts: 123
Default

The default kernel shipped with redhat 9 is kernel v 2.4*(i dont exactly remember the release). It has read support for NTFS parttition but red hat has not enabled it in the default compilation. So for NTFS support you have to recompile the kernel, using the kernel source in the usr/src/linux-2.4 directory.Follow these steps to reconfigure the kernel.
1.type 'make mrproper' in the terminal to clean up the kernel configuration directories.
2.cd to the directory containing the source code and run the command 'make xconfig'.(remember you need to have x-window enebled for this to work as this a graphical interface. If u prefer menus, type make menucofig ). from here configure what you want in the new kernel. if you r in doubt, consult the help.
3. type 'meke dep'. this command checks the kernel configurations for any dependancies ypu missed.
4.type 'make clean'. this command cleans the kernel source tree.
5. now that you have configured the kernel, you need to create an image to boot from. for this, run the command 'make bzImage'. it creates a compressed image of the kernel.
6.chew your nails(if you have nothing better to do)
7.if you have selected any kernel feature as loadable modules, you need to run the commands 'make modules' and 'make modules_install' in that order to compile and store the modules in the /lib/modules/kernel folder.
8.copy the file 'bzImage' to the /boot directory.
9.you can now close the terminal window if u want to.
10.enter the folder /boot/grub and add the following lines to the grub.conf file:--
title Mykernel
kernel /boot/bzImage
note: if you have a separate /boot partition, the second line should not include /boot. just see whats in ur grub.conf file, willya? and if you want to see any other name in the boot loader screen instead of 'Mykernel', feel free to replace it.
11.reboot

if you have any problems, feel free to post.

WHEW!! :roll: :roll:
technomodel is offline  
Old 14-08-2004, 10:52 AM   #3 (permalink)
Broken In
 
Join Date: Dec 2003
Location: kolkata
Posts: 123
Default

oh, i forgot. if u dont find the source code, it just means u have not installed the source code during installation. in that case, just get it from the installation cd, or download the latest stable kernel from the net.
technomodel is offline  
Old 14-08-2004, 11:24 AM   #4 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default

I have this written somewhere. Will find this out and post it here as soon as I find it. In the mean time, contacrt GNUrag, firewall or Ricky here. One of them will surely be able to help you out.
__________________
:: Free hosting and free domain names available in special cases. Conditions apply ::
tuxfan is offline  
Old 14-08-2004, 06:19 PM   #5 (permalink)
Broken In
 
Join Date: Oct 2003
Location: Palakkad Kerala
Posts: 190
Default

Here we go:

You said you have red hat. So open the Konqurer goto /etc open fstab and look for something like this

/dev/hdc1 /mnt/C-ntfs: ntfs defaults 0 0


If you have that get the latest kernel from kernel.org and do what he (technomodel)said above.

If you have that goto /mnt and make a directory like c: or mydisk. Lets call it c:

Then go back and take /etc/fstab and add this line

/dev/hdc1 /mnt/C : ntfs defaults 0 0

here /dev/hdc1 is the device (it depends on your hard disk) it could be hda1 or some think like that. I suppose it hdc.

hdc1 is your c: partition in windows the same way d: is hdc5 e: is hdc6 f: is hda7. If you have more than that try it yourself .

Then /mnt/c: is the folder where you gonna mount it. So if you want to mount another partition make another folder in /mnt (like /mnt/d: ....) and edit fstab according to that. So for D it wll be

/dev/hdc5 /mnt/D: ntfs defaults 0 0

If you want to mount a fat partition instead of ntfs add vfat.
Thats it you've dont it now manke a link on your desktop for that try right clicking on your desktop add link to new hardware then right click open and select the device.

BTW IF YOU ARE RECOMPILING YOUR KERNEL DONT FOR GET TO ADD SUPPORT TO NTFS( thats why you are doing it). And just a bit of caution if you find some problems with your new kernel dont panic it is going to follow you until you become a geek (or otherwise reinstalling will help) and in that case plz post your problems we will try to help you.
BONZI is offline  
Old 14-08-2004, 11:09 PM   #6 (permalink)
Certified Nutz
 
sreevirus's Avatar
 
Join Date: Jan 2004
Location: The 3rd rock from the sun
Posts: 310
Default

now that the topic has been put up, i'm facing the same problem in fedora core 2 (2.6.5-1.358)
i dloaded the appropriate rpm from http://linux-ntfs.sourceforge.net/rpm/fedora2.html
i ran the rpm and added these to the fstab:
Code:
/dev/hda5 /mnt/D ntfs defaults 0 0
/dev/hda6 /mnt/E ntfs defaults 0 0
but when i try to mount ntfs thru the terminal, i get an error stating that "ntfs is not supported"


how do i overcome this???
__________________
"Don't take life too seriously. You'll never get out alive!" - Bugs Bunny
sreevirus is offline  
Old 15-08-2004, 12:07 AM   #7 (permalink)
Broken In
 
Join Date: Oct 2003
Location: Palakkad Kerala
Posts: 190
Default

Since it has 2.6.xx kernal recompiling will help. Do as technomodel said and add support to NTFS. Anyway you can write to NTFS. So its always better to keep some space as fat to share files between windows and linux.
__________________
NOT Logged out for ever (well certainly) ;)
BONZI is offline  
Old 15-08-2004, 12:11 AM   #8 (permalink)
Broken In
 
Join Date: Oct 2003
Location: Palakkad Kerala
Posts: 190
Default

In the point 10 mentioned by technomodel if you have lilo add these lines

image=/boot/vmlinuz-2.6.xx
label=Linux2.6.xx
root=/dev/hda5

and save

then run lilo in terminal
__________________
NOT Logged out for ever (well certainly) ;)
BONZI is offline  
Old 15-08-2004, 07:52 PM   #9 (permalink)
Broken In
 
Join Date: Dec 2003
Location: kolkata
Posts: 123
Default

LILO WILL WORK ONLY IF U INSTALL A THIRD PARTY BOOT LOADER. as far as i know lilo has no support for win xp or nt. so the best option for a boot loader if u r dual booting with nt/xp is grub.
technomodel is offline  
Old 16-08-2004, 11:29 PM   #10 (permalink)
Broken In
 
Join Date: Oct 2003
Location: Palakkad Kerala
Posts: 190
Default

Quote:
LILO WILL WORK ONLY IF U INSTALL A THIRD PARTY BOOT LOADER. as far as i know lilo has no support for win xp or nt. so the best option for a boot loader if u r dual booting with nt/xp is grub.
Lilo itself is a bootloader so you dont need another bootloader. And there is no support problems with xp or nt as far as I know.
BONZI is offline  
Old 16-08-2004, 11:42 PM   #11 (permalink)
In The Zone
 
Join Date: Dec 2003
Location: Mumbhai
Posts: 496
Default

dude is right..

2 bootloaders available for linux ( redhat espically ) are LILO and GRUB .. both support multiOS booting including XP/2000 etc..

@sreevirus..

I am not sure of exact kernel u using but 2.6 allows NTFS system.. else u can re-compile kernel and swith on NTFS support..
__________________
I\'M BACK
khandu is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by topgear
- by abhidev
- by clmlbx
- by Sarath

Advertisement




All times are GMT +5.5. The time now is 05:28 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2