Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NTFS Question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
lee4th
n00b
n00b


Joined: 15 Jul 2004
Posts: 5

PostPosted: Thu Jul 15, 2004 4:55 pm    Post subject: NTFS Question Reply with quote

I'm a new linux user (actually using Fedora 2) and I'm just starting out in the Linux enviroment. However I messed up WinXP somehow. A friend has advised to use the WinXP cd and go into recovery console and run fixboot and fixmbr. I'm going to try this but wondering if anyone knows how to backup some of the important files on the linux side of it (manupulation of NTFS files from Linux enviroment). Any advice anyone could give would be greatly appreciated. The other thing I know is my kernel isn't setup to handle NTFS. If anyone could tell me how to add support (in dummy terms please) for NTFS, it would be appreciated.

Thanks.
Back to top
View user's profile Send private message
Marctraider
Guru
Guru


Joined: 24 Dec 2003
Posts: 387

PostPosted: Thu Jul 15, 2004 4:57 pm    Post subject: Reply with quote

I still dont actually understand what you're trying to do, but NTFS kernel support is limited, reading NTFS drives is ok but writing and changing gets limited :(
FAT32 on the other hand works perfect :)
_________________
MOBO: Maximus II Gene
RAM: DDR2 OCZ 4GB
CPU: E6400 Conroe
GPU: HD2600XT
SATA: 3x 250GB.
Back to top
View user's profile Send private message
lee4th
n00b
n00b


Joined: 15 Jul 2004
Posts: 5

PostPosted: Thu Jul 15, 2004 5:03 pm    Post subject: Reply with quote

Would there be a way to convert the drive from NTFS to FAT32 in the linux enviroment? Probably another question I should have originally asked.

Thanks.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54834
Location: 56N 3W

PostPosted: Thu Jul 15, 2004 5:43 pm    Post subject: Reply with quote

lee4th,

NTFS support in linux is limited. Its OK for backups though because reading works.

You need to build the NTFS kernel module if you don't have it already. Test with the following:-
Code:
grep NTFS /usr/src/linux/.config
I get
Quote:
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set
which shows I have the module.
As root doing
Code:
mount /dev/<NTFS_Partition> /mnt/floppy -t ntfs
mounts it on the /mnt/floppy mout point for reading.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
lee4th
n00b
n00b


Joined: 15 Jul 2004
Posts: 5

PostPosted: Thu Jul 15, 2004 6:37 pm    Post subject: Reply with quote

Running the first command grep NTFS /usr/src/linux/.config, I get grep: /usr/src/linux/.config: No such file or directory

Any advice? Thanks.
Back to top
View user's profile Send private message
Fiouz
n00b
n00b


Joined: 13 Jan 2004
Posts: 25

PostPosted: Thu Jul 15, 2004 6:41 pm    Post subject: Reply with quote

If you're running 2.6 kernel (don't know Fedora), you can try
Code:
zcat /proc/config.gz | grep NTFS
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54834
Location: 56N 3W

PostPosted: Thu Jul 15, 2004 7:18 pm    Post subject: Reply with quote

lee4th,

Sorry, it didn't register that you are running a binary distro.
Try the second command anyway, if the mount works, and you can browse /mnt/floppy then NTFS is available to you.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
lee4th
n00b
n00b


Joined: 15 Jul 2004
Posts: 5

PostPosted: Fri Jul 16, 2004 2:28 pm    Post subject: Reply with quote

It says that NTFS is not supported by kernel. Any thoughts? Thanks.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54834
Location: 56N 3W

PostPosted: Fri Jul 16, 2004 2:52 pm    Post subject: Reply with quote

lee4th,

Its roll your own kernel time.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
lee4th
n00b
n00b


Joined: 15 Jul 2004
Posts: 5

PostPosted: Fri Jul 16, 2004 2:57 pm    Post subject: Reply with quote

Wow, that sounds scary. Any advice or help you could give. I've never done it before. Thanks again.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54834
Location: 56N 3W

PostPosted: Fri Jul 16, 2004 3:14 pm    Post subject: Reply with quote

lee4th,

I've not used RH since RH8. I downloaded all 6 CDs of RH9 and installed Gentoo instead.

You need to install the kernel sources of your choice, You probably have an RMP of that or get a kernel source tree from somewhere.
Don't mess with the content od /usr/src/linux thats shpposed to be a stable set of kernel headers.

Get a 2.6 kerenl from kernel.org or a mirror and put it in /home/<ordinary_user>. Untar it there, cd to the new directory and read the README.

It fairly safe, even if it doesn't work, since you are going to have two kernels installed, like a dual boot system.

After you have read the readme, do
Code:
make xconfig
,
choose all the bits you want (including the NTFS filesystem). It will take a few hours to do the config the first time but you will get it down to 10 min.

Post back when you have got as far as running the
Code:
make
make modules_install
and I'll tell you how to try to boot it.

Some rules of thumb for configuring a kernel.
1. Say 'Y' to anything required for booting
2. Say 'N' to anything you know you don't want
3. Say 'M' to anything you may want or will want after boot.
4. If you don't understand the help on an item dont mess with it. The defaults are 'mostly harmless'.

[hard sell]By the way, the kernel build is the hardest bit of a Gentoo install.[/hard sell]
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum