Suse/Novell This Forum is for the discussion of Suse Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
10-21-2006, 03:45 AM
#1
LQ Newbie
Registered: Jun 2002
Location: London
Distribution: OpenSuse 10.2
Posts: 13
Rep:
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!
10-21-2006, 04:10 AM
#2
Senior Member
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Rep:
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.
10-21-2006, 04:49 AM
#3
LQ Newbie
Registered: Jun 2002
Location: London
Distribution: OpenSuse 10.2
Posts: 13
Original Poster
Rep:
Hi -
Thanks for the fast reply. The drive shows as sda1 using fdisk, but it is ntfs not fat32.
10-21-2006, 04:54 AM
#4
Senior Member
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Rep:
Just change 'vfat' to 'ntfs' from above.
NOTE: you can't write to ntfs partitions in linux!!
10-21-2006, 05:53 AM
#5
LQ Newbie
Registered: Jun 2002
Location: London
Distribution: OpenSuse 10.2
Posts: 13
Original Poster
Rep:
OK I now have the drive mapped. Thanks for your assistance.
Last edited by Kenchie; 10-21-2006 at 07:03 AM .
12-02-2006, 04:19 PM
#6
Member
Registered: Dec 2006
Location: Ogden, UT (Go OALUG!)
Distribution: OpenSuSE 10.1
Posts: 61
Rep:
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...
05-21-2008, 08:54 AM
#7
LQ Newbie
Registered: Jan 2008
Posts: 28
Rep:
problem in mounting windows partition
Quote:
Originally Posted by
Hitboxx
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
05-23-2008, 03:32 AM
#8
Member
Registered: Nov 2003
Location: London, UK
Distribution: openSUSE, Ubuntu
Posts: 349
Rep:
Can you run (as root)
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 .
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 01:27 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News