LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-21-2004, 10:03 AM   #1
netsurf
Member
 
Registered: Nov 2004
Location: UK
Distribution: ubuntu 10.04+ distro hopping
Posts: 181

Rep: Reputation: 31
Question where are my windows drives (suse)


hi can you help me just installed suse9.1 after i did an clean xp reinstall and
i have everything working it seems in both systems. I knew that i would need a partition to swap files between the two systems so i have set out the following partitons:
main portion of hd is ntfs 99gb~
- extended 16gb~
10gb~ reiser suse
1gb~swap
5gb fat 32 (the partiton that needs to be writeable by both systems)

the problem is that i can't find the ntfs partion and view it's files and i have set up the mount point of the fat32 as /mnt/hda5 but this is read only. so if you could help me i would be grateful.

windows xp /Suse 9.1
gurb boot manager
2500+ amd athalon
512mbram
114 samsung hd (120 unformated)
need any more info i will be happy to supply it.
 
Old 11-21-2004, 10:20 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
You could help us by posting your /etc/fstab (contains information on how to mount drives) and the output of 'fdisk -l', which shows all partitions that are being recognised. For the later command you need to be root.

In general: you may need to set the option umask=002 or umask=000 in /etc/fstab to get write access on fat32 partitions, since fat32 cannot deal with Linux/Unix permissions.

Last edited by abisko00; 11-21-2004 at 11:06 AM.
 
Old 11-21-2004, 10:59 AM   #3
netsurf
Member
 
Registered: Nov 2004
Location: UK
Distribution: ubuntu 10.04+ distro hopping
Posts: 181

Original Poster
Rep: Reputation: 31
here we go contence of fstab
/dev/hda6 / reiserfs acl,user_xattr 1 1
/dev/hda7 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620, gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/dvd /media/dvd subfs
fs=cdfss,ro,procuid,nosuid, nodev,exec,iocharset=utf8 00
/dev/dvdrecorder /media/dvdrecorder subfs
fs=cdfss,ro,procuid,nosuid, nodev,exec,iocharset=utf8 00
/dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid, sync 00
/dev/hda5 /mediahda5 vfat defaults 00

there sorry about the formatting hope this is of some help.
 
Old 11-21-2004, 11:13 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
So there are no entries for your NTFS partitions. That's why we need the output of fdisk -l (small "L") to see how to create the correct entries.

Try to add umask=000 right after defaults in the last line:

Code:
/dev/hda5 /media/hda5 vfat defaults,umask=000 0 0
 
Old 11-23-2004, 12:39 PM   #5
netsurf
Member
 
Registered: Nov 2004
Location: UK
Distribution: ubuntu 10.04+ distro hopping
Posts: 181

Original Poster
Rep: Reputation: 31
sorry but how do you enter the command fdisk -i is it in windows, dos or linux ?
Thanks for that code for the fat 32 though works like a dream.

Last edited by netsurf; 11-23-2004 at 12:41 PM.
 
Old 11-23-2004, 12:51 PM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Linux and fdisk -l not -i (see above posts)! Be root!

Last edited by abisko00; 11-23-2004 at 12:52 PM.
 
Old 11-25-2004, 01:18 PM   #7
netsurf
Member
 
Registered: Nov 2004
Location: UK
Distribution: ubuntu 10.04+ distro hopping
Posts: 181

Original Poster
Rep: Reputation: 31
ok here is all the data from that command thanks for the command to make the fat 32 drive writeable worked perfectly
Disk /dev/hda: 120.0 GB, 120060444672 bytes
255 heads, 63 sectors/track, 14596 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 12407 99659196 7 HPFS/NTFS
/dev/hda2 12408 14596 17583142+ f W95 Ext'd (LBA)
/dev/hda5 12408 13060 5245191 c W95 FAT32 (LBA)
/dev/hda6 13061 14432 11020558+ 83 Linux
/dev/hda7 14433 14595 1309266 82 Linux swap

Last edited by netsurf; 11-25-2004 at 01:20 PM.
 
Old 11-26-2004, 02:58 AM   #8
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Try this:

create the mountpoint (if not existent):

open console
Code:
user@linux:~> su
Password:
linux:/home/user # mkdir /media/hda1

add the following line to /etc/fstab:

Code:
/dev/hda1            /media/hda1           ntfs       ro,auto,user,umask=0002,exec    0 0
On next reboot, the partition should be mouted automatically.
 
  


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
cant write windows drives oldforce SUSE / openSUSE 1 03-13-2005 04:24 AM
Cannot see my Windows drives (newbie) arubin Slackware 6 04-18-2004 12:06 PM
Partitioning drives to split Linux and windows with windows already on computer. linuxnoub Linux - Hardware 5 10-16-2003 12:21 AM
mounting windows drives madiyaan Linux - Newbie 3 05-15-2003 01:18 AM
Accessing windows drives playmesumch00ns Linux - Newbie 5 06-14-2001 02:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:57 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
Open Source Consulting | Domain Registration