LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-17-2004, 05:38 PM   #1
shadowofanubis6
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Rep: Reputation: 0
partition problem


I have made a seperate partition on my hard drive for mandrake. I now have xp and mandrake installed... is there a way to transfer files between the two partitions? In windows i dont see the other partition and in linux i dont see the windows partition of the drive.
 
Old 10-17-2004, 05:52 PM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Windows XP cannot read or write Linux partitions.

"Out of the box" Linux can READ from XP (NTFS) partitions but it cannot write to them.

If you go into the Mandrake Control Center you can mount your Windows Partitions under Linux.

However a MUCH better solution is this:

http://www.jankratochvil.net/project/captive/

It works so well it's not even funny.

It grabs a few drivers from your Windows XP install and uses them UNDER LINUX to safely access the XP NTFS partition.

After installing this, Linux can read and write to your XP partition safely.

Check it out.
 
Old 10-17-2004, 07:32 PM   #3
shadowofanubis6
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
alright i downloaded the rpm and ran it... says everything's already installed. Where do i go to start the program?
 
Old 10-17-2004, 08:18 PM   #4
hari_seldon99
Member
 
Registered: Jun 2003
Location: Front of PC
Distribution: Linux Mandrake
Posts: 212

Rep: Reputation: 30
Linux CAN edit NTFS partitions. The kernel module is experimental and risky and can damage your datablocks, but it can be done by including the module in your xconfig file in the kernel source tree and making a new bzImage or just be rebuilding your modules. You can look at details by browsing kernel.org. However, it's better to use the captive-NTFS tool (as stated above) in Linux. The windows partition should be detected and entered in /etc/fstab automatically (it did in mine). If not, then check if "diskdrake" detects it or not. If not, use "qtparted" partition manager or just simply "fdisk" in linux to detect it and take down the device name and enter it manually in fstab. Even if that doesn't work (unlikely), then goto windows and run "acronis" or something and see your partition table there, then edit fstab in linux accordingly. It might help to keep a shared FAT32 partition in ur machine. Fat32's can be detected, read from and written to by both linux & windoze, so u can transfer stuff across OS'es using that partition. linux ext3 filesystems CAN be read from/written to in windoze. You will need to install the windows ext3 file ystem driver (see

http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm

and

http://e2fsprogs.sourceforge.net/ext2.html
 
Old 10-17-2004, 08:50 PM   #5
shadowofanubis6
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
i can access the windows partition by going to mnt/windows and everything would be there, im just curious if it's safe to write and read stuff from there. I can view pictures and such from my xp partition so i guess the files are accessible. I dont see the captive program anywhere though... that's the problem. I installed it but it's nowhere to be found.

Last edited by shadowofanubis6; 10-17-2004 at 08:57 PM.
 
Old 10-17-2004, 10:31 PM   #6
shadowofanubis6
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
http://img98.exs.cx/img98/7231/Screenshot.png

That's what im lookin at... maybe it'll help you guys in a solution.
And if somehow i already got it working lol, here are a few questions... once i log out of root and back to my original user profile... will it stay mounted so i can read/write from it or will i have to enter that code again?

Last edited by shadowofanubis6; 10-17-2004 at 10:32 PM.
 
Old 10-18-2004, 07:16 AM   #7
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
The captive installation script adds a line to the /etc/fstab which mounts the Windows partition using captive from then on.

You must manually comment out any older lines which refer to your windows partition though.

Once done, captive will be used to permit read/write access to your Windows partition. It is safe to use under Linux.

Try creating a file on your Windows partition or copying one to it.

If you can, then captive is working properly.

If you get an error about the drive being read only, then you need to unmount the windows partition

e.g.

umount /mnt/windows

and then remove or comment out the offending /etc/fstab entry.

Then you should be able to issue the

/mnt/windows

command again and see a message from captive telling you it has mounted the drive.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition problem with Qtparted in Knoppix variety & mp3 support problem in FC3 eypros Linux - Software 1 06-01-2005 07:12 PM
boot problem/ partition problem? ian sil Linux - General 1 05-10-2005 06:08 PM
Problem Resizing Linux Partition From Partition magic John_Emad SUSE / openSUSE 5 02-16-2005 12:42 PM
partition problem!! maseby Red Hat 3 06-10-2004 09:43 PM
What the... ??? (RH 7.3 Partition Problem) zeky Linux - General 7 07-24-2002 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration