LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-30-2005, 01:07 AM   #1
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Rep: Reputation: 30
accessing windows partition from SuSe


Hey everyone! Does anyone know how I can access my Windows XP Home Edition partition from Suse Linux 9.1 Personal Edition so I can run windows programs and access my files i have saved on my windows partition? In other words, what commands do I need to type to access the Windows partition?
 
Old 03-30-2005, 02:38 AM   #2
gerardt
Member
 
Registered: Feb 2005
Location: South Africa
Distribution: SuSE
Posts: 60

Rep: Reputation: 15
mount /dev/hd?? /mntpoint

where ?? is the windows partition and /mntpoint is the place you want your windows partition to appear under. Your XP may be running NTFS and therefore may not be writable from your linux system.
 
Old 03-30-2005, 02:48 AM   #3
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Usually SUSE mounts available Windows partitions automatically. Have a look in the folder /windows. Otherwise you could use YaST -> System -> Partitioner to mount those drives. And certainly you can use the above suggested command, but this in not permanent and needs to be repeated every reboot.
 
Old 03-30-2005, 03:00 AM   #4
gerardt
Member
 
Registered: Feb 2005
Location: South Africa
Distribution: SuSE
Posts: 60

Rep: Reputation: 15
Good point. Naturally fstab has to be modified for the mount to be persistent across reboots.
 
Old 03-30-2005, 03:09 AM   #5
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Original Poster
Rep: Reputation: 30
assuming that my XP is running NTFS, how would i make it writeable from the Linux Partition? Also what do i need to put in the fstab file to make the mount permanent?
 
Old 03-30-2005, 03:20 AM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
You cannot make NTFS writable with Linux tools only. There is a driver called captive-ntfs, which uses the original Windows driver. But NTFS-write access is not recommended.

Either use YaST to modify fstab, as I suggested above, or add something like this:
Code:
/dev/hdxy       /windows/C      ntfs    ro,auto,user,umask=0,exec 0 0
 
Old 03-30-2005, 02:59 PM   #7
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Original Poster
Rep: Reputation: 30
Oh ok, so you do not recommend NTFS write access? how come? Also how would I use Yast to be able to have read/execute access for my NTFS partition? When I tried to use Yast it just give me tools for creating/deleting a partition. I did not see anything relating to actually being able to access another partition.
 
Old 03-30-2005, 06:01 PM   #8
youngtom
Member
 
Registered: Feb 2005
Location: Rio de Janerio
Distribution: suse 9.1, suse 9.2, redhat enterprise, ubuntu, kubuntu
Posts: 104

Rep: Reputation: 15
Here is what the suse support site says about the issue -

http://portal.suse.com/sdb/en/2004/0...a_91_ntfs.html

-----------------------------------------------------------------------------------------------------------------------------------------------------------------
Write Access To NTFS Partitions

Applies to: SUSE LINUX 9.1
Symptom
You have read access to the NTFS partition of a Windows NT/2000/XP operating system. However, when you try to write on this partition, you get an error message.
Cause
Microsoft keeps the specifications and structures of the NTFS file system as a company secret, thus making it very difficult to provide support for this file system.

Fortunately, read access to NTFS partitions is very stable. On the other hand, write access might damage the whole NTFS file system of the corresponding partition. For this reason and in order to protect you from data loss, only read access is activated by default in SUSE LINUX.
Recommended Solution
Create a partition with the file system FAT32 and use it for accessing a shared data pool from Linux and Windows and for exchanging data.
Non-Recommended Solution

Recompile the kernel after having activated write access to NTFS file systems in the kernel configuration. Then change the variable "ro" (readonly) to "rw" (readwrite) in the options section of the respective partition in the configuration file /etc/fstab.

We discourage you from doing so because of the above-mentioned reason. Furthermore, on performing these steps, you will no longer be entitled to free-of-charge installation support. SUSE shall not be made liable for any damages arising from the activation of write access!
 
Old 03-31-2005, 02:05 AM   #9
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Quote:
Originally posted by asilentmurmur
Oh ok, so you do not recommend NTFS write access? how come? Also how would I use Yast to be able to have read/execute access for my NTFS partition? When I tried to use Yast it just give me tools for creating/deleting a partition. I did not see anything relating to actually being able to access another partition.
When you enter the YaST partitioner, you should see a list of recognised partitions and HDD's. One column (Mount) shows the mountpoint of the respective partition. If there is a mountpoint for your drive present, try to access the folder and see it may be mounted already. If there is no mountpoint, highlight the partition and select 'Edit'. Now choose a mountpoint (that may need to be created with the mkdir command first) and confirm changes. This should create the fstab entry and mount the drive.
 
Old 04-01-2005, 05:43 AM   #10
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Original Poster
Rep: Reputation: 30
thanks!
 
Old 04-29-2005, 08:10 AM   #11
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
Why is that I can't have the same mount point for 2 or more drives. For instance /mnt disappears from the list as soon as I attach it to one partition
 
Old 04-29-2005, 08:15 AM   #12
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
Let me also ask: in Mandrake the Wndows partitions would be under the /mnt directory. Where can I find them in SuSE?
 
Old 04-29-2005, 11:38 AM   #13
crazibri
Member
 
Registered: Mar 2004
Location: Orange County, CA
Distribution: OS X, SuSE, RH, Debian, XP
Posts: 377

Rep: Reputation: 31
Yeah NTFS writing is very dangerous to the stability of your NTFS file system.

I'd suggest having a 3rd+ partition that is Fat32. Fat32 supports writing and reading in both XP and Suse. This would allow you transfer files back and forth between XP and Suse with ease.

Just a little tip that I've noticed (and figured out the hard way).

If you are transfering files between the 2, make sure you dont use hibernate in XP otherwise XP go through and wipes out what you told Suse to put on the partition and then if you go back into Suse you'll see a file called "Found.000" and its all your files but they're half garbage now. Sucks.

Anyway, just be careful and dont use hibernate on XP if you're trying to transfer files between the 2.
 
Old 04-29-2005, 12:55 PM   #14
discourse
Member
 
Registered: Nov 2004
Location: Helsinki/Amsterdam
Distribution: UBUNTU 8.04, Maemo 4.1, Linpus, OS X 10.5.4
Posts: 56

Rep: Reputation: 15
with mandrake i had no problems writing to my xp partition. why is it different in suse?
 
Old 05-03-2005, 01:48 AM   #15
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
Why is it in 9.2 when I have mounted the windows partitions I can access them as root but not as a normal user?
 
  


Reply



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
Accessing windows partition DebianNew Linux - Newbie 2 01-20-2005 11:55 PM
accessing windows partition linuxian Mandriva 12 02-02-2004 07:33 PM
accessing windows partition from linux partition dave bean Linux - Newbie 19 10-15-2003 04:39 AM
accessing windows partition lasalsademuerte Linux - Newbie 8 01-31-2003 12:53 PM
Accessing Windows Partition Atroxic Linux - Newbie 7 01-27-2002 01:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 08:28 PM.

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
Open Source Consulting | Domain Registration