LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-01-2003, 10:48 PM   #1
nny0000
Member
 
Registered: Aug 2003
Distribution: Slackware, Ubuntu
Posts: 158

Rep: Reputation: 30
I finally switched and need some help


I just recently switched from red hat to slackware and holy crap this system is so much faster. I just have a couple of questions that I hope someone can help me with.
The installation went smoothly with just a little lilo tweaking after (needed the bootdisk to boot). But the installer found the windows partition and asked me if i wanted to update my /etc/fstab to include it. that went ok. but after I finally booted up I logged on with root and accessed my win partition /mnt/win and that worked. so i su - brandon (thats my name just to let you know) and enter my password and tried to access /mnt/win and it told me permission denied. So i switched to root and issued the command 'chmod 777 /mnt/win' and it would not work. The shell said operation not permitted. last time I checked 'root' was the ruler of the system. that partition is set to 'defaults' in /etc/fstab. Does anyone know how to fix this?
How do i set my prompt to brandon@localhost /$ and keep it that way?
How do i change the resolution in KDE/GNOME?
What does a basic .bashrc/.bash_profile/.bash_login file look like?
Where do I put aliases so they get set globally and for single users?
I switched from runlevel 3 to 4 and I only got 1 terminal (CTRL+ALT+F6), does anybody know why?
I like the fortune program start up when you logon, but how do i turn it off, if I decide to do so?
How do i get my wheel mouse to work?

Thanks for your time in reading and hopefully posting!

A dedicated slackware user
 
Old 12-01-2003, 11:08 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Damn. Read the book, search the web, make 'man' your friend. In reverse order:
Add 'Option "ZAxis Mapping" "4 5"' to /etc/X11/XF86Config
Chmod 600 /etc/rc.d/rc.fortune.sh or whatever it's called
Slack turns them all off except that that caused problems, so they left one open. Dunno why - runlevel 3's great.
Like a string of variable, aliases, and functions.
Dunno - don't use them.
Edit PS1 in ~/.bash_profile and/or ~/.bashrc
Edit /etc/fstab and add that partition like the others except say 'noauto,users'

Not sure about all that - lotsa questions. But try some of that out, do some of that research, and read people who correct me.
 
Old 12-01-2003, 11:16 PM   #3
kmoffat
Member
 
Registered: Jul 2003
Location: near Seattle
Distribution: Debian/Ubuntu/Suse
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
Here is the line to allow users to access your vfat partition. Not the users parameter. this allows everyone to mount/umount also. Remove the noauto to automount. The gid and umask are optional and put there by my libranet install.

/dev/hda1 /mnt/hda1 vfat defaults,users,noauto,gid=windows,umask=002 0 0

This assumes /dev/hda1 is your windows partition. Adjust for you setup.

AS for the multiple terminals, they are controlled in /etc/inittab. look for the following, or add it:

# These are the standard console login getties in multiuser mode:
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux
 
Old 12-01-2003, 11:22 PM   #4
kmoffat
Member
 
Registered: Jul 2003
Location: near Seattle
Distribution: Debian/Ubuntu/Suse
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
aliases and prompt setting are in .bashrc. This is part of mine, which sets aliases and prompt. (This is from libranet, a debian based distro, so may differ in slack, but I think bash is bash)

if [ "$PS1" ]; then

# enable color support of ls and also add handy aliases

eval `dircolors -b`
alias ls='ls --color=auto'
alias ll='ls -l'
alias la='ls -A'
alias l='ls -lA'

# set a fancy prompt

PS1='\u@\h:\w\$ '
fi
 
Old 12-02-2003, 12:04 AM   #5
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
Re: I finally switched and need some help

Quote:
Originally posted by nny0000
I switched from runlevel 3 to 4 and I only got 1 terminal (CTRL+ALT+F6), does anybody know why?
Here's the apparent explanation for that. (I don't understand it, so perhaps someone with more knowledge can explain the reason.)

from /etc/inittab....
Code:
# Runlevel 4 used to be for an X window only system, until we discovered
# that it throws init into a loop that keeps your load avg at least 1 all 
# the time. Thus, there is now one getty opened on tty6. Hopefully no one
# will notice. ;^)
# It might not be bad to have one text console anyway, in case something 
# happens to X.
If you are running at run-level 3 you have all the consoles.
 
Old 12-02-2003, 10:48 PM   #6
nny0000
Member
 
Registered: Aug 2003
Distribution: Slackware, Ubuntu
Posts: 158

Original Poster
Rep: Reputation: 30
Thanks for everyones posts. i will get working on solving atleast the win partition , resolution and the prompt. Sorry about the simple questions, but I wanted to learn Linux and I never had to do some of this stuff in Red Hat since it did most of it 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
Switched to C jstephens84 Programming 10 11-18-2005 08:15 AM
Finally, finally switched Celettu LinuxQuestions.org Member Success Stories 9 08-25-2004 01:59 PM
Just switched from Windows XP Brother Michael Linux - Newbie 2 08-18-2003 11:48 AM
Apache 2.0.xx Has many of you switched from 1.3?? Noerr Linux - Software 10 05-30-2002 02:04 AM
Just switched LinuzRulz Linux - Distributions 0 05-12-2002 10:31 AM


All times are GMT -5. The time now is 09:33 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration