Guest x2x Posted January 26, 2004 Report Share Posted January 26, 2004 Is there any way to take files from my C: Drive (Windows XP Drive) and put those files here, so I can later burn the data on to CD's? Or is there any way for me to do the opposite; take a file and put it in a folder on C: Drive? Please respond. Thanks. Quote Link to comment Share on other sites More sharing options...
Gowator Posted January 26, 2004 Report Share Posted January 26, 2004 If its an NTFS XP partition then writing is considered risky in linux. Ive done it, its worked and Ive been lucky but the reverse is easy. You should be able to mount the partition normally with mount /dev/hda1 /mnt/XP presuming the partition is on hda1 (first partition of first hard drive) and /mnt/XP already exists. You can help it with by adding -t ntfs to then end then linux should magically load the module ntfs.o and mounbt the filesystem. A fully speced line might read mount -t ntfs -o ro /dev/hda1 /mnt/XP then you can just copy the files across. Quote Link to comment Share on other sites More sharing options...
Guest x2x Posted January 26, 2004 Report Share Posted January 26, 2004 Lol, okay...I'm lost. So I type this stuff in a console? Quote Link to comment Share on other sites More sharing options...
Gowator Posted January 26, 2004 Report Share Posted January 26, 2004 x2x Don't worry ...just post up which partition it is ?? i.e. In terms of Primary controller/secondary and Master Slave.... Then how is it partitioned ??? you can type fdisk /dev/hda then p (prints partitions) then q (quit) Don't touch write or anything.... else but it should list your partitions.... In DOS speak (only one disk installed) C:=/dev/hda1 D:=/dev/hda2 (or if its in an extended partition /dev/hda5) Just try this with each disk and post it up, ill look when I get home in about an hour BUT Ill bet someone has already solved it for ya by then Quote Link to comment Share on other sites More sharing options...
Guest x2x Posted January 26, 2004 Report Share Posted January 26, 2004 Sorry, still lost but here is what I DO know... Linux is on partition hda5. There is another partition that is hda6. I think the hda5 one is the Linux, but I'm still not sure. When I try unmounting it, it cancels my action out. But same with the hda6 partition. My Windows XP is on partition /mnt/windows. Data hda5 Mount point: / Type: Journalised FS: ext3 Size: 4GB (10%) Formatted Mounted Empty Size: 612MB (1%) Cylinder 563 to 645 hda2 Mount point: /mnt/windows DOS drive letter: C (just a guess) <-- that was written on the program Type: NTFS (or HPFS) Size: 30GB (80%) hda6 Mount point: swap Type: Linux swap Size: 2.4GB (6%) Images: hda2 (XP) http://www.geocities.com/choc0pi/hda2.png hda5 (Journalized FS: ext3) http://www.geocities.com/choc0pi/hda5.png hda6 (swap) http://www.geocities.com/choc0pi/hda6.png Empty http://www.geocities.com/choc0pi/empty.png Please check them out and tell me whats up. Thanks. Quote Link to comment Share on other sites More sharing options...
Lord Kenneth Posted January 26, 2004 Report Share Posted January 26, 2004 Can't you just browse the windows folders in /mnt/windows or /mnt win_c or whatever, and drag it to your desktop/another folder? Linux has no problem w/ reading from NTFS, it's writing to it that's experimental (and dangerous to your data). Your windows data, obviously, is on hda2. Quote Link to comment Share on other sites More sharing options...
Guest x2x Posted January 26, 2004 Report Share Posted January 26, 2004 The thing is, /mnt/windows is empty. Quote Link to comment Share on other sites More sharing options...
scoopy Posted January 26, 2004 Report Share Posted January 26, 2004 I think we need to see your fstab file. You should find it in /etc . Also, please post your OS your using (Mandrake 9.2 ?) thanx, Quote Link to comment Share on other sites More sharing options...
Guest x2x Posted January 27, 2004 Report Share Posted January 27, 2004 Okay, I'm on Mandrake 9.1, and here is the data of the fstab... /dev/hda5 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda7 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0 /dev/hda2 /mnt/windows ntfs iocharset=iso8859-1,ro,umask=0 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 Quote Link to comment Share on other sites More sharing options...
Guest x2x Posted January 27, 2004 Report Share Posted January 27, 2004 Okay, I reinstalled Mandrake. I can look at my C: drive now. But I can't read to it, which I really need to do in order to replace my hal.dll file which is corrupted or missing (preventing me from using Windows). Thanks. Quote Link to comment Share on other sites More sharing options...
scoopy Posted January 27, 2004 Report Share Posted January 27, 2004 I don't know if you would be able to write a good copy of that file, even if you could read and write to the ntfs partition. You may want to check out this page: http://www.kellys-korner-xp.com/xp_haldll_missing.htm If you can't restore it the way they say (at the bottom of that page) maybe try putting it on a floppy and booting with a dos/ win98 startup disk and then rewrite that boot.ini file to correct the problem. If you need a bootdisk: http://www.bootdisk.com/bootdisk.htm PS: I was wondering why hda2 ? I never seen that before... always been hda1. Quote Link to comment Share on other sites More sharing options...
Gowator Posted January 27, 2004 Report Share Posted January 27, 2004 x2x Did Scoopy's post help ?? If you somehow write over the boot partition and can only boot XP don't worry that can be fixed easily. The NTFS write in Linux is not reliable, MS designed NTFS that way, its not the fault of Linux. Therefore as scoopy says playing about trying to rewrite the boot.ini from linux is probably not the best solution, better from a bootable Win CD. when its up and running you might want to check out partimage which makes backups of whole partitions (compressed). Scoopy's question on hda2 (not hda1) is quite relevant, did you have two versions of Windows installed at some point? Quote Link to comment Share on other sites More sharing options...
Guest x2x Posted January 28, 2004 Report Share Posted January 28, 2004 Hehe, I think it's over for me now, bu I see a light of hope...barely but I see it. The reason is, well, I typed one of the commands Gowator gave me (you didn't do anything wrong, it was because I didn't back myself up) and now I can't even read C:\. It appears as my regular Linux harddrive. And my guess is, my XP drive got deleted, but I still have hope that all my data is still there, I just have to reconnect hda2 to XP. Oh, and about why it's hda2...don't ask me. Hewlett Packard makes the worst computers you could ever imagine. Well, thanks for the links, if there is any way to reverse what I did then please tell me. Oh, and I typed a bunch of commands, but the only one that didn't return an error, the one I assume is the one that changed my XP drive to hda5, is: mount /dev/hda5 /mnt/windows Well, again, thanks for reading, and for all your help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.