SlackwareThis Forum is for the discussion of Slackware 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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
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.
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.
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.
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
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.
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
/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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.