LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-24-2004, 10:36 AM   #1
olscratch
LQ Newbie
 
Registered: Mar 2004
Location: Atlanta, Georgia
Distribution: Slackware-current
Posts: 26

Rep: Reputation: 15
Dropline killed my slack


I was having problems with Gnome. Everywhere I looked people said try dropline gnome. So I installled dropline. After a reboot I could not log on to the pc. When I typed my login name I would not get the prompt to type my password in bash, it would wait a couple of seconds then jump right back into the prompt for the login name. I have another computer with slack and I took the harddrive out of my dropline corrupted pc and made it the slave in this other pc.
I have two questions:

One, what did dropline do to my slack and how do I correct it?

Two, what do I have to do to read the second harddrive to correct the dropline problem and and save the files on it?
 
Old 07-24-2004, 11:39 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I use dropline but just for solving evolution dependencies, I suggest you to use the select what packages will be installed feature of dropline when doing install/upgrades.

For now, I guess that dropline has overwritten some important packages in your system, specially them about security.
Ok you have your hd as slave and another slack running. Make a directory like /mnt/back

mount /dev/<your root partition from slave hd> /mnt/back
cd /mnt/back/var/cache/dropline-installer
ls *.tgz > ~/dropline.log
cd
cat dropline.log

From the file dropline.log in your current directory, you have an idea about packages installed by dropline. You can use the chroot command to removepkg them like chroot /mnt/back removepkg fam-2.7.0-i686-2dl.tgz and replace them by the officals ones (use chroot too for installpkg/upgradepkg)

Last edited by keefaz; 07-24-2004 at 11:41 AM.
 
Old 07-24-2004, 11:43 AM   #3
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
If you searc on this forum, it is almost impossible to remove every last vestige of dropline short of formatting and reinstalling. Besides the software packages it also made many changes to config files. The introduction of PAM is not trivial to the slackware system.
 
Old 07-24-2004, 11:53 AM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
The introduction of PAM is not trivial to the slackware system.
What is the authentication system in slackware for login so? Do man passwd you will see.

[edit]
Maybe I did not understand well, if you means that PAM is required, I agree with you

Last edited by keefaz; 07-24-2004 at 11:56 AM.
 
Old 07-24-2004, 12:56 PM   #5
predrag
Member
 
Registered: Aug 2003
Location: Salzburg, Austria
Distribution: Ubuntu, CentOS, FreeBSD
Posts: 34

Rep: Reputation: 15
I wouldn't agree on using dropline. Check out linuxpackages.net for some useful ideas why.
 
Old 07-24-2004, 03:29 PM   #6
olscratch
LQ Newbie
 
Registered: Mar 2004
Location: Atlanta, Georgia
Distribution: Slackware-current
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks for your help folks. You have pointed me in the right direction. I think I have correctly added my hdb2 partition to fstab so I don't have to keep mounting it. I am not familier with chroot yet so that will wait a while.
 
Old 07-24-2004, 04:06 PM   #7
dunric
Member
 
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
It shall be possible to salvage your Slack installation or at least restore original login by upgrading shadow package with the Slackware's original one.
 
Old 07-24-2004, 04:08 PM   #8
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Nothing more simple : chroot = change root
So if you want install a package for your mounted partition that contains slackware system you have to use the installpkg from this partition or at least you have to make sure packages will be installed in mounted partition (and in proper directories).

If you just use the installpkg from the running system, packages will be installed in the partition of the actual system.

chroot is the tool that you need as it will change temporarly the actual root partition (/) to any directory you want (/mnt/hd for example)

chroot /mnt/hd upgradepkg glibc-2.3.2-i486-6.tgz

This will upgrade glibc package in the system mounted in /mnt/hd
 
Old 07-24-2004, 06:19 PM   #9
olscratch
LQ Newbie
 
Registered: Mar 2004
Location: Atlanta, Georgia
Distribution: Slackware-current
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks again! I think I might have it fixed. I still have to change the hdd back to master. I am too lazy to do that right now. I mounted the hdb2 partition in /home/user/hdd. After uninstalling the shadow package that was in the dropline-installer directory. I downloaded the shadow package from the slackware website and used installpkg to install it, something like this.

chroot /home/user/hdd/ installpkg home/user/downloads/shadow-4.0.3-i486-11.tgz

I didn't get any error messeges and it look as if the install went well. I just hope I got the chroot syntax correct.
 
Old 07-24-2004, 06:24 PM   #10
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
Personally I don't use Dropline. Even thou it looks cool as hell, it just slooooows down my laptop, like if I was using Fedora. One thing you could do is to ftp to sourceforge and download and instal yourself the dropline packages that you really like, like evolution....

Good luck with fixing your problem.

Figa
 
Old 07-25-2004, 06:15 AM   #11
Nichole_knc
Member
 
Registered: Mar 2004
Location: Georgia
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287

Rep: Reputation: 30
I see it was a dropline install on a slackware-current... Last time I tried to install dropline on a slackware 10 box it would not install. The dropline-installer reported back that I had slackware 10 install and that dropline was not compatible with it (slack 10>) and asked if I wanted to load it anyway (force).
I would assume that dropline is not for use on a "current" (unstable/development/test) install and that a slack 10 version will be out shortly. So if you install it where it is not intended for things will break.
Also with a "current" system you have no guarantee ANYTHING will work as it is NOT a production or stable release. With current you run the risk of a broke system everyday as current is changed nearly daily (see current change logs).
I have stated this before... If you want a stable system that has been tested and is supported by almost everything out there you should go with the last release version (slack 10) and the last stable kernel release (2.4.26). If you read up on the tech of linux everything above kernel 2.4.26 is still considered in development.
And if you read up on unix distro trees you will see "currents" are pre-release.

"when living on the edge it is easy to fall off the side"
 
Old 07-25-2004, 06:17 AM   #12
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
olscratch>The chroot utility change root (/) to the directory you specified, so when you do :

Code:
chroot /home/user/hdd/ installpkg home/user/downloads/shadow-4.0.3-i486-11.tgz
It changes root to /home/user/hdd, then it runs /home/user/hdd/sbin/installpkg with the argument
/home/user/hdd/home/user/downloads/shadow-4.0.3-i486-11.tgz

Seen ? So if this command went well, I assume you copied your downloaded package to :
/home/user/hdd/home/user/downloads/
 
  


Reply



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
dropline gnome killed my system slinky2004 Linux - Software 6 11-25-2005 01:50 PM
Slack 10.1 - Dropline - on a laptop? IneedAuserName Slackware 7 06-05-2005 12:38 AM
slack-current of dropline ? Hi all :-) slack-current of dropline ? frochet Slackware 2 06-11-2004 11:57 AM
dropline killed my comp jsfour Slackware 6 03-11-2004 04:37 PM
Quake 3 killed Slack 9.0 Mega Man X Slackware 10 08-27-2003 10:30 PM

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

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