LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-21-2006, 03:45 AM   #1
Kenchie
LQ Newbie
 
Registered: Jun 2002
Location: London
Distribution: OpenSuse 10.2
Posts: 13

Rep: Reputation: 0
Mount windows drive in SuSE 10.1


Hi -

I've just installed SuSE 10.1 - I'm disappointed to see it doesn't mount my Windows drive (dual boot system) by default like v10.0 did.

How do I mount it manually? (drive is /sda1) It doesn't appear in my etc/fstab file.

Thanks!
 
Old 10-21-2006, 04:10 AM   #2
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
First check the partitions
Code:
#fdisk -l OR #/sbin/fdisk -l
Then try mounting (as root)
Code:
#su
password:
#mount -t vfat /dev/sda1 /media/some_folder* (Assuming FAT32 is the filesystem of windows)
*create some_folder beforehand

If its fine, put it in /etc/fstab as
Code:
/dev/sda1 /media/some_folder vfat auto,exec,umask=0000 0 0
This will make it mount everytime.
 
Old 10-21-2006, 04:49 AM   #3
Kenchie
LQ Newbie
 
Registered: Jun 2002
Location: London
Distribution: OpenSuse 10.2
Posts: 13

Original Poster
Rep: Reputation: 0
Hi -

Thanks for the fast reply. The drive shows as sda1 using fdisk, but it is ntfs not fat32.
 
Old 10-21-2006, 04:54 AM   #4
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
Just change 'vfat' to 'ntfs' from above.

NOTE: you can't write to ntfs partitions in linux!!
 
Old 10-21-2006, 05:53 AM   #5
Kenchie
LQ Newbie
 
Registered: Jun 2002
Location: London
Distribution: OpenSuse 10.2
Posts: 13

Original Poster
Rep: Reputation: 0
OK I now have the drive mapped. Thanks for your assistance.

Last edited by Kenchie; 10-21-2006 at 07:03 AM.
 
Old 12-02-2006, 04:19 PM   #6
Gryyphyn
Member
 
Registered: Dec 2006
Location: Ogden, UT (Go OALUG!)
Distribution: OpenSuSE 10.1
Posts: 61

Rep: Reputation: 15
Sore spot

You used to be able to write to NTFS partitions in SuSE 9.3. Did they just remove the support for it? I remember only having to modify the fstab config with the write bit and there it was: my NTFS partition open for the world. Never had an issue.

I was seriously hoping to do that again but now I see that I can't. Damn you Microsoft, damn you. Just can't play well with others...
 
Old 05-21-2008, 08:54 AM   #7
saurabhgupta1403
LQ Newbie
 
Registered: Jan 2008
Posts: 28

Rep: Reputation: 15
problem in mounting windows partition

Quote:
Originally Posted by Hitboxx View Post
First check the partitions
Code:
#fdisk -l OR #/sbin/fdisk -l
Then try mounting (as root)
Code:
#su
password:
#mount -t vfat /dev/sda1 /media/some_folder* (Assuming FAT32 is the filesystem of windows)
*create some_folder beforehand

If its fine, put it in /etc/fstab as
Code:
/dev/sda1 /media/some_folder vfat auto,exec,umask=0000 0 0
This will make it mount everytime.

I created a new folder called "win" in /media. But at that time my thimb drive named "saurabh" was also attached. But instead of mounting on win folder as by command, it mounted the partition on my pen drive which ultimately removed all previous data from it. now it is not even showing my pen drive mount in /media/ after rebooting.
I tried the command
#umount -t vfat /dev/sda1 /media/win

and then made a folder "win" in /home/ and then mount it and changed the /etc/fstab accordingly. But it is showing nothing in the folder "win".
Please help
 
Old 05-23-2008, 03:32 AM   #8
sadiqdm
Member
 
Registered: Nov 2003
Location: London, UK
Distribution: openSUSE, Ubuntu
Posts: 358

Rep: Reputation: 35
Can you run (as root)
Code:
# fdisk -l
This lists the physical partitions. I get this on my laptop:
Code:
florence:~ # fdisk -l

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xbd3bbd3b

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1264    10153048+   c  W95 FAT32 (LBA)
/dev/sda2            1265        2080     6554520    7  HPFS/NTFS
/dev/sda3            3125        7296    33511590    f  W95 Ext'd (LBA)
/dev/sda4            2081        3124     8385930   83  Linux
/dev/sda5            3125        6070    23663713+  83  Linux
/dev/sda6            6071        6389     2562336   83  Linux
/dev/sda7            6390        6529     1124518+  83  Linux
/dev/sda8            6530        7166     5116671   83  Linux
/dev/sda9            7167        7296     1044193+  82  Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00045c55

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1300    10442218+   b  W95 FAT32
/dev/sdb2            1301        5777    35961502+  83  Linux
/dev/sdb3            5778        9729    31744440   83  Linux
/dev/sda is the internal 60Gb HD with partitions for WinXP, and Suse 10.3, and /devsdb is an external USB 60Gb HD.

Then do:
Code:
florence:~ # cat /etc/fstab
This shows where the system is trying to mount them. My looks like this:
Code:
florence:~ # cat /etc/fstab

/dev/sda1            /xp                  vfat       users,gid=users,umask=0002,utf8=true 0 0
/dev/sda2            /win                 vfat       users,gid=users,umask=0002,utf8=true 0 0
/dev/sda4            /                    ext3       acl,user_xattr        1 1
/dev/sda5            /home                ext3       defaults              1 2
/dev/sda6            /opt                 ext3       acl,user_xattr        1 2
/dev/sda7            /usr/local           ext3       acl,user_xattr        1 2
/dev/sda8            /linux-2             ext3       acl,user_xattr        1 2
/dev/sda9            swap                 swap       defaults              0 0
proc    /proc   proc    defaults 0 0
sysfs   /sys    sysfs   noauto 0 0
debugfs /sys/kernel/debug       debugfs noauto 0 0
usbfs   /proc/bus/usb   usbfs   noauto 0 0
devpts  /dev/pts        devpts  mode=0620,gid=5 0 0
My XP is in two partitions, /devsda1 is the OS (c: or System, in windows speak) and the second, /devsda2 is for My Documents (d: or Data).

We should be able to work out what is happening.

Last edited by sadiqdm; 05-23-2008 at 06:42 PM.
 
  


Reply

Tags
drive, mount, suse, windows


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
how do I mount a windows drive loganwva Linux - Networking 17 01-11-2010 12:47 PM
Mount windows drive davholla Linux - General 15 01-01-2010 10:59 PM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
mount to a windows drive jmarsh Linux - Networking 3 10-28-2003 10:49 AM
How do you mount a Windows drive? GeneWeber Linux - Networking 3 10-05-2003 08:46 PM

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

All times are GMT -5. The time now is 06:24 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