Page 1 of 3
[SOLVED] make windows HD visible in RH9
Posted: Wed Jan 07, 2004 5:58 pm
by qads
i installed linux on a new (almost, its formated) HD and i was wondering if it is possible to show another drive on linux, the drive i want to show has windows XP installed, i want access to some php files on it. i can always switch between them but where is the fun in that?
did i make any sense?
thanks in adv
Posted: Wed Jan 07, 2004 6:11 pm
by scorphus
What is the output off the following command:
I need this info to provide an accurate and definitive solution.
Cheers,
Scorphus.
Posted: Wed Jan 07, 2004 6:28 pm
by Pyrite
Just mount the NTFS partition.
Might have to load the ntfs module "modprobe ntfs"
Posted: Wed Jan 07, 2004 6:44 pm
by qads
Linux wrote:fdisk: invalid option -- 1
Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
@Pyrite
how?

Posted: Wed Jan 07, 2004 6:47 pm
by scorphus
It is l (lowercase L) fella
Is the win partition drive a slave? try
fdisk /dev/hda -l
and
fdisk /dev/hdb -l
and tell me the output
Posted: Wed Jan 07, 2004 6:54 pm
by Pyrite
Yes, do "fdisk -l" and note the drive hdx that contains your NTFS partition.
Then you can mount it by doing something like.
mount /dev/hdx /somedirectorywhereyouwanttomountit
Replacing hdx with your NTFS partition. ie. hda2 or hdb2.
Posted: Wed Jan 07, 2004 7:01 pm
by scorphus
I'm thinking to give him directions to setup /etc/fstab so he won't need to mount everytime he needs it. There are important options such as utf8, uid, gid and umask. Also remember that the partition may be (hopefully) formated as FAT32 instead of NTFS.
Posted: Wed Jan 07, 2004 7:03 pm
by Pyrite
Hopefully? You're kidding right? FAT32 sucks!
If and after you mount it. to add the line to fstab, simply copy the line from /etc/mtab to /etc/fstab. done.
Posted: Wed Jan 07, 2004 7:15 pm
by scorphus
No, I'm not kidding. Actually _both_ suck (deeply), I had very bad experience with NTFS (system faults and data loss). Systems such as Linux (yes) does not support it (not 100%) and other don't support it att all (win98). Others, such as Mac need an extension to work with it (
https://sourceforge.net/projects/ntfsosx/ ). I recommend noone to use NTFS.
Regards,
Scorphus.
Posted: Wed Jan 07, 2004 7:17 pm
by Straterra
Yeah, I have a Windows 98 SE server and a WinXP machine..and it sucks not being able to access anything from the WinXP Machine on the Win98SE machine!
Posted: Wed Jan 07, 2004 7:22 pm
by Pyrite
I'm sorry, but journaled filesystems such as NTFS are much more stable/faster/secure than FAT filesystems. This isn't a Linux vs Windows debate. Especially if you are running NT, running NT on FAT blows. If you're going to dualboot and you want to share files between the two, I'd suggest you use NTFS for WindowsXP, another journaled filesystem for Linux like reiserFS or jfs/xfs etc and then create a third partition that is vfat for sharing files between the two.
Posted: Wed Jan 07, 2004 7:42 pm
by scorphus
Yeah, it is more secure and reliable (
http://www.azsage.org/present/052097/tsld011.htm ). But that's for servers and video editors (as they need large-size files). A home user won't need it. Nor an advanced user. Until he came into a problem when trying to recover something lost or trying to access it from another system.
Posted: Wed Jan 07, 2004 7:53 pm
by Pyrite
You can recover files much easier from NTFS5 than you can from FAT. And Linux has excellent NTFS read support.
You're right about the performance differances, but I beg to differ that it does matter, even for home users.
And ntfs.com is the official site for ntfs.
http://www.ntfs.com/ntfs_vs_fat.htm
Posted: Wed Jan 07, 2004 8:16 pm
by scorphus
I had no success when trying to recover files from NTFS. And when in trouble it's hard to boot from a floppy or from a cdrom. Had to backup the relevant data on my ext3 partition from Linux.
I was also a bit bored when trying write to my Win2000 NTFS from Linux. Although Linux gurus made such a _great_ job hacking the NTFS to write the module, write support is still experimental.
Anyways, for me NTFS means trouble and headache, not solution.
Thanks for the additional information, Pyrite. This kind of discussion is always educational.
Cheers,
Scorphus.
Posted: Wed Jan 07, 2004 8:34 pm
by Pyrite
Yea nuff said. Sorry you had trouble, but Microsoft can be dumb as a brick sometimes.