LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Slackware 9 machine (https://www.linuxquestions.org/questions/linux-newbie-8/slackware-9-machine-652093/)

markymarq 06-27-2008 11:07 AM

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

dthacker 06-27-2008 11:26 AM

Quote:

Originally Posted by markymarq (Post 3197015)
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

markymarq 06-27-2008 12:03 PM

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!!!

onebuck 06-27-2008 12:20 PM

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.

markymarq 06-27-2008 12:31 PM

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!

markymarq 06-27-2008 12:32 PM

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 !!!

onebuck 06-27-2008 05:39 PM

Hi,

Quote:

Originally Posted by markymarq (Post 3197101)
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!

Wim Sturkenboom 06-27-2008 11:52 PM

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



All times are GMT -5. The time now is 01:28 AM.