LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-17-2007, 09:00 AM   #136
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Original Poster
Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351

Quote:
Originally Posted by erickFis View Post
ok people!

I'm poor guy, not so greed as you...

The only thing I need is to be able to read and write
freely is a fat32 partition, as a normal user, not root

My fstab:

dev/hda2 /geral vfat auto,user,rw 1 0

this doesn't work, only root can write this way.

How should fstab look like?
http://slackwiki.org/Windows_Partitions
 
Old 09-17-2007, 09:38 AM   #137
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 209

Rep: Reputation: 32
hey man: it works!

thank u so much!

and what about the other question:
writing to a ntfs harm windows xp?
 
Old 09-17-2007, 01:43 PM   #138
pappy_mcfae
Member
 
Registered: Feb 2007
Location: Dallas
Distribution: Gentoo x86 & x86_64
Posts: 190

Rep: Reputation: 31
Post

Quote:
Originally Posted by erickFis View Post
and what about the other question:
writing to a ntfs harm windows xp?
Well, I can't speak for the long term since I just set this up, but in the space of the time it took to do the set up and to test it, I created directories and folders on both NTFS partitions on one machine, and one on another. I also deleted said directories and files, and moved some directories and files around.

Once this was done, to insure nothing bad had happened, I booted into the Windoze installations (Windoze 2000 and Windoze XP respectively), and the chkdsk utility didn't come up telling me that there was NTFS corruption. The files and directories were visible and deletable under Windoze as well. Therefore, I have to think that there is no more danger in writing to an NTFS partition using FUSE and ntfs-3g set up as I described earlier than there is doing the deed in a native Windoze session.

While researching this, I found only one caveat. At the ntfs-3g web site, there is a warning that states...
Quote:
Make sure that the basic Linux development tools and the full FUSE package is already installed correctly on the computer. Please note, FUSE 2.6.0 or later is required to guarantee full data safety... (emphasis added by Pappy)
Considering this warning comes on their web site, I'd think that the folks at ntfs-3g know what they are saying. Fortunately, at the time of this writing, the current stable version of FUSE is 2.7.0. So far, so good; everything appears to be working normally.

EDIT! Since the time of this writing, I have also installed this set up on my new laptop, which runs Slack-11. Therefore, I can only conclude that it works as well on Slack-11. Cool!

EDIT 2! For those interested, you can activate FUSE support directly by compiling it into your kernel. FUSE support has been a the kernel option since version 2.6.14-rc1. To activate it, use your favorite kernel configuration program, and set the "File systems-->Filesystem in Userspace support" option to "module". Recompile and install your kernel. Also note, you will still have to install FUSE for the library file libfuse, but you will only need to do it once, instead of every time you recompile your kernel.

Blessed be!
Pappy

Last edited by pappy_mcfae; 11-14-2007 at 01:36 PM. Reason: new information
 
Old 09-19-2007, 01:20 PM   #139
iiv
Member
 
Registered: Jun 2007
Location: Russia, Moscow Region
Distribution: Slackware
Posts: 167

Rep: Reputation: 30
Quote:
Originally Posted by szob View Post
2. Go to this file:

/usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi

and next adjust the code...
Thanks for that. Very disappointed by the fact i have to edit config files in /usr, they all are supposed to be readonly. All config files are to be in /etc. Is it Pat's fault?
 
Old 09-19-2007, 02:56 PM   #140
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Original Poster
Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by iiv View Post
Thanks for that. Very disappointed by the fact i have to edit config files in /usr, they all are supposed to be readonly. All config files are to be in /etc. Is it Pat's fault?
No, it's not Pat's fault. If anyone is at fault, it's the individual who gave that advice.
Place the modified file in /etc/hal/fdi/policy/... -- that location overrides /usr/share/hal/...
The intent is to ship defaults in /usr/share/hal/, and if the sysadmin needs overrides, then use /etc/hal/
 
