accessing windows partition from linux partition
Hi,
I know its impossible to read the linux partition from windows but i read somewhere its possible to read a ntfs partition from a linux partition. I currently have a dual boot and if i could transfer data from my windows xp partiition to my linux partiton without having to put data on cd's etc that would be very useful. Can anyone help out, or point me to any resources that can explain how this is done? Im using redhat 9. Thanks |
Assuming windows was the first thing installed, did you look in the /mnt/ directory? There should be a 'win_c' or something like that in there. That would be the windows partition.
|
Red Hat currently doesnt include a NTFS driver because of uncertainties surrounding the legal status of the driver
So - to READ a NTFS partition from Red Hat, you can either:
Check out this site for an RPM http://linux-ntfs.sourceforge.net/info/redhat.html 2nd - You'll need to create a mount point as root user with mkdir /mnt/windows Then put a line in /etc/fstab - modify this one to include the device name for your Windows partition: /dev/hda1 /mnt/windows ntfs umask=0222,auto,ro 0 0 Incidentally - you can use Explore2fs from Win XP to get access to Linux filesystems - check out this site for more info: http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm |
ok thanks, ill get on it now. Also sorry to the mods, someone just made a very similar post about 10 mins before, i didn't see it when i posted this though.
|
hi again
how can i see my partition table ? I thought fdisk from the shell would bring this up. i know what my ntfs partition is called but while i was editing usr/fstab (incidentally what does fstab stand for?) i noticed my swap partion is on hda4. I have only the one hard disk so this is confusing. If i can see the partition table under linux i can see how i need to edit the ntfs entry. thanks |
fdisk -l /dev/hda
will give you the partition table of hda. |
Quote:
Quote:
Quote:
:) |
Remember to use
su - (su with a space then a dash after it - to get Root user's PATH to get access to fdisk) |
Word of caution
Make sure you don't mount as writeable. The line that Skyline suggested is correct. It will be read only. Do not try to write to NTFS. You can really hose the system.
Skyline: I didn't know you were supposed to put a '-' after su. I never did and it worked fine. Just tried it. Yours different somehow? :confused: Might I suggest that you have a small partition that is fat32. Both Linux and NTFS can read/write to that. That is safe. Hope that helps. :D :D :D |
Quote:
|
I thought there may be something different. I have used fdisk and cfdisk before with no problems. Guess Mandrake is different from Redhat. Need to remember that. Crap, no room left in my brain. Need to throw out something. I know, I'll throw out some of that windoze crap. I don't use it anyway. :D
Later guys, and gals. Any gals out there? Never mind ;) ;) :D :D :D :D |
thanks everyone. Skyline u're totally right about the su - , i'd been using su and then wondering why i STILL didn't have root access. I've edited fstab and but i still cant mnt windows partition, maybe i edited it wrongly. Skyline u said to modify this line to include the device name for the windows partition. So i typed
/dev/hda1 /mnt/windows hpfs/ntfs umask=0222,auto,ro 0 0 If the device name is simply hda1 then i have modified fstab and when i reboot i see 'fail' and 'fs type hpfs/ntfs not supported by kernel' . (I also tried simply with ntfs) Also will windows be mounted as soon as i get the right commmand in fstab or do i have to keep rebooting. thanks |
Hi there well i am an new bee ,well i know an s/w which mounts linux partitions in windows mode,its " Mount Everything "
About Paragon Mount Everything Paragon Software GmbH presents the new product Paragon Mount Everything that provides a unique ability of accessing files on all prevailing file systems of the most popular platforms. Historically, because different operating systems were supporting different file systems, it was a large discomfort for people who used several platforms on a single computer. For example, a document created in a particular operating system may be inaccessible from another one, so that one should actually duplicate a file to open it. Then one must synchronize the two copies of the document. The seemingly easy action of copying files to another location becomes a nuisance when source and target locations are available under different operating systems. Paragon Mount Everything solves these problems now you can access almost every file system from the running operating system as if it were "native" one. The program provides "foreign" partitions with drive letters, so that the given software can work transparently with these drives browse contents, open documents, run applications, work with existing files and create new ones. 1.1 How Paragon Mount Everything works Modern operating systems are based on the concept of Installable File System (IFS) drivers. You just need to provide an operating system with a proper file system driver to be able to access its contents in a usual manner. Paragon Mount Everything includes a set of such installable file system drivers that allow you to access "foreign" file systems under Linux, Windows and DOS environments. Supplementary disk management utilities provide an ability to perform basic hard disk partitioning functions create, delete and format partitions. After proper components of Paragon Mount Everything have been installed, an operating system is able to assign drive letters to foreign file systems and work with files placed on them. If an operating system is also able to assign drive letters to partitions within a working session, you can dynamically mount and dismount foreign partitions, too. 1.2 What you can do with Paragon Mount Everything Paragon Mount Everything allows the user to: Browse disk contents and read files on NTFS and Ext2/Ext3 partitions. Create new files and folders and modify existing files on NTFS and Ext2/Ext3 partitions Select a partition to be mounted and a drive letter to be assigned (under Windows NT, 2000 and XP and DOS). Perform basic disk management functions: o create partitions o delete partitions o format partitions to FAT-16, FAT-32, NTFS, Ext2, Ext3, ReiserFS file systems o hide/unhide partitions o select a bootable partition Primary features Paragon Mount Everything is released in Personal and Professional versions. Both Personal and Professional versions include following features: Supporting NTFS ver. 1.2-3.1 (Windows NT 4.0, 2000 and XP) Supporting compressed NTFS drives. Supporting both Ext2 and Ext3 file systems Supporting partitions larger than 4GB with all environments (DOS, Windows, Linux) Windows-based drivers for Windows 95/98/ME, Windows NT/2000 Workstation & Pro, Windows XP. DOS-based drivers for read-only accessing NTFS and Ext2/Ext3 volumes Linux-based driver supporting read-only access to NTFS volumes A full access to Ext2/3FS and NTFS under all Windows versions Scripts for automated batch processing under all environments Basic partitioning functionality available under Windows: creating, deleting, formatting partitions Selecting and changing drive letter for mounted partitions under Windows NT/2000/XP and DOS environments Creating bootable DOS diskettes with including access to NTFS volumes, and supporting removable media like CD-ROM, ZIP, and JAZZ etc. Bootable CD-ROM: one can boot into DOS or Linux environment with this CD. Both DOS and Linux environments include a read-only access NTFS drives support. With Linux, one is able to copy files from NTFS volumes onto CD-R(W) discs. Following features are included in the Professional version only: Windows-based drivers for Windows NT Server and Windows 2000 Server. A full read-write file access for all cross-platform combinations (see table below). Paragon Partition Manager is included: an ultimate tool for on-the-fly partitioning and non-destructive repartitioning of hard disks. A bootable CD included in the Professional version provides a full access to NTFS drives under DOS and Linux environments. Under Linux you are able to copy files from NTFS volumes onto CD-R(W) discs. Home Page :www.mount-everything.com/ Download : www.sofotex.com/ Paragon-Mount-Everything-Personal-download_L14453.html |
Hi Dave:
You just need ntfs in the 3rd field of fstab not hpfs/ntfs. The device name of your Windows partition would just be something like /dev/hda1 or /dev/hda2 etc incidentally - whats the output of fdisk -l and yes - when the correct line is in fstab Windows will be mounted at boot up each time you boot. |
[QUOTE]Originally posted by dalek
<snip> > Later guys, and gals. Any gals out there? Never mind ;) ;) <snip> Yes, there are :) :) cheers, WahWah |
All times are GMT -5. The time now is 06:32 PM. |