LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Wine and WIndows Partition (https://www.linuxquestions.org/questions/linux-newbie-8/wine-and-windows-partition-39802/)

ikw38 12-30-2002 04:03 PM

Wine and WIndows Partition
 
Hi,
I have a dual boot system with XP and Mandrake 9 on the HD.
Of course I am trying to learn how to use Linux, but there are somethings I need to access on the Vendow$ partition everyonce in a while.
I have toe questions here
How do you mount the Vendow$ partition?

Then will I be able to use wine to get to it


THanks
ikw38

trickykid 12-30-2002 04:24 PM

What do you mean Vendor$ partition ? You mean a partition formatted for your XP ?

And you don't necessarily need Wine to access a Windows partition.

First you would mount the partition or drive for the access. Then you could use Wine to start any program necessary.

But one question for you is, your running XP ? Is it formatted with NTFS or FAT ? If its NTFS, first off you can only read from it from within Linux and second Wine won't function with an NTFS filesystem as well.

deadbug 12-30-2002 04:52 PM

You will need to know the partition number of your XP system, but for this I will assume it is the first partition on your only hard drive (hda1). If that isn't correct, adjust the example accordingly.

Check your /etc/fstab file for an entry like this:

/dev/hda1 /mnt/win_c ntfs umask=222,users,auto 0 0

If it isn't there, add it. If it is there, your NTFS partition is already being loaded and can be found in the /mnt directory.

If you are not sure how to do the above, read on:

The easiest way to check the contents of your fstab file is to open a Shell Terminal and type:

cat /etc/fstab

If for some reason that is more than one screen, change the command to:

cat /etc/fstab|less

PgUp & PgDn through the printout; Q to exit

Either way, you should be able to read the contents of the file. If you started with XP and added Mandy, quite honestly, it should already be there. Modern Linux installation programs recognize NTFS partitions and load them Read-Only (Linux cannot reliably write to an NTFS partition--it can trash it).

If it isn't there, you can add it. First a safety precaution--make a backup of the original file, just in case. In the terminal, type:

cp /etc/fstab /etc/fstab.old (or whatever you want)

If you haven't logged on as root, you will need to change to that now. Do it this way:

su -
<password>

Then open it with a text editor. I think Mandy has Pico, so the command would be:

pico /etc/fstab

Scroll down to where the various partions are being mounted and put the NTFS one in order. Save the file. (Note: If Mandy doesn't have Pico, look in the documentation and find out what text editor it does have and use it to open/change the file)

If you don't know what partition XP is on, type this:

fdisk -l

This will print out to the screen your partition scheme; look for the NTFS partition.

Good luck.

vishalwaghmare 12-31-2002 02:52 AM

Most of the information provided in the above replies will solve ur problem.
I just want to tell you that wine is not used for accessing windows partitions but to run programs which are installed in Windows for e.g u can run the windows solitaire from Linux.
Bye

ikw38 12-31-2002 10:25 AM

Thanks to all who helped out here!!!
Pretty kewwl if ou ask me to be able to do somethings.
I treid to run Office XP with it and it would not - wonder if 2000 would be better.
I am thinking of redoing the computer and putting M$ second virus (98) on here and have linux access it as needed. The only thng so far I am not able to do just yet is scan in Linux and that is because of this proprietary scanner HP put out for XPEEE 4400c.

First Saturday this weekend I may go see what I can do about this.
Later
ikw38


All times are GMT -5. The time now is 07:15 PM.