LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-27-2004, 09:05 PM   #1
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Rep: Reputation: 30
windows partition


I have a windows partition on my slackware 10.0 system that I would like to make the whole partition visible from slackware. I can only find certain files such as acrobat reader, and when I click on program files it appears empty. I want to try and get all of my windows program running under wine and this is why I wan to be able to browse and see all of my programs I would appreciate the help. How can I accomplish this?

http://www.blingo.com/friends?ref=gR...2vQvIfp2X-9TEQ

Last edited by paul62; 12-06-2005 at 10:11 AM.
 
Old 11-28-2004, 01:54 AM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
I have this in my /etc/fstab:

/dev/hda1 /mnt/win ntfs ro,gid=100,umask=0,iocharset=iso8859-15 1 0

As all my users are in group users (gid=100), all of them can read the whole NTFS partition.
 
Old 11-28-2004, 08:35 PM   #3
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
windows partition

This is what my etc/fstab looks like could you please show me how to apply those changes to my fstab I would appreciate it.

/dev/hda1 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hda4 /win-c vfat umask=222 1 1
/dev/hda5 /faat-d vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,user,uid=100,gid=10
I would appreciate the help getting my hda4 to what it should look like

http://www.blingo.com/friends?ref=gR...2vQvIfp2X-9TEQ

Last edited by paul62; 12-06-2005 at 10:13 AM.
 
Old 11-29-2004, 12:47 AM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
I have no vfat partition, but I'd try the following:

/dev/hda4 /win-c vfat umask=222 1 1

becomes

/dev/hda4 /win-c vfat ro,gid=100,umask=0,iocharset=iso8859-15 1 0

In doubt about the options, please check "man fstab" and see below the entry for vfat.
 
Old 11-29-2004, 04:56 AM   #5
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
Just a quick observation: the "ro" part of the entry is not necessary for vfat, it is safe to have write permission. And shouldn't that be umask=000?
I am also wondering whether it wouldn't be safer to creat a windows group, whose members may have full rwx access, and removing write permission from others with umask=002.
Just a thought.

JJ
 
Old 11-29-2004, 07:34 AM   #6
insyte
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 308

Rep: Reputation: 30
Actually when it comes to wine, I suggest using its native dlls and not using an existing windows install. And check for compatibility for programs in their website at winehq. Good luck with running wine.
 
Old 11-29-2004, 10:14 AM   #7
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
Thankyou I will try your suggestions.

http://www.blingo.com/friends?ref=gR...2vQvIfp2X-9TEQ

Last edited by paul62; 12-06-2005 at 10:14 AM.
 
Old 11-29-2004, 03:47 PM   #8
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
windows partition

This is what my etc/fsatb/ looks like now and I am still lnot able to access my windows partition. I would appreciate the hlep.

/dev/hda1 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hda4 /win-c vfat.ro,gid=100,umask=0,iocharset=iso8859-15,1 0
/dev/hda5 /faat-d vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,user,uid=100,gid=100,owner
,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

This is what my partition looked like after I amde the changes and my accesss still seems to be the same

Last edited by paul62; 11-29-2004 at 03:52 PM.
 
Old 11-29-2004, 08:01 PM   #9
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
Quote:
/dev/hda4 /win-c vfat.ro,gid=100,umask=0,iocharset=iso8859-15,1 0
If the string above is literally copied from /etc/fstab then I would highly recommend removing the period between "vfat" and "ro" and the comma after "iocharset=iso8859-15"

Last edited by JunctaJuvant; 11-29-2004 at 08:04 PM.
 
Old 11-29-2004, 08:12 PM   #10
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
i've got this in my fstab for a vfat partition :

/dev/hda1 /win-c vfat rw,users,umask=002 1 0

i can read&write on it as a user .
just try it

edit : error--002 was 022 ?!

egag

Last edited by egag; 12-06-2004 at 07:18 AM.
 
Old 12-01-2004, 10:02 AM   #11
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
Now I am geting another error message when I run kfind and do browse and hit the device button and than click on hda4, I get the error message. The error message that I am getting is (mntent) :warning no dinal newline at the end of /etc/fstab mount nly root can mount/dev/hda4 onPlease check that the disk is entered correctly.Here is my fstab copied line for line

/dev/hda1 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hda4 /win-c vfatro,gid=100,umask=0,iocharset=iso8859-15 1 0
/dev/hda5 /faat-d vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,user,uid=100,gid=100,owner
,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

And when Iclick on win-c in my home directory I am stillnot getting access to all of my files I would appreciate the help

http://www.blingo.com/friends?ref=gR...2vQvIfp2X-9TEQ

