LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 04-22-2010, 12:51 PM   #1
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Rep: Reputation: 30
Question Run level 4 configuration fails after slackpkg upgrade-all


Dear all,
after executed:
Code:
slackpkg upgrade-all
I chose to use all old configuration files and keep the new ones. But after reboot, I got bunch of hardware configuration error and I cannot even login saying:
Code:
INIT: cannot execute "/etc/rc.d/rc.4"
Welcome to Linux 2.6.29.6 (tty1)
(none) login: root
Unable to determine your tty name
I remember that I made runlevel 4 the default in /etc/inittab so that it can bring up login manager directly after reboot but the upgrade doesn't recognized the configuration file correctly hence the tty problem. How can I fix the problem? I assume I can use boot disk to fix the problem, but I don't know how. Please help.

Regards,
ethereal1m

Last edited by ethereal1m; 04-22-2010 at 12:54 PM.
 
Old 04-22-2010, 12:59 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,566

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
You can just put a 3 on the end of the boot command line, if you are able to access it during the initial lilo or grub screen.
 
Old 04-22-2010, 01:55 PM   #3
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,380

Rep: Reputation: 180Reputation: 180
At the lilo screen, select the name of what you wish to boot, then hit the Tab key.
Press the space bar one time, then type "init 3" - without the quotes.
After booting, issue startx. You should be able to fix your configs easily then.
 
Old 04-22-2010, 10:18 PM   #4
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
how can I get into lilo screen? The reboot brings me straight to the login prompt...
 
Old 04-22-2010, 10:44 PM   #5
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
I can boot using boot disk and mount my hard drive from that point but I don't know how to restore my system. How can I incoperate my new configuration files (from slackpkg upgrade-all) with my old configurations? I was upgrading from 13.0 64 into current (I assume upgrade-all installs "current").

thanks
 
Old 04-22-2010, 10:59 PM   #6
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
Did you edit /etc/slackpkg/mirrors to select a proper mirror for YOUR ARCHITECTURE?

2.6.29.6 hasn't been teh proper kernel for -current for months. I've seen similar threads to this when people failed to select a proper mirror.

Can you boot into your installed system, or are you booting into the installation disk?

Last edited by damgar; 04-22-2010 at 11:37 PM.
 
Old 04-22-2010, 11:29 PM   #7
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
hmm, seemed that I didn't select the proper system in slackpkg.conf...

I was able to boot from installation disk (obviously), the system boot brought me the error that I described above.

Should I run slackpkg again? If yes, how can I do it using installation disk? I was able to mount my hard drive, but unable to run slackpkg saying it's permission denied.
 
Old 04-22-2010, 11:29 PM   #8
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
hmm, seemed that I didn't select the proper system in slackpkg.conf...

I was able to boot from installation disk (obviously), the system boot brought me the error that I described above.

Should I run slackpkg again? If yes, how can I do it using installation disk? I was able to mount my hard drive, but unable to run slackpkg saying it's permission denied.
 
Old 04-22-2010, 11:36 PM   #9
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
I just realized that I un-commented Slackware 13.0 instead Slackware 64 in mirror file. It was selecting wrong architecture in mirror file configuration....

How can I fix this?
 
Old 04-22-2010, 11:52 PM   #10
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
The simple answer is to fix the /etc/slackpkg/mirrors file. Then
Code:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
Did you ever try booting into runlevl 3 as was suggested above? I've never tried it so I can't tell you if it works or not. You could try mounting your installed system, editing /etc/inittab so it goes into runlevel 3 and try it that way. From there it's hopefully as easy as what I posted in the code tags.
 
Old 04-26-2010, 02:40 AM   #11
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
since the last action of mine foobared the system, I reformat and reconfigure the whole thing...
 
Old 04-26-2010, 08:00 AM   #12
hello.freeman
Member
 
Registered: Apr 2010
Posts: 38

Rep: Reputation: 23
try as follow :

bash# chmod 755 /etc/rc.d/rc.4
 
  


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
Run slackpkg upgrade-all from cron stormtracknole Slackware 13 09-28-2010 04:50 PM
[SOLVED] After upgrade all using slackpkg upgrade, configuration is failed to read ethereal1m Linux - Newbie 3 04-28-2010 02:03 AM
keep old or install new configuration files during slackpkg upgrade-all ? james2b Slackware 6 03-02-2009 11:51 AM
Slackpkg fails on upgrade-all albhaf Slackware 1 12-02-2006 11:22 AM
emacs in run level 3 then switch to X (level 7) then back to level 3 dsoliver Slackware 3 09-01-2006 04:31 AM


All times are GMT -5. The time now is 11:00 PM.

Main Menu
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