Old 09-19-2007, 03:00 PM   #141
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Original Poster
Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Also, I seem to recall somewhere in this thread about partitions in /etc/fstab of type ntfs-3g not mounting automatically if they're supposed to -- this is due to an oversight in /etc/rc.d/rc.M

It appears that at some point in the 10.2 --> 11.0 development cycle, the "mount -a" in there was removed while making other changes. Most people don't notice it, as nfs and smbfs filesystems are mounted in /etc/rc.d/rc.inet2

Anyway, to remedy this, add the following line to /etc/rc.d/rc.M after the call to /etc/rc.d/rc.inet2:
Code:
mount -a -v 2> /dev/null | grep -v "already mounted"
 
Old 09-21-2007, 01:20 AM   #142
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64- 5.15.2
Posts: 909

Rep: Reputation: 55
Can you add /home/usr to the /etc/group - so that the particular user has permission only from their home/user directory (ie. Console)? Now I am new to command line configuration and using Xfce and did not install kde. Since I did a full install do I have PyGTK installed? I have read man usrmod but could use a sample of syntax:
# usrmod -a -G power :x:84: tonyChange existing user tony primary group to /etc/group
# usermod -g /etc/group tony --is this correct before I mess up my files? I found this in some FAQ. Thanks for your work rworkman.
I

Last edited by NightSky; 09-21-2007 at 01:32 PM. Reason: edited /etc/group manually... thanks
 
Old 09-21-2007, 06:56 PM   #143
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by perry View Post
by the way it's the vmlinuz-generic-smp-2.6.21.5-smp under slackware 12 with the latest patches from slackware.com applied.

feel free to enlighten me...

- perry
Okay, here's for your enlightenment: Slackware does not patch kernels it releases with; there have been no patches, nor will there be, to the Slackware-12.0 release's kernels.
 
Old 10-08-2007, 03:05 AM   #144
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I recently got this working, so I'm going to summarize what I did, since some people said they were confused with the original post.

I want to make this a simple as possible so anyone can fix this problem easily.

Steps:

1) Login to root:
Open a terminal, like rxvt or konsole or Terminal, then run the following commands pressing <Enter> after every line. Note that if a line begins with a # then it is a comment and you should not type it but instead take note of what it says.
Code:
su
# type in your root password
you should now be running as root

2) As root run:
Code:
for group in floppy audio video cdrom plugdev; do gpasswd -a $USER $group; done
this will add you to the right groups

3) As root run:
Code:
/etc/rc.d/rc.messagebus reload
to have d-bus recognize changes made to your group status

Everything should work right now.

OPTIONAL) This step is optional and only if you want to specify where things should be mounted.
Edit '/etc/fstab' to for example:
Code:
/dev/cdrom       /mnt/cdrom       auto        noauto,users,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,users     0   0
/dev/sdb         /mnt/zip         auto        noauto,users     0   0
Note that here you are allowing users to mount these devices, you can use 'users' or 'user', and you can also add the 'rw' option, to have it mount the media read-write, but I think the default is mount read-write, that's why you only need to specify 'ro' read-only for the cd-rom drive.

Last edited by H_TeXMeX_H; 04-05-2008 at 04:09 AM.
 
Old 11-13-2007, 02:26 PM   #145
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by H_TeXMeX_H View Post
1) As root run:
Code:
# NOTE: do NOT run this, it's dangerous, see one post down
useradd -G users,floppy,audio,video,cdrom,plugdev $USER
where $USER is you, here obviously you're adding yourself to these groups. What's neat is that if you just use 'su' to login to root, $USER is actually equal to your user, not root.
I just tried this on my newer machine and it did not work. It said the user already exists, which is true, but it's also true that I'm not trying to add a new user, only to change the groups. To fix it I had to manually edit '/etc/group'. There must be a better way, but if not, this works.

Last edited by H_TeXMeX_H; 11-13-2007 at 03:15 PM.
 
Old 11-13-2007, 02:57 PM   #146
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by H_TeXMeX_H View Post
I just tried this on my newer machine and it did not work. It said the user already exists, which is true, but it's also true that I'm not trying to add a new user, only to change the groups. To fix it I had to manually edit '/etc/group'. There must be a better way, but if not, this works.
That is because the command is wrong (dangerously so!).
The correct and safe set of commands to add your user to these additional groups (if you do not want to edit the /etc/group file manually), is
Code:
gpasswd -a $USER floppy
gpasswd -a $USER audio
gpasswd -a $USER video
gpasswd -a $USER cdrom
gpasswd -a $USER plugdev
Eric
 
Old 11-13-2007, 03:14 PM   #147
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Ok then, thanks. I edited my earlier post.
 
Old 12-13-2007, 06:34 PM   #148
BiafraRepublic
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware 12.0
Posts: 6

Rep: Reputation: 0
Exclamation

Quick little blurb regarding the nVidia drivers

If you are compiling your own kernel and have "Enable Paravirtualization support" built into it or as a module, the nVidia Installer will fail in the module compile (wish I had some output for you, but I'm not at my computer at the moment...)

Used: Comp #2 (neo-thunderball), Slackware 12.0 (CD ISO version), Kernel 2.6.21.5, and nVidia driver installer 100.14.19
 
Old 12-13-2007, 08:29 PM   #149
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
If I'm not mistaken, the standard (normal, proper) way to add users to groups is using the command "vigr" as root. When I've done this since Slackware-9.1, there have been none of the problems discussed in these posts. Issue "vigr" and you see something like this:
Code:
root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin,adm
adm::4:root,adm,daemon
tty::5:
disk::6:root,adm
lp::7:lp
mem::8:
kmem::9:
wheel::10:root,mingdao
floppy::11:root
mail::12:mail
news::13:news
uucp::14:uucp
man::15:
audio::17:mingdao
video::18:mingdao
cdrom::19:mingdao
games::20:
slocate::21:
utmp::22:
smmsp::25:smmsp
mysql::27:
rpc::32:
sshd::33:sshd
gdm::42:
shadow::43:
ftp::50:
apache:x:80:
messagebus:x:81:
haldaemon:x:82:
plugdev:x:83:mingdao
power:x:84:
pop::90:pop
scanner::93:
nobody::98:nobody
nogroup::99:
users::100:
console::101:
~
~
~
~
~
~
~
~
~
~
~
Read /etc/group.edit, 40 lines, 575 chars
NB: That file as been edited ... it only requires you to press the "I" or "Insert" key and move your cursor to the position, then type what you want.

If you read "man vigr" you can get the skinny on it.
 
Old 01-12-2008, 02:05 PM   #150
Toods
Member
 
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249

Rep: Reputation: 32
I have read this all this thread and would just like to clarify my understanding of two points:
Quote:
Originally Posted by pappy_mcfae View Post
-- I think it's a good thing to let those people, and everyone else here know that they need to have smp support compiled in, and an initrd.gz file to get everything going as expected under hal.-----
Pappy
1.)That 'smp support' needs to be compiled into a custom kernel even when a uni-processor cpu is used? If this is really so, then HAL would not work with kernel-generic-2.6.21.5 supplied with the distribution would it?

2.)That an 'initrd.gz' file is needed to get HAL working even when using 'ext2' and support for this filesystem type is directly 'built-in' to the kernel?

If these are both true, is there any logical reason why these should be so?.

Bill.

Last edited by Toods; 01-12-2008 at 02:19 PM. Reason: addition to posting text
 
  


Reply

Tags
compile, error, install, installer, make, nvidia, slackware, trolling



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 to use HAL wesd Linux - Software 1 06-11-2007 04:00 PM
HAL won't load akjo Slackware 9 01-23-2007 09:03 AM
hal problem fibbi Linux - Software 3 01-11-2006 09:19 AM
hal krusty_lab Fedora 3 10-10-2005 10:23 AM
Hal gamehack Programming 7 12-16-2004 02:03 AM

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

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