LinuxQuestions.org
Visit Jeremy's Blog.
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 08-18-2005, 04:46 AM   #1
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
dont make this mistake :eek:


I decided I wanted to try slackware-currents testing kernel 2.6.12.4 (i think) SO I downloaded everything and and ran upgradepkg * in that directory. Needless to say everything pretty much quit working after that

What a pita... I booted to a slackware 9.1 rescue cd (I couldn't find the 10.1 cd's) chroot'ed the system and and I couldn;t run mkinitrd to create a startup image file. I dont remember the error but I dont think you can run mkinitrd or lilo when you boot from a livecd. I tried a few other live cd's and couldnt get it to work.

anyways.. the fix was simple.. I used the 9.1 cd and reinstalled the default kernel and lilo. booted right up and installed the kernel correctly. I had done this many times before but I hadnt done it in a while and thought I remembered exactly how to do it.

so.. the moral is.. stop and think before you start to do it. My mistake cost me 10 minutes of downtime
 
Old 08-18-2005, 12:35 PM   #2
Slum
Member
 
Registered: May 2005
Location: Rhode Island, USA
Distribution: Slackware w/ bleeding edge kernel.
Posts: 37

Rep: Reputation: 15
*sigh* ooooooooook.
 
Old 08-18-2005, 12:43 PM   #3
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
10 whole minutes, huh?


 
Old 08-18-2005, 01:03 PM   #4
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Gee, I wish my foul-ups only took me 10 minutes to fix.
 
Old 08-18-2005, 01:05 PM   #5
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
The moral should be

"If you want something done right, do it yourself".

Try getting a vanilla kernel, and make your own config from scratch. Might take some time the first time, but you'll get to know it well enough to start from scratch at any time without such serious crashes.

If you want, this could help for a start
http://xushi.co.uk/guides/kernel.php
 
Old 08-18-2005, 01:46 PM   #6
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
the moral of the story is this..........the proper way to upgrade all the package in a directory is.......

upgradepkg *.tgz

OH, I'll also mention that slackware v10.1 does NOT have a live rescue disk........since Pat V. did not take out gnome (like he said he would) there was not enough room on the disk to make it a live boot CD.......D'oh.........we should all complain so he'll get it right in v10.2

Last edited by freakyg; 08-18-2005 at 01:48 PM.
 
Old 08-19-2005, 01:52 AM   #7
n0sr
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; Ubuntu Raspberry Pi OS
Posts: 255

Rep: Reputation: 34
No, the moral of the story is something my manager told me right after I was hired into my first IT job:

Pillage first. Then burn.

Never forgot that in the many years of IT and usually saved me from doings that were detrimental.

By the way, HB!
 
Old 08-19-2005, 03:32 AM   #8
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Quote:
Originally posted by n0xvb
Pillage first. Then burn.
My life would have been so much easier if someone had explained that to me when I was young.
echo "HB Trey."
 
Old 08-19-2005, 09:32 AM   #9
abrouwers
Member
 
Registered: May 2005
Location: Michigan
Distribution: Slackware -current
Posts: 98

Rep: Reputation: 37
First of all, at freakyg, either slack CD can be used as a rescue CD. Boot from CD1, log in as root, but instead of using setup, go straight to chroot. And if you've bothered to check the changelog, you'll see that gnome WAS removed from current, at the exact time he decided it should be.

Second, trey85stang, did you read the README from that kernel DIR ? Do you know that you have to load FS modules using an initrd if you're on certain file systems, as that is a generic kernel?

The lesson of the story is: know what you're doing. A simple upgradepkg *.tgz without looking into stuff can be dangerous.

Also, that kernel from /testing DOES work very well.
 
Old 08-19-2005, 04:44 PM   #10
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Alternatively, one could boot CD1 with the line:
boot: root=/dev/hdwhatever noinitrd ro
to boot their root partition as the root partition, as per the instructions on CD1.
I have NEVER been able to boot from CD2, don't know of anyone who has.
I believe Pat has already dropped Gnome for 10.2.

The moral:
Never eat soggy waffles.
 
Old 08-19-2005, 04:48 PM   #11
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Charred, Slackware 10.0 (and 9.1 too if my memory doesn't fail)'s CD 2 was booteable, it was more a rescue CD than CD 1, but that changed on 10.1, CD 2 is not a rescue cd anymore.
 
Old 08-19-2005, 06:24 PM   #12
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Sorry, I meant on 10.1; should have been more specific. I've booted CD2 of 9.1.

Last edited by Charred; 08-19-2005 at 06:26 PM.
 
Old 08-20-2005, 07:14 AM   #13
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
the moral should be ...

"never change the winning team"

if everything is running withouth problems, if there are no bugs/exploits which can endanger your system, why should you do an update/upgrade?

my slackware 10.1 on the laptops gets only gnome and kernel updates and that only if there are some improvments which can be usefull to me.

M.
 
Old 08-20-2005, 08:09 AM   #14
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Ummm...I still prefer the waffles one.
 
Old 08-20-2005, 10:01 AM   #15
trigggl
Member
 
Registered: Dec 2004
Location: Jacksonville, AR
Distribution: Debian Etch, AIX, Slackware
Posts: 117

Rep: Reputation: 15
Gone all -current

I've gone all -current in anticipation of 10.2.

Since gnome is no longer part of the distro, are there any suggestions on how best to remove it?

It is somewhat ironic, I think, that gdm is still the default login manager even though it's not in 10.2. I found that out while I was going through the '.new' rc files. I'll stick with kdm thank you.
 
  


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
Ok i made the biggest mistake anyone could ever make... Soujiro Linux - Software 1 04-24-2004 01:47 AM
'make' and 'make install' commands dont work on my system? ginda Linux - Newbie 9 04-18-2004 11:17 AM
Smart Link Modem, error running make, I dont want a newbs help randyriver10 Mandriva 0 03-05-2004 03:06 PM
please dont make me go back to windows qwijibow Linux - Newbie 15 11-03-2003 04:56 AM
how to make a user an admin so that i dont have to su every time infected Linux - General 6 07-15-2003 09:04 AM

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

All times are GMT -5. The time now is 05:12 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
Open Source Consulting | Domain Registration