Last edited by paul62; 12-06-2005 at 10:14 AM.
 
Old 12-01-2004, 10:46 AM   #12
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
I see you blindly followed my advice and removed the period to get "vfatro". This is a bad thing.
There needs to be a space between the filesystem type "vfat" and "ro" (I was hoping you'd be able to see this for yourself by looking at the other entries). But like I said before, the "ro" parameter is NOT required for your filesystem type.
I would say the easiest option is to try the fstab line posted by egag.

JJ
 
Old 12-04-2004, 08:47 AM   #13
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
I am still having trouble getting it to work< I changed my fstab to what egag said it should be and it is stiil not working, this is my current fstab

/dev/hda1 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hda4 /win-c vfat rw,users,umask=022 1 0
/dev/hda5 /faat-d vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,user,uid=100,gid=100,owner
,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

I would appreciate the help.

http://www.blingo.com/friends?ref=gR...2vQvIfp2X-9TEQ

Last edited by paul62; 12-06-2005 at 10:16 AM.
 
Old 12-04-2004, 10:33 AM   #14
egkenny
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
There is one thing that no one has asked. Are your sure that the windows partitions are /hda4 and /hda5? To find out at the command line type:
fdisk -l /dev/hda
Make sure you ignore the extended partition. You can only refer to the primary partition and logical drives inside the extended partition

For chmod and umask you have three numbers

1st number = owners permissions
2nd number = groups permissions
3nd number = world permissions

You can think of these numbers as: ogw

Each of these numbers is the permission or
permission combination for that user.
chmod permissions

0=000 none
1=001 execute,dirs=search
2=010 write
3=011 combination of 1, 2
4=100 read
5=101 combination of 1, 4
6=110 combination of 2, 4
7=111 combination of 1, 2, 4

umask permissions act like the opposite of chmod permissions.
Example 6=110 acts like 1=001
Example 0=000 acts like 7=111

umask permissions

0=000 combination of 6, 5, 3
1=001 combination of 5, 3
2=010 combination of 6, 3
3=011 read
4=100 combination of 6, 5
5=101 write
6=110 execute,dirs=search
7=111 none

Note: for 6=110, 6 is number in octal and 110 is same number in binary

Example 1:

chmod 732 afile

Owner = 7 = read,write,execute
Group = 3 = write,execute
World = 2 = write

Example 2:
In the fstab

/dev/hda4 /win-c vfat defaults,umask=022 0 0
/dev/hda5 /faat-d vfat defaults 0 0

For normal users:

/win-c permissions:
Owner = 0 = read,write,execute
Group = 2 = read,execute
World = 2 = read,execute

/faat-d permissions: none given so default read-only used

Owner = read
Group = read
World = read

For root user:
/win-c and /faat-d permissions: read,write,execute

Since I am the only user and want read/write for all drives I would configure it this way:
/dev/hda4 /win-c vfat defaults,umask=0 0 0
/dev/hda5 /faat-d vfat defaults,umask=0 0 0

You need to decide permissions for you and everyone else and set the umask accordingly.
 
Old 12-04-2004, 06:59 PM   #15
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
Here is the output of the command that you gave me
root@paul:~# fdisk -l /dev/hda

Disk /dev/hda: 6448 MB, 6448619520 bytes
255 heads, 63 sectors/track, 784 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 730 782 425722+ 82 Linux swap
/dev/hda2 * 1 584 4690948+ 83 Linux
/dev/hda3 783 784 16065 5 Extended
/dev/hda4 585 729 1164712+ b W95 FAT32
/dev/hda5 783 784 16033+ 14 Hidden FAT16 <32M

Partition table entries are not in disk order
I am still having trouble getting full access to my windows partition. Let me explain what I am looking for I am a single user who would like access under root and user. I tried the sample line that you gave me. Some of the windows files such as acrobat and voyetra open all the way and will even run with wine, but when I try to open up program files nothing shows up.
Thankyou in advance

http://www.blingo.com/friends?ref=gR...2vQvIfp2X-9TEQ

Last edited by paul62; 12-06-2005 at 10:17 AM.
 
  


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
moving files from windows partition to linux partition M O L8ingN2dust Linux - Newbie 11 01-08-2006 09:11 PM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-17-2004 11:05 PM
I want to increase my Linux partition.Should I take space from a Windows partition? PrinceBalak Linux - General 1 06-25-2004 05:44 PM
What is the code to copy a file from my windows partition to my linux partition? THEBIGFISH Linux - Newbie 3 03-15-2004 10:14 PM
How do I install slackware on a partition made by partition magic in windows bling bling Slackware 4 06-28-2003 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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