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
Last edited by qads on Sun Jan 11, 2004 4:15 am, edited 1 time in total.
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
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.
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.
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.
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.
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.