05-18-2003, 08:20 PM | #1 (permalink) |
Upright
|
Mega stupid linux/windows question
Hi, I think I'll be giving up my geek card for asking such a stupid question but here it goes.
I run mostly linux, however I have a dual boot that I use for games. Now, My deal is, I've got an NTFS partition that I would ideally like to see under both OSes. Works fine in Win2k (shock) but I can't even find it as a drive under Linux (running redhat 8 on this particular box). NTFS support is compiled in my kernel, I just can't mount the partition (mainly because it doesn't exist as far as linux is concerned o_O ) . |
05-18-2003, 08:44 PM | #2 (permalink) |
Loves my girl in thongs
Location: North of Mexico, South of Canada
|
Fat32
fat32 support is availible in all Kernal distros, and has a much greater compatability level. You can convert the ntfs partition to fat32 easier than you think, and then the partition will be viewable under both unix/linux and mac environments. All around crosss compatability is always the way to go.
__________________
Seen on an employer evaluation: "The wheel is turning but the hamsters dead" ____________________________ Is arch13 really a porn diety ? find out after the film at 11. -Nanofever |
05-19-2003, 07:47 AM | #4 (permalink) |
Psychopathic Akimbo Action Pirate
Location: ...between Christ and Belial.
|
I disagree with the previous posters. Linux kernel NTFS support is great FOR READ-ONLY. Write support is experimental and will likely thrash your NTFS partition. arch13 makes a decent point about FAT32, but NTFS is far superior in my opinion.
So, if you only wish to view and copy files from that NTFS partition, you should be fine. That said, it sounds like you are doing what you should be doing. What error message do you get when you try to mount your NTFS partition?
__________________
On the outside I'm jazz, but my soul is rock and roll. Sleep is a waste of time. Join the Insomniac Club. "GYOH GWAH-DAH GREH BLAAA! SROH WIH DIH FLIH RYOHH!!" - The Locust |
05-20-2003, 11:57 AM | #6 (permalink) |
Insane
Location: Plugged In
|
1. less /proc/filesystems
If ntfs is listed, you have NTFS support. If not, go grab the appropriate RPM. http://linux-ntfs.sourceforge.net/info/redhat.html 2. Make a mount point. mkdir /mnt/windows 3. mount -t ntfs -o ro /dev/hda? /mnt/windows Replace hda? with the partition that is your ntfs partition. The "-o ro" means read-only. Don't use write support unless you absolutely have to (i.e. an emergency). |
05-20-2003, 11:58 AM | #7 (permalink) | |
Insane
Location: Plugged In
|
Re: Fat32
Quote:
|
|
05-20-2003, 02:01 PM | #8 (permalink) |
Loves my girl in thongs
Location: North of Mexico, South of Canada
|
Ranish Partition manager and partition magic have experimental support (read:at your own risk), and some distros of linux support this experimintal capablity as well. (i'm think here of madrake corporate ed., which just recently began to toy with the concept.) Slashdot.com and forge also have some experimental RPM's availible.
But as always, BACK IT UP.
__________________
Seen on an employer evaluation: "The wheel is turning but the hamsters dead" ____________________________ Is arch13 really a porn diety ? find out after the film at 11. -Nanofever |
05-21-2003, 10:29 AM | #9 (permalink) |
Upright
|
The problem is when I go to even list drives, it doesn't show up at all. There is no hdaX for it. So I can't add it to my devices or even begin to mount it. I tried mounting just a bunch of random hda devices to see if it just wasn't showing up in the drive manager utility but none of them worked.
|
05-21-2003, 08:38 PM | #10 (permalink) |
Insane
Location: Plugged In
|
Go to a command prompt and execute the following command as root:
fdisk -l /dev/hda This is what I get on one of my systems: Disk /dev/hda: 30.7 GB, 30750031872 bytes 255 heads, 63 sectors/track, 3738 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 14 3681 29463210 83 Linux /dev/hda3 3682 3738 457852+ 82 Linux swap Granted, I don't have any non-Linux filesystems on this machine, but they will show up. NTFS partitions will show up as NTFS or possible HPFS (old OS/2 filesystem that shares some heritage with NTFS). |
05-24-2003, 09:40 PM | #11 (permalink) |
Upright
|
I've converted my partitions to fat 32. When I list in Fdisk I get HDA 7 as being a FAT 32 partition.
This is my /etc/fstab Device Boot Start End Blocks Id System /dev/hda1 * 1 255 2048256 b Win95 FAT32 /dev/hda2 256 5494 42082267+ f Win95 Ext'd (LBA) /dev/hda5 256 2423 17414428+ 83 Linux /dev/hda6 2424 2551 1028128+ 82 Linux swap /dev/hda7 2552 5494 23639616 b Win95 FAT32 When I try and mount I get a fs type FAT32 not supported by kernel. I supposed I have to go back and check... I thought for sure I had FAT32 support also. |
Tags |
linux or windows, mega, question, stupid |
|
|