LinuxQuestions.org
Register a domain and help support LQ
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 06-27-2008, 12:07 PM   #1
markymarq
LQ Newbie
 
Registered: Jun 2008
Posts: 11

Rep: Reputation: 0
Slackware 9 machine


I inherited a slackware 9 machine that I had to reboot because the mouse wouldn't work. Now, I can log in as root, but there are some directories that I need access to that aren't' allowed to by root login. which is strange.

Also, before I rebooted there was a graphical interface running (looks like a mac interface) that doesn't start automatically. How do I start this interface?

How can I gain access to the directories under root that won't allow me?

any help is greatly appreciated!

thanks
Mark
 
Old 06-27-2008, 12:26 PM   #2
dthacker
Member
 
Registered: Nov 2003
Location: Omaha, NE
Distribution: Ubuntu, Kubuntu, Ubuntu Server
Posts: 77

Rep: Reputation: 15
Quote:
Originally Posted by markymarq View Post
I inherited a slackware 9 machine that I had to reboot because the mouse wouldn't work. Now, I can log in as root, but there are some directories that I need access to that aren't' allowed to by root login. which is strange.
Is it possible that a filesystem didn't automount when you rebooted the machine?

Quote:
Also, before I rebooted there was a graphical interface running (looks like a mac interface) that doesn't start automatically. How do I start this interface?
login as the user you want to run as and type "startx" and hit return.

Good Luck! Dave
 
Old 06-27-2008, 01:03 PM   #3
markymarq
LQ Newbie
 
Registered: Jun 2008
Posts: 11

Original Poster
Rep: Reputation: 0
one problem solved

startx works great

i can access the root / and the directories now but looks like nothing is there anymore.

also, i hate to be SUCH a newbie, but I need to copy some files from another hard drive and I inserted a USB drive which is "all lit up" but I don't see it in the devices window. does slackware recognize these devices?

+ there is one hard drive that I don't see anymore as a device. any reason why that won't be showing?

if i'm logging in as root, should I be able to view all users? i don't see several users that I saw before I rebooted (was logged in as another user).

thanks!!!
 
Old 06-27-2008, 01:20 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,549
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Why not install the new SlackwareŽ 12.1?

This link and others are available from 'Slackware-Links'. More than just SlackwareŽ links!

edit: That way you won't have to work with hotplug problems with Slackware 9. It can be done but with SlackwareŽ 12.1 udev/HAL you will have it easier. Plus you can use the Linux 2.6 kernel. The 2.4 is stable but the newer 2.6 is much better and becoming stable.

Last edited by onebuck; 06-27-2008 at 01:24 PM.
 
Old 06-27-2008, 01:31 PM   #5
markymarq
LQ Newbie
 
Registered: Jun 2008
Posts: 11

Original Poster
Rep: Reputation: 0
HI Gary and thanks for your post. I need to access something rather quickly without doing an upgrade. any way to get slack 9 to recognize the flash drive otherwise?
thanks!
 
Old 06-27-2008, 01:32 PM   #6
markymarq
LQ Newbie
 
Registered: Jun 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Oh, another problem. the CD player doesn't mount so I may have trouble installing the newer version anyway. I'm such a newbie sorry !!!
 
Old 06-27-2008, 06:39 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,549
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Quote:
Originally Posted by markymarq View Post
Oh, another problem. the CD player doesn't mount so I may have trouble installing the newer version anyway. I'm such a newbie sorry !!!
When you have the system booted and login as root and do;

Code:
dmesg >my_dmesg
lspci -vv >my_lspci
lsmod >my_lsmod
You could do a 'dmesg |grep -i cdrom' do see if the drive is recognized. Also post your '/etc/fstab' along with the 'my_files' in the above output piped files. Please post all the information in vbcode tags, either the # (suggested for long lists/data) or QUOTE. The vbcode tags are at the top of the reply window.

You can go into your BIOS and check for boot order to see if the cdrom can be made to boot first order. If not you can use the 'sbootmgr' to see if the cdrom device can be booted.

If all that you want to do is extract, remove or copy information then you can use a Livecd or even the Slackware 12.1 install cd1 to boot. Then you can mount the necessary filesystem to enable the copy of desired information.

These links and others can be found at 'Slackware-Links' .
More than just SlackwareŽ links!
 
Old 06-28-2008, 12:52 AM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
for your memory stick
Code:
assets@webserver01:~$ dmesg |grep sda
SCSI device sda: 8060928 512-byte hdwr sectors (4127 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 8060928 512-byte hdwr sectors (4127 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
 sda: sda1
sd 2:0:0:0: Attached scsi removable disk sda
assets@webserver01:~$
This will tell you if it's recognized (in the example as sda1)
Next you can mount it (as root) with the command
Code:
root@webserver01:~# mkdir tmp
root@webserver01:~# mount /dev/sda1 -t vfat tmp
...
do what you have to do
...
root@webserver01:~# umount tmp
In example above I've created a temporary directory for a mountpoint. You can use an existing directory as well (the original content will be hidden in that case). Afterwards you have to unmount.

You can make things more permanent by editing /etc/fstab and adding something like
Code:
/dev/sda1         /mnt/sda1       auto        noauto,user      0   0
In that case /mnt/sda1 is the mountpoint (so it must exist / be created) and you can mount (as root and as normal user) with the command
Code:
assets@webserver01:~$ mount /mnt/sda1
...
do what you have to do
...
assets@webserver01:~$ umount /mnt/sda1
 
  


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
Help!! My slackware machine keeps on booting!! nyumbu Linux - Newbie 1 06-22-2006 04:46 AM
slackware and new machine coyctecm Slackware 4 02-21-2006 06:36 PM
P2 machine with slackware kaon Slackware 11 07-20-2004 01:58 PM
Reconfigure my machine for Slackware arty62 Slackware 9 11-16-2003 07:49 PM
Slackware on old machine avoidmoney Linux - General 1 10-26-2003 09:07 AM


All times are GMT -5. The time now is 08:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration